Bug 495 - [Chameleon - Widget] DHTMLKeyMap2 relative path to image not working
: [Chameleon - Widget] DHTMLKeyMap2 relative path to image not working
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: FUTURE
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-07-05 09:00 by
Modified: 2004-10-25 08:33 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-07-05 09:00:48
The DHTMLKeyMap2 relative keymap image path only works within the samples
directory.If you try to build an application out side the
chameleon/samples/htdocs/images/ it cannot find the keymap.

When viewing the properties of the broken image the url path is missing a "/" slash.

eg. http://localhost/apps/bart_keymapbughtdocs///images/world_key.png

it should be:
http://localhost/apps/bart_keymapbug/htdocs/images/world_key.png
------- Comment #1 From 2004-07-08 13:19:55 -------
Changed target to 1.99 beta 3.
------- Comment #2 From 2004-10-06 13:36:55 -------
I have no idea how to reproduce this, please provide the widget tag that you
used to produce this error.
------- Comment #3 From 2004-10-07 10:38:21 -------
It seems to have been fixed since the DHTMLKeyMap2 has been renamed DHTMLKeyMap.
Using the widget tag:

<cwc2 type="KeyMapDHTML" image="images/world_key.png" />

within an a template application located outside chameleon I was able to
generate an image. The resulting image path to the keymap image was:

http://localhost/_cvsdev/bart_keymapbug/htdocs///images/world_key.png

marking as fixed....
 
------- Comment #4 From 2004-10-25 08:33:23 -------
Changed target for verification to 1.99 RC 1.