[ 
https://issues.apache.org/jira/browse/TAPESTRY-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513603
 ] 

Howard M. Lewis Ship edited comment on TAPESTRY-1649 at 7/18/07 8:08 AM:
-------------------------------------------------------------------------

There are two errors in your page:

<t:postsloop> referers to a component of type PostsLoop (which does not exist).

@Component private Loop _postsLoop defined a component of type Loop, with id 
"postsLoop", that does not exist in the template.

<div t:id="postsLoop"> in the template would do what you want.

Ideally, Tapestry would display all the errors, like the Java compiler, but it 
mostly fails with the first error due to the limitations of exception reporting 
inside a web application.


 was:
There are two errors in your page:

<t:postsloop> referers to a component of type PostsLoop (which does not exist).

@Component private Loop _postsLoop defined a component of type Loop, with id 
"postsLoop", that does not exist in the template.

<div t:id="postsLoop"> in the template would do what you want.

> PageLoaderProcessor check template is invlidate.
> ------------------------------------------------
>
>                 Key: TAPESTRY-1649
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1649
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>         Environment: T5.0.5
>            Reporter: Jun Tsai
>            Assignee: Howard M. Lewis Ship
>
> java:
>  
>       @Component(parameters={"source=posts","value=post"})
>       private Loop postsLoop;
> html:
>   <t:postsLoop>
>   ... ...
>  </postsLoop>
> log in console:
> 11:29:33.944 ERROR! [SocketListener0-0] 
> org.apache.tapestry.internal.services.PageLoaderProcessor.loadTemplateForComponent(PageLoaderProcessor.java:456)
>  >44> Embedded component(s) postsLoop are defined within component class 
> lichen.pages.topic.ViewTopic, but are not present in the component template.

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