0

I am using myfaces 1.1.8 and Alfresco 3.3.5 Even after giving id for all the JSF component in browse.jsp page i am facing duplicate id exception.

"java.lang.IllegalStateException: duplicate Id for a component browse:browse-col9"

This id is not repeated anywhere still it gives duplicate exception. Exception comes randomly.

Please let me know how can i resolve this issue.

4

1 回答 1

1

如果您已使用将组件绑定到会话或应用程序范围的 beanbinding并且组件所在的视图受到动态更改(当组件被动态添加/删除时),则可能会发生这种情况。

binding然后,您需要将其绑定到请求范围的 bean,或者为视图的动态性质寻找替代方法。

于 2012-04-27T12:31:16.140 回答