[ http://issues.apache.org/jira/browse/TAPESTRY-56?page=all ]
Jesse Kuhnert resolved TAPESTRY-56:
-----------------------------------
Fix Version: 4.0.1
Resolution: Fixed
Assign To: (was: Tapestry Developer List)
> misinterpreted component-type specification-path in application specification
> -----------------------------------------------------------------------------
>
> Key: TAPESTRY-56
> URL: http://issues.apache.org/jira/browse/TAPESTRY-56
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: Daniel Frei
> Fix For: 4.0.1
>
> Specifying a component-type
> specification-path="/com/mycompany/mycomponent.jwc" in the application
> specification for a component located in a java package leads to the
> exception listed below. On the other hand, the same specification within a
> library-specification works as expected, using the path as the classpath NOT
> as the context.
> Error message:
> Could not parse specification context:/com/mycompany/mycomponent.jwc.
> Resource at context:/com/mycompany/mycomponent.jwc does not exist.
> org.apache.tapestry.ApplicationRuntimeException
> Could not parse specification context:/com/mycompany/mycomponent.jwc.
>
> org.apache.tapestry.util.xml.DocumentParseException
> Resource at context:/com/mycompany/mycomponent.jwc does not exist.
> documentLocation: context:/com/mycompany/mycomponent.jwc
>
> Partial Stack Trace:
> org.apache.tapestry.parse.SpecificationParser.parse(SpecificationParser.java:676)
>
> org.apache.tapestry.parse.SpecificationParser.parseComponentSpecification(SpecificationParser.java:643)
>
> org.apache.tapestry.engine.DefaultSpecificationSource.parseSpecification(DefaultSpecificationSource.java:204)
>
> org.apache.tapestry.engine.DefaultSpecificationSource.getComponentSpecification(DefaultSpecificationSource.java:316)
>
> org.apache.tapestry.engine.Namespace.locateComponentSpecification(Namespace.java:327)
>
> org.apache.tapestry.engine.Namespace.getComponentSpecification(Namespace.java:243)
>
> org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:201)
>
> org.apache.tapestry.engine.DefaultTemplateSource$ParserDelegate.getAllowBody(DefaultTemplateSource.java:180)
>
> org.apache.tapestry.parse.TemplateParser.processComponentStart(TemplateParser.java:1108)
>
> org.apache.tapestry.parse.TemplateParser.startTag(TemplateParser.java:986)
> org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:629)
> org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:460)
> org.apache.tapestry.engine.DefaultTemplateSource.constructTemplateInstance(DefaultTemplateSource.java:483)
>
> org.apache.tapestry.engine.DefaultTemplateSource.parseTemplate(DefaultTemplateSource.java:457)
>
> org.apache.tapestry.engine.DefaultTemplateSource.getOrParseTemplate(DefaultTemplateSource.java:430)
>
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]