You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2009/05/06 11:54:28 UTC
Trinidad: did not open a new dialog window with useWindow="true"
For trinidad 1.2.11,
IFrame or Window, which is used for dialog framework?
<tr:commandLink id="commandLink"
text="Go"
action="#{bean.go}"
partialSubmit="false" useWindow="true"
returnListener="#{bean.handleReturn}" />
The action return: dialog:editValue.
It did not popup a new window for dialog, but show the dialog in the same window.
in web.xml
<context-param>
<param-name>org.apache.myfaces.trinidad.CACHE_VIEW_ROOT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POP</param-name>
<param-value>true</param-value>
</context-param>
Environment: jsf ri 1.2.12, tomahawk 1.1.8, richfaces 3.3.0, trinidad 1.2.11, jboss 5.0.1GA, window XP, IE7.0. Popup block is disabled in IE.
How to pop up a window for dialog? Thanks for help
Dave
Re: Trinidad: did not open a new dialog window with useWindow="true"
Posted by "Glauco P. Gomes" <gl...@yahoo.com.br>.
The org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS param tells
to Trinidad to use IFrame, setting it to false tells to Trinidad to open
a new window.
Glauco P. Gomes
Dave escreveu:
> For trinidad 1.2.11,
> IFrame or Window, which is used for dialog framework?
>
> <tr:commandLink id="commandLink"
> text="Go"
> action="#{bean.go}"
> partialSubmit="false" useWindow="true"
> returnListener="#{bean.handleReturn}" />
>
> The action return: dialog:editValue.
> It did not popup a new window for dialog, but show the dialog in the
> same window.
>
> in web.xml
>
> <context-param>
>
> <param-name>org.apache.myfaces.trinidad.CACHE_VIEW_ROOT</param-name>
> <param-value>false</param-value>
> </context-param>
> <context-param>
>
> <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
>
> <param-value>true</param-value>
> </context-param>
> <context-param>
>
> <param-name>org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POP</param-name>
>
> <param-value>true</param-value>
> </context-param>
>
>
> Environment: jsf ri 1.2.12, tomahawk 1.1.8, richfaces 3.3.0, trinidad
> 1.2.11, jboss 5.0.1GA, window XP, IE7.0. Popup block is disabled in IE.
>
> How to pop up a window for dialog? Thanks for help
> Dave
>
>
>