-
1. Re: Restting a form inside a modalPanel
damianharvey Nov 20, 2007 11:14 AM (in response to waynebagguley)You're on the right path, however in the latest version of richfaces you can't just reRender the modal you have to reRender something in it. Your best bet is to have something like an <s:div> or <a4j:outputPanel> in the modal and reRender that.
Cheers,
Damian. -
2. Re: Restting a form inside a modalPanel
waynebagguley Nov 20, 2007 11:25 AM (in response to waynebagguley)Cheers, I thought I had tried that but I'll give it another go.
-
3. Re: Restting a form inside a modalPanel
waynebagguley Nov 20, 2007 11:48 AM (in response to waynebagguley)No joy with that. Will have to keep trying differen things.
-
4. Re: Resetting a form inside a modalPanel
waynebagguley Nov 21, 2007 6:43 AM (in response to waynebagguley)Ah, I think I know what the problem is (but not how to fix it).
Because the form isn't being submitted, the backing bean isn't getting populated so clearing it down won't work (it doesn't exist yet).
The form is getting reRendered but not reset.
Looking at this :
http://wiki.apache.org/myfaces/ClearInputComponents it seems like I will have to refresh the entire page. -
5. Re: Restting a form inside a modalPanel
pmuir Nov 24, 2007 1:46 PM (in response to waynebagguley)Post what your new button does, the xhtml and any backing beans it calls.