Hello,

I need your suggestion on, what are the ways I can get Label to print in
Uppercase.
Couple of ways I know are:
1. I can do it with CSS
2. I can make all fields String.toUpperCase()
3. I can seek your advice :)

My code is like:

        Label label = new Label(id) { 
            @Override
            public boolean isVisible() {
                return canIReveal();
            }
            
            public void onComponentTag(ComponentTag tag){
                tag.put("???","this.value = this.value.toUpperCase();");
            }
        };
        form.add(label);


Thanks and Regards,
Andy
-- 
View this message in context: 
http://www.nabble.com/Label-to-Uppercase-tp17114635p17114635.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