tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Closed: (TAPESTRY-578) Using component types with slashes in the HTML template fails.
Date Mon, 12 Sep 2005 00:03:32 GMT
     [ http://issues.apache.org/jira/browse/TAPESTRY-578?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-578:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed

The overall fix addressed component types in HTML templates, but also in XML specifications
(both <component-type> in a library/application spec, and <component @type> in
a page/component specification.

> Using component types with slashes in the HTML template fails.
> --------------------------------------------------------------
>
>          Key: TAPESTRY-578
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-578
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: JBOSS 4 + Tapestry 4-beta4
>     Reporter: Denis Souza
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
> Whenever a component is referenced with a slash in the HTML template such as:
> <div jwcid="@templates/MyTemplate">
> it generates an exception:
> org.apache.tapestry.parse.TemplateParseException
> Tag <div> on line 4 contains an invalid jwcid '@template/MyTemplate'.
> Note that it works when I reference the same component using an annotation as in:
> @Component(id = "template", type = "templates/MyTemplate") public 
> abstract MyTemplate getTemplateComponent();

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message