I'm getting a complaint about my p:else not being in a component after I 
refactored some to pull my navigation menus from layout down into a menu 
component. 

 It works with this header:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
      xmlns:p="tapestry:parameter">

but not with this header:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_2_0.xsd";
      xmlns:p="tapestry:parameter">


  <!-- stuff omitted -->

      <t:block id="currentSubMenu"> 
            <ul>
                <t:if test="matchingMenu.isBreadCrumb">
                      bar
                    <p:else>
                        foo
                    </p:else>
                </t:if>
            </ul>
        </t:block>

 

 Pierce

Reply via email to