-
1. Re: Modal panel vanishes after being displayed
ilya_shaikovsky Nov 5, 2008 6:37 AM (in response to artmooney)seems you modal in include. currently we have a known problem with such cases and there is a workaround:
[irl]http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186967#4186967[/url] -
3. Re: Modal panel vanishes after being displayed
artmooney Nov 5, 2008 6:44 AM (in response to artmooney)I am using ui:include for including the panel.
The question is: Why does it work when called via the commandLink and not when called via the menu.
Does something special happen when a menu item is clicked? -
4. Re: Modal panel vanishes after being displayed
artmooney Nov 5, 2008 7:21 AM (in response to artmooney)submitMode="none" solves the problem!!
:-)))
<rich:menuGroup id="mecBoxActions" value="#{I18nBean['1.10002']}" >
<rich:menuItem id="deleteInvoice" ajaxSingle="true"
value="#{I18nBean['1.10004']}" onselect="deleteSelectedInvoices()" submitMode="none"/> -
5. Re: Modal panel vanishes after being displayed
ilya_shaikovsky Nov 5, 2008 7:30 AM (in response to artmooney)define submitMode as ajax or none in order to show modal. in default "server" mode it will not be opened correctly because of full page reload.
-
6. Re: Modal panel vanishes after being displayed
ilya_shaikovsky Nov 5, 2008 7:31 AM (in response to artmooney)this form does not warn if the new posts exist before submit :)