Re: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
Why don't you just grab the latest Workbench code (that includes a ShowMessages sample component) and work your way out from there? I always find that it's better to start with working code first and then branch out.. http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-Workbench/4.1.1-SNAPSHOT/tapestry-Workbench-4.1.1-20061017.225719-37.war On 10/17/06, James Carman <[EMAIL PROTECTED]> wrote: The class="proto.component.ShowMessages" part of your component specification (ShowMessages.jwc) says that there has to be a class called proto.component.ShowMessages. -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 1:56 PM To: users@tapestry.apache.org Subject: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks) Dude..., There is no such class file for these components. I scooped them up from http://files.doublenegative.com.au/jumpstart/download.html And it seems HLS stamped his name on them too. No java files included in the war at http://files.doublenegative.com.au/jumpstart/download.html Are you implying that tapestry should pre-compile these during build and package? Do such java files exist? Should they? Or does tapestry generate them at runtime? ---> Here is the actual ShowMessages.html --- Validation error message --- --- Warning message --- --- Info message --- ---> Here is the actual ShowMessages.jwc http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> How do you arrive at I need *.class files for this when there are no java files? Should there be java files for this component? Anyhow... I still receive the namespace exception... even after I tore the components out and pre-built/deployed them from within their own private proto.component maven project as a proto.component-1.0.jar which is a custom component deliverable... kinda like contrib. I look forward to your feedback. - cheers Ken -- Here is the new application file http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> ---> Here is the new library file from the private component project http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> Prototype Component library Everything is aligned pathwise within each jar/war - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
RE: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
Where are your .jwc/.html files located now? -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 2:32 PM To: users@tapestry.apache.org Subject: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks) Well i went into the private component library and omitted class="proto.component.ShowMessages" from the jwc The exception continues even after re-clean and rebuild/deploy. James, I appreciate your perseverence. Not sure when I may get onto developing real stuff. That exception continues to hamper any progress. I am unable to operate any custom components inplace or from within their own jar (like contrib). Has anyone gotten anything custom going for tap-4.1.1 ? Additional feedback/suggestions are appreciated. ---> Here is the latest application module http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> ---> Here is the latest stack trace An exception has occurred. You may continue by restarting the session. [ +/- ] Exception: Component 'ShowMessages' not found in [EMAIL PROTECTED]]. org.apache.hivemind.ApplicationRuntimeException Component 'ShowMessages' not found in [EMAIL PROTECTED]]. location: context:/Login.html, line 5 1 2 3 4 5 6 10 Stack Trace: * org.apache.tapestry.resolver.ComponentSpecificationResolverImpl.resolve(Comp onentSpecificationResolverImpl.java:165) * $ComponentSpecificationResolver_10e57863f3f.resolve($ComponentSpecificationR esolver_10e57863f3f.java) * $ComponentSpecificationResolver_10e57863f40.resolve($ComponentSpecificationR esolver_10e57863f40.java) * org.apache.tapestry.services.impl.DefaultParserDelegate.getAllowBody(Default ParserDelegate.java:70) * org.apache.tapestry.parse.TemplateParser.processComponentStart(TemplateParse r.java:997) * org.apache.tapestry.parse.TemplateParser.startTag(TemplateParser.java:868) * org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:516) * org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:358) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
The class="proto.component.ShowMessages" part of your component specification (ShowMessages.jwc) says that there has to be a class called proto.component.ShowMessages. -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 1:56 PM To: users@tapestry.apache.org Subject: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks) Dude..., There is no such class file for these components. I scooped them up from http://files.doublenegative.com.au/jumpstart/download.html And it seems HLS stamped his name on them too. No java files included in the war at http://files.doublenegative.com.au/jumpstart/download.html Are you implying that tapestry should pre-compile these during build and package? Do such java files exist? Should they? Or does tapestry generate them at runtime? ---> Here is the actual ShowMessages.html --- Validation error message --- --- Warning message --- --- Info message --- ---> Here is the actual ShowMessages.jwc http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> How do you arrive at I need *.class files for this when there are no java files? Should there be java files for this component? Anyhow... I still receive the namespace exception... even after I tore the components out and pre-built/deployed them from within their own private proto.component maven project as a proto.component-1.0.jar which is a custom component deliverable... kinda like contrib. I look forward to your feedback. - cheers Ken -- Here is the new application file http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> ---> Here is the new library file from the private component project http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> Prototype Component library Everything is aligned pathwise within each jar/war - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
So, this has nothing to do with the location of the component spec/template itself (not anymore). It's not finding your component class. Make sure that it's in the WEB-INF/classes directory. You should have a WEB/INF/classes/proto/component/ShowMessages.class file in there. Do you? -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 10:56 AM To: users@tapestry.apache.org Subject: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks) Thanks James, The feedback from your suggestion is below. Exception remains even if remove the spec path (leaving only the module name) from the application file I receive the same exception. ? An exception has occurred. You may continue by restarting the session. [ +/- ] Exception: Could not load class proto.component.ShowMessages from WebappClassLoader delegate: false repositories: /WEB-INF/classes/ --> Parent Classloader: [EMAIL PROTECTED] : proto.component.ShowMessages org.apache.hivemind.ApplicationRuntimeException Could not load class proto.component.ShowMessages from WebappClassLoader delegate: false repositories: /WEB-INF/classes/ --> Parent Classloader: [EMAIL PROTECTED] : proto.component.ShowMessages [ +/- ] Exception: proto.component.ShowMessages - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
Try putting ShowMessages.jwc and ShowMessages.html directly in the WEB-INF folder. -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 8:44 AM To: users@tapestry.apache.org Subject: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks) Day 2, still receiving exception... Cannot get simple component to render. I reviewed the path alignment from the application file down from within the war file. All appears to be in order. Using Maven standard build Here is the directory layout src\main\webapp\WEB-INF\tap.proto.application src\main\resources\proto\component\tap.proto.library src\main\webapp\WEB-INF\proto\component\ShowMessages.jwc src\main\webapp\WEB-INF\proto\component\ShowMessages.html src\main\webapp\WEB-INF\proto\component\ShowError.jwc src\main\webapp\WEB-INF\proto\component\ShowError.html src\main\webapp\Login.html Usage just after login form Path Alignment appears to be relative according to the contents below. I am going to tear apart contrib library and see how things are assembled there. Any help is greatly appreciated. ---> Here is the *.application file ---> Here is the *.library file Prototype Component library ---> Here is the exception [ +/- ] Exception: Component 'ShowMessages' not found in [EMAIL PROTECTED]]. org.apache.hivemind.ApplicationRuntimeException Component 'ShowMessages' not found in [EMAIL PROTECTED]]. location: context:/Login.html, line 5 1 2 3 4 5 6 10 Stack Trace: * org.apache.tapestry.resolver.ComponentSpecificationResolverImpl.resolve(Comp onentSpecificationResolverImpl.java:165) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
Why define the components both in the library and in the app? BTW, should work. Also, where is ShowMessages.jwc located? Do you also have a ShowMessages.java somewhere? Ken nashua wrote: > Ok, I have taken this to another level. > > My package spec had slashes instead of dots. No indicator of such at > runtime though... although I have been operating dots/slashes for 20 > years now. > > ---> Here is the latest library spec > > specification-path="/org/apache/tapestry/contrib/Contrib.library"/> > value="proto.component"/> > > specification-path="ShowMessages.jwc"/> > > > ---> Here is the latest app spec > > > value="proto.component"/> > specification-path="/org/apache/tapestry/contrib/Contrib.library"/> > specification-path="/proto/component/tap.proto.library"/> > specification-path="/classes/proto/component/ShowError.jwc"/> > specification-path="/classes/proto/component/ShowMessages.jwc"/> > > > If anyone could step in that would be terrific... > > Here is the latest output... > > [ +/- ] Exception: Component 'ShowMessages' not found in > [EMAIL PROTECTED]]. > org.apache.hivemind.ApplicationRuntimeException > Component 'ShowMessages' not found in [EMAIL PROTECTED]]. > location: context:/Login.html, line 11 > 6 7success="listener:onFormSubmit" > 8cancel="listener:onFormCancel" name="loginForm" > 9clientValidationEnabled="ognl:true" > delegate="bean:validationDelegate"> > 10 > 11 > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
Hi Ken -- I would also look at the components the ShowMessages component also references. It seems that if it can' find a nested component that Tapestry doesn't always complain well. -Pat On 10/16/06, Ken nashua <[EMAIL PROTECTED]> wrote: Ok, I have taken this to another level. My package spec had slashes instead of dots. No indicator of such at runtime though... although I have been operating dots/slashes for 20 years now. ---> Here is the latest library spec ---> Here is the latest app spec If anyone could step in that would be terrific... Here is the latest output... [ +/- ] Exception: Component 'ShowMessages' not found in [EMAIL PROTECTED]]. org.apache.hivemind.ApplicationRuntimeException Component 'ShowMessages' not found in [EMAIL PROTECTED]]. location: context:/Login.html, line 11 6 10 11 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE @Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)
Thanks for any tips... First Tip: Kindly don't change the subject of your message - email clients like Gmail don't show them in the same thread and it becomes really hard to follow.