<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//MAKUMBA//DTD Documentation V2.0//EN" "document-v20-mak.dtd"><document>
    <header>
        <title>mak:response tag documentation</title>
    </header>
    <body>
        <section id="description">
      
      
          <title>Description</title>      <p>
    &lt;mak:response/&gt; prints information about the results of the actions that were performed by the makumba
    controller (e.g. for a form submit or deleteLink): It either displays the message="..." parameter of the form tag
    (in green) in case of success, or (in red) the message of a uncaught LogicException resulting from Business Logic.
    Other exception types will provoke an exception page.
    </p>      <p>
    The unformatted message is available as request-scope attribute makumba.response. The jsp page can get hold of the
    message using e.g.</p>      <source><![CDATA[<% String s = (String) request.getAttribute("makumba.response") %>]]></source>      <p>
    Similarly, request-scope attribute
            <code>makumba.successfulResponse</code> is set only in case of successful action execution.
      </p>      <source><![CDATA[<% if (null == request.getAttribute("makumba.successfulResponse")) { /* action failed */ } %>]]></source>    </section>
        <section id="attributes">
            <title>Attributes</title>
            <p>This tag has no attributes</p>
        </section>
        <section id="example">
      
          <title>Example</title>      <source>
      <![CDATA[
<mak:response />
      ]]>
  </source>    </section>
        <section id="seeAlso">
            <title>See also</title>
            <ul>
                <li>
                    <a href="/doc/taglib/makaction.html">mak:action</a>
                </li>
                <li>
                    <a href="/doc/taglib/makform.html">mak:form</a>
                </li>
                <li>
                    <a href="/doc/taglib/maknewForm.html">mak:newForm</a>
                </li>
                <li>
                    <a href="/doc/taglib/makaddForm.html">mak:addForm</a>
                </li>
                <li>
                    <a href="/doc/taglib/makeditForm.html">mak:editForm</a>
                </li>
                <li>
                    <a href="/doc/taglib/makdeleteLink.html">mak:deleteLink</a>
                </li>
                <li>
                    <a href="/doc/taglib/makdelete.html">mak:delete</a>
                </li>
            </ul>
        </section>
    </body>
</document>