commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Arnold <>
Subject Re: [Jelly] Tag attributes corresponding to arrays
Date Tue, 11 May 2004 14:58:29 GMT wrote:

>I'm a bit wary of suddenly Jelly converting strings with commas in them 
>into arrays....

To be clear, the conversion _only_ happens when the setter method of the 
target object accepts an array argument.  And how the conversion is 
performed can be controlled by (un)registering an appropriate 
org.apache.commons.beanutils.Converter.  Perhaps a compromise would be 
to register a compatibility converter in Jelly which by default mimics 
the current conversion behavior.

The main point is that in its current form, one _cannot_ control this 
conversion in Jelly as the behavior is hard-coded in the 
BeanUtils.setProperty(Object,String,Object) method.


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

View raw message