您的位置:首页 > 其它

工作框架各种使用整理 -- 页面参数传递

2016-08-14 16:22 483 查看


<transitionname="createProductRecommend">
<service-callname="create#mantle.product.category.ProductCategoryMember"in-map="productId:productId,productCategoryId:'SANG_ServiceRecommend',fromDate:ec.user.nowTimestamp"/>
<default-responseurl="."></default-response>
</transition>

<transitionname="delete">
<actions>
<entity-delete-by-conditionentity-name="mantle.product.category.ProductCategoryMember">
<econditionfield-name="productId"from="productId"/>
<econditionfield-name="productCategoryId"value="SANG_ServiceRecommend"/>
</entity-delete-by-condition>
</actions>
<default-responseurl="."></default-response>
</transition>
<actions>
<entity-findentity-name="mantle.product.category.ProductCategoryMember"list="pcmList">
<date-filter/>
<econditionfield-name="productCategoryId"value="SANG_ServiceRecommend"/>
</entity-find>
<entity-findentity-name="mantle.product.Product"list="recommendList">
<search-form-inputsdefault-order-by="^productName"/>
<econditionfield-name="productId"operator="in"from="pcmList.productId"/>
</entity-find>
</actions>


<widgets>
<container-dialogid="CreateProductRecommend"button-text="添加推荐服务">
<form-singlename="CreateProductRecommend"transition="createProductRecommend">
<fieldname="productId"><default-fieldtitle="服务名称">
<drop-down>
<entity-optionskey="${productId}"text="${productName}">
<entity-findentity-name="mantle.product.Product">
<order-byfield-name="productName"/></entity-find>
</entity-options>
</drop-down>
</default-field></field>
<fieldname="submitButton"><default-field><submitconfirmation="ReallyAdd?"/></default-field></field>
</form-single>
</container-dialog>

<form-listname="ListProductRecommend"list="recommendList">
<fieldname="productId">
<header-fieldtitle="服务标识"show-order-by="true"><text-findsize="45"hide-options="true"/></header-field>
<default-field><displayalso-hidden="false"/></default-field>
</field>
<fieldname="productName">
<header-fieldtitle="服务名"show-order-by="true"><text-findsize="45"hide-options="true"/></header-field>
<default-field><displayalso-hidden="false"/></default-field>
</field>
<fieldname="statusId">
<header-fieldtitle="服务状态"show-order-by="true"><text-findsize="25"hide-options="true"/></header-field>
<default-field><displayalso-hidden="false"/></default-field>
</field>

<fieldname="delete">
<header-fieldtitle="查找"><submit/></header-field>
<default-field>
<linkurl="delete"text="删除"confirmation="ReallyDelete?"parameter-map="[productId:productId]"/>
</default-field>
</field>
<form-list-column><field-refname="productId"/></form-list-column>
<form-list-column><field-refname="productName"/></form-list-column>
<form-list-column><field-refname="statusId"/></form-list-column>
<form-list-column><field-refname="delete"/></form-list-column>
</form-list>
</widgets>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: