When an ActionLink is wrapping an element instead of text and is linking to
a zone, it's not working any more in t5.4. I am using the latest code.

For example:

        <t:zone id="zone1">
            <p>Zone1</p>
        </t:zone>
        <p/>
        <p>
            <t:actionlink t:id="link1" zone="zone1">
                <span>link1</span>
            </t:actionlink>
        </p>

Exception is the typical one:

*A component event handler method returned the value Block[block1 within
Test1, at classpath:org/ss/app1/pages/Test1.tml, line 10]. Return type
org.apache.tapestry5.internal.structure.BlockImpl can not be handled.*
Looks like when call the function zone.findZone, passed parameter is
<span>, not <a>.

Regards,
Yunhua

Reply via email to