RE: Indexed properties...setters and getters

2002-01-17 Thread Rey Francois


What are the methods on your form bean? Are they public? It may help to see
your code.

Fr.

-Original Message-
From: Tom Goemaes [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2002 09:34
To: Struts Users Mailing List
Subject: Re: Indexed properties...setters and getters


Is the indexed feature supported in 1.0.1 ? don't think so... not sure.
Use the nightly builds.


 "Struts Users Mailing List" <[EMAIL PROTECTED]> wrote:


>If I have a html:text field on my form with the property named table[5].min
>imumSales, wouldn't this result in:
>
>1) A getTable(5).getMinimumSales() for displaying the form
>2) A getTable(5).setMinimumSales(data) for posting the form through an 
>Action class
>
>I am not seeing this behavior at all in my web application and I am using 
>the Struts 1.0.1 release. Any ideas? Any suggestions on how to debug this?
>
>Thanks,
>Todd Harney
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>



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

The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, please notify the sender of this email 
immediately. You should not copy, use or disseminate the 
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com
***


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




RE: Indexed properties...setters and getters

2002-01-17 Thread Tom Klaasen (TeleRelay)

The problem as it is described, isn't related to the "indexed"
attribute, but to indexed properties...

tomK

> -Original Message-
> From: Tom Goemaes [mailto:[EMAIL PROTECTED]] 
> Sent: donderdag 17 januari 2002 9:34
> To: Struts Users Mailing List
> Subject: Re: Indexed properties...setters and getters
> 
> 
> Is the indexed feature supported in 1.0.1 ? don't think so... 
> not sure.
> Use the nightly builds.
> 
> 
>  "Struts Users Mailing List" <[EMAIL PROTECTED]> wrote:
> 
>   
> >If I have a html:text field on my form with the property 
> named table[5].min
> >imumSales, wouldn't this result in:
> >
> >1) A getTable(5).getMinimumSales() for displaying the form
> >2) A getTable(5).setMinimumSales(data) for posting the form 
> through an 
> >Action class
> >
> >I am not seeing this behavior at all in my web application 
> and I am using 
> >the Struts 1.0.1 release. Any ideas? Any suggestions on how 
> to debug this?
> >
> >Thanks,
> >Todd Harney
> >
> >
> >--
> >To unsubscribe, e-mail:   
> >For additional commands, e-mail: 
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

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




RE: Indexed properties...setters and getters

2002-01-17 Thread Tom Klaasen (TeleRelay)

Nope.

The executed behaviour is something like:
fullArray = getTable();
current = fullArray[5];
result = current.getMinimumSales();
for the getter.

For the setter, it is something similar IIRC:
fullArray = getTable();
fullArray[5] = input;


hth,
tomK


> -Original Message-
> From: TODD HARNEY [mailto:[EMAIL PROTECTED]] 
> Sent: woensdag 16 januari 2002 18:52
> To: [EMAIL PROTECTED]
> Subject: Indexed properties...setters and getters
> 
> 
> If I have a html:text field on my form with the property 
> named table[5].minimumSales, wouldn't this result in:
> 
> 1) A getTable(5).getMinimumSales() for displaying the form
> 2) A getTable(5).setMinimumSales(data) for posting the form 
> through an Action class
> 
> I am not seeing this behavior at all in my web application 
> and I am using the Struts 1.0.1 release. Any ideas? Any 
> suggestions on how to debug this?
> 
> Thanks,
> Todd Harney
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

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




Re: Indexed properties...setters and getters

2002-01-16 Thread Tom Goemaes

Is the indexed feature supported in 1.0.1 ? don't think so... not sure.
Use the nightly builds.


 "Struts Users Mailing List" <[EMAIL PROTECTED]> wrote:


>If I have a html:text field on my form with the property named table[5].min
>imumSales, wouldn't this result in:
>
>1) A getTable(5).getMinimumSales() for displaying the form
>2) A getTable(5).setMinimumSales(data) for posting the form through an 
>Action class
>
>I am not seeing this behavior at all in my web application and I am using 
>the Struts 1.0.1 release. Any ideas? Any suggestions on how to debug this?
>
>Thanks,
>Todd Harney
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Indexed properties...setters and getters

2002-01-16 Thread Arron Bates

Is "table[5].minimumSales" the tag's "name" or its "property" property?...

Have you tried the nested extension for doing this stuff?...


Arron.

TODD HARNEY wrote:

>If I have a html:text field on my form with the property named table[5].minimumSales, 
>wouldn't this result in:
>
>1) A getTable(5).getMinimumSales() for displaying the form
>2) A getTable(5).setMinimumSales(data) for posting the form through an Action class
>
>I am not seeing this behavior at all in my web application and I am using the Struts 
>1.0.1 release. Any ideas? Any suggestions on how to debug this?
>
>Thanks,
>Todd Harney
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Indexed properties...setters and getters

2002-01-16 Thread TODD HARNEY

If I have a html:text field on my form with the property named table[5].minimumSales, 
wouldn't this result in:

1) A getTable(5).getMinimumSales() for displaying the form
2) A getTable(5).setMinimumSales(data) for posting the form through an Action class

I am not seeing this behavior at all in my web application and I am using the Struts 
1.0.1 release. Any ideas? Any suggestions on how to debug this?

Thanks,
Todd Harney


--
To unsubscribe, e-mail:   
For additional commands, e-mail: