Could there be any unexpected consequences when just up-casing the string in the model's setter (setObject(...)) ?

like this...

  void setObject(String input)
  {
    this.value = (input != null) ? input.toUpperCase() : null;
  }



Am 05.03.2009 um 19:39 schrieb jWeekend:


Leszek,

Thank you asking such a deep question ;-)

We may not all agree, but in the end, at least you have been offered around 87 well-intentioned solutions you can ask your customer to choose from; that
will teach them to request such complex features and fuctionality!

Regards - Cemal
http://jWeekend.com jWeekend



Leszek Gawron-2 wrote:

Hello,

one of my customers has this weird requirement that all data should be
input/shown uppercase. I can easily add

input {
  text-transform: uppercase;
}

to my css rules, but this does not change the fact that data written
into database will still be case sensitive.

How can I create a behavior for TextField so that the dat is uppercased
before being written to the model?

my regards      

--
Leszek Gawron

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




--
View this message in context: 
http://www.nabble.com/Uppercasing-inputs-tp22332360p22357806.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to