-
1. Re: ModalPanel self rerender
fmarwede Feb 26, 2009 10:16 AM (in response to depy)Please consider the following rule from the dev guide: "To work properly the <rich:modalPanel> should always be placed outside the original <h:form> and must include its own <h:form> for such cases like performing submissions from within the <rich:modalPanel>." (6.69.5)
That means, you need a form in your first modal panel. -
2. Re: ModalPanel self rerender
depy Feb 27, 2009 2:31 AM (in response to depy)Well, the action listener gets invoked but still it doesnt work. The loading panel is showed for the whole time. Seems like that a4j:commandLink oncomplete is never called.
-
3. Re: ModalPanel self rerender
fmarwede Feb 27, 2009 5:34 AM (in response to depy)Please post your environment. For me it works in FF 3.0.6 and with RF 3.3.1 (some snapshot from beginning of february), Facelets.
Have you tried to simplify: Put anything out you don't need for that test, for example that chart stuff (I don't know what it is). So you can eliminate the possibility of side effects causing your problem. -
4. Re: ModalPanel self rerender
nbelaevski Feb 27, 2009 6:56 AM (in response to depy)Hello,
This may be the cause:onclick="Richfaces.hideModalPanel('panel');Richfaces.showModalPanel('loadingPanel')"
Does anything change if you remove this? -
5. Re: ModalPanel self rerender
depy Feb 27, 2009 9:02 AM (in response to depy)Still doesnt work. :/
-
6. Re: ModalPanel self rerender
nbelaevski Feb 27, 2009 11:03 AM (in response to depy)Can you please check if that works without modal panels?
-
7. Re: ModalPanel self rerender
depy Mar 2, 2009 2:20 AM (in response to depy)How do you mean without modal panel. The thing I want is the modal panel to self rerender (that loading panel is just eyecandy not a must). But I can't get it to do that.
Later I will try a simple project with just modal panel rerendering it self. -
8. Re: ModalPanel self rerender
nbelaevski Mar 2, 2009 7:12 AM (in response to depy)"nbelaevski" wrote:
Can you please check if that works without modal panels?
Does oncomplete work if you locate chart:chart not in modal panel, but in another thing, e.g. rich:panel?