Ok, I have been trying the jstl way... Nevertheless I have been running into the following problem:
In my jsp I have | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | ... | | <h:dataTable var="question" value="#{section.questions}"> | <h:column> | <h:outputText value="#{question.text}"/><br> | <c:choose> | | <c:when test="${question.radio}"> | <h:selectOneRadio value="#{register.selection[question]}" required="true" | layout="pageDirection"> | <f:selectItems value="#{question.answerTypes}"/> | </h:selectOneRadio> | </c:when> | <c:otherwise> | <h:outputText value="#{question.type}"/> | </c:otherwise> | </c:choose> | </h:column> | </h:dataTable> | and actually question.isRadio() returns true. The problem is that it always takes the otherwise branch. I don't really understand what's the problem, it's almost the same that the dvd example does (same libraries as well). Can it be of me using jsps instead of facelets? Is it supposed to matter anyway? Thanks for any hint on this! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940153#3940153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940153 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user