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]
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
&
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 =
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
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
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 -
>
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
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
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
> >
&
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
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
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
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
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
14 matches
Mail list logo