[ http://issues.apache.org/jira/browse/MYFACES-541?page=all ]
Carsten Fregin updated MYFACES-541:
-----------------------------------
Attachment: MYFACES-541.patch
Here is the patch to clarify the problem.
> a: tree2 component renders line-trunk.gif and spacer.gif without context path
> when attribute imageLocation is set. b: strange behavour under jetty?
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-541
> URL: http://issues.apache.org/jira/browse/MYFACES-541
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: Nightly Build
> Environment: tomcat 5.5.9 and jetty 5.1.4
> Reporter: Carsten Fregin
> Priority: Minor
> Attachments: MYFACES-541.patch
>
> In org.apache.myfaces.custom.tree2.HtmlTreeRenderer, the two gifs are
> rendered with out.startElement(HTML.IMG_ELEM, tree);
> Since the other images are rendered with UIGraphic (which knows about context
> path) the two images are rendered without context path. To clarify, I upload
> a patch in a second. The path is working if the imageLocation is set. If you
> use the myFacesExtensionResource, it is not working because I added the
> context. That means it is a meaningless patch *g*.
> Another problem seems to exist with the myFacesExtensionResource under jetty.
> I get the resources only, if i do not provide a jsessionid.
> Do you want me to fix that or is someone working on the component?
--
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