This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to render images in JSF using myFaces
 
Similar Threads
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
Problem Configuring MyFaces
myFaces Component and JSF netbeans