Plone 如何在TalPortlet中仅显示内容而不是整个HTML代码

Plone 如何在TalPortlet中仅显示内容而不是整个HTML代码,plone,zope,Plone,Zope,我使用collective.portlet.TAL tar文件创建了新的TAL portlet,并将其包含在[main]部分下的packages.cfg文件中。启动实例后,我使用portal_quickinstaller在Zmi中安装了新创建的TAL portlet。使用TAL portlet(从@manage portlets ADD portlet下拉菜单),我添加了一个地址portlet来动态显示我的地址。然后我在TAL代码中使用了这个代码 <div tal:define="add

我使用collective.portlet.TAL tar文件创建了新的TAL portlet,并将其包含在[main]部分下的packages.cfg文件中。启动实例后,我使用portal_quickinstaller在Zmi中安装了新创建的TAL portlet。使用TAL portlet(从@manage portlets ADD portlet下拉菜单),我添加了一个地址portlet来动态显示我的地址。然后我在TAL代码中使用了这个代码

 <div tal:define="address_view context/@@address-view" >
  <span tal:replace="address_view/myaddress" />
</div>
谁能说出TAL代码有什么问题。

使用结构

使用结构

@nirmala在此处查找塔尔文档:;)@nirmala在此处找到TAL文档:;)
      <div> <link rel="stylesheet" type="text/css" href="http://localhost:8086/brunweb2  
      /brunweb//daten/spitaltaetigkeit/daten/ploneCustom.css"> <p></p> <table 
      width="180" border="0"> <tr> <td class="color" align="left" width="165" 
      valign="bottom" style="padding-top: 200px; padding-left: 30px;"> <a 
      href="http://localhost:8086/brunweb2/brunweb//daten/spitaltaetigkeit/daten/praxis
     /lageplan"><u class="TextAdresseSuchBlau">So finden Sie uns </u></a><br> <font 
     class="TextAdresseBlau">Prafhhfhxis<br> Prof. Dr. fdagdsgsdgsdgsdgdg<br>
     <br>hdfhgfhgfhgfj 30<br>3011 skm <br><br></font> <font 
     class="TextAdresseBlau">Tel:5745745745<br>Fax:574574577</font><br> <a 
     href="mailto:ssasdf.gsdgg@fgf.ch" 
     class="TextAdresseBlau">ssasdf.gsdgg@fgf.cha> </td> </tr> </table> </div> 
   So finden Sie uns Prafhhfhxis
   Prof. Dr. fdagdsgsdgsdgsdgdg
   hdfhgfhgfhgfj 30
   3011 skm 
   Tel: 746 4646 43
   Fax:6346 63463
   ssasdf.gsdgg@fgf.ch