Re: AW: Re[2]: "are you sure?"

2004-03-23 Thread Mark Lowe
submitting to the server returning an action message with a checkbox (check to confirm). and then resubmitting I reckon would be nicer than a javascript dependency. in the action something like .. boolean confirmed = theForm.getConfirmed().equals("true"); if(!confirmed) {

Re: AW: Re[2]: "are you sure?"

2004-03-23 Thread Dmitrii CRETU
AS> Wow, I'm confused. If javascript was disabled, the onSubmit trigger was AS> ignored, but the button onClick trigger was honored? I'll have to try that AS> out. If JavaScript is disabled neither of solutions work properly. But with "button" you avoid uncontrolled form submition, simply nothing

AW: Re[2]: "are you sure?"

2004-03-23 Thread Andreas Solarik
Wow, I'm confused. If javascript was disabled, the onSubmit trigger was ignored, but the button onClick trigger was honored? I'll have to try that out. Andreas -Ursprungliche Nachricht- Von: Dmitrii CRETU [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Marz 2004 11:09 An: Struts Users M