This content has been marked as final.
Show 4 replies
-
1. Re: dynamic panelBarItem components?
ilya_shaikovsky Nov 13, 2009 9:55 AM (in response to vc5)you should use c:forEach instead of repeat.
-
2. Re: dynamic panelBarItem components?
vc5 Nov 13, 2009 11:25 AM (in response to vc5)"ilya_shaikovsky" wrote:
you should use c:forEach instead of repeat.
hihi Ilya,
i tried your suggestion, but it doesn't seem to be repeating now.
i did the following:
- downloaded jstl.jar and standard.jar and placed them into WEB-INF/lib
- added the new xml namespace declaration along with the other ones in my tag like so:
xmlns:c="http://java.sun.com/jsp/jstl/core"
- replace <a4j:repeat> with <c:forEach> like the following in my xhtml file:
<c:forEach var="record" items="${myBean.records}" varStatus="status">
i am new to RichFaces, so i am not sure if what i'm doing is correct... i didn't know it was possible to mix JSTL with JSF/RichFaces... are the two different EL notations interchangeable? do they understand each other? i.e. JSTL's "${}" and RichFace's "#{}"
thanks in advance!
-v -
3. Re: dynamic panelBarItem components?
ilya_shaikovsky Nov 13, 2009 11:31 AM (in response to vc5)should be
xmlns:c="http://java.sun.com/jstl/core" -
4. Re: dynamic panelBarItem components?
vc5 Nov 13, 2009 11:45 AM (in response to vc5)"ilya_shaikovsky" wrote:
should be
xmlns:c="http://java.sun.com/jstl/core"
hihi Ilya, it works now! :)
thank you for your help!!
-v