|
||||||||||
| 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 java.lang.String |
BROWSER_LOG_CRITICAL
Client side critical log level. |
static java.lang.String |
BROWSER_LOG_DEBUG
Client side debug log level. |
static java.lang.String |
BROWSER_LOG_ERROR
Client side error log level. |
static java.lang.String |
BROWSER_LOG_INFO
Client side info log level. |
static java.lang.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 |
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(java.lang.String level)
Sets the dojo logging level. |
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 java.lang.String BROWSER_LOG_DEBUG
public static final java.lang.String BROWSER_LOG_INFO
public static final java.lang.String BROWSER_LOG_WARNING
public static final java.lang.String BROWSER_LOG_ERROR
public static final java.lang.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(java.lang.String level)
level - The string constant for the level, valid values
are:
public 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 | |||||||||