See below.

----- Original Message -----
From: "Gerardo Segura" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 8:06 PM
Subject: [OS-webwork] strange behaviour on simple situation...


> Hi,
> i'm a newbie using spring + webwork,  based on the integration
> technique  presented in
> http://wiki.opensymphony.com/space/Spring+Framework+Integration
>
> altough it's stated simple, this problem  is hazarding my mental heath.
> on my application i've coded a few dozens of actions but recently i
> faced two problems:
>
> 1. i was sending a parameter with a given name to an action and even
> there was the setter method
> it wasn't been called.  Strangely, other parameters were been setted
> perfectly. the query showed the
> parameter was, in effect, been received but no setter called.  The
> setter method follow the convention
> public void setPropertyName and the parameter name was propertyName.  i
> repeat i have coded many
> actions before.
>

I had same problems before. It happens if setter and getter typer differ as
sample

public void setKey(String key) // setter
public AnyObject getKey()   // getter

At least I had this problem before.

> 2.  The same problem, but this time occured when setting a property in
> applicationContext.xml
>      with a statement of the form:
> <property name="propertyName"><value>1</value></property>
> i include setPropertyName(int value) and setPropertyName(String value),
> but none was been called.
>
> since i have other actions working on the same circumstances, and i
> cannot see any difference it makes me think if there are some
> constraints with the property names, their size name or something
>
> i know i'm exposed to public muck becouse this apparently trivial
> problem but i could not see what the/my problem was.
>
> regards
> Gerardo Segura.
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to