Taglib documentation for tag mak:delete#
Description#
Produces a form or a link to an action page that will delete the object indicated by any of the labels of the mandatory enclosing <mak:object> or <mak:list>
.
Attributes#
| Name | Required | Runtime expression | Description | Comments |
|---|---|---|---|---|
| object | 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 | 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 |
Examples#
<mak:object from="company.Employee e, e.projects p" where="e=$employee AND p.name=$projectName">
<mak:delete object="p" action="employeeView.jsp">
Delete <mak:value expr="p.project.name"/>
</mak:delete>
</mak:object>