[richfaces-svn-commits] JBoss Rich Faces SVN: r4600 - in branches/3.1.x/samples: orderingListDemo/src/main/webapp/pages and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Fri Dec 7 12:52:27 EST 2007
Author: sergeyhalipov
Date: 2007-12-07 12:52:27 -0500 (Fri, 07 Dec 2007)
New Revision: 4600
Modified:
branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp
branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp
Log:
Allow skin changing even if main component is not validated.
Modified: branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:37:25 UTC (rev 4599)
+++ branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:52:27 UTC (rev 4600)
@@ -15,15 +15,12 @@
<h:messages />
</a4j:outputPanel>
- <h:form>
- <h:selectOneRadio binding="#{skinBean.component}" />
- <h:commandLink action="#{skinBean.change}" value="set skin" />
- <br />
-
- <%--
-
- --%>
-
+ <h:form id="skinForm" >
+ <h:selectOneRadio binding="#{skinBean.component}" />
+ <h:commandLink action="#{skinBean.change}" value="set skin" />
+ <h:outputText value=" Current skin: #{skinBean.skin}" /><br />
+ </h:form>
+ <h:form id="form" >
<ls:listShuttle id="listShuttle" var="item" sourceValue="#{listShuttleDemoBean.source}" targetValue="#{listShuttleDemoBean.target}"
orderControlsVisible="#{listShuttleDemoBean.orderControlsVisible}"
fastOrderControlsVisible="#{listShuttleDemoBean.fastOrderControlsVisible}"
Modified: branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:37:25 UTC (rev 4599)
+++ branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:52:27 UTC (rev 4600)
@@ -30,10 +30,12 @@
<h:messages />
</a4j:outputPanel>
- <h:form id="form" >
+ <h:form id="skinForm" >
<h:selectOneRadio binding="#{skinBean.component}" />
<h:commandLink action="#{skinBean.change}" value="set skin" />
- <br />
+ <h:outputText value=" Current skin: #{skinBean.skin}" /><br />
+ </h:form>
+ <h:form id="form" >
<a4j:status startText="START" startStyle="color: red;"
stopText="STOP" stopStyle="color: green;" />
<br />
More information about the richfaces-svn-commits
mailing list