You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/02/04 12:50:16 UTC
svn commit: r503396 -
/myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/selectOneChoice.jsp
Author: bommel
Date: Sun Feb 4 03:50:14 2007
New Revision: 503396
URL: http://svn.apache.org/viewvc?view=rev&rev=503396
Log:
example for a depend selectOneChoice input
Modified:
myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/selectOneChoice.jsp
Modified: myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/selectOneChoice.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/selectOneChoice.jsp?view=diff&rev=503396&r1=503395&r2=503396
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/selectOneChoice.jsp (original)
+++ myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/selectOneChoice.jsp Sun Feb 4 03:50:14 2007
@@ -36,6 +36,11 @@
</tx:selectOneChoice>
<%-- code-sniplet-end id="selectOneChoice" --%>
+
+ <%-- surround this with a tc:form if you get validatation or required messages from other fields.
+ With tc:form you enable partial validation and update model.
+ <tc:form>
+ --%>
<tx:selectOneChoice value="#{reference.vehicle}"
label="Vehicle: " valueChangeListener="#{reference.valueChanged}" >
<f:selectItems value="#{reference.selectItems}" />
@@ -47,6 +52,7 @@
label="Manufacturer: " valueChangeListener="#{reference.valueChanged}" >
<f:selectItems value="#{reference.manufacturerSelectItems}" />
</tx:selectOneChoice>
+ <%-- </tc:form> --%>
<tc:messages></tc:messages>
<tc:cell/>