No idea why that template code got mangled, here's another try. (grumble...MS 
outlook...grumble)


I have a loop in a form like this:

<t:checkbox t:id="additionalLimits" value="additionalLimits"/>
<t:label for="additionalLimits">
    ${message:additionalLimits}
    <t:loop source="fieldLimiters" value="fieldLimiter" index="var:index">
        <t:if test="var:index">; </t:if>
        ${fieldLimiterName} ${fieldLimiterValues}
    </t:loop>
</t:label>

 
> Which is just to display a label for a checkbox correctly, this loop
> doesn't contain any form elements so it shouldn't affect the form
> submission at all. However when the form is submitted, I get this
> error:
> 
> Failure writing parameter 'index' of component
> Results:basicsearchbox.loop: Component Results:basicsearchbox is not
> rendering, so render variable 'index' may not be updated.
> 
> This is easily fixed by using an index property in the java class, but
> I don't see why I can't use a render variable because this loop should
> be ignored by the form processing - Howard do you disagree or is this a
> bug?
> 
> Thanks,
> 
> Andy.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to