我在items.xml中定义了一个新的Itemtype,我期待有一个对应的Model,但是在完成所有蚂蚁清理工作后,我看不到生成的Model
这是定义的项目类型。
<itemtype code="ABCComponent" autocreate="true"
generate="true" extends="SimpleCMSComponent"
jaloclass="de.hybris.platform.bobs.jalo.cms.components.ABCComponent">
<description>Its my first custom component</description>
<attributes>
<attribute type="java.lang.String"
qualifier="valueDescriptionTittle">
<description>Tittle to display for the component</description>
<modifiers read="true" write="true" search="true"
optional="true" />
<persistence type="property"></persistence>
</attribute>
<attribute type="Media"
qualifier="valuePropositionImgDesktop">
<description>The image which can be attached for desktop view to this value proposition component.</description>
<modifiers read="true" write="true" search="true"
optional="true" />
<persistence type="property" />
</attribute>
</attributes>
任何人都可以让我知道哪里出了问题。
答案 0 :(得分:0)
使用您的自定义包装名称(jalo类)作为新商品或不进行设置,系统会自动分配包装名称。
答案 1 :(得分:0)
尝试(对于您需要初始化的项目):
ant clean all initialize