Re: Tomahawk Tree2 Javascript problem.

2006-10-19 Thread Long Tran
Well, I figured out the problem myself, the jsp file needs to have and tag. I assume Tomahawk tries include tree.js in the tage but could not find it before. Thanks for all your replies anyway, Thanks Long Tran wrote: Yeah, it's wrapped around a component, any idea? Martin Marinschek

Re: Tomahawk Tree2 Javascript problem.

2006-10-19 Thread Long Tran
Yeah, it's wrapped around a component, any idea? Martin Marinschek wrote: Do you have a "form" around the tree? regards, Martin On 11/19/06, Long Tran <[EMAIL PROTECTED]> wrote: Hi, I think I had it, since the images (+ and - icons) show up, I assume they are rendered through the filt

Re: Tomahawk Tree2 Javascript problem.

2006-10-19 Thread Long Tran
Yes, It's wrapped around a component. Regards, Long Martin Marinschek wrote: Do you have a "form" around the tree? regards, Martin On 11/19/06, Long Tran <[EMAIL PROTECTED]> wrote: Hi, I think I had it, since the images (+ and - icons) show up, I assume they are rendered through the

Re: Tomahawk Tree2 Javascript problem.

2006-10-18 Thread Martin Marinschek
Do you have a "form" around the tree? regards, Martin On 11/19/06, Long Tran <[EMAIL PROTECTED]> wrote: Hi, I think I had it, since the images (+ and - icons) show up, I assume they are rendered through the filter. Anyhow, this is the sniplet of my web.xml: MyFacesExtensionsFilt

Re: Tomahawk Tree2 Javascript problem.

2006-10-18 Thread Long Tran
Hi, I think I had it, since the images (+ and - icons) show up, I assume they are rendered through the filter. Anyhow, this is the sniplet of my web.xml:     MyFacesExtensionsFilter     org.apache.myfaces.webapp.filter.ExtensionsFilter         maxFileSize     20m     Set the s

Re: Tomahawk Tree2 Javascript problem.

2006-10-18 Thread Simon Kitching
Hi, Have you got the ExtensionsFilter configured? http://myfaces.apache.org/tomahawk/extensionsFilter.html Regards, Simon Long Tran wrote: All, I've created a TreeModel and successfully rendered it on the browser, however, when I click on the expand/collapse button, it's not working. App

Tomahawk Tree2 Javascript problem.

2006-10-18 Thread Long Tran
All, I've created a TreeModel and successfully rendered it on the browser, however, when I click on the expand/collapse button, it's not working. Apparently, in the HTML page generated, _javascript_ function "treeNavClick" was not generated, is there any tag/attribute i need to add to the Tr