Hi Walter, thanks for your answer again. Yes, I thougt about including the flag in the backing beans, but we have tens of actions that behave this way and I was looking for a more general solution that could be applied inside the dialogs so a less effort is needed.
Regards, -- Rafa 2009/3/30 Walter Mourão <[email protected]> > If you're using a backing bean action to differentiate the kind of > navigation, use the same action to set the flag in the page flow scope. > > > Walter Mourão > http://waltermourao.com.br > http://arcadian.com.br > http://oriens.com.br > > > > 2009/3/30 Rafa Pérez <[email protected]> > > 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 >>>> >>> >>> >> >

