You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2005/12/14 22:06:50 UTC
svn commit: r356871 - in
/incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview:
layout.jsp locale.jsp themes.jsp
Author: lofwyr
Date: Wed Dec 14 13:06:46 2005
New Revision: 356871
URL: http://svn.apache.org/viewcvs?rev=356871&view=rev
Log:
introduce tx:selectOneChoice
Modified:
incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/layout.jsp
incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/locale.jsp
incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/themes.jsp
Modified: incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/layout.jsp
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/layout.jsp?rev=356871&r1=356870&r2=356871&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/layout.jsp (original)
+++ incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/layout.jsp Wed Dec 14 13:06:46 2005
@@ -31,10 +31,10 @@
<f:facet name="layout">
<tc:gridLayout columns="1*;1*" rows="fixed;fixed;fixed;fixed;fixed;*"/>
</f:facet>
- <tc:selectOneChoice value="#{overviewController.singleValue}"
+ <tx:selectOneChoice value="#{overviewController.singleValue}"
label="#{overviewBundle.layout_salutation}">
<f:selectItems value="#{overviewController.items}" />
- </tc:selectOneChoice>
+ </tx:selectOneChoice>
<tc:cell/>
<tx:in value="" label="#{overviewBundle.layout_firstName}" />
Modified: incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/locale.jsp
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/locale.jsp?rev=356871&r1=356870&r2=356871&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/locale.jsp (original)
+++ incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/locale.jsp Wed Dec 14 13:06:46 2005
@@ -14,6 +14,7 @@
* limitations under the License.
--%>
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
+<%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
@@ -31,10 +32,10 @@
<tc:gridLayout rows="fixed;1*" />
</f:facet>
- <tc:selectOneChoice value="#{clientConfigController2.locale}"
+ <tx:selectOneChoice value="#{clientConfigController2.locale}"
label="#{overviewBundle.locale}">
<f:selectItems value="#{clientConfigController2.localeItems}" />
- </tc:selectOneChoice>
+ </tx:selectOneChoice>
<tc:panel>
<f:facet name="layout">
Modified: incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/themes.jsp
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/themes.jsp?rev=356871&r1=356870&r2=356871&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/themes.jsp (original)
+++ incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/themes.jsp Wed Dec 14 13:06:46 2005
@@ -14,6 +14,7 @@
* limitations under the License.
--%>
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
+<%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
@@ -31,10 +32,10 @@
<tc:gridLayout rows="fixed;1*;fixed" />
</f:facet>
- <tc:selectOneChoice value="#{clientConfigController2.theme}"
+ <tx:selectOneChoice value="#{clientConfigController2.theme}"
label="#{overviewBundle.theme_label}">
<f:selectItems value="#{clientConfigController2.themeItems}" />
- </tc:selectOneChoice>
+ </tx:selectOneChoice>
<tc:cell/>