Yeah we can, it has been something i have been meaning to do. I was thinking to maintain backwards compatability it could be hte last effort, a call to Converters.convert( ... ).
One problem though is that the converter stuff all lives in main. We would have to move it to api to pull it off. -Justin Jody Garnett wrote: > Question for Justin ... this functionality of Param is one of the cases > where we do "conversion". > Can we (at least on trunk) make use of the same code you set up for > literal parsing? > > Nice patch however :-) > Jody >> Hi, >> I committed a patch to 2.3.x that allows parameters >> to parse a space separated string into an array, that >> is an extension to the already available ability to >> parse strings to numbers and dates using reflection. >> >> If someone minds checking it, I would be glad :-) >> It's needed to make Geoserver handle the directory >> data store, that wants an array of strings as a parameter >> (and geoserver is able to handle only strings). >> Cheers >> Andrea >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Geotools-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel > > !DSPAM:1004,45f99f05261552081064789! > -- Justin Deoliveira The Open Planning Project http://topp.openplans.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
