• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to render images in JSF using myFaces

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I use myfaces and tomahawk for JSF implementation in our application. I recently upgraded the myface jar from 1.1.3 version to myface-api-1.1.5.jar and tomahawk-1.1.3.jar to tomahawk-1.1.6.jar . The application works fine but the tree structure do not display the images of + & - signs next to the folder to expand/collapse the node.
Their are no errors in the logs.
I have following entry in my web.xml:
<context-param>
<param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name>
<param-value>/faces/extensionResource</param-value>
</context-param>

<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>

On the web page i tried looking for the path to the image and it is:

"http://localhost:8080/MyApplication/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12324010/tree2.HtmlTreeRenderer/images/nav-plus-line-middle.gif"
So i believe it is an issue with rendering but do not know how to resolve it.
I would appreciate if someone can please help me through this problem.

Thanks in advance
 
reply
    Bookmark Topic Watch Topic
  • New Topic