One thing to keep in mind about AjaxEditableLabel in wicket 1.3 is that the
cancel functionality doesn't work well in firefox.
See this for details
https://issues.apache.org/jira/browse/WICKET-520
in essence, once you are in edit mode in firefox, there is no way to cancel the edit,
other than to navigate out of the page.

thanks


fero wrote:
Thanks, I think I will use AjaxEditableLabel more often;)

Fero


Eelco Hillenius wrote:
On 8/19/07, fero <[EMAIL PROTECTED]> wrote:
I see, but I don't know how to do editable labels. I could not find it
among
wicket/wicket-extensions classes. Plz tell me how to do them.
See org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel.

You could use it like:

 item.add(new AjaxEditableLabel(componentId,new PropertyModel(rowModel,
propertyExpression) ));

Up to you what you like best though :)

Eelco

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






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

Reply via email to