Re: FilterForm and Ajax

2017-04-18 Thread Maxim Solodovnik
Hello Ilia,

as I can see from [1] filter form is a simple extention of form
In case you need it to be submitted via Ajax just add ajax submit component
to it (like AjaxButton [2])

works for me :)

[1]
https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/FilterForm.java
[2]
https://github.com/apache/openmeetings/blob/3.2.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/PagedEntityListPanel.java#L54

On Wed, Apr 19, 2017 at 4:27 AM, Илья Нарыжный  wrote:

> Ernesto,
>
> We do not use AjaxFallbackDefaultDataTable, but similiar inclusion of
> toolbars inside:
>
> AjaxFallbackDefaultDataTable:
> https://github.com/apache/wicket/blob/WICKET-5909-7.x/
> wicket-extensions/src/main/java/org/apache/wicket/
> extensions/ajax/markup/html/repeater/data/table/
> AjaxFallbackDefaultDataTable.java#L72-L76
>
>
> OrienteerDataTable:
> https://github.com/OrienteerBAP/Orienteer/blob/master/orienteer-core/src/
> main/java/org/orienteer/core/component/table/OrienteerDataTable.java#L77-
> L84
>
> And even according to Wicket code: I can't find good place where AJAX
> submition of fitler's data is implemented.
>
> Thanks,
>
> Ilia
> -
> Orienteer(http://orienteer.org) - open source Business Application
> Platform
>
> On Tue, Apr 18, 2017 at 12:24 AM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
> > Hi Ilia,
> >
> > IMHO your question is a bit vague: what components are you using? Do you
> > use AjaxFallbackDefaultDataTable?
> >
> > On Mon, Apr 17, 2017 at 8:04 PM, Илья Нарыжный  wrote:
> >
> > > Guys,
> > >
> > > Is there any good way (approved solution from wicket dev team) how to
> > make
> > > datatable filtering AJAX enabled?
> > > Currently, if you enter filter criterias in FilterForm and click Enter
> -
> > it
> > > will reload full page instead of refreshing just a table through Ajax.
> > >
> > > Thanks,
> > >
> > > Ilia
> > > -
> > > Orienteer(http://orienteer.org) - open source Business Application
> > > Platform
> > >
> >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>



-- 
WBR
Maxim aka solomax


Re: FilterForm and Ajax

2017-04-18 Thread Илья Нарыжный
Ernesto,

We do not use AjaxFallbackDefaultDataTable, but similiar inclusion of
toolbars inside:

AjaxFallbackDefaultDataTable:
https://github.com/apache/wicket/blob/WICKET-5909-7.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/repeater/data/table/AjaxFallbackDefaultDataTable.java#L72-L76


OrienteerDataTable:
https://github.com/OrienteerBAP/Orienteer/blob/master/orienteer-core/src/main/java/org/orienteer/core/component/table/OrienteerDataTable.java#L77-L84

And even according to Wicket code: I can't find good place where AJAX
submition of fitler's data is implemented.

Thanks,

Ilia
-
Orienteer(http://orienteer.org) - open source Business Application Platform

On Tue, Apr 18, 2017 at 12:24 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> Hi Ilia,
>
> IMHO your question is a bit vague: what components are you using? Do you
> use AjaxFallbackDefaultDataTable?
>
> On Mon, Apr 17, 2017 at 8:04 PM, Илья Нарыжный  wrote:
>
> > Guys,
> >
> > Is there any good way (approved solution from wicket dev team) how to
> make
> > datatable filtering AJAX enabled?
> > Currently, if you enter filter criterias in FilterForm and click Enter -
> it
> > will reload full page instead of refreshing just a table through Ajax.
> >
> > Thanks,
> >
> > Ilia
> > -
> > Orienteer(http://orienteer.org) - open source Business Application
> > Platform
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>


Re: FilterForm and Ajax

2017-04-18 Thread Ernesto Reinaldo Barreiro
Hi Ilia,

IMHO your question is a bit vague: what components are you using? Do you
use AjaxFallbackDefaultDataTable?

On Mon, Apr 17, 2017 at 8:04 PM, Илья Нарыжный  wrote:

> Guys,
>
> Is there any good way (approved solution from wicket dev team) how to make
> datatable filtering AJAX enabled?
> Currently, if you enter filter criterias in FilterForm and click Enter - it
> will reload full page instead of refreshing just a table through Ajax.
>
> Thanks,
>
> Ilia
> -
> Orienteer(http://orienteer.org) - open source Business Application
> Platform
>



-- 
Regards - Ernesto Reinaldo Barreiro


FilterForm and Ajax

2017-04-17 Thread Илья Нарыжный
Guys,

Is there any good way (approved solution from wicket dev team) how to make
datatable filtering AJAX enabled?
Currently, if you enter filter criterias in FilterForm and click Enter - it
will reload full page instead of refreshing just a table through Ajax.

Thanks,

Ilia
-
Orienteer(http://orienteer.org) - open source Business Application Platform