incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Closing dialogs
Date Thu, 24 Aug 2006 03:45:06 GMT
A dialog can be launched purely through navigation configuration, as in

<tr:commandLink action="dialog:blah" useWindow="true" .../>

A dialog is initiated based on the from-outcome having the  
appropriate prefix; no Java code is required. As far as I can tell,  
that's not true for terminating a dialog, though; you have to call  
RequestContext.returnFromDialog() from somewhere.

Is that correct? Or is there a 'magic' outcome that can be used to do  
this implicitly, as in something like

<tr:commandLink action="dialog:CLOSE" .../>

If there isn't, would this be worth adding?

Laurie Harper
Open Source advocate, Java geek:
Founder, Zotech Software:

View raw message