|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.dojo.AjaxShellDelegate
public class AjaxShellDelegate
The default rendering delegate responseible for include the
dojo sources into the Shell component.
| Field Summary | |
|---|---|
static String |
BROWSER_LOG_CRITICAL
Client side critical log level. |
static String |
BROWSER_LOG_DEBUG
Client side debug log level. |
static String |
BROWSER_LOG_ERROR
Client side error log level. |
static String |
BROWSER_LOG_INFO
Client side info log level. |
static String |
BROWSER_LOG_WARNING
Client side warning log level. |
| Constructor Summary | |
|---|---|
AjaxShellDelegate()
|
|
| Method Summary | |
|---|---|
void |
render(IMarkupWriter writer,
IRequestCycle cycle)
The principal rendering/rewinding method. |
void |
setAssetService(IEngineService service)
Injected asset service. |
void |
setDebug(boolean debug)
Allows for turning browser debugging on/off. |
void |
setDebugContainerId(String debugContainerId)
Sets the html element node id of the element you would like all browser debug content to go to. |
void |
setDojoPath(IAsset dojoPath)
Sets the dojo baseRelativePath value. |
void |
setDojoSource(IAsset dojoSource)
Sets a valid path to the base dojo javascript installation directory. |
void |
setLogLevel(String level)
Sets the dojo logging level. |
void |
setParseWidgets(boolean parseWidgets)
Tells dojo whether or not to parse widgets by traversing the entire dom node of your document. |
void |
setTapestrySource(IAsset tapestrySource)
Sets a valid base path to resolve tapestry.js. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BROWSER_LOG_DEBUG
public static final String BROWSER_LOG_INFO
public static final String BROWSER_LOG_WARNING
public static final String BROWSER_LOG_ERROR
public static final String BROWSER_LOG_CRITICAL
| Constructor Detail |
|---|
public AjaxShellDelegate()
| Method Detail |
|---|
public void render(IMarkupWriter writer,
IRequestCycle cycle)
Renderring and rewinding are the exact same process. The same code that renders must be able to restore state by going through the exact same operations (even though the output is discarded).
render in interface IRenderpublic void setLogLevel(String level)
level - The string constant for the level, valid values
are:
public void setDebug(boolean debug)
debug - If false, no logging output will be written.public void setDebugContainerId(String debugContainerId)
debugContainerId - the debugContainerId to setpublic void setParseWidgets(boolean parseWidgets)
parseWidgets - the parseWidgets to setpublic void setDojoSource(IAsset dojoSource)
dojoSource - public void setDojoPath(IAsset dojoPath)
dojoPath - public void setTapestrySource(IAsset tapestrySource)
tapestrySource - public void setAssetService(IEngineService service)
service -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||