cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Larson <...@keow.org>
Subject Re: Woody - Submit widget - ConfirmationBox
Date Thu, 29 Apr 2004 20:58:28 GMT
On Thu, Apr 29, 2004 at 10:19:32PM +0200, Bruno Dumon wrote:
> On Thu, 2004-04-29 at 19:37, Joerg Heinicke wrote:
> > On 29.04.2004 15:02, laurent_rorive@marinepower.com wrote:
> > > 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>

+1  This would be very handy.

--Tim Larson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message