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:08:58 UTC
svn commit: r503383 -
/myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/selectOneChoice.jsp
Author: bommel
Date: Sun Feb 4 03:08:55 2007
New Revision: 503383
URL: http://svn.apache.org/viewvc?view=rev&rev=503383
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=503383&r1=503382&r2=503383
==============================================================================
--- 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:08:55 2007
@@ -24,7 +24,7 @@
<jsp:body>
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="fixed;fixed;1*;1*" />
+ <tc:gridLayout rows="fixed;fixed;fixed;1*;1*" />
</f:facet>
<%-- code-sniplet-start id="selectOneChoice" --%>
<tx:selectOneChoice inline="true" value="selectOneChoice0"
@@ -36,13 +36,16 @@
</tx:selectOneChoice>
<%-- code-sniplet-end id="selectOneChoice" --%>
-
- <tx:selectOneChoice value="#{reference.userOption}"
- label="Contact me2: " valueChangeListener="#{reference.valueChanged}" >
+ <tx:selectOneChoice value="#{reference.vehicle}"
+ label="Vehicle: " valueChangeListener="#{reference.valueChanged}" >
<f:selectItems value="#{reference.selectItems}" />
<f:facet name="change">
- <tc:command />
+ <tc:command action="#{reference.action}"/>
</f:facet>
+ </tx:selectOneChoice>
+ <tx:selectOneChoice value="#{reference.manufacturer}"
+ label="Manufacturer: " valueChangeListener="#{reference.valueChanged}" >
+ <f:selectItems value="#{reference.manufacturerSelectItems}" />
</tx:selectOneChoice>
<tc:messages></tc:messages>
<tc:cell/>