Maybe not ! I ready you link with attention. But I really don't
understand How use this pattern :( (sorry I'm not a great designer).
I restart this analyze in some days.
Nicolas
Le 01/05/2012 23:16, Jacques Le Roux a écrit :
Don't we need an Object Adapter?
http://en.wikipedia.org/wiki/Adapter
Don't we need an Object Adapter? http://en.wikipedia.org/wiki/Adapter_pattern
Maybe too heavy, just popped in my mind, did not look at code
Jacques
From: "Nicolas Malin"
Hi Rishi,
Thanks for your time
Yes the urlEncodeArgs() convert the Map very well, but the list present in the
map isn't
Don't we need an adater? http://en.wikipedia.org/wiki/Adapter_pattern
Maybe too heavy, just popped in my mind, did not look at code
Jacques
From: "Nicolas Malin"
Hi Rishi,
Thanks for your time
Yes the urlEncodeArgs() convert the Map very well, but the list present in the map isn't convert t
Hi Rishi,
Thanks for your time
Yes the urlEncodeArgs() convert the Map very well, but the list present
in the map isn't convert to string as OFbiz converter wait it.
If I follow your suggest, and use StringUtil.toMap instead of
StringUtil.toList in the CollectionConverter.java to convert, I
Nicolas,
Please have a look into the method specified urlEncodeArgs() of UtilHttp
class. It takes the Map as argument and if while conversion it gives you '{
}' then it is fine. You just need to use map converter instead of list
converter.
It should works perfectly then. Assuming you are talking ab
Hi, I would like to explain a little problem with OFBiz convert where I
don't found a clean solution.
To start : a search form with a multiple drop-down that call a perform
service with an attribute List
the form :
...
the service :
optional="true"/> ...
When I execute the research, the