yes this is possible to do. But i think you need to do this in onRender()
so write out the tags you want in front. then call super.onRender() and then afterwards write the closing stuff.

johan


On 9/7/06, Roland Kaercher <[EMAIL PROTECTED]> wrote:
Hello,

I would like to have a component which extends Image and automatically
adds some <a href..></a> tags around the image tag in the markup. Is
there an easy way to surround the <img> tag in the generated markup by
overriding onComponentTag or am I trying the wrong way?

kind regards,

roland

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to