myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Gampe" <dga...@texcelerate.biz>
Subject AW: problems with dataScroller
Date Tue, 14 Jul 2009 11:24:42 GMT
Hello Werner,

i worked yesterday on it and solved it.
I had to modify an existing dataScroller.
After i created it from scratch it worked NEARLY good...

..but now i have another problem.
I have some category sites, which use my dataScroller.
If i got to page 3 (for example) in one category and i go to another
category i get no
result, because there is maybe only one page.

The current page must be saved in the session. But how can i set my
dataScroller
for example to request scope or something like that?

So that i start from page every time i change the category (or no post vars
for the dataScroller are given)


greetings from berlin
david


-----Urspr√ľngliche Nachricht-----
Von: news [mailto:news@ger.gmane.org]Im Auftrag von Werner Punz
Gesendet: Dienstag, 14. Juli 2009 13:15
An: users@myfaces.apache.org
Betreff: Re: problems with dataScroller


David Gampe schrieb:
> i have a t:dataList and a t:dataScroller for it.
> but if i click my <f:facet name="next">&gt;</f:facet> link, he skips
one
> page.
> i.e. i'm on page 1 - i click next - and i'm on page 3 then...
>
> the displayed number of pages and the included links are working...
>
> any ideas about that?
>
> greetings
> david
>
>
>
Hello David after sleeping over the entire issue, can you post some
details on your faces-config, have you added explicetly a nav handler or
something along those lines.

Werner




Mime
View raw message