This content has been marked as final.
Show 2 replies
-
1. Re: Rest input on page
michpetrov Mar 10, 2014 6:00 AM (in response to wish79)Hi,
I assume your code looks like this:
<h:inputText id="text" value="#{bean.text}" /> <a4j:commandButton action="#{bean.reset}" render="text" value="Reset" />
Rendering the input components directly does not work, that's a JSF thing. You have to wrap the input in something (<a4j:outputPanel> for example) and then render the wrapping component.
-
2. Re: Rest input on page
wish79 Mar 10, 2014 3:46 PM (in response to michpetrov)i solved my problem by add execute="inputid" on the command button