this message in context:
http://www.nabble.com/Label-to-Uppercase-tp17114635p17126031.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]
> When we finally get commons-functor generified, I'm going to create an
> IModel implementation that takes a UnaryFunction and wraps another
> IModel.
Sounds cool, looking forward to it.
Eelco
-
To unsubscribe, e-mail: [EMAIL
When we finally get commons-functor generified, I'm going to create an
IModel implementation that takes a UnaryFunction and wraps another
IModel. This would probably be a read-only model, though (unless you
supply the UnaryFunction's inverse also I guess). This would be
reusable so that you can s
Yeah, that a more generic solution. You can even use converters. If
you want to get into an argument with Igor that is ;-)
Eelco
On Wed, May 7, 2008 at 2:25 PM, Jeremy Thomerson
<[EMAIL PROTECTED]> wrote:
> As Eelco mentioned, there are quite a few ways... I typically use delegation
> for this s
As Eelco mentioned, there are quite a few ways... I typically use delegation
for this sort of thing with a model that wraps another model. This way it
can be reused for a Label, dropdown, textfield, etc
you could do then:
add(new Label("myLabelID", new UpperCaseModel(new
PropertyModel(myObject
> I need your suggestion on, what are the ways I can get Label to print in
> Uppercase.
Several ways. An easy one:
public class UpperCaseLabel extends Label {
public UpperCaseLabel(String id) {
super(id);
}
public UpperCaseLabel(String id, String label)
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: [