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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -