db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Federico Fissore <federico.fiss...@concept.it>
Subject If you "Struts", how do you validate?
Date Sun, 21 May 2006 17:26:49 GMT
Hello list,

I want to ask you a "best practice" question.

I'm quite new to Struts and Torque and I'm having good experiences.
Where I work, my colleagues are used in modifying the BaseObject to make
it extend the ValidatorForm class of Struts. Then they make all their
tables have their own BaseObject as the baseClass in order to obtain
Struts validation for free. 
I think of this as dirty but functional.

But I see Struts has its BeanValidatorForm class, that *adapts* a
"legacy" bean in order to *add* validation. 
Much cleaner but awkward as this leads you to write more code.

So my question is: how are you used to? and: do you have a best

Thank you all

Concept - shaping technology 

Federico Fissore  

Concept S.r.l - via F.Tamagno, 3 - 20124 - Milano 
tel: +39 0229536401 
fax: +39 0220402984 
E-Mail Disclaimer 
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission.

If verification is required please request a hard-copy version. 
Concept Srl, via F. Tamagno,3 - 20124 Milan - Italy - www.concept.it 

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message