commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [betwixt] How to use comma-separated attribute value
Date Wed, 05 May 2004 20:01:51 GMT
you'll need a custom ObjectStringCoverter strategy that knows how to 
perform this conversion. there should be some documentation about how 
to do this on the website (http://jakarta.apache.org/commons/betwixt). 
if not, let us know and we'll do something about it :)

- robert

On 5 May 2004, at 11:12, Marc DEXET wrote:

> Hello people.
>
> How can I use comma-separated (Tomcat like) attribute value to map
> value-to-string-array ?
>
> Example : I get a attribute like this :
> <element att="val1, val2, val3" >
>
> and I would have a parsing output Bean with
>
> String[] atts = { "val1", "val2", "val3" };
>
> Is it possible ?
>
> Thanks
>
> ............................................
> Marc DeXeT
> Direction des Systèmes d'Informations
> Centre National de la Recherche Scientifique
>                 ~ * ~
> Information System Direction
> National Center for Scientific Research
> http://www.cnrs.fr
> ............................................
>
> - I haven't forgotten Jelly, I have just no time -
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message