Uli... thanks alot. It is a breathe of fresh air to receive confirmation about 
behaviors of the tapestry framework so the pioneering effort can continue 
gracefully.
Best regards Ken in nashua


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: Finding a DOM node in 
tapestry-4.1.*Date: Fri, 23 Nov 2007 14:57:37 -0500


Well Upon examining the rendered markup... the divs were omitted from the 
rendering with the actual markup in the Block declaration. But even so I 
thought I should be able to navigate anyway using the id's I provided... I am 
unable to even reference the id I specified for the actual Block. Any one got 
ideas on how I can reference these Dom nodes... (if they exist?) 
<span jwcid="[EMAIL PROTECTED]">
<table width="100%" border=1>
<tr>
<td width="25%" align="left" NOWRAP>
<span jwcid="@Insert" value="Table Size"/>
<select jwcid="tableSizeSelect" onchange="tapestry.form.refresh(this.form)"/>
<span jwcid="@Insert" value="Paging Span"/>
<select jwcid="pagingSpanSelect" onchange="tapestry.form.refresh(this.form)"/>
</td>
<td align="left" NOWRAP>
<a jwcid="@DirectLink" listener="listener:onBegin" style="fontSize:15px;"> 
<span jwcid="@Insert" value="<<"/> </a>
<a jwcid="@DirectLink" listener="listener:onPrev"> <span jwcid="@Insert" 
value="<"/> </a>
<a jwcid="@DirectLink" listener="listener:onPage" parameters="ognl:1"> <span 
jwcid="@Insert" value="ognl:1"/> </a>
<a jwcid="@DirectLink" listener="listener:onPage" parameters="ognl:2"> <span 
jwcid="@Insert" value="ognl:2"/> </a>
<a jwcid="@DirectLink" listener="listener:onPage" parameters="ognl:3"> <span 
jwcid="@Insert" value="ognl:3"/> </a>
<a jwcid="@DirectLink" listener="listener:onPage" parameters="ognl:4"> <span 
jwcid="@Insert" value="ognl:4"/> </a>
<a jwcid="@DirectLink" listener="listener:onPage" parameters="ognl:5"> <span 
jwcid="@Insert" value="ognl:5"/> </a>
<a jwcid="@DirectLink" listener="listener:onNext"> <span jwcid="@Insert" 
value=">"/> </a>
<a jwcid="@DirectLink" listener="listener:onEnd"> <span jwcid="@Insert" 
value=">>"/> </a>
</td>
</tr>
</table>
</span>

<span jwcid="[EMAIL PROTECTED]">
<table width="100%">
<tr>
<span jwcid="[EMAIL PROTECTED]" source="ognl:collection" 
value="ognl:currentObject" index="ognl:index">
<span jwcid="@If" condition="ognl:tableSize">
<span jwcid="@If" condition="ognl:(index % tableSize) == 0">
<span jwcid="@Insert" value="</tr><tr>" raw="true"/>
</span>
</span>
<td>
<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" width="160" height="110"
/>
</a>
</td>
</span>
</tr>
</table></span>Best regards Ken in nashua


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Finding a DOM node in 
tapestry-4.1.*Date: Fri, 23 Nov 2007 14:49:20 -0500

Folks,I cannot find my node beyond the form.Please look    <form jwcid="[EMAIL 
PROTECTED]" listener="listener:onFormSubmit">        <div jwcid="[EMAIL 
PROTECTED]"             block="ognl:components.autoPagingContent" />        
<div jwcid="[EMAIL PROTECTED]"             
block="ognl:components.collectionContent" />        <div jwcid="[EMAIL 
PROTECTED]"             block="ognl:components.autoPagingContent" />    
</form>I am able to do the following:    document.forms[0].galleryFormI cannot 
do the following:    document.forms[0].galleryForm.headerSelectgalleryForm does 
have 4 children and elements (one hidden)So I can reference... the following:   
 document.forms[0].galleryForm.children[0]    
document.forms[0].galleryForm.children[1]    
document.forms[0].galleryForm.children[2]    
document.forms[0].galleryForm.children[3]Have the div elements gone pooof ! I 
cannot find them. Since they are Blocks does this render them 
transient?basically all i want to do is ass a text node to one of the DIV's 
above like this...            var divBlock = document.createElement("div");     
       divBlock.appendChild(document.createTextNode("Loading..."));            
var container =                 
document.getElementById("${component.clientId}");                
container.addChild(divBlock);Drilling into DOM nodes for tapestry is an arduous 
process. Has it re-fabricated the markup and truncated it? What can I do so I 
can programmatically get a handle on these DOM's that I cannot find.If someone 
could shed some light here on what I am missing that would be great.Best 
regards Ken in nashua

Connect and share in new ways with Windows Live. Connect now! 

Get the power of Windows + Web with the new Windows Live. Power up! 
_________________________________________________________________
You keep typing, we keep giving. Download Messenger and join the i’m Initiative 
now.
http://im.live.com/messenger/im/home/?source=TAGLM

Reply via email to