Folks,

It's taken a while to get this sorted finally, but I've just checked this
feature into the trunk (rev 551581).  If configured, this will provide an
alternate dialog implementation that will pop a modal iframe centered in the
current window.

To enable this feature, you currently need to use the web.xml entry below
(likely to change).  Then just go to the Dialog Framework Demo in
trinidad-demo (remeber to clear your browser cache).

<context-param>
 <param-name>org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POPUP
</param-name>
 <param-value>true</param-value>
</context-param>

Automatic resize to dialog page will be added shortly, but for now it will
use either the suppled width/height or default to 300x200.

The dialog title bar is automatically set to the 'title' of the dialog page,
and hidden if the title isn't set.

Check it out and let me know if you find any problems,

Danny

--
Chordiant Software Inc.
www.chordiant.com

Reply via email to