Re: Customize AjaxEditableLabel

2011-07-04 Thread Martin Grigorov
e >        protected void onModelChanged() { >                super.onModelChanged(); >                String content = getModelObject(); >                if (content != null) >                        contentArea.setModelObject(content); >                else

Re: Customize AjaxEditableLabel

2011-07-04 Thread PDiefent
tArea.setModelObject(null); } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customize-AjaxEditableLabel-tp3643409p3645206.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Customize AjaxEditableLabel

2011-07-04 Thread Martin Grigorov
d plus the new fields in the panel! How do I erase the default > text field? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Customize-AjaxEditableLabel-tp3643409p3643712.html > Sent from the Users forum mailing li

Re: Customize AjaxEditableLabel

2011-07-04 Thread PDiefent
I tried it like AjaxEditableLabel does itself, but now I get the default input field plus the new fields in the panel! How do I erase the default text field? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customize-AjaxEditableLabel-tp3643409p3643712.html Sent from

Re: Customize AjaxEditableLabel

2011-07-04 Thread Martin Grigorov
AjaxEditableLabel itself, I guess. See how it creates TextField. On Mon, Jul 4, 2011 at 1:49 PM, PDiefent wrote: > Thanks for your fast response. > Is there a QuickStart available how to implement it? > > -- > View this message in context: > http://apache-wicket.1842946.n4.na

Re: Customize AjaxEditableLabel

2011-07-04 Thread PDiefent
Thanks for your fast response. Is there a QuickStart available how to implement it? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customize-AjaxEditableLabel-tp3643409p3643435.html Sent from the Users forum mailing list archive at Nabble.com

Re: Customize AjaxEditableLabel

2011-07-04 Thread Martin Grigorov
See org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel.newEditor(MarkupContainer, String, IModel) Return FormComponentPanel. On Mon, Jul 4, 2011 at 1:30 PM, Peter Diefenthaeler wrote: > Hallo, > is it possible to customize AjaxEditableLabel in a way that I can replace

Customize AjaxEditableLabel

2011-07-04 Thread Peter Diefenthaeler
Hallo, is it possible to customize AjaxEditableLabel in a way that I can replace the TextEditField with a panel? I have to display a little Form with a text area component and some buttons. A modal window doesn't work for me because I want to show the panel exactly at the position of the