-
1. Re: Index Access
ssilvert Nov 24, 2007 9:21 PM (in response to jgilbert)I don't think you did anything wrong. We have a test for this kind of thing in the A4J support module, so it should work.
However, since the error says that two components have the same exact client ID, it means we probably have a bug in either JSFUnit or the JSF implementation. See http://wiki.jboss.org/wiki/UsingComponentIDs for a discussion of JSFUnit and component/client IDs.
Which JSF implementation are you using? Also, which version of A4J/RichFaces are you using?
Stan -
2. Re: Index Access
jgilbert Nov 25, 2007 3:17 PM (in response to jgilbert)Here are the versions I am using:
MyFaces 1.1.4
ajax4jsf-1.1.1
richfaces-3.0.1
I figured out how to make it work for the most part. I had to wrap my columns with <rich:columnGroup> the same way I did in the header facet.
However, I noticed that addUIData() added the ancestors (aka header facet) over and over again for each row. This could be an issue for other test cases. -
3. Re: Index Access
ssilvert Nov 26, 2007 10:18 AM (in response to jgilbert)Thanks for the report. Since there is a workaround, I probably won't get to look at it until after beta.
http://jira.jboss.com/jira/browse/JSFUNIT-57
Stan -
4. Re: Index Access
ssilvert Apr 10, 2008 4:36 PM (in response to jgilbert)This should be working now as a result of fixing JSFUNIT-81 and some other fixes.
I left a note about MyFaces 1.1.4 in JSFUNIT-81:
http://jira.jboss.com/jira/browse/JSFUNIT-81
Stan