java - Primefaces commandButton not working properly -
Text after "
I want, when I press CommandButton, my page (to refresh all the inputText boxes, all the check boxes are empty I have tried it with update = "@ requestForm", update =. ": RequestForm", update = "all @" ajax = "false", update = "@ ([id $ = RequestForm]) ", but no success ...
This is the code for my CommandButton:
& lt; h: CommandButton value =" save "id =" SaveBtn "ActionListener =" # {requestBean .addRequest ()} "ajax =" false "/> My support ID =. "? RequestForm" any thoughts
- You can remove your managed bean request. < Li>
- You can use
resetValues (set totrue- You can set the value in
null.>)p: Ajaxcomponent attribute.- You can use
p: rese:yourP inside the component: CommandButton- You can use
RequestContext Using .getCurrentInstance () can reset ("to restore the context of the component").Primefaces are examples of these methods. Showcase, Search for
ResetInputMiscellaneous - You can set the value in
Comments
Post a Comment