[
https://issues.jboss.org/browse/GTNPORTAL-1788?page=com.atlassian.jira.pl...
]
Rich Raposa commented on GTNPORTAL-1788:
----------------------------------------
It seems like Chris' idea should work great. The portlets on all tabs need to be
initialized, but the render method should only be invoked on the visible portlets. The
non-visible portlets will then be able to process events and actions and serve resources,
but avoid rendering which is obviously a waste of CPU time.
This assumes the portlet developer is not changing any state in the render method, which
is the best practice anyway. How difficult would it be to *not* call render on the
non-visible portlets? That should be the behavior of any tabbed container.
Make UILazyTabPane component is ready for re-usable in WebUI
framework
----------------------------------------------------------------------
Key: GTNPORTAL-1788
URL:
https://issues.jboss.org/browse/GTNPORTAL-1788
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Trong Tran
We have been implementing a component called UILazyTabPane for purpose of lazy loading
only tab which is visible at runtime BUT it is not done completely and not ready to be
reusable.
There are still some bugs like :
+ the last selected tab is not kept showing after a refresh.
+ UI is broken sometimes
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira