myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angel Miralles Arevalo <anmiral...@yahoo.es>
Subject Re: <s:pprPanelGroup> and datascroller
Date Thu, 17 May 2007 06:31:02 GMT
Let me explain, I have a paged datatable. I'm trying to refresh datalist trhough an inputText,
when user insert some text (trigger) my datatable get refresh by ajax (<s:pprPanelGroup>).


All work perfect, datalist get updated, datamodel seems to update new variables (pageIndex,
rowsCount, ...) but when you click on last buttom (paginator) it drive you through last page
from old search, ie:

    rows = 5
    initial results ---> 25 / 5 = 5 pages.
    filter results ----> 15 / 5 = 3 pages.
    click last buttom --> you go to page 5 of 3 (15 results)

Thanks for all!!!

----- Mensaje original ----
De: Ernst Fastl <ernst.fastl@gmail.com>
Para: MyFaces Discussion <users@myfaces.apache.org>
Enviado: martes, 15 de mayo, 2007 23:20:28
Asunto: Re: <s:pprPanelGroup> and datascroller


Seems to work fine for me on:

http://example.irian.at/example-sandbox-20070514/pprPanelGroupDataScroller.jsf

what exactly do you mean?

On 5/11/07, Angel Miralles Arevalo <anmiralles@yahoo.es> wrote:
>
> Hi everybody,
>
> can anybody tell me why, when you have a datatable with datascroller inside
> label: <s:pprPanelGroup></s:pprPanelGroup> the internal
> datascroller variables (pageIndex,...) don't refresh until you go to server.
>
> Thank you very much...
>
>  ________________________________
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com


       
____________________________________________________________________________________
¡Descubre una nueva forma de obtener respuestas a tus preguntas!
Entra en Yahoo! Respuestas.
http://es.answers.yahoo.com/info/welcome
Mime
View raw message