Re: Any way to apply wicket:link to a with contained img?

2007-09-12 Thread mchack
Here is what the markup looks like: wicket:link Schedule.html ical.jpg /wicket:link Error generated: WicketMessage: Component _autolink_16 must be applied to a tag of type 'a', not ' ical.jpg ' (line 0, column 0) Schedule.class is a mounted page which does get handled correctly in other

Re: Any way to apply wicket:link to a with contained img?

2007-09-12 Thread mchack
Hopefully viewable now !-- wicket:link Schedule.html ical.jpg /wicket:link -- Mike Eelco Hillenius wrote: Was wondering if there was an easy way - Hopefully without code to create a bookmarkable link where there is a contained image tag. Seems like from a usability standpoint this

Re: Any way to apply wicket:link to a with contained img?

2007-09-12 Thread Nino Saturnino Martinez Vazquez Wael
should'nt that be like this: !-- wicket:link Schedule.html img src=ical.jpg /wicket:link -- but still I think it would fail, how should wicket know which picture you want and what package it are in? I guess thats why you need to bind the image to a package? I just do this: semi pseudo

Re: Any way to apply wicket:link to a with contained img?

2007-09-12 Thread mchack
My included markup was not correct. Before I botch this up further, what is the best method to escape html in nabble posts? Mike Nino Saturnino Martinez Vazquez Wael wrote: should'nt that be like this: !-- wicket:link Schedule.html ical.jpg /wicket:link -- but still I think it

Re: Any way to apply wicket:link to a with contained img?

2007-09-12 Thread Nino Saturnino Martinez Vazquez Wael
heh, I can see mine arent escaped aswell.. mchack wrote: My included markup was not correct. Before I botch this up further, what is the best method to escape html in nabble posts? Mike Nino Saturnino Martinez Vazquez Wael wrote: should'nt that be like this: !-- wicket:link

Any way to apply wicket:link to a with contained img?

2007-09-11 Thread mchack
Was wondering if there was an easy way - Hopefully without code to create a bookmarkable link where there is a contained image tag. Seems like from a usability standpoint this would be very common and a little bit cumbersome if I have to do this in the backing code. Thanks -- View this message

Re: Any way to apply wicket:link to a with contained img?

2007-09-11 Thread mchack
I think it's a common case in most if not all web apps (hyperlinked images). It is so common that having to add code would cumbersome. I appreciate the component oriented aspect of the framework but really want to use it for more leveraged UI elements. I guess what I am looking to build is

Re: Any way to apply wicket:link to a with contained img?

2007-09-11 Thread Carlos Pita
From my own experience most of the times the images in those links are taken from properties of some entity (say product or user) that is ultimately comming from a model, not just static resources. So you can't avoid the code counterpart anyway. Reagrds, Carlos On 9/11/07, mchack [EMAIL

Re: Any way to apply wicket:link to a with contained img?

2007-09-11 Thread Eelco Hillenius
Was wondering if there was an easy way - Hopefully without code to create a bookmarkable link where there is a contained image tag. Seems like from a usability standpoint this would be very common and a little bit cumbersome if I have to do this in the backing code. I think this already