Re: Ajax dropdownchoice doesn't work after submit

2007-10-08 Thread Larva
Thanks Igor and Kent !! I removed the page.render() invocation like Igor said and works perfect!! It's not neccessary to set the response page. The submit refresh the page. Thanks a lot for your quick answers. Pablo. igor.vaynberg wrote: provide a working quickstart and i will take a

Ajax dropdownchoice doesn't work after submit

2007-10-05 Thread Larva
Hi !! I have this hierarchy: Panel Form DropDownChoice (A and B) I have these two DropDownChoices (A and B) and I am refreshing the choices in B through Ajax when the selection in A changes. I use this dorpdownchoices to define a filter for my dataview. That works fine, when I submit

Re: Ajax dropdownchoice doesn't work after submit

2007-10-05 Thread Igor Vaynberg
you shouldnt call page.render() -igor On 10/5/07, Larva [EMAIL PROTECTED] wrote: Hi !! I have this hierarchy: Panel Form DropDownChoice (A and B) I have these two DropDownChoices (A and B) and I am refreshing the choices in B through Ajax when the selection in A changes. I use

Re: Ajax dropdownchoice doesn't work after submit

2007-10-05 Thread Larva
Thanks Igor for your quick answer. I call the page.render() method because in the submit I set properties in the page that use to filter my custom dataview. Then, if a don't invoke the page render the dataview isn't update. I tried invoking only the render method of my dataview but I got the same

Re: Ajax dropdownchoice doesn't work after submit

2007-10-05 Thread Igor Vaynberg
instead of pushing the right values when things change you should make everything pull, that way updates happen on the fly... see the ajax dropdown example in wicket examples. -igor On 10/5/07, Larva [EMAIL PROTECTED] wrote: Thanks Igor for your quick answer. I call the page.render() method

Re: Ajax dropdownchoice doesn't work after submit

2007-10-05 Thread Larva
The first time the page is render the dropdownchoices works fine. I took the example from the wicket examples. The problem is after the submit. When I submit the form and the page is render again the data of the dataview is filtered ok but the dropdownchoices aren't working and there is no ajax

Re: Ajax dropdownchoice doesn't work after submit

2007-10-05 Thread Igor Vaynberg
provide a working quickstart and i will take a look -igor On 10/5/07, Larva [EMAIL PROTECTED] wrote: The first time the page is render the dropdownchoices works fine. I took the example from the wicket examples. The problem is after the submit. When I submit the form and the page is render

Re: Ajax dropdownchoice doesn't work after submit

2007-10-05 Thread Kent Tong
Larva wrote: public final void onSubmit() { SiconaraBasePage page = (SiconaraBasePage)getPage(); List pageFilters = page.getFilterProperties(); if (pageFilters != null) pageFilters.clear();