Domino JSP Tags -deletedoc

    在页面上产生一个链接,用于删除当前文档,并且显示下一个文档当表单上定义了"nextdoc"标签时。如果没有"nextdoc"标签或者在定义的视图中没有剩余文档时,页面将转向用"validhref"定义的地址。如果没有"validhref"属性定义支持,the page specified in the validhref attribute for the form containing this tag displays instead. -此句不会翻译。
    JSP tags不支持软删除。如果当前用户没有权限删除文档,这个标签将无效。
注释:当用户点击这个标签产生的HTML文字链接时,页面将会重新载入。如果你想保留传入页面的一些参数。你必须使用"preserve tag"标签为每一个你想保存的参数,否则当页面重载时,参数将会丢失。
注释:如果包含这个标签的页面被其它页面用<jsp:include>标签包含时,validhref属性将会无效。

标签详解:
   必须在form标签中使用:<domino:form><domino:deletedoc></domino:deletedoc></domino:form>
 语法:
   <domino:deletedoc
   text="button label"
showdisabled="true|false"
validhref="link to go to"
debug="true|false"
onfailure="inline|exception"
time="true|false"
The standard HTML tag attributes listed below>
Attributes
The following attributes are optional:
text
Text for button label. If not specified, displays the body of the tag as a label. If no body exists, defaults to the text Delete. To localize the text, supply replacement arguments using the (1)msg tag in the body of the deletedoc tag.
showdisabled
Indicates whether or not the link should be generated if the current document has not been saved yet. If you want to display the link using an icon, include an HTML <img> tag referencing an image file in the body of the tag. Include a disabled image using the (2)docnavimg tag. Default is false.
validhref
Overrides the validhref attribute of the form tag to indicate where the request should be redirected to as the current document is deleted. 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值