struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <>
Subject RE: Can I pass parameter to getter method of bean?
Date Mon, 16 Dec 2002 16:46:09 GMT
No, you cannot.  However, it appears that you're trying to do i18n here.
Don't do this in your form bean properties, do it in your resource
properties.  That is, store a single symbol value in your form bean, but
store different display values in your properties file based on the

> -----Original Message-----
> From: Sutiwan Kariya []
> Can I pass parameter to getter method of bean?
> the <bean:define> has only "name" and "property" attribute  
> but do not has
> the door the send the parameter to "property"
> example,
> I has the personForm which has name attribute
> I want to define getter method such getName(int language)... Can I?

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

View raw message