Re: Validation with DynaValidatorForm not working - help

2006-01-11 Thread Vishal Gaurav
to create a Form class in local. if we are using > DynaActionForm, > > > then > > > no need of create form class in local. > > > i tried in struts_config.xml only, it is working well. > > > > > > > > > > > > > > > > &

Re: Validation with DynaValidatorForm not working - help

2006-01-11 Thread Vishal Gaurav
we are using DynaActionForm, > then > no need of create form class in local. > i tried in struts_config.xml only, it is working well. > > > > > > > Quoting Vishal Gaurav <[EMAIL PROTECTED]>: > > > Hi, > > > > Simply having your dyna form bean of the t

Re: Enabling links according to user's authorization

2006-01-11 Thread Vishal Gaurav
Hi, To check the users access the best approach is to check the access on the action by giving the roles attributes in the Struts Config and overriding the processRoles() method of action class. In addition to this if you want to limit weather a link is dispalyed to the user or not you can take h

Re: Validation with DynaValidatorForm not working - help

2006-01-11 Thread Vishal Gaurav
> > > method="validateRequired" > > >methodParams="java.lang.Object, > > > > > > org.apache.commons.validator.ValidatorAction , > > > > > > org.apache.commons.validator.Field, > > > > > > org.a

Re: Validation Problem - very urgent please reply

2006-01-10 Thread Vishal Gaurav
Hi, I feel that the approach given by Peter would be fine. You might be populating the drop down by iterating a collection fetched from Database. When you submit the form only the selected value is submitted from the drop down not the entire collection (That is why you do not get the collection b