RE: Link text

2007-11-08 Thread Clay Lehman
You might want to look at IComponentBorder -Clay -Original Message- From: Sam Hough [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 5:47 AM To: users@wicket.apache.org Subject: Re: Link text Anything similar for spitting something out _after_ the tag that the component is

Re: Link text

2007-11-07 Thread Sam Hough
Doh. Should have thought of Behaviours (sic). Guess my coding style is a bit old fashioned trying to use extension from than composition. Must re-read that great article about the pattern behind Spring not intending things to be extended. Cheers Sam Al Maw wrote: > > Sam Hough wrote: >> Anyt

Re: Link text

2007-11-07 Thread Al Maw
Sam Hough wrote: Anything similar for spitting something out _after_ the tag that the component is mapped to? e.g. Sending out some text/html after a checkbox? Presumably onComponentTagBody doesn't get called because it is not a Container and the input tag is send after anything I do in onCompon

Re: Link text

2007-11-07 Thread Sam Hough
Anything similar for spitting something out _after_ the tag that the component is mapped to? e.g. Sending out some text/html after a checkbox? Presumably onComponentTagBody doesn't get called because it is not a Container and the input tag is send after anything I do in onComponentTag :( Al Maw

Re: Link text

2007-11-05 Thread Sam Hough
Not counted but not far off as almost all the link are the names/titles of objects in search results/detail panels etc... igor.vaynberg wrote: > > yes, but is the text dynamic on 90% of your links??? > > most of the time if you want i18n its just > > > > -igor > > > On 11/5/07, Sam Ho

Re: Link text

2007-11-05 Thread Igor Vaynberg
yes, but is the text dynamic on 90% of your links??? most of the time if you want i18n its just -igor On 11/5/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > Thanks Al, > > That is what I was after. The rendering stuff is waaay over my head. > > Gwyn : nabble cut most of my post for some reason,

Re: Link text

2007-11-05 Thread Sam Hough
Thanks Al, That is what I was after. The rendering stuff is waaay over my head. Gwyn : nabble cut most of my post for some reason, I've been using two components (link and label) but it seems very verbose when 90% of my links are to text... Many thanks. Cheers Sam Al Maw wrote: > > Sam Hou

Re: Link text

2007-11-05 Thread Al Maw
Sam Hough wrote: Lots of the time I just want a link with text as the body of the ... ... The Link class takes an IModel so presumably uses that for something but I can't see it in the source or get it to appear... Sorry I'm being thick and I did search honest! You'd typically use the model

Re: Link text

2007-11-05 Thread Gwyn Evans
Monday, November 5, 2007, 12:16:50 PM, Sam wrote: SH> Lots of the time I just want a link with text as the body of the SH> ... ... The Link class takes an IModel so presumably uses that for SH> something but I can't see it in the source or get it to appear... It's typically just used so the model