This content has been marked as final.
Show 3 replies
-
1. Re: Reset Form Fields
babazs Jul 11, 2010 10:43 AM (in response to fjkjava.febinjk.gmail.com)If the data values really cleared, then the problem will be related with the value of the reRender property.
-
2. Re: Reset Form Fields
tmalatinszki Jul 12, 2010 3:21 AM (in response to fjkjava.febinjk.gmail.com)Are You using validation on Your fields? Because in this case You should clean Your form as well this way:
FacesContext.getCurrentInstance().getViewRoot().findComponent("addmyForm").getChildren().clear();
Put this line in the end of editClear function (after You set Your field variables empty).
Regards,
Tamas
-
3. Re: Reset Form Fields
fjkjava.febinjk.gmail.com Jul 23, 2010 5:00 PM (in response to fjkjava.febinjk.gmail.com)Thanks Tamas Malatinszki