[
https://issues.apache.org/jira/browse/WICKET-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juergen Donnerstag resolved WICKET-2175.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC3
Assignee: Juergen Donnerstag
thanks
> 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.