On Thu, 2004-04-29 at 19:37, Joerg Heinicke wrote:
> On 29.04.2004 15:02, [EMAIL PROTECTED] wrote:
> 
> > Dear All,
> > 
> > Is there a way with a  submit widget or action widget to ask on the client 
> > side a confirmation and execute the action only if the user reply "Yes"
> > 
> > Ex :   [ Delete ]  ==> when user click : "Are you sure you want to delete 
> > ?" 
> >                                      ==> If yes call Flow Script
> >                                       ==> If no call nothing 
> 
> Where is the problem? It's just client side java script, no 
> Woody/Cocoon/backend in general involved.

Well, the script still has to come from the server side.

I even think this might be a common enough case to support it in the
default stylesheets. Something like:

<fi:styling>
  <show-confirmation>Are you sure?</show-confirmation>
</fi:styling>

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to