Why do you need the imageLocation and javascriptLocation? Are you not using the images and javascript that is packaged with tomahawk?

I think that if you do not use the packaged images and javascript then techincally you do not need the filter. I would guess that the reason it does not work is that your imageLocation is wrong.

Randy


From: Costa Basil <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion" <[email protected]>
To: MyFaces Discussion <[email protected]>
Subject: RE: problem with tree2 plus/minus images
Date: Tue, 7 Mar 2006 19:52:16 -0500 (EST)

Thank you for your suggestion, Randy. Here is what I did:

1. If I remove the imageLocation & javascriptLocation attributes and install the filter, then the tree works fine, I changes the +/- images fine.

2. If I keep the imageLocation & javascriptLocation attributes, toggling the +/- images doesn't work even with the filter.

I think I am going to take a look at the javascript portion to see why the heck it doesn't change the plus or the minus in case 2.

Randy Simon <[EMAIL PROTECTED]> wrote: I kind of remember having the same problem. Did you include the myfaces
extensions filter in your web.xml?



        extensionsFilter

org.apache.myfaces.component.html.util.ExtensionsFilter




        extensionsFilter
        *.jsp



>From: Costa Basil
>Reply-To: "MyFaces Discussion"
>To: [email protected]
>Subject: problem with tree2 plus/minus images
>Date: Tue, 7 Mar 2006 19:20:47 -0500 (EST)
>
>I use myfaces 1.1.1. Here is my tree2 tag:
>
>
>binding="#{contacts$contactRelations.tree}"
>value="#{contacts$contactRelations.treeData}" var="node" varNodeToggler="t"
>               imageLocation="../../images/tree"
>javascriptLocation="../../js" clientSideToggle="true"
>preserveToggle="true">
>
>
>
>
>
>
>
>
>
>
>
>
>The problem that I have is that when I click on the icon to expand the node
>the image is not changed from plus to minus. If I refresh the page the
>plus/minus images are refreshed properly.
>
>Am I doing something wrong here? I did search the mailing list but I
>couldn't find anything satisfactory. Some people complained at one point
>that a relative imageLocation is not working properly but in my case the
>images are there.
>
>Thanks
>
>
>
>---------------------------------
>Make Yahoo! Canada your Homepage Yahoo! Canada Homepage





---------------------------------
7 bucks a month. This is Huge Yahoo! Music Unlimited


Reply via email to