Author: nbelaevski
Date: 2007-11-29 15:57:55 -0500 (Thu, 29 Nov 2007)
New Revision: 4364
Modified:
branches/3.1.x/sandbox/samples/listShuttleDemo/pom.xml
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/faces-config.xml
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/web.xml
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/pages/index.jsp
Log:
latest changes for listShuttle & orderingList
Modified: branches/3.1.x/sandbox/samples/listShuttleDemo/pom.xml
===================================================================
--- branches/3.1.x/sandbox/samples/listShuttleDemo/pom.xml 2007-11-29 19:05:02 UTC (rev
4363)
+++ branches/3.1.x/sandbox/samples/listShuttleDemo/pom.xml 2007-11-29 20:57:55 UTC (rev
4364)
@@ -19,5 +19,10 @@
<artifactId>listShuttle</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.samples</groupId>
+ <artifactId>skins</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
Modified:
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
---
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/faces-config.xml 2007-11-29
19:05:02 UTC (rev 4363)
+++
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/faces-config.xml 2007-11-29
20:57:55 UTC (rev 4364)
@@ -13,4 +13,10 @@
<managed-bean-class>org.richfaces.ListShuttleDemoRequestBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>skinBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.SkinBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
</faces-config>
Modified: branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/web.xml
===================================================================
---
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/web.xml 2007-11-29
19:05:02 UTC (rev 4363)
+++
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/WEB-INF/web.xml 2007-11-29
20:57:55 UTC (rev 4364)
@@ -14,6 +14,10 @@
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
+ <context-param>
+ <param-name>org.ajax4jsf.SKIN</param-name>
+ <param-value>#{skinBean.skin}</param-value>
+ </context-param>
<!--
-->
<filter>
Modified: branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/pages/index.jsp
===================================================================
---
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/pages/index.jsp 2007-11-29
19:05:02 UTC (rev 4363)
+++
branches/3.1.x/sandbox/samples/listShuttleDemo/src/main/webapp/pages/index.jsp 2007-11-29
20:57:55 UTC (rev 4364)
@@ -16,6 +16,10 @@
</a4j:outputPanel>
<h:form>
+ <h:selectOneRadio binding="#{skinBean.component}" />
+ <h:commandLink action="#{skinBean.change}" value="set skin"
/>
+ <br />
+
<ls:listShuttle var="item"
sourceValue="#{listShuttleDemoBean.source}"
targetValue="#{listShuttleDemoBean.target}">
<h:column><h:outputText value="#{item.name}"
/></h:column>
<h:column><h:outputText value="#{item.price}"
/></h:column>
Show replies by date