You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by heikki <tr...@gmail.com> on 2011/08/08 15:16:55 UTC

Stateless pagination

hello,

I've noticed that rather many Wicket components cause the page to become
stateful, something which I wish to avoid.

In particular I'm wondering if there is some way to use the Pagination*
components (or similar alternative ones) to create a page that has
pagination over a repeater, without making the page stateful.

Sure, I suppose some info about the collection and current page etc. must be
remembered on the server, but we still have good old HttpSession that could
maybe be used for it ?

Any hints appreciated !

thanks and kind regards
Heikki Doeleman

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp3726950p3726950.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Stateless pagination

Posted by Vytautas <tu...@gmail.com>.
true, it's not 100% stateless :)removing configurable items per page would make it stateless.


On 08/08/2011 07:01 PM, jcgarciam wrote:
> Just for the record, using HttpSession makes your application already
> stateful as well.
>
> On Mon, Aug 8, 2011 at 10:21 AM, Vytautas Racelis-2 [via Apache Wicket]<
> ml-node+3726961-1182509707-65838@n4.nabble.com>  wrote:
>
>> Hi,
>>   I guess you might be interested in this:
>>
>>
>> https://xaloon.googlecode.com/svn/trunk/xaloon-wicket/xaloon-wicket-components/src/main/java/org/xaloon/wicket/component/navigation/BookmarkablePagingNavigator.java
>>
>> it's a bookmarkable navigator example with abitility to change items per
>> page and it is stateless.
>>
>>
>> On Mon, Aug 8, 2011 at 4:16 PM, heikki<[hidden email]<http://user/SendEmail.jtp?type=node&node=3726961&i=0>>
>> wrote:
>>
>>> hello,
>>>
>>> I've noticed that rather many Wicket components cause the page to become
>>> stateful, something which I wish to avoid.
>>>
>>> In particular I'm wondering if there is some way to use the Pagination*
>>> components (or similar alternative ones) to create a page that has
>>> pagination over a repeater, without making the page stateful.
>>>
>>> Sure, I suppose some info about the collection and current page etc. must
>>
>>> be
>>> remembered on the server, but we still have good old HttpSession that
>> could
>>> maybe be used for it ?
>>>
>>> Any hints appreciated !
>>>
>>> thanks and kind regards
>>> Heikki Doeleman
>>>
>>> --
>>> View this message in context:
>>>
>> http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp3726950p3726950.html
>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3726961&i=1>
>>> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3726961&i=2>
>>>
>>>
>>
>>
>> --
>> Best regards,
>> Vytautas R.
>> -----------------------------------
>> www.xaloon.org
>> www.allcarindex.com
>>
>>
>> ------------------------------
>>   If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp3726950p3726961.html
>>   To start a new topic under Apache Wicket, email
>> ml-node+1842946-398011874-65838@n4.nabble.com
>> To unsubscribe from Apache Wicket, click here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=>.
>>
>>
>
>
>

-- 
Regards,
Vytautas
-----------------------------------
www.xaloon.org
www.allcarindex.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Stateless pagination

Posted by jcgarciam <jc...@gmail.com>.
Just for the record, using HttpSession makes your application already
stateful as well.

On Mon, Aug 8, 2011 at 10:21 AM, Vytautas Racelis-2 [via Apache Wicket] <
ml-node+3726961-1182509707-65838@n4.nabble.com> wrote:

> Hi,
>  I guess you might be interested in this:
>
>
> https://xaloon.googlecode.com/svn/trunk/xaloon-wicket/xaloon-wicket-components/src/main/java/org/xaloon/wicket/component/navigation/BookmarkablePagingNavigator.java
>
> it's a bookmarkable navigator example with abitility to change items per
> page and it is stateless.
>
>
> On Mon, Aug 8, 2011 at 4:16 PM, heikki <[hidden email]<http://user/SendEmail.jtp?type=node&node=3726961&i=0>>
> wrote:
>
> > hello,
> >
> > I've noticed that rather many Wicket components cause the page to become
> > stateful, something which I wish to avoid.
> >
> > In particular I'm wondering if there is some way to use the Pagination*
> > components (or similar alternative ones) to create a page that has
> > pagination over a repeater, without making the page stateful.
> >
> > Sure, I suppose some info about the collection and current page etc. must
>
> > be
> > remembered on the server, but we still have good old HttpSession that
> could
> > maybe be used for it ?
> >
> > Any hints appreciated !
> >
> > thanks and kind regards
> > Heikki Doeleman
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp3726950p3726950.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3726961&i=1>
> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3726961&i=2>
> >
> >
>
>
> --
> Best regards,
> Vytautas R.
> -----------------------------------
> www.xaloon.org
> www.allcarindex.com
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp3726950p3726961.html
>  To start a new topic under Apache Wicket, email
> ml-node+1842946-398011874-65838@n4.nabble.com
> To unsubscribe from Apache Wicket, click here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=>.
>
>



-- 

JC


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp3726950p3727424.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Stateless pagination

Posted by "Vytautas R." <tu...@gmail.com>.
Hi,
 I guess you might be interested in this:

https://xaloon.googlecode.com/svn/trunk/xaloon-wicket/xaloon-wicket-components/src/main/java/org/xaloon/wicket/component/navigation/BookmarkablePagingNavigator.java

it's a bookmarkable navigator example with abitility to change items per
page and it is stateless.


On Mon, Aug 8, 2011 at 4:16 PM, heikki <tr...@gmail.com> wrote:

> hello,
>
> I've noticed that rather many Wicket components cause the page to become
> stateful, something which I wish to avoid.
>
> In particular I'm wondering if there is some way to use the Pagination*
> components (or similar alternative ones) to create a page that has
> pagination over a repeater, without making the page stateful.
>
> Sure, I suppose some info about the collection and current page etc. must
> be
> remembered on the server, but we still have good old HttpSession that could
> maybe be used for it ?
>
> Any hints appreciated !
>
> thanks and kind regards
> Heikki Doeleman
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp3726950p3726950.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Best regards,
Vytautas R.
-----------------------------------
www.xaloon.org
www.allcarindex.com