SAPUI5中的标准文件和通用文件

SAPUI5中的标准文件和通用文件,sapui5,Sapui5,我是否可以将标准磁贴和通用磁贴放入同一磁贴容器 我尝试不成功。是的,您可以这样做,您必须将其放入这样的自定义互动程序中: <CustomTile class="myCustomTile"> <content> <suite:GenericTile size="M" frameType="TwoByOne" press="press" backgroundImage="data/NewsIma

我是否可以将
标准磁贴
通用磁贴
放入同一
磁贴容器


我尝试不成功。

是的,您可以这样做,您必须将其放入这样的自定义互动程序中:

<CustomTile class="myCustomTile">  
  <content>  
  <suite:GenericTile   
     size="M"   
     frameType="TwoByOne"  
     press="press"  
     backgroundImage="data/NewsImage1.png">  
     <suite:tileContent>  
       <suite:TileContent footer="August 21, 2013" size="M">  
         <suite:content>  
           <suite:NewsContent   
             size="M"   
             contentText="SAP Unveils Powerful New Player Comparison Tool Exclusively on NFL.com"   
             subheader="SAP News">  
           </suite:NewsContent>  
         </suite:content>  
       </suite:TileContent>  
     </suite:tileContent>  
   </suite:GenericTile>  
  </content>  
  </CustomTile>  


请在

上查看此帖子,向我们展示您的尝试,然后我们可能会提供帮助。
standardile
TileContainer
现已弃用(自1.50版起)。根据,应使用您选择的带有
GenericTile
的容器。