I'm trying to display the dynamic values in slideshow using <p:imageSwitch>
.
But how can use outputText values inside <p:imageSwitch>
?
this is my code:
<p:commandButton onclick="switcher.previous();"/>
<p:imageSwitch effect="fade" widgetVar="switcher" slideshowAuto="false">
<h:outputText value="#{msgs.launch}" />
<h:outputText value="#{msgs.launch1}" />
<h:outputText value="#{msgs.launch2}" />
</p:imageSwitch>
<p:commandButton onclick="switcher.next();"/>