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

  1. You can remove your managed bean request.
  2. < Li>
  3. You can use resetValues ​​ (set to true
  4. You can set the value in null .>) p: Ajax component attribute.
  5. You can use p: rese: your P inside the component: CommandButton
  6. You can use RequestContext Using .getCurrentInstance () can reset ("to restore the context of the component").

    Primefaces are examples of these methods. Showcase, Search for ResetInput Miscellaneous


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -