You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Borut BolĨina <bo...@gmail.com> on 2009/06/15 11:08:52 UTC
t:zone inside t:formfragment
Hi,
Is it at all possible to have a Zone inside FormFragment like this?
<t:formfragment visible="inStep4">
<t:block t:id="block1">
<select t:type="Select" t:id="areaCode"
t:model="literal:031,041,051,071,030,040,070,064"
t:value="phoneAreaCode"></select>
<a t:type="actionlink" t:id="block1Action" href="#"
t:zone="myZone">show block 2</a>
</t:block>
<t:block t:id="block2">
<a t:type="actionlink" t:id="block2Action" href="#"
t:zone="myZone">show block 1</a>
</t:block>
<t:zone t:id="myZone">
<t:delegate to="myMode" />
</t:zone>
</t:formfragment>
I am getting
Render queue error in SetupRender[account/SignupWizard:areacode]: The Area
Code component must be enclosed by a Form component when trying to switch
from block 2 to block 1. Switch to block 2 from block 1 works. I am using
5.0.18.
Regards,
Borut