Author: ilya_shaikovsky
Date: 2011-03-09 09:53:25 -0500 (Wed, 09 Mar 2011)
New Revision: 22108
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
Log:
http://jira.jboss.org/browse/RF-10723
@Nick checked.
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2011-03-09
14:51:30 UTC (rev 22107)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2011-03-09
14:53:25 UTC (rev 22108)
@@ -10,7 +10,7 @@
<ui:define name="demoSampleParameters">
<f:metadata>
<f:viewParam name="sample" value="#{demoNavigator.sample}"
/>
- <f:viewParam name="demo" value="#{demoNavigator.demo}" />
+ <f:viewParam name="demo"
value="#{demoNavigator.currentDemo.id}" />
<f:viewParam name="skin" value="#{skinBean.skin}" />
</f:metadata>
</ui:define>
@@ -25,9 +25,9 @@
onbeforeitemchange="return false;">
<c:forEach items="#{demoNavigator.currentDemo.samples}"
var="s">
<rich:tab header="#{s.name}" name="#{s.id}"
- onheaderclick="document.location='#{facesContext.externalContext.requestContextPath}/richfaces/component-sample.jsf?demo=#{d.id}&sample=#{s.id}&skin=#{skinBean.skin}'"
/>
+ onheaderclick="document.location='#{facesContext.externalContext.requestContextPath}/richfaces/component-sample.jsf?demo=#{demoNavigator.currentDemo.id}&sample=#{s.id}&skin=#{skinBean.skin}'"
/>
</c:forEach>
- </rich:tabPanel>
+ </rich:tabPanel>
<fieldset class="example-cnt"><ui:include
src="#{demoNavigator.sampleURI}" /></fieldset>
</ui:define>
</ui:composition>