That depends on what size Kai meant.

If you mean the width in pixels, I agree, that is CSS stuff.
If you mean the number characters that may be typed, then I do not, that is domain model stuff.

Anyway, to answer the question for the last case. You can add a SimpleAttributeBehavior to the text field.

Regards,
   Erik.

--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


greeklinux schreef:
Hello,

why do you want to set the size of a textfield via java?
I think it is better to use CSS for presentation stuff.





Kai Mütz wrote:
Hi,

I want to set the size of a textfield within the FilterForm. How can I do
that? Subclass TextFilter or is there a better way?

Regards, Kai



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

Reply via email to