This content has been marked as final.
Show 3 replies
-
1. Re: rich:messages in panel and modal panel
juangon Oct 2, 2009 5:09 AM (in response to vgangel)This is the config I am using working ok.
Inside modal panel:<rich:messages id="modaPanelMessages" globalOnly="false" ajaxRendered="false"> . .
Inside the modal panel, if you have a commandButton or commandLink must do this:<a4j:commandButton id="saveButtonModalPanel" limitToList="true" actionListener="#{...}" .... />
In rich:panel, messages may be like this:<rich:messages layout="list" globalOnly="true" ..../>
-
2. Re: rich:messages in panel and modal panel
vgangel Oct 2, 2009 5:49 AM (in response to vgangel)thx. Try that
-
3. Re: rich:messages in panel and modal panel
juangon Oct 2, 2009 6:00 AM (in response to vgangel)Ups I forgot one important thing.
Because the messages inside modal panel are ajaxRendered="false", you must reRender it any time you make some action inside modalPanel which could cause any message (error, warning, info):<rich:messages id="modaPanelMessages" globalOnly="false" ajaxRendered="false" > . . <a4j:commandButton id="saveButtonModalPanel" limitToList="true" actionListener="#{...}" .... reRender="modaPanelMessages" />