PageParameters and BookmarkablePageLink

2009-12-09 Thread Eyal Golan
Hi, I have a BookmarkablePageLink that I set parameters for it: ... String configurationName = conf; ConfigurastionUser firstEntity = getFirstEntity(); PageParameters parameters = new PageParameters(); parameters.add(configurationName, configurationName); parameters.add(firstEntity, firstEntity);

Re: PageParameters and BookmarkablePageLink

2009-12-09 Thread Bert
Hi, the parameter value (a ConfigurastionUser in your case) is converted to a String using toString(). Are you sure that you want to pass in that object and not an ID of it? Bert On Wed, Dec 9, 2009 at 12:57, Eyal Golan egola...@gmail.com wrote: Hi, I have a BookmarkablePageLink that I set

Re: PageParameters and BookmarkablePageLink

2009-12-09 Thread Eyal Golan
OK. I understand. Yes, I prefer passing it as an object. So I switched the page LinkAttributesPage to have a constructor that accepts the OBJECTS I need. If I ever need it with URL, then I'll add the PageParameters and will get the objects by keys. Thanks, Eyal Golan egola...@gmail.com Visit:

Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Nino Saturnino Martinez Vazquez Wael
for me if parameters are switched like so : mydom.com/mypage/product/id/cache/true I instantiate my links like so: pageparameters.add(cache, true); pageparameters.add(cache,true); BookmarkablePageLink link = new BookmarkablePageLink(linkId, cls,pageparameters); -- -Wicket for love

Re: Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Erik van Oosten
if parameters are switched like so : mydom.com/mypage/product/id/cache/true I instantiate my links like so: pageparameters.add(cache, true); pageparameters.add(cache,true); BookmarkablePageLink link = new BookmarkablePageLink(linkId, cls,pageparameters); -- Erik van Oosten http

Re: Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Nino Saturnino Martinez Vazquez Wael
(cache, true); pageparameters.add(cache,true); BookmarkablePageLink link = new BookmarkablePageLink(linkId, cls,pageparameters); -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail

Re: Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Nino Saturnino Martinez Vazquez Wael
: pageparameters.add(cache, true); pageparameters.add(cache,true); BookmarkablePageLink link = new BookmarkablePageLink(linkId, cls,pageparameters); -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com