| java.lang.Object org.millstone.webadapter.WebApplicationContext
WebApplicationContext | public class WebApplicationContext implements ApplicationContext(Code) | | Web application context for Millstone applications.
author: IT Mill Ltd. version: 3.1.1 since: 3.1 |
WebApplicationContext | WebApplicationContext(HttpSession session)(Code) | | Create a new Web Application Context.
|
addTransactionListener | public void addTransactionListener(TransactionListener listener)(Code) | | |
getBaseDirectory | public File getBaseDirectory()(Code) | | |
getHttpSession | public HttpSession getHttpSession()(Code) | | Get the http-session application is running in.
HttpSession this application context resides in |
getWindowFormAction | public String getWindowFormAction(Window window)(Code) | | Get the form action for given window.
By default, this action is "", which preserves the current url. Commonly
this is wanted to be set to application.getUrl().toString()
or window.getUrl().toString() in order to clean any
local links or parameters set from the action.
Parameters: window - Window for which the action is queried Action to be set into Form action attribute |
hashCode | public int hashCode()(Code) | | |
removeTransactionListener | public void removeTransactionListener(TransactionListener listener)(Code) | | |
setWindowFormAction | public void setWindowFormAction(Window window, String action)(Code) | | Set the form action for given window.
By default, this action is "", which preserves the current url. Commonly
this is wanted to be set to application.getUrl().toString()
or window.getUrl().toString() in order to clean any
local links or parameters set from the action.
Parameters: window - Window for which the action is set Parameters: action - New action for the window. |
|
|