Re: The field name in jsp

2005-05-12 Thread rmanchu
ormPropertyConfigs(); > for (int i = 0; i < formProps.length; i++) { > // get property > FormPropertyConfig prop = formProps[i]; > System.out.println(prop.getName()); > } > > > - Original Message - > From: "rmanchu" <[EMAIL PROTECTED]

Re: The field name in jsp

2005-05-12 Thread Cliff Lam
L PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 5:05 PM Subject: Re: The field name in jsp > > did u try with ur forms? i think it should work. also, if you're jsp is > not backed by an action then, u'll need to create a form, which u can &

Re: The field name in jsp

2005-05-10 Thread rmanchu
did u try with ur forms? i think it should work. also, if you're jsp is not backed by an action then, u'll need to create a form, which u can easily by using a RequestUtils.createActionForm method riyaz Cliff Lam wrote: > Thx a lot. > > This is a good method but I'm not using DynaActionForms =

Re: The field name in jsp

2005-05-09 Thread Cliff Lam
Thx a lot. This is a good method but I'm not using DynaActionForms = ( . Cliff - Original Message - From: "rmanchu" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 1:48 PM Subject: Re: The field name in jsp > h

Re: The field name in jsp

2005-05-08 Thread rmanchu
have used the following extensively with DynaActionForms. i would think that this would work with any extension of ActionForms. The form fields are represented by FormPropertyConfig objects contained within the FormBeanConfig objects. you could place the following code in you JSP and see what happe

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
gt; To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 12:51 PM Subject: Re: The field name in jsp > You could do something clever and use reflection to look at the method names > in you action form objects I guess > > Jonathan Wright > - Original Message -

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 12:51 PM Subject: Re: The field name in jsp > You could do something clever and use reflection to look at the method names > in you action form objects I guess > > Jonathan Wright > - Original Message

Re: The field name in jsp

2005-05-08 Thread Jonathan Wright
uot;Struts Users Mailing List" > Sent: Monday, May 09, 2005 12:37 PM > Subject: Re: The field name in jsp > > > > If the form is not dynamic, i.e. the form fields are not generated at > > runtime, why not just put a collection of Strings or an array or Strings &g

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
han Wright > - Original Message - > From: "Cliff Lam" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Monday, May 09, 2005 4:33 PM > Subject: Re: The field name in jsp > > > > I'm talking the field is like > > &

Re: The field name in jsp

2005-05-08 Thread Jonathan Wright
t; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 4:33 PM Subject: Re: The field name in jsp > I'm talking the field is like > > > And I'm finding method to print all the field name (propertyName) at the end > of the page

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
ht" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 12:26 PM Subject: Re: The field name in jsp > Define "fields". Are you talking about form fields? > > Jonathan Wright > - Original Message - > From: "Cli

Re: The field name in jsp

2005-05-08 Thread Jonathan Wright
Define "fields". Are you talking about form fields? Jonathan Wright - Original Message - From: "Cliff Lam" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 4:17 PM Subject: The field name in jsp Hi, How can I know t

The field name in jsp

2005-05-08 Thread Cliff Lam
Hi, How can I know the fields in jsp dynamically. eg. I want to print the all the field name at the end of each page dynamically. Should I override the setProperty to do it? Thanks a lot =) Cliff

The field name in jsp

2005-05-08 Thread Cliff Lam
Hi, How can I know the fields in jsp dynamically. eg. I want to print the all the field name at the end of each page dynamically. Should I override the setProperty to do it? Thanks a lot =) Cliff - To unsubscribe, e-mail