Newbie to Tapestry, any help would be much appreciated.
I have a Foreach component, and want the value binding to be bound to
another component on the same page.
Here's what i want to achieve:
      <component id="boxesList" type="Foreach">
            <binding name="source" value="htmlBoxesAsStringsList" />
            <binding name="value" value="components.textDisplayed" />
            <binding name="index" value="boxesIndex" />
      </component>
      .....
      .....
      <component id="textDisplayed" type="Insert">
            <binding name="value" expression="insertText" />
      </component>

Currently, getInsertText() in my code returns the same String every time,
BUT my goal is return something different based on the Foreach's index.
AND, my ultimate goal is to not use an "Insert" component, but a much more
complex custom component that still bases its actions on the Foreach's
index.

The exception being thrown is a net.sf.tapestry.ReadOnlyBindingException
which seems somewhat *reasonable*.......
I feel the answer is right under my nose, and i'll kick myself later for
this, but any advice would be greatly appreciated.

Thanks,
marc




-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to