come on guys.. request more features you see that igor will implement them all right away!

johan


On 3/17/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
i was taking a short break from work, and thought what the hell, why not write one?

so i did, only took me half an hour or so. i just checked it into extensions. its not very flexible/powerful yet, but it works well. look in wicket-examples/ajax for an example of it in all its glory. its called AjaxEditableLabel.

any patches to make it better are welcome :)

-Igor



On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
it should be pretty easy to do.
you create a panel with both the label and the textfield. hide the textfield initially. attach an ajax onevent behavior to the label and in the event handler hide the label, show the textfield and update the panel via ajax. same thing for textfield, add an onblur behavior to it that hides the textfield, shows the labels, and redraws the panel.

-Igor



On 3/17/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
I have been tryin to use wicket Ajax support to workout a Label that onDoubleClick, it will transform into a textfield so that onBlur, it will feed the edited value back to the model...
 
any idea on how i can get this done or any anticipated support out-of-the-box for this kind of function? i think i will be great
 
thanks
 
 
-



Reply via email to