Tried this in my Home.html...  
 
Tag <span> on line 10 is a dynamic component, and may not appear inside an 
ignored block. 



org.apache.tapestry.parse.TemplateParseException

Tag <span> on line 10 is a dynamic component, and may not appear inside an 
ignored block.

location:
context:/WEB-INF/Home.html, line 10



5
</h1>

6


7
<div jwcid="@custom:Gallery"

8
classType="ognl:@[EMAIL PROTECTED]"

9
tableSize="ognl:tableSize">

10
<span jwcid="@RenderBody"/>

11
</div>

12
</span>Can someone straighten me out on this?Best regardsKen in nashua


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: How to render template inside a 
componentDate: Mon, 24 Sep 2007 14:56:43 -0400


Folks, I have a template in html that is a makeup of tapestry and html 
markup...  Markup is below... I want to render it inside my component as the 
body. Does tap-4.1.2 support this? I'd hate to have to convert it all to JAVA. 
Inside my protected void renderComponent(IMarkupWriter writer,                  
                                  IRequestCycle cycle){    // somehow render 
template HTML file logic here} is there a tapestry component that I can attach 
my template to and render/generate the proper markup?Best regardsKen in nashua 
<span jwcid="$content$">

<table width="100%">

<tr>
<td width="100%">
<div id="autoPageTop" class="clearfix">
</div>
</td>
</tr>

<tr>
<td width="100%">
<div id="listContent" class="clearfix">
<ul>
<table jwcid="[EMAIL PROTECTED]">
<tr jwcid="[EMAIL PROTECTED]" source="ognl:collection" 
value="ognl:currentObject" index="ognl:index">
<td width="100%">
<a jwcid="[EMAIL PROTECTED]" listener="listener:edit" 
parameters="ognl:currentObject">
<img jwcid="@Image"
image="ognl:photoAsset"
alt="ognl:currentObject.demographics.city"
title="ognl:currentObject.demographics.city"
/>
<!-- <span jwcid="[EMAIL PROTECTED]" value="ognl:currentObject"/> -->
</a>
</td>
</tr>
</table>
</ul>
</div>
</td>
</tr>

<tr>
<td width="100%">
<div id="autoPageBottom" class="clearfix">
</div>
</td>
</tr>
</table>

<span jwcid="@Script" script="/org/trails/demo/components/Gallery.script"
tableSize="ognl:tableSize"
component="ognl:this"
/>
</span>

More photos; more messages; more whatever – Get MORE with Windows Live™ 
Hotmail®. NOW with 5GB storage. Get more! 
_________________________________________________________________
Can you find the hidden words?  Take a break and play Seekadoo!
http://club.live.com/seekadoo.aspx?icid=seek_wlmailtextlink

Reply via email to