工作框架各种使用整理 -- 页面参数传递
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>
相关文章推荐
- 工作框架各种使用整理 -- 复杂输入参数查询
- 工作框架各种使用整理 -- 返回单条数据的时候如果没有对应的数据会返回输入的参数
- 工作框架各种使用整理 -- 数据格式化
- 工作框架各种使用整理 -- 枚举类型下拉选择
- 工作框架各种使用整理 -- 设置用户访问权限
- mvvm框架下页面与ViewModel的各种参数传递方式
- 工作框架各种使用整理---服务状态变更数据
- 工作框架各种使用整理 --图片上传和下载
- 工作框架各种使用整理---使用Cache
- 工作框架各种使用整理 -- 展示数据列表并做update
- 工作框架各种使用整理 -- 联动
- 工作框架各种使用整理 -- 上传图片文件等
- 工作框架各种使用整理 -- 自己处理分页且输入条件中有过滤条件
- 工作框架各种使用整理---自己处理分页
- 工作框架各种使用整理 --创建的时候使用前面创建成功的输出
- 工作框架各种使用整理---按层次返回相关联的数据
- JSP页面中文传递参数使用escape编码
- 在jsp页面传递参数时,后台接收出错,中文乱码,可以使用两次转码后再传给后台
- Android,使用Intent或Bundle传递参数,跳转页面
- yii框架 widgets 内部传递参数使用方案