Larva wrote:
> 
>       public final void onSubmit()
>       {
>               SiconaraBasePage page = (SiconaraBasePage)getPage();
>               List pageFilters = page.getFilterProperties();
>               
>               if (pageFilters != null)
>                       pageFilters.clear();
> 
>               ParFiltro f1 = new ParFiltro("afiliado.delegacion.tipo",
> getTipoDelegacion());
>               ParFiltro f2 = new ParFiltro("afiliado.delegacion.alias",
> getDelegacion());
>               if (f1.getValue() != null && !f1.getValue().equals(""))
>                       pageFilters.add(f1);
>               if (f2.getValue() != null && !f2.getValue().equals(""))
>                       pageFilters.add(f2);
>               page.render();
>       }
> 
> The ParFiltro class is a utility class wich contains a pair property-value
> used in the page to filter data.
> That's because I need to invoke the page.render() method.
> I'm doing something wrong? There is another way to do it?
> 

Am I missing something here? You should call:

                setResponsePage(page);
                //page.render();

--
Kent Tong
Free tutorials on Wicket at http://www.agileskills2.org/EWDW

-- 
View this message in context: 
http://www.nabble.com/Ajax-dropdownchoice-doesn%27t-work-after-submit-tf4574920.html#a13070084
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to