[ 
https://issues.apache.org/jira/browse/TAPESTRY-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566460#action_12566460
 ] 

Jim Roycroft commented on TAPESTRY-1661:
----------------------------------------

Actually, I jumped the gun a bit here... it does work for templates in the 
context root, but not for ones in subfolders within the context root. Still 
helps though.

I guess subfolders would be tricky due to the lack of namespacing (that I know 
of), so the searching code would not know which template to use first if the 
names were identical.

> Specless component html template needs a package based resolution strategy
> --------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1661
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1661
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.1.2
>         Environment: any
>            Reporter: Jesse Kuhnert
>            Assignee: Jesse Kuhnert
>             Fix For: 4.1.3
>
>
> When creating a specless component the html templates won't be resolved 
> unless they are relative to the classpath location of the component class.  
> It should be easy enough to take the class package string and break it up and 
> search the context path using that as a last resort.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to