Cernunnos Manual


<return>

Description:

Sets the return value of the current Cernunnos operation to the specified VALUE.

Reagents:

Name XPath Description Reagent Type Expected Type Required
VALUE @value Object that will be returned by the current Cernunnos operation. PHRASE java.lang.Object Yes

Examples:

Creates a new Grammar object, adds the <request-dispatcher> entry, then returns it to the caller of this Cernunnos XML:

 
       
        <grammar> 
          <entries> 
            <entry impl="org.danann.cernunnos.runtime.web.RequestDispatcherTask" name="request-dispatcher"> 
              <description> 
                <p>Include the specified resource using a PortletRequestDispatcher.</p> 
              </description> 
            </entry> 
          </entries>  
          <subtasks> 
            <return value="${grammar()}"/> 
          </subtasks> 
        </grammar>