primefaces: dynamic value for oncomplete attribute of ajax component -
i passed dynamic value oncomplete attribute
is correct way do? (not working)
oncomplete="if(mybean.isvalid){confirmation.show()}"/>
no , wrong.try this
oncomplete="{buyerdelegatebean.valid eq 'true'?confirmation.show():'else logic'}"/>
i hope valid
boolean value in code snippet
Comments
Post a Comment