Is there a way to call a state transition from onClick event of <h:selectOneListbox>?
eg.
Code:<h:selectOneListbox id="selectedSite" value="#{searchCriteria.siteCode}" size="15" onClick="call the --"search"-- transition"> <f:selectItems value="#{referenceDataService.sites}" /> </h:selectOneListbox>
flow definition
Code:<view-state id="selectSite"> <transition on="search" to ="somewhereelse"/> </view-state>
swf 2.3.0
primefaces 2.2.1
Thanks in advance.


Reply With Quote
