Yet when I use the c:forEach and c:choose I get Seam debug window with no
useful information in it whatsoever. There is no exception being thrown in the
logs.
| <c:forEach items="#{cameraAccessor.findCamerasForCameraGroup()}"
var="camera">
|
| <c:choose>
| <c:when test='#{camera.getDirection() eq "N"}'>
| <li id="northCam"><a class="off" href="#"
| title="North Camera"
| onClick="testFunction('N',
'#{camera.getId()}');">N</a></li>
| </c:when>
| <c:when test='#{camera.getDirection() eq "W"}'>
| <li id="westCam" ><a class="off" href="#"
| title="West Camera"
| onClick="testFunction('W',
'#{camera.getId()}');">W</a></li>
| </c:when>
| <c:when test='#{camera.getDirection() eq "E"}'>
| <li id="eastCam" ><a class="off" href="#"
| title="East Camera"
| onClick="testFunction('E',
'#{camera.getId()}');">E</a></li>
| </c:when>
| <c:when test='#{camera.getDirection() eq "S"}'>
| <li id="southCam"><a class="off" href="#"
| title="South Camera"
| onClick="testFunction('S',
'#{camera.getId()}');">S</a></li>
| </c:when>
| <c:otherwise>
| </c:otherwise>
| </c:choose>
| <li id="allCam"><a class="off" href="#"
| title="All Cameras"
| onClick="testFunction('ALL',
'#{camera.getId()}');">ALL</a></li>
|
| </c:forEach>
Both cameraAccessor and camera are Seam components.
Thanks, S.D.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099065#4099065
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099065
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user