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) {
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
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
3 matches
Mail list logo