Balaji,

you have to set up our ExtensionsFilter, since the *default* resources
(javascript, images,...) are added to the jar file.

See http://myfaces.apache.org/docs/extensionsFilter.html

for more detailed information on that.

HTH,
Matthias

On 6/22/05, Balaji Saranathan <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> Hi, 
> 
> I tested the Tree component to work with Sun RI and it works fine. However,
> the images are not not visible. When I check the Html source, I see the
> following path 
> 
> "Img
> src="/framework/faces/myFacesExtensionResource/tree.HtmlTree/1113412660000/images/node_close.gif"
> border="0" /><" 
> 
> Why is the path being generated like this? I tried giving the image path
> option and taking the default. 
> 
> Can anyone help me? 
> 
> No, I ahvent had success with porting tree 2 yet. I get a null pointer
> exception at 
> 
> java.lang.NullPointerException
> com.sun.faces.renderkit.html_basic.CommandLinkRenderer.getHiddenFieldName(CommandLinkRenderer.java:136)
> com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeEnd(CommandLinkRenderer.java:318)
> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
> org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeRecursive(HtmlTreeRenderer.java:573)
> org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeNavigation(HtmlTreeRenderer.java:544)
> org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeCurrentNode(HtmlTreeRenderer.java:327)
> org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeRenderer.java:229)
> org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(HtmlTreeRenderer.java:181)
> javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
>  
>  
>  
> 
>  
>  Confidentiality Notice 
>  
>  The information contained in this electronic message and any attachments to
> this message are intended
>  for the exclusive use of the addressee(s) and may contain confidential or
> privileged information. If
>  you are not the intended recipient, please notify the sender at Wipro or
> [EMAIL PROTECTED] immediately
>  and destroy all copies of this message and any attachments.
>  


-- 
Matthias Wessendorf

Reply via email to