myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Wynn (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-620) JSCookMenu not displaying icons
Date Sun, 25 Sep 2005 17:10:47 GMT
JSCookMenu not displaying icons
-------------------------------

         Key: MYFACES-620
         URL: http://issues.apache.org/jira/browse/MYFACES-620
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    Versions: Nightly Build    
 Environment: Windows XP, Firefox, IE
    Reporter: Ryan Wynn
    Priority: Minor


JSCookMenu is displaying html src instead of an icon.

Problem src example (Does not display icon)

<script type="text/javascript">var event__id7_menu = 
[[null, 'Options', null, 'linkDummyForm', null,['&lt;img src=&quot;/opengym/images/Help.png&quot;/&gt;',
'Help', 'event__id7_menu:go_sample1', 'linkDummyForm', null]]];</script><div id="event__id7_menu"></div>

<script type="text/javascript"><!-- 
        cmDraw ('event__id7_menu', event__id7_menu, 'hbr', cmThemeOffice, 'ThemeOffice');

//--></script> 

If src is manually changed to the following then the icon is displayed correctly

<script type="text/javascript">var event__id7_menu = 
[[null, 'Options', null, 'linkDummyForm', null,['<img src="/opengym/images/Help.png">',
'Help', 'event__id7_menu:go_sample1', 
'linkDummyForm', null]]];</script><div id="event__id7_menu"></div> 
<script type="text/javascript"><!-- 
        cmDraw ('event__id7_menu', event__id7_menu, 'hbr', cmThemeOffice, 'ThemeOffice');

//--></script> 


-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message