I am a richfaces guy, and started using primefaces on my new project. The transition is really interesting and fun, as I see a wealth of innovative components in here to choose from.
I wanted to use p:dialog in one of my pages and would like to know if there is a way I can pass the params onto this component, just as we do for rich:modalPanel.
Code: Select all
<rich:modalPanel onshow="alert(event.parameters.param1)">
So, is there something which I can use like this
Code: Select all
<p:carousel value="#{orderAction.photoIndex}" var="index" effect="easeInStrong" itemStyleClass="imageCarousel">
<p:commandLink oncomplete="dialog.show(#{index});" update="confirmGrid" title="Delete this Photo" />
</p:carousel>