Re: passing a map into PageParameters

2010-06-29 Thread Igor Vaynberg
Page parameters only support strings, so you will have to encode and decode yourself -igor On Jun 29, 2010 9:49 AM, "Fernando Wermus" wrote: Ray, I haven't had any succeded either. I am working with fb rest (facebook) which has some classes that work with json to store several kind of object

Re: passing a map into PageParameters

2010-06-29 Thread Fernando Wermus
Ray, I haven't had any succeded either. I am working with fb rest (facebook) which has some classes that work with json to store several kind of objects. In my case, I need my page to be bookmarkable. thanks anyway On Tue, Jun 29, 2010 at 1:47 AM, Ray Weidner < ray.weidner.develo...@gmail.com

Re: passing a map into PageParameters

2010-06-28 Thread Ray Weidner
I haven't had any success storing anything other than Strings in PageParameters objects. It makes sense, since these are supposed to represent bookmarkable (i.e. GET) parameters. If you're hoping to throw arbitrary Maps into a PageParameters, you're going to be disappointed. But if you have an i

Re: passing a map into PageParameters

2010-06-28 Thread Fernando Wermus
This is not what I want to achieve. I need to pass a map of parameters as just an entry into PageParameters and other entries too. For instance, Map swfParameters=new HashMap(); swfParameteres.put("a", "1"); swfParameteres.put("b", "2"); PageParameters p=new PageParameters(); p.put("swfParame

Re: passing a map into PageParameters

2010-06-28 Thread jammyjohn
PageParameters parameters = new PageParameters(swfParameters); This is how the hashmap is constructed in PageParameters.. Thanks, J -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/passing-a-map-into-PageParameters-tp2271341p2271351.html Sent from the Wicket - User m