我的第二个布局不工作(挂毯5)



我有两个布局,两者都在索引页工作,但当我给另一个第二个不工作。我不知道有什么问题,我是挂毯的新手。

我的代码是

    <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>

没有完整的代码(html和java),我们无法帮助你。

tapestry中的布局组件是普通组件,它们在其周围渲染一些内容。

请将您的代码粘贴到这里。