|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDebugSettings
Settings interface for various debug settings
componentUseCheck (defaults to true) - Causes the framework to do a check after rendering each page to ensure that each component was used in rendering the markup. If components are found that are not referenced in the markup, an appropriate error will be displayed serializeSessionAttributes (defaults to true in development mode) - Causes the framework to serialize any attribute put into session - this helps find Not Serializable errors early
Method Summary | |
---|---|
boolean |
getComponentUseCheck()
|
boolean |
isAjaxDebugModeEnabled()
Returns status of ajax debug mode. |
boolean |
isLinePreciseReportingOnAddComponentEnabled()
Returns status of line precise error reporting for added components that are not present in the markup: it points to the line where the component was added to the hierarchy in your Java classes. |
boolean |
isLinePreciseReportingOnNewComponentEnabled()
Returns status of line precise error reporting for new components that are not present in the markup: it points to the line where the component was created in your Java classes. |
boolean |
isOutputComponentPath()
|
boolean |
isOutputMarkupContainerClassName()
Returns whether the output of markup container's should be wrapped by comments containing the container's class name. |
void |
setAjaxDebugModeEnabled(boolean enable)
Enables or disables ajax debug mode. |
void |
setComponentUseCheck(boolean check)
Sets componentUseCheck debug settings |
void |
setLinePreciseReportingOnAddComponentEnabled(boolean enable)
Enables line precise error reporting for added components that are not present in the markup: it points to the line where the component was added to the hierarchy in your Java classes. |
void |
setLinePreciseReportingOnNewComponentEnabled(boolean enable)
Enables line precise error reporting for new components that are not present in the markup: it points to the line where the component was created in your Java classes. |
void |
setOutputComponentPath(boolean enabled)
If set to true wicket will output component path in a wicket:path
attribute of the component tag. |
void |
setOutputMarkupContainerClassName(boolean enable)
Enables wrapping output of markup container in html comments that contain markup container's class name. |
Method Detail |
---|
void setOutputComponentPath(boolean enabled)
true
wicket will output component path in a wicket:path
attribute of the component tag. This can be useful for debugging and automating tests.
enabled
- boolean isOutputComponentPath()
true
if output component path feature is enabled, false
otherwisesetOutputComponentPath(boolean)
boolean getComponentUseCheck()
void setComponentUseCheck(boolean check)
check
- void setAjaxDebugModeEnabled(boolean enable)
IDebugSettings
for details
enable
- boolean isAjaxDebugModeEnabled()
IDebugSettings
for
details
void setOutputMarkupContainerClassName(boolean enable)
enable
- boolean isOutputMarkupContainerClassName()
boolean isLinePreciseReportingOnAddComponentEnabled()
void setLinePreciseReportingOnAddComponentEnabled(boolean enable)
enable
- boolean isLinePreciseReportingOnNewComponentEnabled()
void setLinePreciseReportingOnNewComponentEnabled(boolean enable)
enable
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |