Thanks for your answer, but I'm not sure if it could be applied to our
problem. The button who launches the dialog is used to navigate to other
pages too, and if one of those pages can be opened either in "dialog mode"
or normal flow of navigation. Then it won't be possible to differentiate in
which case we are, aren't we?

Regards,

-- Rafa


2009/3/26 Walter Mourão <[email protected]>

> Not sure if it is possible "per si", but you can set a flag in the
> pageFlowScope to be checked inside the (supposed) dialog page, like:
>
> <tr:commandButton ...>
> <tr:setActionListener from="#{row}" to="#{pageFlowScope.dialogFlag}" />
> </tr:commandButton>
>
>
> Cheers,
>
> Walter Mourão
> http://waltermourao.com.br
> http://arcadian.com.br
> http://oriens.com.br
>
>
>
> 2009/3/26 Rafa Pérez <[email protected]>
>
> Hi all,
>>
>> we have several pages that can be opened either in the normal flow of the
>> application or as dialogs. Is it possible to programmattically know if a
>> window is opened as a dialog?
>>
>> Thanks in advance,
>>
>> -- Rafa
>>
>> PS: We are using Trinidad 1.0.10 and MyFaces 1.1.6
>>
>
>

Reply via email to