You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Rotschi Fanky (Created) (JIRA)" <ji...@apache.org> on 2012/02/10 09:26:00 UTC

[jira] [Created] (WICKET-4403) Go to page 1 when datatable is filtered

Go to page 1 when datatable is filtered
---------------------------------------

                 Key: WICKET-4403
                 URL: https://issues.apache.org/jira/browse/WICKET-4403
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.5.3
            Reporter: Rotschi Fanky
            Priority: Trivial


Go to the first page of a datatable when you filtered the data with a IFilterStateLocator. Currently this is already implemented when you sort a column.
When you're not on the first page and you filter the data, you go to the last page available for the new data. This is confusing and ugly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4403) Go to page 1 when datatable is filtered

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4403.
-------------------------------------

    Resolution: Won't Fix

FilterForm just manipulates the filter state but it doesn't know anything about what other components are used in the page so it cannot manipulate them.
Sorting always works with DataTable, that's why this is possible. 
                
> Go to page 1 when datatable is filtered
> ---------------------------------------
>
>                 Key: WICKET-4403
>                 URL: https://issues.apache.org/jira/browse/WICKET-4403
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Rotschi Fanky
>            Priority: Trivial
>
> Go to the first page of a datatable when you filtered the data with a IFilterStateLocator. Currently this is already implemented when you sort a column.
> When you're not on the first page and you filter the data, you go to the last page available for the new data. This is confusing and ugly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4403) Go to page 1 when datatable is filtered

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213489#comment-13213489 ] 

Martin Grigorov commented on WICKET-4403:
-----------------------------------------

Can you provide a patch ?
                
> Go to page 1 when datatable is filtered
> ---------------------------------------
>
>                 Key: WICKET-4403
>                 URL: https://issues.apache.org/jira/browse/WICKET-4403
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Rotschi Fanky
>            Priority: Trivial
>
> Go to the first page of a datatable when you filtered the data with a IFilterStateLocator. Currently this is already implemented when you sort a column.
> When you're not on the first page and you filter the data, you go to the last page available for the new data. This is confusing and ugly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4403) Go to page 1 when datatable is filtered

Posted by "Martin Grigorov (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-4403:
------------------------------------

    Comment: was deleted

(was: I cannot run your quickstart.
There is a JavaScript error:
Uncaught Error: HIERARCHY_REQUEST_ERR: DOM Exception 3
g._addToParentcontainer_core-min-ver-1326296648000.js:9
rcontainer_core-min-ver-1326296648000.js:9
g.rendercontainer_core-min-ver-1326296648000.js:9
(anonymous function):8080/?0:13
Wicket.Event.fireDomReadyHandlerswicket-event-ver-1328860748000.js:170
(anonymous function)wicket-event-ver-1328860748000.js:191
domCheck

Clicking the link works OK but the HTML for the menu is just:
<div wicket:id="menu" id="menu1" class="yui-module yui-overlay yuimenubar"></div>
i.e. there is nothing to click.)
    
> Go to page 1 when datatable is filtered
> ---------------------------------------
>
>                 Key: WICKET-4403
>                 URL: https://issues.apache.org/jira/browse/WICKET-4403
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Rotschi Fanky
>            Priority: Trivial
>
> Go to the first page of a datatable when you filtered the data with a IFilterStateLocator. Currently this is already implemented when you sort a column.
> When you're not on the first page and you filter the data, you go to the last page available for the new data. This is confusing and ugly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4403) Go to page 1 when datatable is filtered

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211885#comment-13211885 ] 

Martin Grigorov commented on WICKET-4403:
-----------------------------------------

I cannot run your quickstart.
There is a JavaScript error:
Uncaught Error: HIERARCHY_REQUEST_ERR: DOM Exception 3
g._addToParentcontainer_core-min-ver-1326296648000.js:9
rcontainer_core-min-ver-1326296648000.js:9
g.rendercontainer_core-min-ver-1326296648000.js:9
(anonymous function):8080/?0:13
Wicket.Event.fireDomReadyHandlerswicket-event-ver-1328860748000.js:170
(anonymous function)wicket-event-ver-1328860748000.js:191
domCheck

Clicking the link works OK but the HTML for the menu is just:
<div wicket:id="menu" id="menu1" class="yui-module yui-overlay yuimenubar"></div>
i.e. there is nothing to click.
                
> Go to page 1 when datatable is filtered
> ---------------------------------------
>
>                 Key: WICKET-4403
>                 URL: https://issues.apache.org/jira/browse/WICKET-4403
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Rotschi Fanky
>            Priority: Trivial
>
> Go to the first page of a datatable when you filtered the data with a IFilterStateLocator. Currently this is already implemented when you sort a column.
> When you're not on the first page and you filter the data, you go to the last page available for the new data. This is confusing and ugly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira