Model object string manipulation

2010-08-04 Thread Iain Reddick
What's the cleanest way of doing string manipulation with a component that uses a String as a model (e.g. a Label). I'm thinking of mutations such as to uppercase and to lowercase, etc. An obvious place is to do it in the model, but I'm interested to hear what other developer's approaches are.

Re: Model object string manipulation

2010-08-04 Thread Iain Reddick
Subject: Model object string manipulation What's the cleanest way of doing string manipulation with a component that uses a String as a model (e.g. a Label). I'm thinking of mutations such as to uppercase and to lowercase, etc. An obvious place is to do it in the model, but I'm interested to hear what

Re: Model object string manipulation

2010-08-04 Thread Igor Vaynberg
and to lower cases. - Original Message - From: Iain Reddick iain.redd...@beatsystems.com To: users@wicket.apache.org Sent: Wednesday, 4 August, 2010 9:19:46 PM Subject: Model object string manipulation What's the cleanest way of doing string manipulation with a component that uses

Re: Model object string manipulation

2010-08-04 Thread Iain Reddick
to use. I just need to fit behaviours as component mutators in there somewhere and I'll be set! - Original Message - From: Igor Vaynberg igor.vaynb...@gmail.com To: users@wicket.apache.org Sent: Wednesday, 4 August, 2010 9:29:34 PM Subject: Re: Model object string manipulation