Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
None
-
None
Description
We have are developing a plugin that adds a tab panel to a project in the "Browse Project" section.
We are overriding the showPanel method ( inherited from AbstractProjectTabPanel.java ) to hide or show the panel on a per project basis.
However, when using multiple project portlets on the dashboard, the showPanel(... , ...) method is called only once and uses the currently selected project. So every project that are shown on the dashboard in project portlets might have or not the tab panel, according to the currently selected project.
Would it be possible to call the showPanel method on every project portlet to show or hide the tab panel ?
To reproduce the problem:
1) create a project tab panel plugin that is available for a subset of your projects
2) add 2 project portlets, 1 in this subset and another that isn't
3) Browse to the project that is in the subset
4) return to the dashboard
now both projects should have the tab panel activated.
Thanks for your time
Attachments
Issue Links
- duplicates
-
JRASERVER-13911 Projects portlet sometimes displays Components and Versions links and sometimes doesn't
- Closed