permaculture playing cards*
The moose likes JSF and the fly likes Unable to render images in JSF using myFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Unable to render images in JSF using myFaces" Watch "Unable to render images in JSF using myFaces" New topic
Author

Unable to render images in JSF using myFaces

Romi Dave
Greenhorn

Joined: Jul 19, 2006
Posts: 26
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
 
Don't get me started about those stupid light bulbs.
 
subject: Unable to render images in JSF using myFaces
 
Similar Threads
myFaces Component and JSF netbeans
Problem Configuring MyFaces
Javascript error when upgrading to tomahawk 1.1.3
Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mappi
MyFaces Tomahawk latest 1.1.7-SNAPSHOT problem