Textarea autosize/auto resize height

2008-03-25 Thread Martin Makundi
Hi! Here is a javascript snipplet that can be used to automatically resize a textarea's height to fit the contents: http://codingforums.com/archive/index.php?t-92781.html Is there something similar in built-in into wicket? ** Martin

Re: Textarea autosize/auto resize height

2008-03-25 Thread James Carman
It looks like you've got what you need. Maybe this could be a behavior that you add to the regular TextArea component? On Tue, Mar 25, 2008 at 6:36 AM, Martin Makundi [EMAIL PROTECTED] wrote: Hi! Here is a javascript snipplet that can be used to automatically resize a textarea's height to

Re: Textarea autosize/auto resize height

2008-03-25 Thread Nino Saturnino Martinez Vazquez Wael
He means that you create a behavior yourself to integrate the desired functionality. Much like wicket-contrib-input-events etc... regards Nino Martin Makundi wrote: Do you have an example (e.g., link) of what kind of jsBehavior you mean? ** Martin 2008/3/25, James Carman [EMAIL PROTECTED]:

Re: Textarea autosize/auto resize height

2008-03-25 Thread Martin Makundi
I understood to do it myself, but what link can you think of that has a good example dealing with somewhat similar js issue? Tnx. ** Martin 2008/3/25, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: He means that you create a behavior yourself to integrate the desired functionality.

Re: Textarea autosize/auto resize height

2008-03-25 Thread Nino Saturnino Martinez Vazquez Wael
As I wrote: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events However this is probably more complex than what you need. But It will work, please ask if you have questions. regards Nino Martin Makundi wrote: I understood to do it myself, but what link can