[ http://issues.apache.org/jira/browse/BEEHIVE-138?page=history ]
Daryl Olander resolved BEEHIVE-138:
-----------------------------------
Assign To: Alejandro Ramirez (was: Daryl Olander)
Resolution: Fixed
This is now fixed. Basically, up to this point, the images where hardwired in
the netui-tree.js file. The change involved dynamically generating the images
on a per-tree basis. This required adding state for each tree as part of the
initialization of the tree. The state is used by the expand/collapses
JavaScript to set the proper tree.
I've verified this with a tree that overrides the expand/contract images with
a single tree on a page and a test with two trees on the page, where the second
tree uses the default images.
BVTs: coreWeb/tree/image and coreWeb/tree/image2
> The netui-tree.js has harcoded expansion images
> -----------------------------------------------
>
> Key: BEEHIVE-138
> URL: http://issues.apache.org/jira/browse/BEEHIVE-138
> Project: Beehive
> Type: Bug
> Components: NetUI
> Environment: Firefox 1.0 on xp.
> Reporter: Tim Noonan
> Assignee: Alejandro Ramirez
>
> The netui-tree.js has harcoded expansion images.
> If you are using the netui tree tag and are specifying an images directory at
> runtime when you collapse the root node it cannot find the
> imageHandleDownLast gif if specified.
> <beehive:tree dataSource="pageInput.tree"
> selectionAction="select" tagId="tree"
> runAtClient="true"
>
> imageRoot="/tools/framework/skins/wlp-tools/images"
> imageHandleRightLast="minus.gif"
> imageHandleRightMiddle="minus.gif"
> imageHandleDownLast="minus.gif"
> imageHandleDownMiddle="minus.gif"
> imageLineMiddle="join.gif"
> imageLineVertical="line.gif"
> imageLineLast="joinbottom.gif"/>
> --From netui-script.js--
> ///////////////////////////////// Tree //////////////////////////
> function NetUITree()
> {
> this.imgExpandName = "/resources/images/handledownlast.gif";
> this.imgCollapseName = "/resources/images/handlerightlast.gif";
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira