<tc:button label="Delete"

                        action="#{yourController.delete}"

                        <f:facet name="confirmation">

                              <tc:out value="Do you want to delete?" />

                        </f:facet>

                  </tc:button>

 

________________________________

From: Adrian Mitev [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 9:15 AM
To: MyFaces Discussion
Subject: Re: JSF - New window to confirm delete

 

try javascript confirm() ?

2007/3/12, edney imme <[EMAIL PROTECTED]>:

Hallo,

 

I have a windown, were I need to open another windown, like a popup
windown. And in that windown, I will use to ask to the user if he wants
to confirm delete the item, or cancel this operation.

 

Detail: I can't use javascript popup window, it must be a new window,
with 2 buttons: Ok and Cancel.

 

Did anibody did something like that before ? Or has any idea of how I
can do it ?

 

I alredy do some similar using Struts, but never with JSF.

 

Thanks for atention.

 

Reply via email to