> projects.
> >
> > So, I'm -1.
> >
> > Eelco
> >
> >
> > -----Oorspronkelijk bericht-
> > Van: Johan Compagner
> > Verzonden: vr 19-8-2005 15:27
> > Aan: wicket-user@lists.sourceforge.net
> >
---
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
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
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.
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
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
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,
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
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