atg.web
Class PageFragment
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.logging.ApplicationLoggingImpl
atg.web.PageFragment
- All Implemented Interfaces:
- ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging
public class PageFragment
- extends ApplicationLoggingImpl
This class is used to provide information necessary to construct a page fragment. Using this class a property file
will be created to hold all necessary information for a page fragment. This page fragment will be used in the jsp
pages and page fragment could be dynamically changed to point different url by over riding the property file.
Here is the example use of the page fragment:
<dsp:include page="${pageFrag.URL}" otherContext="${pageFrag.servletContext}"/>
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Method Summary |
java.lang.String |
getServletContext()
Returns the context root of the page fragment |
java.lang.String |
getURL()
Returns the URL of the page fragment |
void |
setServletContext(java.lang.String pServletContext)
Sets the context root of the page fragment |
void |
setURL(java.lang.String pUrl)
Sets the URL of the page fragment |
Methods inherited from class atg.nucleus.logging.ApplicationLoggingImpl |
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLoggingIdentifier, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarning |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static final java.lang.String CLASS_VERSION
- See Also:
- Constant Field Values
mServletContext
protected java.lang.String mServletContext
mURL
protected java.lang.String mURL
PageFragment
public PageFragment()
getServletContext
public java.lang.String getServletContext()
- Returns the context root of the page fragment
- Returns:
- the servletContext
setServletContext
public void setServletContext(java.lang.String pServletContext)
- Sets the context root of the page fragment
- Parameters:
pServletContext
- the servletContext to set
getURL
public java.lang.String getURL()
- Returns the URL of the page fragment
- Returns:
- the uRL
setURL
public void setURL(java.lang.String pUrl)
- Sets the URL of the page fragment
- Parameters:
pUrl
- the uRL to set