]
Sent: Wednesday, 3 October 2007 4:36 PM
To: users@wicket.apache.org
Subject: Re: Making ExternalLink invisible: test for what?
why not use the setVisible method?
link.setVisible(StringUtils.isNotBlank(url)
StringUtils.isNotBlank(...));
Martijn
On 10/3/07, Chris Colman [EMAIL PROTECTED
i added the missing getters, update from trunk and you should be good.
-igor
On 10/2/07, Chris Colman [EMAIL PROTECTED] wrote:
I have content that I render that may or may not have a URL associated
with it. I don't want to display anything if the URL is blank.
I use ExternalLink for the
i added the missing getters, update from trunk and you should be good.
Thanks Igor, but what are they called? getUrl(), getDisplay()?
Actually the display text is more valuable because it doesn't have the
http:// prefix so I can do a simple null or blank text whereas the URL
will always have a
please look at the code, they are called gethref() and getlabel() and return
exactly what you put into the constructor
-igor
On 10/2/07, Chris Colman [EMAIL PROTECTED] wrote:
i added the missing getters, update from trunk and you should be good.
Thanks Igor, but what are they called?