Hi Group,


I need a help on general issue which every body would have solved.



Generally we'll have four operations like Add, Update, Query and Remove.
I believe we can use DispatchAction to handle all these operation in a
single action. So for the validation part we are planning to use
validator framework. Generally for create we will need to validate all
the mandatory fields (not the PK value incase of DB sequence) and for
update all the fields including the PK fields(as hidden fields) and for
query there may not be any validations and for delete operation we need
to validate the PK value alone. I'm not sure whether we can achieve this
kind of validation using validator framework or not. Because from my
understanding I believe that validator framework would be invoked first
and then the Action class. So can we validate the fields on conditional
basis?



I think we can do this by writing each operation in different action
calss.



Or is there a better approach for this kind of scenarios. Any help,
information, links material would be helpful.



If my question is not clear, let me know.



Thanks & regards,

Anil.



Information transmitted by this e-mail is proprietary to Infinite Computer 
Solutions and / or its Customers and is intended for use only by the individual 
or the entity to which it is addressed, and may contain information that is 
privileged, confidential or exempt from disclosure under applicable law. If you 
are not the intended recipient or it appears that this mail has been forwarded 
to you without proper authority, you are notified that any use or dissemination 
of this information in any manner is strictly prohibited. In such cases, please 
notify us immediately at [EMAIL PROTECTED] and delete this email from your 
records.

Reply via email to