Hi,
I tried that one, but i couldnt bypass the validation......
i've an Update page, some of the attributes are mandatory.
onlick of the cancel btn im forwarding it to the home page,
onclick of the cancel btn it validates the form and gives error.
how do i bypass that one.

Note:-
Im using Images and not <html:cancel>

Subramaniam Olaganthan
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com



"Angharad Stapleton" <[EMAIL PROTECTED]>

02/24/2004 10:17 PM

Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>

To
"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc
Subject
RE: Validation doubt?





Either just use _javascript_ to send to home page, or add a path in
struts-config to go to home page if cancel button was selected.
 -----Original Message-----
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: 24 February 2004 16:40
 To: Struts Users Mailing List
 Subject: RE: Validation doubt?



 Hi,
 Thank you for the information.
 on click of the cancel btn i want to show the home page. how do i do that?

 Subramaniam Olaganthan
 Tata Consultancy Services
 Plot No. 21
 Industrial Estate,, Ambattur
 Chennai - 600 058,Tamil Nadu
 India
 Mailto: [EMAIL PROTECTED]
 Website: http://www.tcs.com


       Vinay Kumar Munikuntla <[EMAIL PROTECTED]>
       02/24/2004 10:00 PM
             Please respond to
             "Struts Users Mailing List" <[EMAIL PROTECTED]>


      To 'Struts Users Mailing List' <[EMAIL PROTECTED]>
             cc [EMAIL PROTECTED]
             Subject RE: Validation doubt?







 Don't submit the form when user clicks on cancel button..... This will
avoid
 calling validate method off the form bean.
  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, February 24, 2004 11:21 AM
  To: [EMAIL PROTECTED]
  Subject: Validation doubt?



  Hi,
          I do not want to validate my form when the user clicks the Cancel
 button.
  For your information im not using _javascript_ validation [i.e my doesnt've
 <html:_javascript_ formname="someform">]
  how to do this?

  Subramaniam Olaganthan
  Tata Consultancy Services
  Mailto: [EMAIL PROTECTED]
  Website: http://www.tcs.com



 -----------------------------------------
 This email, including any attachments, is for the designated recipient(s)
only and may contain confidential, proprietary, and/or legally privileged
information.  If you are not a designated recipient, or have received it in
error, please notify the sender and destroy it and all attachments and
copies immediately, without distributing, disclosing, or using it in any
manner.
 ForwardSourceID:NT0000413E

ForwardSourceID:NT00004176    
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the
addressee. Unauthorized use, disclosure or copying is strictly prohibited and may 
constitute unlawful act and can possibly attract legal action, civil and/or criminal. 
The contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services
on any subject matter. Any action taken or omitted to be taken based on this message 
is entirely at your risk and neither the originator of this message nor Tata 
Consultancy Services takes any responsibility or liability towards the same. Opinions, 
conclusions and any other
information contained in this message that do not relate to the official business of 
Tata Consultancy Services shall be understood as neither given nor endorsed by Tata 
Consultancy Services or any affiliate of Tata Consultancy Services. If you have 
received this message in error,
you should destroy this message and may please notify the sender by e-mail. Thank you.


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

Reply via email to