Author: nbelaevski
Date: 2010-05-31 17:03:08 -0400 (Mon, 31 May 2010)
New Revision: 17433
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/component-sample.xhtml
root/examples/richfaces-showcase/trunk/src/main/webapp/templates/includes/skin-chooser.xhtml
Log:
Small design changes in richfaces-showcase
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/component-sample.xhtml
===================================================================
---
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/component-sample.xhtml 2010-05-31
19:45:56 UTC (rev 17432)
+++
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/component-sample.xhtml 2010-05-31
21:03:08 UTC (rev 17433)
@@ -14,13 +14,15 @@
</f:metadata>
</ui:define>
<ui:define name="body">
- <ui:repeat value="#{demoNavigator.currentDemo.samples}" var="s"
varStatus="status">
- <h:link value="#{s.name}" includeViewParams="true">
- <f:param name="sample" value="#{s.id}" />
- <f:attribute name="style" value="#{(s.id ==
demoNavigator.currentSample.id) ? 'color:orange' : ''}"/>
- </h:link>
- <h:outputText value=" | " />
- </ui:repeat>
+ <rich:panel>
+ <ui:repeat value="#{demoNavigator.currentDemo.samples}" var="s"
varStatus="status">
+ <h:link value="#{s.name}" includeViewParams="true">
+ <f:param name="sample" value="#{s.id}" />
+ <f:attribute name="style" value="#{(s.id ==
demoNavigator.currentSample.id) ? 'color:orange' : ''}"/>
+ </h:link>
+ <h:outputText value=" | " rendered="#{not status.last}" />
+ </ui:repeat>
+ </rich:panel>
<fieldset><legend>#{demoNavigator.currentSample.name}</legend>
<ui:include src="#{demoNavigator.sampleURI}" /></fieldset>
</ui:define>
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/templates/includes/skin-chooser.xhtml
===================================================================
---
root/examples/richfaces-showcase/trunk/src/main/webapp/templates/includes/skin-chooser.xhtml 2010-05-31
19:45:56 UTC (rev 17432)
+++
root/examples/richfaces-showcase/trunk/src/main/webapp/templates/includes/skin-chooser.xhtml 2010-05-31
21:03:08 UTC (rev 17433)
@@ -8,12 +8,12 @@
<ui:composition>
<rich:panel>
- <a4j:repeat var="skin" value="#{skinBean.skins}">
+ <a4j:repeat var="skin" value="#{skinBean.skins}"
iterationStatusVar="iterStatus">
<h:link value="#{skin}" includeViewParams="true">
<f:param name="skin" value="#{skin}"/>
<f:attribute name="style" value="#{(skin==skinBean.skin) ?
'color:orange' : ''}"/>
</h:link>
- <h:outputText value = " | "/>
+ <h:outputText value = " | " rendered="#{not iterStatus.last}"
/>
</a4j:repeat>
</rich:panel>
</ui:composition>
Show replies by date