Cernunnos Manual


${grammar()}

Description:

Returns a reference to the Grammar object that created this phrase.

Reagents:

Name XPath Description Reagent Type Expected Type Required

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>