that indexed properties for the validator do not work in
javascript? Or am I
doing something wrong?
Thanks,
Craig
tataryn:craig/
tataryn:craig/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
) {
if (bCancel)
return true;
else
return validateRequired(form);
}
function required () {
}
So does this mean that indexed properties for the validator do not work in javascript?
Or am I
doing something wrong?
Thanks,
Craig
On Thu, 11 Mar 2004 21:08:23 -0800, Michael McGrady wrote:
http://jakarta.apache.org/struts/faqs/indexedprops.html
At 07:15 PM 3/11/2004, you wrote:
I have the follow in a jsp file
html:form action=indexedtest5.do
logic:iterate name=stringbean property=stringArray id=foo
I have the below jsp file needs help
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
html
body
html:form action=indexedtest5.do
logic:iterate name=stringbean property=stringArray id=foo
indexId=ctr
!--what do
sorry, the last mail doesnt display correctly, but when I tried to write a
new one, I saw it displays correctly as the below
ThanksRegards
From: Mu Mike [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: help me about indexed properties
Date
well,sorry again, my qeustion is the below
I have the below jsp file needs help
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
html
body
html:form action=indexedtest5.do
logic:iterate name=stringbean property=stringArray id=foo
--- Mu Mike [EMAIL PROTECTED] wrote:
(QUESTION: what do name property ,id ,indexID mean here? what value can
I set to them?)
I searched online only fail to find any doc that give detailed
explaination about these proeprties
html:text name=stringbean
Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: help me about indexed properties
Date: Fri, 12 Mar 2004 02:49:47 +
I have the below jsp file needs help
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic
I have the follow in a jsp file
html:form action=indexedtest5.do
logic:iterate name=stringbean property=stringArray id=foo
indexId=ctr
(QUESTION: WHAT DO name,property,id,indexId MEAN HERE? WHAT VALUES CAN
I SET TO THEM?)
html:text name=stringbean
Mike,
You wont find descriptions about them in API Javadoc.
In the Struts 1.1 distribution that you have downloaded, go to webapps
folder and deploy the struts-documentation.war in your favorite servlet
container and then look for
/userGuide/struts-logic.html and /userGuide/struts-html.html
PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: help me about indexed properties
Date: Thu, 11 Mar 2004 21:11:42 -0600 (CST)
Hi Mike, the attributes for logic iterate are all explained here:
http://jakarta.apache.org/struts/userGuide/struts-logic.html
http://jakarta.apache.org/struts/faqs/indexedprops.html
At 07:15 PM 3/11/2004, you wrote:
I have the follow in a jsp file
html:form action=indexedtest5.do
logic:iterate name=stringbean property=stringArray id=foo
indexId=ctr
(QUESTION: WHAT DO name,property,id,indexId
to
NullException.
Any ideas, about how to name the getters/setters for the indexed
properties (in my case is a bean with Strings).
java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
were not retained.
To work around that, I'm trying indexed properties,
but it has not helped my cause, only added to my
woes:(
With indexed properties, I don't seem to get the
values of the textfields in the form bean(I get a
NullPointerException on form submission). Also, the
values
to understand whats goign on...
HTH.
regards,
Shirish
-Original Message-
From: Shyam A [mailto:[EMAIL PROTECTED]
Sent: Friday, February 13, 2004 4:04 PM
To: Struts Users Mailing List
Subject: problem with indexed properties
Hello,
I'm trying to use indexed propeties in my form bean
(ActionForm
were not retained.
To work around that, I'm trying indexed properties,
but it has not helped my cause, only added to my
woes:(
With indexed properties, I don't seem to get the
values of the textfields in the form bean(I get a
NullPointerException on form submission). Also, the
values
, 2004 11:38
To: 'Struts Users Mailing List'
Subject: RE: Conventions for indexed properties
Thanks for the responses guys. Does that mean the following
getter (given at
http://jakarta.apache.org/struts/faqs/indexedprops.html) is
incorrect? It
doesn't seem to follow the javabean spec
To: 'Struts Users Mailing List'
Subject: RE: Conventions for indexed properties
Thanks for the responses guys. Does that mean the following
getter (given at
http://jakarta.apache.org/struts/faqs/indexedprops.html) is
incorrect? It
doesn't seem to follow the javabean spec for indexed
Hi - could someone please point me to a definitive guide to get() and set()
conventions for indexed properties in Struts? I've seen and tried plenty of
variations; there doesn't seem to be one standard solution that works every
time.
E.g. for the property
List books = new ArrayList(); // assume
I don't have a definitive guide, but here are some examples that could
be helpful.
Here's a slice of the guts of a form with int indexed properties that
works for me. The use of simple arrays is a serious shortcoming, but
the interface works with the JSP below:
public void reset
Actually, this is the definitive guide:
http://jakarta.apache.org/struts/faqs/indexedprops.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for indexed properties -- one that has
the getter and setter methods taking an array, and one that has the getter and
setter methods taking an additional argument for the index.
There's lots of other useful info about what it means to be a JavaBean here as
well. Just as one example, did you know
Thanks for the responses guys. Does that mean the following getter (given at
http://jakarta.apache.org/struts/faqs/indexedprops.html) is incorrect? It
doesn't seem to follow the javabean spec for indexed properties:
public java.util.List getStringIndexed(int index) {
return
What if I have a DynaAction form . In that case how do I handle the
getter/Setter method ...
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 14, 2003 3:16 PM
To: Struts Users Mailing List
Subject: indexed properties mini(est) HOWTO
hello,
am
.
What if I have a DynaAction form . In that case how do I handle the
getter/Setter method ...
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 14, 2003 3:16 PM
To: Struts Users Mailing List
Subject: indexed properties mini(est) HOWTO
hello,
am
hey guys,
i am drawing a complete blank,may be cause its monday,
i generate some fields on the webpage using javascript, and make them
indexed, so i end up having fields like entry[0].area,
entry[0].description...and i want to make sure that each index ends up as a
part of a separate object or
The wiki might be a good place for this:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsNewFaqs
--- Rajat Pandit [EMAIL PROTECTED] wrote:
hello,
am positng a quick HOWTO to get started with using indexed properties,
as i guess almost everyone has had to deal with it atleast once.
pls
hello,
am positng a quick HOWTO to get started with using indexed properties,
as i guess almost everyone has had to deal with it atleast once.
pls post any suggestions/additions etc to improve on it. i might add on
the JSTL version a little version of it. (only the view part changes
How can I get indexed properties in my action class ?
I've seen an example that uses the method get(property) but it's based
in a Dynamic Form which is not my case. In that case, it is possible to
obtain using get(property).
In my case the Form doesn't have the property addr as in example
below
Hello,
I'm using Struts 1.1, and I have a jsp that is using indexed fields that
I need to validate using javascript. It seems as though the struts
validator just ignores javascript validations on my fields completely!
For example, if it is the only field that uses a particular validator,
say
, and indexed
properties
Date: Thu, 4 Dec 2003 15:51:25 -0800 (PST)
De: Richard Yee [EMAIL PROTECTED]
Pour: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED]
Charles,
If you the size of the ArrayList is constant, you can
specify the form-property 'size' attribute
are put using a button (like the swap tag of struts layout, but
with no select on the left).
is it feasible with indexed properties (this model would be great, bu i don't what
view to use to populate it :-( )
I hope what i need is clear ;-). Ask me if something is not.
Thanks
Caroline
, December 05, 2003 7:30 AM
Subject: dynamic number of lines - Indexed properties ?
Hello!
up to now I had used quite simple forms... and now I need some more
complicated fields, and don't know where to start from
Here is what I want to do, with a simple example: I want to describe a
family
hi all.
i have in my DynaValidatorForm called entrantesForm, declared an ArrayList (called
colRequetes) of RequeteTO objects.
form-property name=colRequetes type=java.util.ArrayList //form-bean
in my jsp, i want to update some properties of RequeteTO, like 'typeRequete' with the
Charles,
If you the size of the ArrayList is constant, you can
specify the form-property 'size' attribute and this
will fix your problem. Otherwise, you need to use
session scope to store the FormBean. The reason is
that Struts will not size the colRequetes ArrayList
when the form is submitted. If
Hi
Can I use logic:iterate and indexed properties with display tag sorting ?
Thanks,
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi,
i have a small problem validating index properties in my form.
in the validation.xml file i have the following definition
to validate my indexed properties. the validation works fine
for the first (index = 0) property. but i have a maximum of
18 indexed properties.
form name
]
Sent: Wednesday, November 26, 2003 1:20 PM
To: [EMAIL PROTECTED]
Subject: struts 1.1 validation of indexed properties
hi,
i have a small problem validating index properties in my form.
in the validation.xml file i have the following definition
to validate my indexed properties
As of March 14, 2003 it appears that Struts/Commons validation does not
support indexed properties as such:
I have a collection of objects A where each A has some properties, call them
p1, p2, and p3.
I want to validate field p3 for each object A in the collection.
Is this currently possible
I'm having trouble populating a Form bean that has an indexed (variable
size) nested bean. I'm using an ArrayList inside the Form bean to collect
the nested properties and it's partially working. The problem is that
because the index is variable, I don't know how to correctly size the
ArrayList.
a couple of times..
Still if u cant get it to work or have doubt, repost the question :-))
HTH.
regards,
Shirish
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 4:56 PM
To: [EMAIL PROTECTED]
Subject: dynamic indexed properties in Form bean
I would like to know how to use the Struts Validator with indexed
properties.
I cannot display error messages under the field (but the validator
obviously works and performs validation).
Below is the relevant parts of my JSP and of my valdiation.xml file :
Upon submission of the JSP's form, I
validation.xml.
-Vijay
Frederic Dernbach wrote:
I would like to know how to use the Struts Validator with indexed
properties.
I cannot display error messages under the field (but the validator
obviously works and performs validation).
Below is the relevant parts of my JSP and of my valdiation.xml file
depends=required,integer,positive
arg0 key=rubis.strategy.label/
/field
You have specified it as
indexedListProperty=parameters
Plz Verify your validation.xml.
-Vijay
Frederic Dernbach wrote:
I would like to know how to use the Struts Validator with indexed
I would like to know how to use the Struts Validator with indexed
properties.
I cannot display error messages under the field (but the validator
obviously works and performs validation).
Below is the relevant parts of my JSP ,valdiation.xml file and form :
Upon submission of the JSP's form, I
The validations for indexed properties are not fired on the client side,
they are fired on the server side only.
Is there a way I can do that on the client side.
I am working on a PO screen with many line items.
Regards
Vara Prasad
Hi Vara,
I have implemented client-side validations for indexed properties, but I
have done it through custom validators. Look through the archive for a
thread titled Validation of Indexed properties. I describe how I
implemented the client side validations for indexed properties.
Nick
: Re: Indexed Properties + Validator + JavaScript
Hi Vara,
I have implemented client-side validations for indexed properties, but I
have done it through custom validators. Look through the archive for a
thread titled Validation of Indexed properties. I describe how I
implemented the client
- is the property indexed (allows me to reuse the
validation for non-indexed properties)
tableName - name of the html table that contains the rows to be
validated
headerRowPresent - helps me count data rows in the table.
listName- name of one row in the form property - used when
, October 26, 2003 8:23 AM
To: Struts Users Mailing List
Subject: Re: Indexed properties help!
Rajat,
Here is an example of an indexed property called 'signal' (in my
application it holds complex objects, not simple strings or integers):
public OrderedSignalBean getSignal(int index
26, 2003 8:23 AM
To: Struts Users Mailing List
Subject: Re: Indexed properties help!
Rajat,
Here is an example of an indexed property called 'signal' (in my
application it holds complex objects, not simple strings or integers):
public OrderedSignalBean getSignal(int index
Hello,
I am pasting some excepts from the struts documentation. It would be
really great if someone could help me clear this.
Question 1:
!-- snip --
The indexed tags feature is provided by several tags that have an
optional boolean indexed attribute. This is only legal when inside a
Rajat,
Here is an example of an indexed property called 'signal' (in my
application it holds complex objects, not simple strings or integers):
public OrderedSignalBean getSignal(int index) {
while( index = this.getSignals().size() ){
i have same question as you , do you have get right answer?
my resolve is like this :
form bean -
private ArrayList awards = new ArrayList (5);
public void reset(ActionMapping actionMapping, HttpServletRequest
httpServletRequest) {
awards .add(0,new AwardMasView ());
awards .add(1,new
Search the user archive...
This question has been answered many times(Use of lazy lists is one of the ways to
manange the list runtime..)
-Original Message-
From: hsc [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 9:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Indexed Properties
try looking at www.keyboardmonkey.com
I believe the example on nested tag will help you...
Best Regards,
Benz Lim
-Original Message-
From: hsc [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Indexed Properties examples?
i have same
OK, I faced the same problems you a few weeks ago (I was a total newbee
with indexed properties and I spent 10 full days on the problem - I'm
still hot on this one !).
I haven't read the initial post and I hope my input will be useful to
you.
Regarding the form :
1/ I create an empty array list
=myForm property=myproperty
..
Cheers Mark
On Tuesday, October 21, 2003, at 12:33 PM, Frederic Dernbach wrote:
OK, I faced the same problems you a few weeks ago (I was a total newbee
with indexed properties and I spent 10 full days on the problem - I'm
still hot on this one !).
I haven't read
I am still trying to get this to work. I simply want to display records in
table format in a browser and be able to change the data, do a submit and
have access to the changes back in the action. Currently I am getting :
HTTP ERROR: 500 No getter method for property AwardIndexed[0].safAwardCode
of
Try changing the property value reference in your JSP to reference
awardIndexed instead of AwardIndexed. That might help, but I'm not
certain.
-Original Message-
From: Michael Blair [mailto:[EMAIL PROTECTED]
I am still trying to get this to work. I simply want to
display records
I'm working through the examples on
http://jakarta.apache.org/struts/faqs/indexedprops.html and have some questions.
I am able to get the sample code under 'Indexed Properties' to work fine.
--
package Beans;
import
-- it
will cover the first 2 of your points.
david
-Original Message-
From: Frederic Dernbach [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 2:59 AM
To: struts-layout; struts-user
Subject: Need for a sample with indexed properties
Following up on a previous post, I
Following up on a previous post, I currently experience big difficulties
managing indexed properties in a Struts form.
Can somebody send me a complete sample with :
- a form with an indexed properties (I need to see the setter and getter
methods). The O'Reilly Programming Jakarta Book says
I recently asked for some help on indexed properties and I still some
assistance. However, I made some progress in the understanding of the
issue. I traced the Struts source code to understand a little better why
I'm loosing collection date in between Struts actions.
I have a very simple JSP
; indexed properties
I recently asked for some help on indexed properties and I still some
assistance. However, I made some progress in the understanding of the
issue. I traced the Struts source code to understand a little better why
I'm loosing collection date in between Struts actions.
I have
Dernbach [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 9:59 AM
To: struts-layout; struts-user
Subject: Need for a sample with indexed properties
Following up on a previous post, I currently experience big difficulties
managing indexed properties in a Struts form.
Can somebody send me
To: struts-layout; struts-user
Subject: Need for a sample with indexed properties
Following up on a previous post, I currently experience big difficulties
managing indexed properties in a Struts form.
Can somebody send me a complete sample with :
- a form with an indexed properties (I need to see
:
Indexed Properties
The simplest demonstration of using indexed properties in Struts can be
shown with the following simple bean and JSP page:
package org.apache.struts.webapp.exercise;
import org.apache.struts.action.ActionForm;
public class StringBean extends ActionForm {
private String strAry
Oups i made a big mistake
there is no more problem
sorry :)
-Message d'origine-
De : Florent LOTHON [EMAIL PROTECTED]
À : Struts Users Mailing List [EMAIL PROTECTED]
Date : mercredi 10 septembre 2003 10:03
Objet : Indexed Properties problem / what version of struts is compatible
The following article seems to differ in approach from how the posters
to this forum implement indexed properties in struts:
http://www.developer.com/java/other/article.php/2233591
In this article, the author uses a DynaActionForm which automatically
builds an array of normal beans. By normal, I
On Tuesday, September 9, 2003, at 06:00 PM, Michael Muller wrote:
The following article seems to differ in approach from how the posters
to this forum implement indexed properties in struts:
http://www.developer.com/java/other/article.php/2233591
In this article, the author uses a DynaActionForm
The following article seems to differ in approach from how the posters
to this forum implement indexed properties in struts:
http://www.developer.com/java/other/article.php/2233591
In this article, the author uses a DynaActionForm which automatically
builds an array of normal beans. By normal
cc:
Subject: writing an
actionform for nested
indexed properties
08/21/2003 10:00
AM
Please respond to
Struts Users
I am trying to write an actionform which will properly handle an array
of indexed properties which look like this:
ip[0].itemPropertys[0].itemPropertyId
ip[0].itemPropertys[0].value
ip[1].itemPropertys[0].itemPropertyId
ip[1].itemPropertys[0].value
etc...
In my Action form, what getters
:
Subject: writing an actionform for
nested indexed properties
08/21/2003 10:00
(Indexed Properties)
I'm totally confused you say that I need to write these methods
Here's your iterate tag:
logic:iterate id=ipAddress type=com.register.struts.account.IpAddress
name=editAdvancedForm property=alist
And here are html:text tags:
html:text name=ipAddress property=domainName
'
Subject: RE: BeanUtils.Populate exception(Indexed Properties)
4)Now Im able to diplay in the jsp page but when I submit
this page its throwing
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java
:1098) exception.
See the response
To: 'Struts Users Mailing List'
Subject: RE: BeanUtils.Populate exception(Indexed Properties)
4)Now Im able to diplay in the jsp page but when I submit
this page its throwing
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java
]
Sent: Friday, August 08, 2003 8:26 PM
To: Struts Users Mailing List
Subject: BeanUtils.Populate exception(Indexed Properties)
1)I have an arraylist called alist which contain collection of
Beans(IpAddress)
I provided the getter and setter methods for alist and getIpAddress(int
index
, August 08, 2003 9:10 AM
Subject: Concept clear for Indexed properties
Hi,
I want to make my concept clear
1)I have an ActionForm which contains an ArrayList this stores collection of
beans which are called IpAddress
2)Now I write the setter and getter methods for ArrayList in the ActionForm
3
that in the first case the getter method with indexed property for IpAddress
is being called.
Thanks!
Sridhar
-Original Message-
From: Sridhar Kotagiri
Sent: Friday, August 08, 2003 11:36 AM
To: Struts Users Mailing List
Subject: RE: BeanUtils.Populate exception(Indexed Properties)
I'm
1)I have an arraylist called alist which contain collection of Beans(IpAddress)
I provided the getter and setter methods for alist and getIpAddress(int index) and
setIpAddress(int index,IpAddress ip) for the bean.
2)This bean has two properties domainName and ipValue,wrote the getter and setter
I'm totally confused you say that I need to write these methods
Here's your iterate tag:
logic:iterate id=ipAddress type=com.register.struts.account.IpAddress
name=editAdvancedForm property=alist
And here are html:text tags:
html:text name=ipAddress property=domainName indexed=true/
4)Now Im able to diplay in the jsp page but when I submit
this page its throwing
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java
:1098) exception.
See the response I made a couple of hours ago on this same issue. I just
cc:
Subject: Re: Indexed Properties
07/28/2003 08:44
, 2003 2:57 AM
Subject: Re: Indexed Properties
Atta,
It sounds to me like you have it. As long as your names match up, it
should work fine. Ajay has given a full code example that looks good.
Nick
atta-ur rehman
[EMAIL PROTECTED
What i'm still missing what is updated when i submit the
form? where can i
get updated values from? my ActionForm has list attirbute
called blocks
each element in the list is a Block bean object. The
Block bean has getter/setters for id, name and category.
Two strategies:
1. Update
]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:04 AM
Subject: RE: Indexed Properties
What i'm still missing what is updated when i submit the
form? where can i
get updated values from? my ActionForm has list attirbute
called blocks
each element
but this code always prints the values that i set
the first time page was shown!
Beats me...the code looked fine to me.
Maybe something wrong with your action mappings
and form bean configurations? Or the JSP the values
are changed on.
-TPP
so you are saying that ideally the the beans collection in my ActionForm
should be updated on form submission?
- Original Message -
From: Paananen, Tero [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:30 AM
Subject: RE: Indexed
so you are saying that ideally the the beans collection
in my ActionForm should be updated on form submission?
The attribute values in the beans held in the collection
should change on form submission, yes.
-TPP
-
This
path=/test.jsp/
/action
my form class extends ActionForm.
any ideas?
ATTA
- Original Message -
From: Paananen, Tero [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:43 AM
Subject: RE: Indexed Properties
so you are saying that ideally
and confirm that your
indexed properties are named correctly. You should see block[0].id,
block[0].name, block[0].category.
If none of this helps, I'm not sure where else to look. It sounds like
everything else is lining up...
Nick
, after all ;)
My sincere thanks for your help and patience! It took some time, but was
worth it!
ATTA
- Original Message -
From: Nicholas L Mohler [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 11:19 AM
Subject: Re: Indexed Properties
Hi,
I am currently imple,enting the Struts validator into our web app. All is
going pretty well with the exception of client-side indexed property
validation. I have looked at the Validator documentation, and gone through
this list looking for some idea that will give me a clue as to what I
I've been reading an indexed properties article at:
http://jakarta.apache.org/struts/faqs/indexedprops.html
Also read http://www.developer.com/java/other/article.php/2233591
Very helpful.
-TPP
-
This email may contain
Thanks. It was helpful.
But it still leaves me thinking if Indexed Properties are meant ONLY for
DynaActionForm type of forms?
I'm still unable to use them by using an array in my conventional
ActionForm.
ATTA
- Original Message -
From: Paananen, Tero [EMAIL PROTECTED]
To: 'Struts
Atta,
You can use indexed properties in your ActionForm class. The key is having
all of the correct methods in your form class.
1) Getter and setter: You need a get/Set method for the collection that
you refer to in your jsp. for example:
public Collection getLocations()
public void
Mohler [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, July 28, 2003 11:58 AM
Subject: Re: Indexed Properties
Atta,
You can use indexed properties in your ActionForm class. The key is
having
all of the correct methods in your form class.
1) Getter
:
Subject: Re: Indexed Properties
07/28/2003 03:44
1 - 100 of 261 matches
Mail list logo