当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > Delete 属性

APPML
AppML HTML 报告
AppML 过滤函数
AppML HTML 列表
AppML HTML 表单
AppML XML 报告

APPML 中的 Delete 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 306 ::
收藏到网摘: n/a

For HTML list:
对于HTML列表:

The delete attribute removes the "Delete" button (garbage can) from the HTML list.
作用:从HTML列表中删除“Delete [删除]”按钮(垃圾筒图形)。

Note: Only available in an editable HTML list.
注意:仅能在一个可编辑的HTML列表中使用。

For HTML form:
对于HTML表单:

The delete attribute disables the "Delete" button in the HTML input form.
删除属性取消了HTML输入表单中“Delete [删除]”按钮的使用。


Examples
案例

Remove the "Delete" button from the HTML list:
删除HTML列表中的“Delete [删除]”按钮:

<?xml version="1.0" ?>
<appml>
<database>
<connection>northwind</connection>
<keyfield type="text">customerid</keyfield>
<maintable>customers</maintable>
<sql>SELECT CompanyName,ContactName,City FROM Customers</sql>
</database>
<htmllist edit="true" delete="false" />
</appml>

View the output produced by the AppML HTML List Service
查看由AppML HTML 报告服务输出的结果

View the XML source file
查看XML 源文件

Disable the "Delete" button in the HTML form:
取消
HTML表单中的“Delete [删除]”按钮:

<?xml version="1.0" ?>
<appml>
<database>
<connection>northwind</connection>
<keyfield type="text">customerid</keyfield>
<maintable>customers</maintable>
<sql>SELECT CompanyName,ContactName,City FROM Customers</sql>
</database>
<htmllist />
<htmlform delete="false" />
</appml>

View the output produced by the AppML List and Form Service
查看由AppML HTML 报告服务输出的结果

View the XML source file
查看XML 源文件


评论 (0) All

登陆 | 还没注册?