<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">

<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <header>
    <title>mak:attribute tag documentation</title>
  </header>
  <body>
    <section id="attributes">
      <title>Attributes</title>
      <table>
        <tr>
          <th colspan="1" rowspan="1">Name</th>
          <th colspan="1" rowspan="1">Required</th>
          <th colspan="1" rowspan="1">rt expression value</th>
          <th colspan="1" rowspan="1">Description</th>
        </tr>
        <tr>
          <td colspan="1" rowspan="1">name</td>
          <td colspan="1" rowspan="1">true</td>
          <td colspan="1" rowspan="1">false</td>
          <td colspan="1" rowspan="1">the name of the attribute. Will be printed if var is not present and there is no exception when finding the argument. If there is an exception but exceptionVar is indicated, nothing will be printed.</td>
        </tr>
        <tr>
          <td colspan="1" rowspan="1">var</td>
          <td colspan="1" rowspan="1">false</td>
          <td colspan="1" rowspan="1">false</td>
          <td colspan="1" rowspan="1">The name of the java.lang.Object variable where to store the attribute value. Note that you will have to cast it to its specific type.</td>
        </tr>
        <tr>
          <td colspan="1" rowspan="1">exceptionVar</td>
          <td colspan="1" rowspan="1">false</td>
          <td colspan="1" rowspan="1">false</td>
          <td colspan="1" rowspan="1">The name of the created java.lang.Throwable variable that will hold eventual exceptions raised when trying to compute the attribute. If exceptionVar is missing, any raised exception will stop page execution. If it is present, and AttibuteNotFoundException occurs, the attribute is set to null (so a next request for the attribute will return null)</td>
        </tr>
        <tr>
          <td colspan="1" rowspan="1">db</td>
          <td colspan="1" rowspan="1">false</td>
          <td colspan="1" rowspan="1">true</td>
          <td colspan="1" rowspan="1">The database in which the business logic (if any) will compute the attribute. The default database is normally used.</td>
        </tr>
      </table>
    </section>
    <section id="example">
  
      <title>Example</title>
  
      <p/>
  
      <p>
    
        <code/>
  
      </p>
    </section>  </body></document>