Author: sergeyhalipov
Date: 2007-12-11 12:45:27 -0500 (Tue, 11 Dec 2007)
New Revision: 4729
Modified:
branches/3.1.x/samples/dataTableDemo/src/main/webapp/pages/index.jsp
trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp
Log:
dataTable sample: added possibility to change skin 'on fly'
Modified: branches/3.1.x/samples/dataTableDemo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/dataTableDemo/src/main/webapp/pages/index.jsp 2007-12-11
17:32:22 UTC (rev 4728)
+++ branches/3.1.x/samples/dataTableDemo/src/main/webapp/pages/index.jsp 2007-12-11
17:45:27 UTC (rev 4729)
@@ -8,7 +8,12 @@
</head>
<body>
<f:view >
- <h:form>
+ <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" >
<h:panelGrid columns="3" border="1">
<data:dataTable id="master" var="master"
value="#{data.mounths}"
styleClass="table" captionClass="caption"
rowClasses="rowa,rowb,rowc rowcc"
Modified: trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp 2007-12-11 17:32:22 UTC
(rev 4728)
+++ trunk/samples/dataTableDemo/src/main/webapp/pages/index.jsp 2007-12-11 17:45:27 UTC
(rev 4729)
@@ -8,7 +8,12 @@
</head>
<body>
<f:view >
- <h:form>
+ <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" >
<h:panelGrid columns="3" border="1">
<data:dataTable id="master" var="master"
value="#{data.mounths}"
styleClass="table" captionClass="caption"
rowClasses="rowa,rowb,rowc rowcc"
Show replies by date