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 <raja...@gmail.com>

> 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