Thanks James,
That seems like a viable concern (parameter names versus component id's). I
segregated them by postpending PARM to all my parameter names. No relief.... so
I am kinda stuck.
<form jwcid="[EMAIL PROTECTED]" listener="listener:onFormSubmit">
<div jwcid="[EMAIL PROTECTED]"
block="ognl:components.autoPagingContent"/>
<div jwcid="@RenderBlock" block="ognl:components.collectionContent"/>
<div jwcid="[EMAIL PROTECTED]"
block="ognl:components.autoPagingContent"/>
</form>
My headerSelect's <select> component gets changed but clobbered by my
footerSelect's <select> component.
And my footerSelect's <select> component clobbers my headerSelect's component
when their id's are different according to the markup.
So I am wondering if it is a tapestry bug. In general I would like to find out
how one can update an identical another component on the same page. I could
then force this thing to behave correctly.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: [email protected]
Subject: propertyselection not cached
Date: Tue, 9 Oct 2007 15:48:22 -0400
Folks,
I have a propertyselection component rigged with 1,2,3,4,5...
Everytime I select from my propertyselection... the this.form.submit() listener
gets called... but my property gets reset. Nothing sticks...
Gallery.JAVA
public IPage onFormSubmit (IRequestCycle cycle) {
IPage page = cycle.getPage();
return page;
}
Any ideas? My rendering is fine...Template follows:
Best regards
Ken in nashua
<span jwcid="$content$">
<span jwcid="[EMAIL PROTECTED]">
<table width="100%" border=1>
<tr>
<td width="25%" align="left" NOWRAP>
<span jwcid="@Insert" value="Table Size"/>
<select jwcid="@PropertySelection" model="ognl:@[EMAIL
PROTECTED]" value="ognl:tableSize"
onchange="javascript:this.form.submit();"></select>
<span jwcid="@Insert" value="Paging Span"/>
<select jwcid="@PropertySelection" model="ognl:@[EMAIL
PROTECTED]" value="ognl:pagingSpan"
onchange="javascript:this.form.submit();"></select>
</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:(index % tableSize) == 0">
<span jwcid="@Insert" value="</tr><tr>" raw="true"/>
</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>
<form jwcid="[EMAIL PROTECTED]" listener="listener:onFormSubmit">
<div jwcid="@RenderBlock" block="ognl:components.autoPagingContent"/>
<div jwcid="@RenderBlock" block="ognl:components.collectionContent"/>
<div jwcid="@RenderBlock" block="ognl:components.autoPagingContent"/>
</form>
Help yourself to FREE treats served up daily at the Messenger Café. Stop by
today!
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews