Hi there,
 
I want to develope a component, the wrapped of which can be put on top or bottom of itself. The following is the template file:
 
 <table>
  <span jwcid="onTop">
   <tr><span jwcid="wrapped"/></tr>
  </span>
  
  <span jwcid="titled">  
   <tr>
       <td jwcid="et"><span jwcid="titleItem"/></td>
   </tr>
  </span>
  
  <tr jwcid="e">
      <td jwcid="ed"><span jwcid="dataItem"/></td>
  </tr>
 
  <span jwcid="onBottom">
   <table><span jwcid="wrapped"/></table>
  </span>
 </table>
 
wrapped is InsertWrapped component. onTop and onBottom are both Conditional components. Only and just one of them can be true. But the tapestry complains:
Template for component Home/datagrid contains multiple references to embedded component wrapped.
 
How to resolve this problem?
 
Thanks
 
 

Reply via email to