This content has been marked as final.
Show 2 replies
-
1. Re: How to erase values in popuppannel
rhanus Apr 5, 2013 6:54 AM (in response to mmunir)a very silimar facelet works for me fine
values from popupPanel should be maintained in request scoped bean and create button should (re-)render the popupPanel itself
-
2. Re: How to erase values in popuppannel
vi_mahe_ka1 Apr 5, 2013 7:56 AM (in response to mmunir)add an actionListener in commandLink which will call a bean method, where you can nullify the bean values.
ex:
<a4j:commandLink action="#{someBean.someAction}" ----/>
someAction{
prop1=null;
prop2=null;
}
you can add following lines as well
UIInput otherInput = (UIInput) context.getViewRoot().findComponent("formId:otherInputId");
otherInput.setValue("");
otherInput.setSubmittedValue)("");