[richfaces-issues] [JBoss JIRA] Commented: (RF-2182) possibility to bind current page number with data scroller

Jason Long (JIRA) jira-events at lists.jboss.org
Fri Feb 15 13:07:27 EST 2008


    [ http://jira.jboss.com/jira/browse/RF-2182?page=comments#action_12399615 ] 
            
Jason Long commented on RF-2182:
--------------------------------

This feature would be great.  I already bind the following component to rest the datascroller.  Is there no way to set to the 5th page for example.

@Name("datascrollerUI")
public class BaseUIDatascroller implements Serializable
{
    private UIDatascroller datascroller;
    public UIDatascroller getDatascroller() { return datascroller; }
    public void setDatascroller(UIDatascroller datascroller) { this.datascroller = datascroller; }

    @Observer("reset.pipe.search.datascroller")
    public void resetDatascroller() 
    {
        datascroller.setPage(UIDatascroller.FIRST_FACET_NAME);
    }
}

> possibility to bind current page number with data scroller
> ----------------------------------------------------------
>
>                 Key: RF-2182
>                 URL: http://jira.jboss.com/jira/browse/RF-2182
>             Project: RichFaces
>          Issue Type: Feature Request
>            Reporter: Piotrek Wierzbowski
>             Fix For: 3.1.5
>
>
> It would be very nice if one could bind currently displayed page number form dataScroller with backin bean.
> Egzample:
> One scroll over table pages, table contains etities with likn to detail page, one opens sucha alink on 5th page of the table, than tries to return to table view. now he can only be moved to 1st page of table, and it would be nice to keep somehow number of page to display, eg in session scope bean and than set it datascroller.
> New datascroller param sholud do.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list