<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//MAKUMBA//DTD Documentation V2.0//EN" "document-v20-mak.dtd"><document>
    <header>
        <title>mak:delete tag documentation</title>
    </header>
    <body>
        <section id="description">
      
      
          <title>Description</title>      <p>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 &lt;mak:object&gt; or &lt;mak:list&gt;
</p>    </section>
        <section id="attributes">
            <title>Attributes</title>
            <table>
                <tr>
                    <th>Name</th>
                    <th>Required</th>
                    <th>Request-time</th>
                    <th>Description</th>
                    <th>Comments</th>
                </tr>
                <tr>
                    <td>object</td>
                    <td class="center required">true</td>
                    <td class="center">false</td>
                    <td>OQL label of the object to delete</td>
                    <td>Fixed</td>
                </tr>
                <tr>
                    <td>action</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>the response page of the form</td>
                    <td>Mandatory if a &lt;mak:action&gt; is absent</td>
                </tr>
                <tr>
                    <td>message</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>the message that is displayed in the response page upon success</td>
                    <td>Fixed. Defaults to "changes done".</td>
                </tr>
                <tr>
                    <td>widget</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>UI element of the delete</td>
                    <td>Fixed, can be one of button or link; defaults to link.</td>
                </tr>
                <tr>
                    <td>method</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>the HTTP method (get or post)</td>
                    <td>Defaults to get</td>
                </tr>
                <tr>
                    <td>preserveWhitespace</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>All white space inside a &lt;mak:delete&gt; will be trimmed, unless specifically preserved.</td>
                    <td>Fixed, can be one of true or false; defaults to false.</td>
                </tr>
                <tr>
                    <td>target</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>Form-specific HTML tag attribute</td>
                    <td>The content is copied to the resulting &lt;form...&gt; tag. Careful with (escaping) quotes.</td>
                </tr>
                <tr>
                    <td>name</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>the name of the form</td>
                    <td/>
                </tr>
                <tr>
                    <td>styleId</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>Generic HTML tag attribute</td>
                    <td>results in id="..."</td>
                </tr>
                <tr>
                    <td>styleClass</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td>Generic HTML tag attribute</td>
                    <td>results in class="..."</td>
                </tr>
                <tr>
                    <td>style</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                    <td rowspan="12" class="generic">Generic HTML tag attribute</td>
                    <td rowspan="12" class="generic">The content is copied to the resulting html tag. Careful with (escaping) quotes.</td>
                </tr>
                <tr>
                    <td>title</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onClick</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onDblClick</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onKeyDown</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onKeyUp</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onKeyPress</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onMouseDown</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onMouseUp</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onMouseMove</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onMouseOut</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
                <tr>
                    <td>onMouseOver</td>
                    <td class="center">false</td>
                    <td class="center">true</td>
                </tr>
            </table>
        </section>
        <section id="example">
      
          <title>Example</title>      <source>
      <![CDATA[
<mak:object from="best.Student s, s.languages l" where="s=$student AND l.lang.name=$langname">
    <mak:delete object="l" action="studentView.jsp">
        Delete <mak:value expr="l.lang.name"/>
    </mak:delete>
</mak:object>
      ]]>
  </source>    </section>
    </body>
</document>