Hi,

I have a form backed by a model.
In this form I have and editable textfield and a image.

When clicking on the image I just need to write the value inserted in the
textfield to the console.

However, it does never display the updated value in the textfield.

Here is the html:
<img src="images/test.gif" name="btnSave" /> <#>  

Here is the Java code:

AjaxLink<MyBean> testLink = new AjaxLink<MyBean>("testLink", getModel())
                        {
                                /**
                                 * 
                                 */
                                private static final long serialVersionUID = 1L;

                                @Override
                                public void onClick(AjaxRequestTarget target) {
                                        System.out.println("test link 1" + 
getModelObject().getName());
                                }
                        };

Could you please tell me a solution?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxLink-cannot-see-updated-model-values-tp4675743.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