I wanted to integrate the litebox javascript image viewer and thought this way i could use a LiteboxImage as drop in replacement for Image components but i guess i should rethink that. I just thought i could get away with this approach because the surrounding link tag isn't really used as one, but then - i'll have to set a thumbnail reference anyway.
roland On 9/7/06, Frank Bille <[EMAIL PROTECTED]> wrote: > Just out of curiosity: Why don't create a custom component which extends > Panel and then have a have a Link with an Image inside it. Then you don't > have to mess with onRender and stuff. > > IMO it's more clean to do it in that way if you don't have a specific need > for the component to have Image as parent. > > Just a surgestion. > > Frank > > > On 9/7/06, Roland Kaercher <[EMAIL PROTECTED]> wrote: > > Wow! Thank you! > > This works so great, I just love the way things are solved in wicket :-) > > > > roland > > > > On 9/7/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > 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 > > > [email protected] > > > > 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 > > > [email protected] > > > > 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 > > [email protected] > > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
