Serialized Form
desiredPattern
java.lang.String desiredPattern
dispatchPath
java.lang.String dispatchPath
noCache
boolean noCache
- if true, the no cache headers will be set
setNullForEmptyString
boolean setNullForEmptyString
- If we get an empty string, should it be translated to a null (true) or should
the empty String be kept (false). This property is true by default
includeControllerParameters
boolean includeControllerParameters
- Indicates whether the configuration parameters of the controller
should be used for the population process.
This property is false by default.
The order in which parameters/ attributes are used for population:
1. controller parameters (if includeControllerParameters == true)
2. session attributes (if includeSessionAttributes == true)
3. request parameters
4. request attributes (if includeRequestAttributes == true)
A map with parameters for the population process is filled in the above order, which
means that every step can overwrite it's predecessor.
includeSessionAttributes
boolean includeSessionAttributes
- Indicates whether the session attributes of the current session
should be used for the population process.
This property is false by default.
The order in which parameters/ attributes are used for population:
1. controller parameters (if includeControllerParameters == true)
2. session attributes (if includeSessionAttributes == true)
3. request parameters
4. request attributes (if includeRequestAttributes == true)
A map with parameters for the population process is filled in the above order, which
means that every step can overwrite it's predecessor.
includeRequestAttributes
boolean includeRequestAttributes
- Indicates whether the attributes of the current request
should be used for the population process.
This property is false by default.
The order in which parameters/ attributes are used for population:
1. controller parameters (if includeControllerParameters == true)
2. session attributes (if includeSessionAttributes == true)
3. request parameters
4. request attributes (if includeRequestAttributes == true)
A map with parameters for the population process is filled in the above order, which
means that every step can overwrite it's predecessor.
doFormValidationIfFieldValidationFailed
boolean doFormValidationIfFieldValidationFailed
- Indicates whether the form validators should be executed when one of the
field validators failed. Default == true
doPerformIfPopulationFailed
boolean doPerformIfPopulationFailed
- Indicates whether the perform method of the control should be executed,
even if population/ validation failed.
Use this only in very special cases; extended usage will
probably result in messy code.
Default == false
reuseFormBeanContext
boolean reuseFormBeanContext
- Indicates whether the form bean context should be reused for multiple invocations
within the same request.
Default is true.
saveReqParamsAsOverrideFieldsOnError
boolean saveReqParamsAsOverrideFieldsOnError
- If population or validation fails and this property is true,
all request parameters will be saved as override values. This
will give you at least the full request the client sent, and
guards you for the situation where properties that normally
would be loaded in the command method are not set because
of the population/ validation failure.
Default is true.
strictPopulationMode
boolean strictPopulationMode
- When an unexpected error occurs, should that be interpreted as a failure,
or should it just be ignored. E.g. If you have request parameter
not-a-valid-property, Ognl will throw exception 'ognl.InappropriateExpressionException'
In strict mode, this will have the effect that the population process is
marked as failed. If not in strict mode, the exception will be ignored.
trimStringInputValues
boolean trimStringInputValues
- Whether string input values should be trimmed before conversion.
Note that the actual trimming depends on the used populator, so
setting this parameter does not garantee trimming for all parameters.
populateAndValidate
boolean populateAndValidate
- flag whether Baritus should try to populate the form bean.
Setting this flag to false, and thus letting Baritus skip
population and validation can be usefull when you link commands
within the same request and want to reuse the allready populated
form bean without doing population and validation as well.
BEWARE that this is also skips population of request attributes
etc. that were set by the controllers earlier in the command stack.
ALSO note that if this flag is false, Baritus will consider
population to be succesfull, even though the population of the
prior control might not have been.
executeOtherInterceptors
boolean executeOtherInterceptors
- Whether, in case of the action being ACTION_SHOW_VIEW or ACTION_DISPATCH, the registered
other interceptors should be executed before displaying the view.
The default is true.
If true, and the current stage of intercepting is 'beforeMakeFormBean',
the BeforePopulationInterceptors will be executed. If true, for all
other stages except 'afterPerform' the AfterPerformInterceptors will
be executed.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read the object during deserialization.
view
java.lang.String view
Copyright © 2003-2004 Open Edge. All Rights Reserved.