Re: [Wicket-user] HyperLink Text

2005-08-19 Thread Juergen Donnerstag
> projects. > > > > So, I'm -1. > > > > Eelco > > > > > > -----Oorspronkelijk bericht- > > Van: Johan Compagner > > Verzonden: vr 19-8-2005 15:27 > > Aan: wicket-user@lists.sourceforge.net > >

Re: [Wicket-user] HyperLink Text

2005-08-19 Thread Johan Compagner
--- Van: Johan Compagner Verzonden: vr 19-8-2005 15:27 Aan: wicket-user@lists.sourceforge.net CC: Onderwerp: Re: [Wicket-user] HyperLink Text that label should work (like others are pointing out. But we should simplify this. G

Re: [Wicket-user] HyperLink Text

2005-08-19 Thread David Liebeherr
I think ... is better than just ... sice it is clearer to (at least to me) to have a link which contains a label than a link which is also a label. So i think the way it's now is pretty nice and clear. Cu, Dave Johan Compagner wrote: that label should work (like others are pointing out. But

RE: [Wicket-user] HyperLink Text

2005-08-19 Thread Eelco Hillenius
Van: Johan Compagner Verzonden: vr 19-8-2005 15:27 Aan: wicket-user@lists.sourceforge.net CC: Onderwerp: Re: [Wicket-user] HyperLink Text that label should work (like others are pointing out. But we should simplify this.

Re: [Wicket-user] HyperLink Text

2005-08-19 Thread Dipu
Thanks for the quick reply, my mistake, i was adding the label to the panel instead of adding to the Link. Thanks Dipu - Original Message - From: "Eelco Hillenius" <[EMAIL PROTECTED]> To: Sent: Friday, August 19, 2005 2:14 PM Subject: RE: [Wicket-user] HyperLink Tex

Re: [Wicket-user] HyperLink Text

2005-08-19 Thread Johan Compagner
that label should work (like others are pointing out. But we should simplify this. Go to my Page Link link = new Link('hlink',new Model("this is my text")); why the extra span between them, mostly the model of the link isn't even used. An extra link class that extends link? (the problem is

Re: [Wicket-user] HyperLink Text

2005-08-19 Thread Martijn Dashorst
The corresponding Java code would be: Link link = new Link("hlink") {protected void onClick() {} }; link.add(new Label("linkLabel", "Hello World!")); add(link); Or to be specific: you should add the label to the link, and the link to the page (or parent component). Martijn Dipu wrote: Hi,

Re: [Wicket-user] HyperLink Text

2005-08-19 Thread David Liebeherr
Link link = new Link("hlink") { public void onClick() { ... } }; link.add(new Label("linkLabel", "your text")); add(link) should work. I guess you simply forget that the linkLabel is inside the hlink... Cu, Dave Dipu wrote: Hi, Is there any way i can dynamically specfy the HyperLink t

RE: [Wicket-user] HyperLink Text

2005-08-19 Thread Eelco Hillenius
That should work. Did you add the Label to the Link? Any error message? Eelco -Oorspronkelijk bericht- Van: Dipu [mailto:[EMAIL PROTECTED] Verzonden: vr 19-8-2005 15:08 Aan: wicket-user@lists.sourceforge.net CC: Onderwerp: [Wicket-us