Re: Forms ajax doesn't update components models

2010-10-07 Thread Tito
I made a quickstart and it works. Now I'm looking for the bug in my application. Thanks Tito 2010/10/6 Tito njyt...@gmail.com Well thank you!! I'm going to see this. If I see another details or if I can solve I will tell you. Thank you very much for helping! Bye 2010/10/6 vov

Re: Forms ajax doesn't update components models

2010-10-07 Thread Tito
It was a Wicket 1.5-M1 bug! I made a quickstart accidentally in wicket 1.5-M2.1 and it worked. The problem is that wicket 1.5-M2 don't have HeaderContributor anymore haha. Well thanks for every body, I wanted to warn. Bye Tito 2010/10/7 Tito njyt...@gmail.com I made a quickstart and it

Re: Forms ajax doesn't update components models

2010-10-06 Thread vov
Sorry, but I'm not see the problems. Try to debug your isVisible method after submitting the form and find the place in which this code return false. I think that isVisibleInHierarchy() for your RequiredTextFieldString(patente) will have a problem -- View this message in context:

Re: Forms ajax doesn't update components models

2010-10-06 Thread Tito
Well thank you!! I'm going to see this. If I see another details or if I can solve I will tell you. Thank you very much for helping! Bye 2010/10/6 vov vov...@mail.ru Sorry, but I'm not see the problems. Try to debug your isVisible method after submitting the form and find the place in

Re: Forms ajax doesn't update components models

2010-10-05 Thread vov
Funny:) Your code is correct and in my tests all data was setting to model:) In your sample code you forgot to include feedback panel, but it was added to html. May be in your tests you forget to input some required data - in this case your model never updates but you also never been in your

Re: Forms ajax doesn't update components models

2010-10-05 Thread Tito
Sorry feedback panel error was part of my coding prune to post. I can see submit method is called but data never appear. However other data of form that is not in auto_info_panel appears in model. In your tests data of map was setting to model?? The curious case is that when I change isVisible

Re: Forms ajax doesn't update components models

2010-10-04 Thread vov
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, IModelDispositivoDTO model) { super(id); add(new TextFieldString(lastName,

Re: Forms ajax doesn't update components models

2010-10-04 Thread Tito
mmm... you think is my model? Could be, but debugging wicket I found never was called setObject method of my model. I'm using wicket 1.5 I know this doesn't matter but I never mentioned. Here is my AutoInfoPanel. The idea is to update a Map that contains data. There are three maps in my

Re: Forms ajax doesn't update components models

2010-10-01 Thread vov
How it currently must work? Example: Your open the page - change your Combo to 'AUTO' - input data to AutoInfoPanel and press 'Registrar' OR Your open the page - change your Combo to 'AUTO' - input data to AutoInfoPanel - change your Combo to 'PERSONA' - input data to PersonaInfoPanel and press

Re: Forms ajax doesn't update components models

2010-10-01 Thread Tito
! --Mensaje original-- De: vov Para: users@wicket.apache.org Responder a: users@wicket.apache.org Asunto: Re: Forms ajax doesn't update components models Enviado: 1 oct, 2010 04:19 How it currently must work? Example: Your open the page - change your Combo to 'AUTO' - input data to AutoInfoPanel

Forms ajax doesn't update components models

2010-09-30 Thread Tito
Hello, I'm doing a form that adds textfields when I choose an option in a ComboBox. When Combo changes one panel become visible and other invisible. The problem is when that panel appears and I click submit button the model of it does't update. I have seen that browser submit the info, but wicket

Re: Forms ajax doesn't update components models

2010-09-30 Thread Per Newgro
Can you please share some code. Otherwise there could be tons of problem causes. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org