Layout 我的第二个布局不起作用(Tapestry 5)

Layout 我的第二个布局不起作用(Tapestry 5),layout,tapestry,Layout,Tapestry,我有两个布局,都在索引页面中工作,但当我给另一个布局时,第二个布局不工作。我不知道问题出在哪里,我是tapestry的新手 我的代码是 <html t:type="layout1" title="accountInfo VideoClub" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter">

我有两个布局,都在索引页面中工作,但当我给另一个布局时,第二个布局不工作。我不知道问题出在哪里,我是tapestry的新手

我的代码是

    <html t:type="layout1" title="accountInfo VideoClub"
        xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
             xmlns:p="tapestry:parameter">
               <head>

  <meta content="yes" name="apple-mobile-web-app-capable"/>
  <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
  <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
   <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0;   
     user-scalable=0;" name="viewport" />

    <title>Video Club</title>

    <link href="./layout/layout.css" type="text/css" rel="stylesheet" />  

     </head>

    <body>

     <div id="wrap"> 

<div id="scroll">

 <ul id="thelist"> 

    <div style="text-align:center;">
    <p><h1>Account info</h1>
    <t:actionlink t:id="getStatus"> <img src="../layout/images 
                      /sub.png"/>          
       </t:actionlink><br/><br/>
    <t:actionlink t:id="getStatuss"> <img src="../layout/images
             /cancel_sub.png"/> </t:actionlink><br/></p>

    </div>

    </ul>
</div>
    </div>
     </body>    

        </html>

视频俱乐部
    帐户信息


没有完整的代码(tml和java),我们帮不了你多少忙

tapestry中的布局组件是普通组件,它们在主体周围呈现一些内容


请将您的代码粘贴到此处。

没有任何代码、错误消息或stacktrace的其他人也一样。“不工作”是对问题的糟糕描述。你期待什么结果?究竟发生了什么?您是否看到任何错误消息?