Hi!

I'm quite new to Wicket and help with something easy, i guess.

I'm displaying some info on my page:

add(new Label("country", new PropertyModel(this,
"ipLocationInfo.country")));

The country information is sometimes null and then i would like to display
"unknown" instead. Is this easily managed or do i have to change the country
value of the ipLocationInfo object?

Regards Alex
-- 
View this message in context: 
http://www.nabble.com/Display-a-String-when-null-tp17062912p17062912.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to