igor.vaynberg wrote:
> 
> and what about rc3?
> 

I didn't try it yet.

The diffrence is in method newEditor. In RC1 it is:

        protected FormComponent newEditor(MarkupContainer parent, String
componentId, IModel model)
        {
                TextField editor = new TextField(componentId, model);
                editor.setOutputMarkupId(true);
                editor.setVisible(false);
                editor.add(new EditorAjaxBehavior());
                return editor;
        }

In RC2:

        protected FormComponent newEditor(MarkupContainer parent, String
componentId, IModel model)
        {
                TextField editor = new TextField(componentId, model)
                {
                        private static final long serialVersionUID = 1L;

                        protected void onModelChanged()
                        {
                                super.onModelChanged();
                                AjaxEditableLabel.this.onModelChanged();
                        }

                        protected void onModelChanging()
                        {
                                super.onModelChanging();
                                AjaxEditableLabel.this.onModelChanging(); 
//here is error -
java.lang.IllegalAccessError: tried to access method
org.apache.wicket.Component.onModelChanging()V from class
org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1

                        }
                };
                editor.setOutputMarkupId(true);
                editor.setVisible(false);
                editor.add(new EditorAjaxBehavior());
                return editor;
        }


Should I open issue?
Artur
-- 
View this message in context: 
http://www.nabble.com/AjaxEditableLabel-not-saving-tp14413223p14423831.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to