Re: The field name in jsp

2005-05-12 Thread rmanchu

unless u have a method by which u can select which fields u want to
display, yup it'll render all fields on form.

i currently use customized Form*Config's to give it hints in the
struts-config.xml file. the ability to use "set-property key/value" is
hopefully coming soon (struts 1.3-dev). but using these "hints", i
render most of my forms from a single tag. u could set a property which
means -

display field A if the property value = "something"






















riyaz

Cliff Lam wrote:
> Hi riyaz,
> 
> Thank you very much.
> I have try it.
> 
> I think this method is mot suitable for me as I only want to get the fields
> in jsp not all the field in the form.
> 
> As some field in the form is not used in jsp and some field is used by the
> other action.
> 
> Anyway thank a lot.
> 
> Do you still have any method let me try ??
> 
> Cliff
> 
> this is your last method:
> 
> HttpServletRequest request =
> (HttpServletRequest)pageContext.getRequest();
> ModuleConfig moduleConfig =
> (ModuleConfig)request.getAttribute(Globals.MODULE_KEY);
> FormBeanConfig formBean = moduleConfig.findFormBeanConfig(formName);
> FormPropertyConfig[] formProps = formBean.findFormPropertyConfigs();
> 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]>
> 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
>>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 = ( .
>>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The field name in jsp

2005-05-12 Thread Cliff Lam
Hi riyaz,

Thank you very much.
I have try it.

I think this method is mot suitable for me as I only want to get the fields
in jsp not all the field in the form.

As some field in the form is not used in jsp and some field is used by the
other action.

Anyway thank a lot.

Do you still have any method let me try ??

Cliff

this is your last method:

HttpServletRequest request =
(HttpServletRequest)pageContext.getRequest();
ModuleConfig moduleConfig =
(ModuleConfig)request.getAttribute(Globals.MODULE_KEY);
FormBeanConfig formBean = moduleConfig.findFormBeanConfig(formName);
FormPropertyConfig[] formProps = formBean.findFormPropertyConfigs();
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]>
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
> 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 = ( .
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 = ( .
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


> 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 happens.
> 
> 
> HttpServletRequest request =
> (HttpServletRequest)pageContext.getRequest();
> ModuleConfig moduleConfig =
> (ModuleConfig)request.getAttribute(Globals.MODULE_KEY);
> FormBeanConfig formBean = moduleConfig.findFormBeanConfig(formName);
> FormPropertyConfig[] formProps = formBean.findFormPropertyConfigs();
> for (int i = 0; i < formProps.length; i++) {
> // get property
> FormPropertyConfig prop = formProps[i];
> System.out.println(prop.getName());
> }
> 
> Cliff Lam wrote:
> > Should I hard code the field name in the collection ?
> > 
> > I want to do it in each page in my web application  =.="
> > 
> > Cliff
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 happens.


HttpServletRequest request =
(HttpServletRequest)pageContext.getRequest();
ModuleConfig moduleConfig =
(ModuleConfig)request.getAttribute(Globals.MODULE_KEY);
FormBeanConfig formBean = moduleConfig.findFormBeanConfig(formName);
FormPropertyConfig[] formProps = formBean.findFormPropertyConfigs();
for (int i = 0; i < formProps.length; i++) {
// get property
FormPropertyConfig prop = formProps[i];
System.out.println(prop.getName());
}

Cliff Lam wrote:
> Should I hard code the field name in the collection ?
> 
> I want to do it in each page in my web application  =.="
> 
> Cliff

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The field name in jsp

2005-05-08 Thread Cliff Lam
I think I can do it like this

1. create my own textTag
2. override the setProperty function
2.1 save the property name
3. finally get it back using a tag

But I don't know it is a good idea .

Cliff

- Original Message - 
From: "Jonathan Wright" <[EMAIL PROTECTED]>
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 - 
> From: "Cliff Lam" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Monday, May 09, 2005 4:44 PM
> Subject: Re: The field name in jsp
>
>
> > Should I hard code the field name in the collection ?
> >
> > I want to do it in each page in my web application  =.="
> >
> > Cliff
> >
> > - Original Message - 
> > From: "Jonathan Wright" <[EMAIL PROTECTED]>
> > To: "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
> > > into the scope of your choice and then iterate over it at the end of
> your
> > > page
> > >
> > > Jonathan 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
> > > > 
> > > >
> > > > And I'm finding method to print all the field name (propertyName) at
> the
> > > end
> > > > of the page.
> > > >
> > > > eg.
> > > > <>
> > > > This page's Field:
> > > > propertyName1
> > > > propertyName2
> > > > propertyName3
> > > > 
> > > >
> > > > Thanks a lot ^^
> > > >
> > > > Cliff
> > > >
> > > > - Original Message - 
> > > > From: "Jonathan Wright" <[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: "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 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: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The field name in jsp

2005-05-08 Thread Cliff Lam
But if I do the reflection to check the field in my form how can I know
which field is not used in the jsp  /.\

if the form is extended to the other form, I think the case is more complex.
><

Cliff

- Original Message - 
From: "Jonathan Wright" <[EMAIL PROTECTED]>
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 - 
> From: "Cliff Lam" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Monday, May 09, 2005 4:44 PM
> Subject: Re: The field name in jsp
>
>
> > Should I hard code the field name in the collection ?
> >
> > I want to do it in each page in my web application  =.="
> >
> > Cliff
> >
> > - Original Message - 
> > From: "Jonathan Wright" <[EMAIL PROTECTED]>
> > To: "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
> > > into the scope of your choice and then iterate over it at the end of
> your
> > > page
> > >
> > > Jonathan 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
> > > > 
> > > >
> > > > And I'm finding method to print all the field name (propertyName) at
> the
> > > end
> > > > of the page.
> > > >
> > > > eg.
> > > > <>
> > > > This page's Field:
> > > > propertyName1
> > > > propertyName2
> > > > propertyName3
> > > > 
> > > >
> > > > Thanks a lot ^^
> > > >
> > > > Cliff
> > > >
> > > > - Original Message - 
> > > > From: "Jonathan Wright" <[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: "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 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: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The field name in jsp

2005-05-08 Thread Jonathan Wright
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 - 
From: "Cliff Lam" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Monday, May 09, 2005 4:44 PM
Subject: Re: The field name in jsp


> Should I hard code the field name in the collection ?
>
> I want to do it in each page in my web application  =.="
>
> Cliff
>
> - Original Message - 
> From: "Jonathan Wright" <[EMAIL PROTECTED]>
> To: "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
> > into the scope of your choice and then iterate over it at the end of
your
> > page
> >
> > Jonathan 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
> > > 
> > >
> > > And I'm finding method to print all the field name (propertyName) at
the
> > end
> > > of the page.
> > >
> > > eg.
> > > <>
> > > This page's Field:
> > > propertyName1
> > > propertyName2
> > > propertyName3
> > > 
> > >
> > > Thanks a lot ^^
> > >
> > > Cliff
> > >
> > > - Original Message - 
> > > From: "Jonathan Wright" <[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: "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 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: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The field name in jsp

2005-05-08 Thread Cliff Lam
Should I hard code the field name in the collection ?

I want to do it in each page in my web application  =.="

Cliff

- Original Message - 
From: "Jonathan Wright" <[EMAIL PROTECTED]>
To: "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
> into the scope of your choice and then iterate over it at the end of your
> page
>
> Jonathan 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
> > 
> >
> > And I'm finding method to print all the field name (propertyName) at the
> end
> > of the page.
> >
> > eg.
> > <>
> > This page's Field:
> > propertyName1
> > propertyName2
> > propertyName3
> > 
> >
> > Thanks a lot ^^
> >
> > Cliff
> >
> > - Original Message - 
> > From: "Jonathan Wright" <[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: "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 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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The field name in jsp

2005-05-08 Thread Jonathan Wright
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
into the scope of your choice and then iterate over it at the end of your
page

Jonathan 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
> 
>
> And I'm finding method to print all the field name (propertyName) at the
end
> of the page.
>
> eg.
> <>
> This page's Field:
> propertyName1
> propertyName2
> propertyName3
> 
>
> Thanks a lot ^^
>
> Cliff
>
> - Original Message - 
> From: "Jonathan Wright" <[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: "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 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The field name in jsp

2005-05-08 Thread Cliff Lam
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.

eg.
<>
This page's Field:
propertyName1
propertyName2
propertyName3


Thanks a lot ^^

Cliff

- Original Message - 
From: "Jonathan Wright" <[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: "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 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]