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, [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]