Re: Wizards and Struts Validator

Steve Leung <[email protected]> Thu, 5 Dec 2002 16:53:27 +0800 (CST)
Newsgroups gmane.comp.web.mvc.devel
Message-ID <20021205085327.42085.qmail__17481.6096704037$1039080176@web20704.mail.yahoo.com>
Hello,
  I also have such problem. For me, I use two form to
validate it. For example, 
Before insert new bean, I create a form called
insertForm and  only validate the properties without
id. Before update an old bean, I create a form called
updateForm and validate all the fields including the
id value which got from database.
  I think that it should be a more clever way to do
this without duplicate the form and validate different
fields.

 Rgds,
Steve

 --- Paul Caruana <[email protected]>
的郵件內容:> I wish to share a form bean across
several web pages
> and I using the Struts
> validator.
> The problem is Struts validator validates all fields
> defined in the common
> bean therefore a field to be validated ion page 2
> will be validated on page
> 1.
> 
> What is the recognise method for passing or sharing
> properties (fields)
> across wizard pages using  Struts validator?
> 
> Thanx in advance Paul
> 
> 
> >
------------------------------------------------------------------------This
> email is intended for the named recipient only. The
> informationcontained in this message may be
> confidential, or commerciallysensitive. If you are
> not the intended recipient you must not reproduceor
> distribute any part of the email, disclose its
> contents to any otherparty, or take any action in
> reliance on it. If you have received thisemail in
> error, please contact the sender immediately. 
> Please deletethis message from your
>
computer.------------------------------------------------------------------------
>  

_________________________________________________________
女人之苦(許志安),笑中有淚(楊千嬅),愛不釋手(李克勤)...
Over 800 latest ringtones, only on Yahoo!
http://ringtone.yahoo.com.hk
_______________________________________________
MVC-Programmers mailing list
[email protected]
http://www.netbean.net/mailman/listinfo/mvc-programmers

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/NhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/