You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by yi public <yi...@yahoo.com> on 2004/10/22 00:14:27 UTC

Tree component

Hello all,
 
What I want is to put a tree component in my application (with a navigation tree on the left in browser.
 
I tried the FileSystemTree in Workbench tab developed by Tsvetelin. It works like a charm. But when I tried to use it alone with minimal modification I failed.
 
I got the following exception,
 
org.apache.tapestry.ApplicationRuntimeExceptionCould not parse template context:/Home.html.location:context:/Home.html, line 44  org.apache.tapestry.parse.TemplateParseExceptionTag <span> on line 44 contains an invalid jwcid 'treeView'.location:context:/Home.html, line 44Stack Trace:
   org.apache.tapestry.parse.TemplateParser.templateParseProblem(TemplateParser.java:490) 
   org.apache.tapestry.parse.TemplateParser.processComponentStart(TemplateParser.java:1082) 
   org.apache.tapestry.parse.TemplateParser.startTag(TemplateParser.java:947) 

...
 
What I have done is basically just rename the "FileSystemTree.html" to "Home.html". What else do I need to change?
 
I am new to Tapestry so please bear with me.
 
Thanks,
Yi

		
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

Re: Tree component

Posted by yi public <yi...@yahoo.com>.
Okay, I found the reason myself - I forgot to rename FileSystemTree.page to Home.page.
 
Cheers,
Yi
Hello all,

What I want is to put a tree component in my application (with a navigation tree on the left in browser.

I tried the FileSystemTree in Workbench tab developed by Tsvetelin. It works like a charm. But when I tried to use it alone with minimal modification I failed.

I got the following exception,

org.apache.tapestry.ApplicationRuntimeExceptionCould not parse template context:/Home.html.location:context:/Home.html, line 44 org.apache.tapestry.parse.TemplateParseExceptionTag on line 44 contains an invalid jwcid 'treeView'.location:context:/Home.html, line 44Stack Trace:
org.apache.tapestry.parse.TemplateParser.templateParseProblem(TemplateParser.java:490) 
org.apache.tapestry.parse.TemplateParser.processComponentStart(TemplateParser.java:1082) 
org.apache.tapestry.parse.TemplateParser.startTag(TemplateParser.java:947) 

...

What I have done is basically just rename the "FileSystemTree.html" to "Home.html". What else do I need to change?

I am new to Tapestry so please bear with me.

Thanks,
Yi


---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
		
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.