struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@attws.com>
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
locale.

> -----Original Message-----
> From: Sutiwan Kariya [mailto:Sutiwan@tisco.co.th]
> 
> 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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message