Taglib documentation for tag mak:deleteLink#
Description#
The usage of <mak:deleteLink> is deprecated, and should be replaced by the equivalent: <mak:delete widget="link">
.
Attributes#
Name | Required | Runtime expression | Description | Comments |
---|---|---|---|---|
object (from mak:delete) |
true | false | MQL label of the object to delete
.![]() |
. ![]() |
action (from mak:form) |
false | true | the response page of the form
.![]() |
Mandatory if a <mak:action> is absent
.![]() |
message (from mak:form) |
false | true | the message that is displayed in the response page upon success
.![]() |
Defaults to "changes done".
.![]() |
widget | false | true | UI element of the delete
.![]() |
Can be one of button or link; defaults to link.
.![]() |
method (from mak:form) |
false | true | the HTTP method (get or post)
.![]() |
Defaults to get
.![]() |
preserveWhitespace (from mak:delete) |
false | true | All white space inside a <mak:delete> will be trimmed, unless specifically preserved.
.![]() |
Can be one of true or false; defaults to false.
.![]() |
target (from mak:form) |
false | true | Form-specific HTML tag attribute
(generic) |
The content is copied to the resulting <form...> tag. Careful with (escaping) quotes.
(generic)
|
styleId (from mak:form) |
false | true | Generic HTML tag attribute
.![]() |
results in id="..."
.![]() |
styleClass (from mak:form) |
false | true | Generic HTML tag attribute
.![]() |
results in class="..."
.![]() |
style (from mak:form) |
false | true | Generic HTML tag attribute
(generic) |
The content is copied to the resulting html tag. Careful with (escaping) quotes.
(generic)
|
title (from mak:form) |
false | true | ||
onClick (from mak:form) |
false | true | ||
onDblClick (from mak:form) |
false | true | ||
onKeyDown (from mak:form) |
false | true | ||
onKeyUp (from mak:form) |
false | true | ||
onKeyPress (from mak:form) |
false | true | ||
onMouseDown (from mak:form) |
false | true | ||
onMouseUp (from mak:form) |
false | true | ||
onMouseMove (from mak:form) |
false | true | ||
onMouseOut (from mak:form) |
false | true | ||
onMouseOver (from mak:form) |
false | true |
See also#
mak:form, mak:newForm, mak:addForm, mak:editForm, mak:delete
Examples#
<mak:object from="company.Employee e, e.projects p" where="e=$employee AND p.project.name=$projectName"> <mak:deleteLink object="p" action="employeeView.jsp"> Delete <mak:value expr="p.project.name"/> </mak:deleteLink> </mak:object>
