Hi guys,

another question -have code (PhotoRepeater extends Panel, view is
RepeatingView):
...
String compID = view.newChildId();
PhotoRepeater clickableImg = new PhotoRepeater(compID);
clickableImg.add(new ExternalLink("fotoPath", path).add(new Image("image",
path)));
view.add(clickableImg);
this.add(view);
..

and markup:
<wicket:panel>
        <a wicket:id="fotoPath" title="" rel="lightbox[svatebni]" href="#">
                <img wicket:id="image" width="90px" border="2px" />
        </a>
</wicket:panel>

It works, but in final markup there is:
<a href="photo/01_sv_76.jpg" rel="lightbox[test]" title="">
        <img border="2px" width="90px"
src="resources/eu.testApp.MyPagePhotoRepeater/phfoto/01_sv_76.jpg"/>
</a>

so image is shown (right path to image resource) but not clickable (wrong
path). I'm using
ExternalLink in wrong way but I don't know the right way. Can you help me
gyus, please?

Laco


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to