Your code looks correct.
You said 'when you click "Registrar" button, data from "auto_info_panel"
don't appear in DispositivoDTO model'.

I tried to create AutoInfoPanel like this:

public AutoInfoPanel(String id, IModel<DispositivoDTO> model)
  {
    super(id);
    add(new TextField<String>("lastName", new PropertyModel<String>(model,
"lastName")));
  }
..and HTML:
<wicket:panel>
        LastName<input type="text" wicket:id=lastName>
</wicket:panel>

..and in your onSubmit(IModel<DispositivoDTO> model) method i take the last
name from bean model wich I input in the form.

Can your share your AutoInfoPanel code for better understanding the problem?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Forms-ajax-doesn-t-update-components-models-tp2730857p2953949.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