There's a special component for this in PrimeFaces called confirmDialog
integrated with command components.

http://97.107.138.40:8080/prime-showcase/ui/confirmDialog.jsf

That will work smoothly with Tomahawk.

On Wed, Dec 9, 2009 at 4:43 PM, Grant Smith <work.gr...@gmail.com> wrote:

> I use RichFace's ModelPanel for this...
>
> On Wed, Dec 9, 2009 at 8:39 AM, <pbr...@johnson.ca> wrote:
>
> > So that's the second person who is using the regular old javascript
> > confirm dialog.  Doesn't it seem odd that there is no tomahawk popup
> > component?  My leader seems to think that we shouldn't use this because
> it
> > is ancient.  I wish he could come up with a better excuse than that.
> > However, does anyone an idea for a better looking component?
> >
> > Pat
> >
> >
> >
> >
> >
> > Luka Surija <l...@iytim.hr>
> > 09/12/2009 01:01 PM
> > Please respond to
> > "MyFaces Discussion" <users@myfaces.apache.org>
> >
> >
> > To
> > MyFaces Discussion <users@myfaces.apache.org>
> > cc
> >
> > Subject
> > Re: pop up for delete confirmation
> >
> >
> >
> >
> >
> >
> > onclick="return(confirm('#{msg.AreYouSure}'));"
> >
> > Luka Surija
> >
> >
> >
> > On 12/03/2009 12:02 PM, Anton Gavazuk wrote:
> > > I'm using the basic javascript...
> > >
> > > 2009/11/30<pbr...@johnson.ca>
> > >
> > >
> > >> I am using the Tomahawk set of tags for this project.  I need a pop to
> > >> confirm the deletion of a record.  There doesn't seem to be any
> concept
> > of
> > >> a popup in JSF or Tomahawk.  I can use a basic javascript cofirm popup
> > and
> > >> functionaly it works perfect but the color scheme doesn't match my
> > >> application and it doesn't look good.  Just wondering what everyone
> > else
> > >> does to confirm a delete?
> > >>
> > >> Pat
> > >>
> > >
> >
> >
>
>
> --
> Grant Smith
>

Reply via email to