[ 
https://issues.apache.org/jira/browse/WICKET-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706623#action_12706623
 ] 

Leszek Gawron commented on WICKET-2175:
---------------------------------------

This actually reintroduces much bigger bug described here: 
http://markmail.org/thread/bn3hyvmx6rlyp7gj

Could you please fix it somehow else?

> onBeforeRender() set visibility of NavigationToolbar prevents it from showing 
> again
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-2175
>                 URL: https://issues.apache.org/jira/browse/WICKET-2175
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4-RC3
>            Reporter: Anton Veretennikov
>            Assignee: Juergen Donnerstag
>            Priority: Trivial
>             Fix For: 1.4-RC3
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> This code in NavigationToolbar:
>       @Override
>       protected void onBeforeRender()
>       {
>               setVisible(table.getPageCount() > 1);
>               super.onBeforeRender();
>       }
> makes impossible to show toolbar after it became hidden when using with Ajax 
> (AjaxNavigationToolbar)
> Possible solution:
>   @Override
>   public boolean isVisible() {
>     return table.getPageCount()>1;
>   }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to