Hi folks. I'm refining my project. I need to solve some inconveniences.
 1)In my validation, all work fine. But I have an action class for an 
actionform. This action class extends dispatchaction because in my jsp i 
have several buttons in order to submit something. My doubt is if there is 
some way to validate only some fields. Because I want that 'search method' 
validate only username and date fields, and 'drope method' validate only 
chkBills field... How can I do that? I tried to use ValidatorActionForm 
instead of ValidatorForm but it's the same because I have only one Action 
and inside all my methods.
 2)When I want to fill some fields in a 'mother jsp' I use a 'child jsp', 
this child search data from database and when I submit 'select button', it 
closes itself and fill some fields of the mother jsp. But of course I don't 
want the user modify those fields because it's only information. Those 
fields are specified as:
 <html:text maxlength="50" property="strRazonSocial" size="50" 
styleClass="Form" />
 How can I disable this field in order to the user can't modify it?. I tried 
with 'disabled' option but I need this field in order to save this 
information and when I use 'disabled="true"' there is an error because it 
can't find that field. I tried to use html:hidden with write option but it 
doesn't show the data...
 Thanks in advance for ur help.

-- 
Rafael Taboada
Software Engineer

Cell : +511-97753290

"No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Reply via email to