Another issue is I am extending from
 
public abstract class Gallery extends AbstractFormWidget
 
So I can leverage JSON and Script... like AutoComplete widget
 
This guy is not a BaseComponent... and will not leverage the template. Am I 
locked out from operating a template now?
 
Jesse, can you comment on the usage of this AbstractFormWidget ? How do I use 
my template within my custom AbstractFormWidget?
Best regardsKen in nashua


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: How to render template inside a 
componentDate: Mon, 24 Sep 2007 15:44:40 -0400


Here is my Home.html 
<span jwcid="[EMAIL PROTECTED]">

  <div jwcid="@custom:Gallery"
    classType="ognl:@[EMAIL PROTECTED]"
    tableSize="ognl:tableSize">
         <span jwcid="@RenderBody"/>
  </div></span> My Gallery.JAVA gets called...  But my Gallery.html gets 
ignored. How can I get this thing to render my Gallery.html I'd like to tell 
Gallery.JAVA to grab Gallery.html and render it while it maintains all of it's 
own metrics calculations.Best regardsKen in nashua


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: How to render template inside a 
componentDate: Mon, 24 Sep 2007 15:25:50 -0400

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! Play now! 

Kick back and relax with hot games and cool activities at the Messenger Café. 
Play now! 
_________________________________________________________________
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