RE: Making ExternalLink invisible: test for what?

2007-10-12 Thread Chris Colman
] 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

Re: Making ExternalLink invisible: test for what?

2007-10-02 Thread Igor Vaynberg
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

RE: Making ExternalLink invisible: test for what?

2007-10-02 Thread Chris Colman
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

Re: Making ExternalLink invisible: test for what?

2007-10-02 Thread Igor Vaynberg
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?