myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <javao...@yahoo.com>
Subject Re: Trinidad: did not open a new dialog window with useWindow="true"
Date Thu, 07 May 2009 07:12:33 GMT
yes, the action method returns: "dialog:editValue".

--- On Wed, 5/6/09, Richard Yee <richard.k.yee@gmail.com> wrote:


From: Richard Yee <richard.k.yee@gmail.com>
Subject: Re: Trinidad: did not open a new dialog window with useWindow="true"
To: "MyFaces Discussion" <users@myfaces.apache.org>
Date: Wednesday, May 6, 2009, 10:48 AM


What view id is being returned by the bean.go() method? Is the view id
prefixed with "dialog:"?

-Richard

On Wed, May 6, 2009 at 8:15 AM, Glauco P. Gomes
<glaucopgomes@yahoo.com.br> wrote:
> Set org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS to false and you
> get your expected results.
>
> Glauco P. Gomes
>
> Dave escreveu:
>
> org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS was set to true, I
> expected Trinidad to open a dialog on the top of the current page (keep the
> current page), but it was a normal page navigation. (useWindow="true")
>
> --- On Wed, 5/6/09, Glauco P. Gomes <glaucopgomes@yahoo.com.br> wrote:
>
> From: Glauco P. Gomes <glaucopgomes@yahoo.com.br>
> Subject: Re: Trinidad: did not open a new dialog window with
> useWindow="true"
> To: "MyFaces Discussion" <users@myfaces.apache.org>
> Date: Wednesday, May 6, 2009, 4:11 AM
>
> 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
>
>
>
>
>



      
Mime
View raw message