It seems JSFUnit thinks there are duplicaite ids; if two components share the same suffix.
For example component 1 <h:inputText id="password" />
And example component 2 <h:outputText id="forgotpassword" />
It thinks those are duplicate components when I try to references
them...I think I saw a bug on the Forum about it...I wonder if this is some issue that gets fixed with the 1.3.0 release as opposed
to the 1.2.0 release I'm using.
This is a good description of the problem here...
Thanks in advance for any help you can provide!
It's actually not a bug. While 99% of the time you can just refer to the component ID you used in your markup, sometimes you have to be more specific. JSFUnit does a simple suffix match to find the component in an HTML page. UsingComponentIDs for all the details on handling client ID's.
Also see WritingJSFUnitTests.
In your case, you could just use ":password" to refer to the the password. Or use the enclosing naming container like "form1:password".
|Retrieving data ...|