Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
1.4.2
-
None
-
win 7; java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04), Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing);
Description
1)
i would like to replace the naviagtion chars < << ... by images,
following this http://javathoughts.capesugarbird.com/2007/04/how-to-change-markup-of-built-in-wicket.html instructions.
2)
Here you can see a generated link from me app
...
<a wicket:id="prev" href="?x=pPt1KTjFgq7jCvFV7Vtod43EPo0hbPO-EDP4AMUHOsUoaAgCgpvR6F6GtmhTk1TRCvllRbG1Pu4" title="Go to previous page">
<img src="img/previous_btn.gif" border="0" onclick="window.location.href='img/previous_btn.gif';return false;"/>
</a>
...
my problem is the "onclick..."-part - is it possible to leave it?
3)
so i googled and found: http://old.nabble.com/extra-%27onclick%27-is-generated-for-an-image-wrapped-by-a-link-td20980894.html;
... instead of wicket:link, use bookmarkablepagelink component instead.
4)
is there any possible way to perform step 3) in my case?
many thx in advance
Josef
p.s. wicket is great