validate dynamic properties

2006-03-07 Thread Lionel Port
I have a form where the properties to be displayed are dynamically generated with the format of the properties is defined in the database. Base on the the format I can change how the page is rendered (e.g. show a date, text, select box) Is it possible to leverage the validation rules defined for t

Re: Display the Counts of a Collection that is in a Form

2006-03-08 Thread Lionel Port
Two options Using your scriptlet example <%= ActivityForm.getBusinessCollection().size() %> Or there is a struts tag to retrieve size On 3/9/06, Caroline Jen <[EMAIL PROTECTED]> wrote: > > I am trying to display 'counts' in a Collection. And > I use JSP scriptlet to do it: > > <%=businessC

Re: Display the Counts of a Collection that is in a Form

2006-03-08 Thread Lionel Port
As wendy said you need to follow bean:size with something like: As for the scriptlet version. Sorry the ActivityForm variable is not defined in the page scope. If you want to access it using scriptlet you would need to do bring it out of the request or session scope first, something like: <%=a

Re: Display the Counts of a Collection that is in a Form

2006-03-08 Thread Lionel Port
On 3/9/06, Lionel Port <[EMAIL PROTECTED]> wrote: > > As wendy said you need to follow bean:size with something like: > > > > As for the scriptlet version. Sorry the ActivityForm variable is not > defined in the page scope. If you want to access it using scriptlet y