hello,

I have a Link, used in a menu to go to a different page. When a content
editor is logged in, the link's text is rendered by an
AjaxEditableMultiLineLabel.

In that case, when you click on the link, the AjaxEditableMultiLineLabel
opens an input textarea with the current value selected. Updating it works
fine as long as the user doesn't click in it, because then the surrounding
link takes you to another page.

I would like to disable the link on onEdit() and re-enable it onSubmit(). I
tried using link.setEnabled(true/false) for it, but that has the effect that
the AjaxEditableMultiLineLabel no longer works, I guess because it is a
child component of the link and also gets disabled.


Do you have any tips ?

Kind regards
Heikki Doeleman



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxEditableMultiLineLabel-inside-Link-tp4659348.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to