You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Danny Robinson <da...@gmail.com> on 2007/06/28 17:13:37 UTC
Lightweight (iframe) dialogs now available
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
Re: Lightweight (iframe) dialogs now available
Posted by Martin Marinschek <ma...@gmail.com>.
Great to hear.
regards,
Martin
On 6/28/07, Adam Winer <aw...@gmail.com> wrote:
> Cool stuff Danny!
>
> -- Adam
>
>
> On 6/28/07, Danny Robinson <da...@gmail.com> wrote:
> > 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
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re: Lightweight (iframe) dialogs now available
Posted by Adam Winer <aw...@gmail.com>.
Cool stuff Danny!
-- Adam
On 6/28/07, Danny Robinson <da...@gmail.com> wrote:
> 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
Re: Lightweight (iframe) dialogs now available
Posted by Matthias Wessendorf <ma...@apache.org>.
coooool!
can you add it to
a) dev-guide ?
b) wiki ?
for a) you now have commit rights ;-=
On 6/28/07, Danny Robinson <da...@gmail.com> wrote:
> 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
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org