You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Denis Souza (JIRA)" <ta...@jakarta.apache.org> on 2005/08/22 22:06:08 UTC

[jira] Created: (TAPESTRY-578) Using component types with slashes in the HTML template fails.

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


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


[jira] Assigned: (TAPESTRY-578) Using component types with slashes in the HTML template fails.

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-578?page=all ]

Howard M. Lewis Ship reassigned TAPESTRY-578:
---------------------------------------------

    Assign To: Howard M. Lewis Ship

> 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

>
> 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


[jira] Closed: (TAPESTRY-578) Using component types with slashes in the HTML template fails.

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ 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