[ 
http://issues.apache.org/jira/browse/BEEHIVE-138?page=comments#action_57485 ]
     
Jeremiah Johnson commented on BEEHIVE-138:
------------------------------------------

This issue is reproduced in when runAtClient is set on the tree.  Even if the 
image root isn't explicitly set, the hard-coding is a problem because it uses a 
different path than the default image root.

The simplest work-around for users using the default images is to ensure that 
the web application contains the following:

/resources/beehive/version1/images
  folder_16_pad.gif
  handledownlast.gif
  handledownmiddle.gif
  handlerightlast.gif
  handlerightmiddle.gif
  linelastnode.gif
  linemiddlenode.gif
  linevertical.gif
  spacer.gif
/resources/images
  handledownlast.gif
  handlerightlast.gif

Note the duplicates of handledownlast.gif and handlerightlast.gif.

- jeremiah

> 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: Daryl Olander

>
> 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

Reply via email to