Java Doc for HtmlPageBase.java in » J2EE » Sofia » com » salmonllc » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation
public void applySkin(Skin skin, boolean doSetTheme)(Code)
Applies the skin to the page. This method is called from the framework and should not be called directly. Instead use setSkin(Skin sk)
clearDefaultSkin
public void clearDefaultSkin(boolean forAllApps)(Code)
Removes a default skin set by calling the setDefaultSkinMethod
Parameters: forAllApps - true if you want to clear the skin for all applications on the server, false if only for the app the component is in.
This method sets whether or not the page will generate full html. Setting the property to false will cause the page to only generate the html in the contained components and not any headers or footers.
This method returns the original name of the application if application alaising is used. In that case getApplicationName will return the name of the alias and getOrigApplication name will get the "real" name of the application. If aliasing isn't used, they will both return the same value.
This method should be overridden in subclasses of the page class. In the method, HTML components should be created and placed in the page, listeners registered and any other initialization tasks should be performed.
This method will set an alias for the current application for the current user session. Every page created in this application after this method is called will have its application name initialized to the specified alias name instead of the application name. This will cause the application to use a different property file to load page and component properties.
setApplicationAlias
public void setApplicationAlias(String applicationAlias)(Code)
This method will set an alias for the current application for the current user session. Every page created in this application after this method is called will have its application name initialized to the specified alias name instead of the application name. This will cause the application to use a different property file to load page and component properties.
Called By the framework to on each request to set the servlet response. This method should not be called directly.
setCurrentResponse
public void setCurrentResponse(ActionResponse res, ActionRequest req)(Code)
Called By the framework to on each request to set the servlet response. This method should not be called directly.
setDefaultSkin
public void setDefaultSkin(Skin skin, boolean forAllApps)(Code)
Sets the Default Skin for all pages. To apply the skin to pages already created you should clear them from the session after making this call.
Parameters: skin - the Skin to set Parameters: forAllApps - true if you want to set the skin for all applications on the server, false if only for the app the component is in.
setDisableRedirect
public void setDisableRedirect(boolean bRedirect)(Code)
This method sets whether or not the page will do a redirect for each submit. The redirect prevents browsers from displaying a page expired message when the user clicks the back button.
Parameters: bRedirect - boolean
setForwardPerformed
public void setForwardPerformed(boolean forwardPerformed)(Code)
This method is called by the framework and should not be called directly
setGenerateFullHTML
public void setGenerateFullHTML(boolean gen)(Code)
This method sets whether or not the page will generate full html. Setting the property to false will cause the page to only generate the html in the contained components and not any headers or footers.