"[EMAIL PROTECTED]" wrote : You should use a h:dataTable or some custom JSF
control, or, if you are using facelets, try using ui:repeat.
I've used ui:repeat with code:
<table>
| <ui:repeat value="#{allSeats}" var="row">
| <tr>
| <ui:repeat value="#{row}" var="seat">
| <td><span class="seat"
id="#{seat.place}">#{seat.number}</span></td>
|
| </ui:repeat>
| </tr>
| </ui:repeat>
| </table>
|
but it doesn't work I expected. Result looks like that:
<table>
| <tr>
| <td><span class="seat" id="1,1">1</span></td>
| </tr>
| <tr>
| <td><span class="seat" id="1,2">2</span></td>
| </tr>
| ...
| </table>
Why doesn't it work as loop in loop ( tag repeats too often)? I've exchanged
WEB-INF\lib\jsf-facelets.jar file with existed in Seam examples to have newest
one and I'm not sure it's enough.
How to overcome it?
cheers,
Slawek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934253#3934253
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934253
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user