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);
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
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:
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
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
(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
:
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