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 > I made a quickstart and it works. > > Now I'

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 > 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 > > >> Sorr

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 > > 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 co

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 RequiredTextField("patente") will have a problem -- View this message in context: http://apache-wicke

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 m

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 onSub

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 auto_info_

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, IModel model) { super(id); add(new TextField("lastName", new PropertyModel

Re: Forms ajax doesn't update components models

2010-10-01 Thread Tito
y. Thanks! --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 '

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 pr

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

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