Hi,
We are currently migrating our application from
Jboss 5 to Jboss 7.
Our application used
JSF 1.2 . We are not going to change the JSF version now.
There was a piece of code that worked with jboss 5 but not with jboss 7. Check below for that code -
<x:selectManyListbox tabindex="5" title="Counter names and indexes" value="#{counterJob.jsfSelectedIndexedCounterNames}" id="indexed_counter_names" forceId="true" size="8">
<f:selectItems value="#{counterJob.jsfIndexedCounterNames}" id="indexed_counter_names" />
</x:selectManyListbox>
Here both selectManyListbox and selectItems holds a common id named-> indexed_counter_names .
But in Jboss 5 AS this was not a problem and we got no error.
When we shifted to Jboss 7 then it created a problem and showed a Duplicate Component Id error.
I have changed the id for selectedItems and then it worked perfectly in Jboss 7.
Here is my question - we have not changed the JSF version.
So why does it shows different behavior in Jboss Application Server (Jboss 5 and Jboss 7) ?
Any explanation regarding this matter will help me to understand the scene behind the behavior.