wicket.settings
Interface IDebugSettings

All Known Implementing Classes:
Settings

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 devel mode) - Causes the framework to serialize any attribute put into session - this helps find Not Serializable errors early

Author:
Igor Vaynberg (ivaynberg)

Method Summary
 boolean getComponentUseCheck()
           
 boolean getSerializeSessionAttributes()
           
 boolean isAjaxDebugModeEnabled()
          Returns status of ajax debug mode.
 void setAjaxDebugModeEnabled(boolean enable)
          Enables or disables ajax debug mode.
 void setComponentUseCheck(boolean check)
          Sets componentUseCheck debug settings
 void setSerializeSessionAttributes(boolean serialize)
          Sets the seriaalize session attributes setting
 

Method Detail

getComponentUseCheck

boolean getComponentUseCheck()
Returns:
true if componentUseCheck is enabled

setComponentUseCheck

void setComponentUseCheck(boolean check)
Sets componentUseCheck debug settings

Parameters:
check -

setAjaxDebugModeEnabled

void setAjaxDebugModeEnabled(boolean enable)
Enables or disables ajax debug mode. See IAjaxSettings for details

Parameters:
enable -

isAjaxDebugModeEnabled

boolean isAjaxDebugModeEnabled()
Returns status of ajax debug mode. See IAjaxSettings for details

Returns:
true if ajax debug mode is enabled, false otherwise

setSerializeSessionAttributes

void setSerializeSessionAttributes(boolean serialize)
Sets the seriaalize session attributes setting

Parameters:
serialize -

getSerializeSessionAttributes

boolean getSerializeSessionAttributes()
Returns:
true if serialize session attributes is enabled, false otherwise


Copyright © 2004-2007 Wicket developers. All Rights Reserved.