• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Duplicate Component ID found in view

 
Sahil Dave
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I know this question has been raised and discussed many times in this forum, but none of the threads were able to solve the issue. I am facing the same dreaded exception:


I have the following code in my login.jsp


I simply fail to understand, where is such an id coming from, when I have explicitly given ids to all the components in the page!
Is this an issue with JSF or the application server (in my case weblogic 9.2)?

Any suggestions/pointers?
 
vij guy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

http://www-01.ibm.com/support/docview.wss?uid=swg1PK48744

You can either explictly name the component or add an entry to web.xml

To prevent collision with existing client IDs, the
com.ibm.ws.jsf.storeDynamicClientIds property must be set to
"true" in the web.xml file. For example:

<contex-param>
<description>If this property is set to true, the number
that is used to generate new client IDs is stored in the view
so that it is saved between requests.
</description>
<param-name>com.ibm.ws.jsf.storeDynamicClientIds</param-name>
<param-value>true</param-value>
</context-param>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic