Add "preload" attribute to div tag on Dojo plugin
-------------------------------------------------
Key: WW-1860
URL: https://issues.apache.org/struts/browse/WW-1860
Project: Struts 2
Issue Type: Bug
Reporter: Musachy Barroso
Assigned To: Musachy Barroso
Fix For: 2.1.0
The div tag is not supposed to be loaded if hidden, the problem is that when
used inside the tabbedpanel tag, the div tag is hidden on the tabbedpanel
widget creation, which is after the div widget is created. So on the
postCreate() method on ContentPane, isSHowing() returns true for the div widget
because the domNode (for the div) is still visible.
Todo:
* add a "preload" attribute that sets "preload" on the ContentPane widget,
preload content only when "preload" is true (true by default)
* Remove call to postCreate() on BindDiv
* Remove firstTime flag from BindDiv as it won't be longer necessary.
As a workaround for pre 2.1 version, cssStyle="display:none" can be set on the
tabs that should not be preloaded
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.