com.arsdigita.acs
Class TemplateTranslator.MasterHandler

java.lang.Object
  |
  +--com.arsdigita.acs.TemplateTranslator.MasterHandler
Enclosing class:
TemplateTranslator

public static class TemplateTranslator.MasterHandler
extends java.lang.Object

Helper class instantiated to perform the task involved with a master tag.


Constructor Summary
TemplateTranslator.MasterHandler(javax.servlet.jsp.PageContext pc, java.lang.String masterTemplate, java.lang.String slaveUrl, CallStack stack)
          Construct a new MasterUrl handler on a given JSP page context for a certain master template.
 
Method Summary
 boolean run()
          Forward the request to the master template, which will then re-include our present location at its slave tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateTranslator.MasterHandler

public TemplateTranslator.MasterHandler(javax.servlet.jsp.PageContext pc,
                                        java.lang.String masterTemplate,
                                        java.lang.String slaveUrl,
                                        CallStack stack)
Construct a new MasterUrl handler on a given JSP page context for a certain master template.
Parameters:
pc - the PageContext
masterTemplate - the master template
slaveUrl - what we think the slave URL is for this template, which will be re-included by the master template's slave tag
Method Detail

run

public boolean run()
            throws javax.servlet.ServletException,
                   java.io.IOException
Forward the request to the master template, which will then re-include our present location at its slave tag.
Returns:
true if the calling page should keep going; false if it should exit