[richfaces-svn-commits] JBoss Rich Faces SVN: r18714 - in trunk/examples/richfaces-showcase/src/main: webapp/richfaces and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Aug 17 11:11:58 EDT 2010


Author: ilya_shaikovsky
Date: 2010-08-17 11:11:57 -0400 (Tue, 17 Aug 2010)
New Revision: 18714

Modified:
   trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml
   trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
Log:
new items markers in case of just new samples.

Modified: trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml	2010-08-17 15:05:53 UTC (rev 18713)
+++ trunk/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml	2010-08-17 15:11:57 UTC (rev 18714)
@@ -230,7 +230,7 @@
 					</sample>
 				</samples>
 			</demo>
-			<demo>
+			<demo new="true">
 				<id>extendedDataTable</id>
 				<name>rich:extendedDataTable</name>
 				<samples>
@@ -238,7 +238,7 @@
 						<id>simpleTable</id>
 						<name>ExtendedData Table Basic Usage</name>
 					</sample>
-					<sample>
+					<sample new="true">
 						<id>exTableSelection</id>
 						<name>ExtendedData Table Selection usage</name>
 					</sample>					

Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml	2010-08-17 15:05:53 UTC (rev 18713)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml	2010-08-17 15:11:57 UTC (rev 18714)
@@ -20,6 +20,7 @@
 					<f:param name="sample" value="#{s.id}" />
 					<f:attribute name="style" value="#{(s.id == demoNavigator.currentSample.id) ? 'color:orange' : ''}"/>
 				</h:link>
+				<h:outputText rendered="#{s.newItem}" value="NEW!" styleClass="new_marker" />
 				<h:outputText value=" | " rendered="#{not status.last}" />
 			</ui:repeat>
 		</rich:panel>



More information about the richfaces-svn-commits mailing list