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 lo
Larva wrote:
>
> public final void onSubmit()
> {
> SiconaraBasePage page = (SiconaraBasePage)getPage();
> List pageFilters = page.getFilterProperties();
>
> if (pageFilters != null)
> pageFilters.clear();
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
> r
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 sc
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() met
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
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 chan
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 the