java - Can I trigger an IceFaces action using JavaScript? -
if have simple button:
   <ice:panelgroup>              <ice:commandbutton value="foobar"              action="#{filemanager.opennoflashvisiblepopup}" />    </ice:panelgroup>   is possible trigger action opennoflashvisiblepopup using javascript? know there icefaces has javascript bridge don't know see simple way this.
i need because have chunk of javascript detects flash , need show icefaces popup.
one way button element id , call click() function. 
document.getelementbyid('clientid').click();   you need give form , button fixed id can use generated html id clientid in javascript code.
Comments
Post a Comment