| java.lang.Object uk.org.ponder.rsf.request.FossilizedConverter
FossilizedConverter | public class FossilizedConverter (Code) | | |
BINDING_SUFFIX | final public static String BINDING_SUFFIX(Code) | | A suffix to be used for the "componentless" bindings defined by
UIDeletionBinding and UIELBinding.
|
COMMAND_LINK_PARAMETERS | final public static String COMMAND_LINK_PARAMETERS(Code) | | |
EL_BINDING | final public static char EL_BINDING(Code) | | |
FOSSIL_SUFFIX | final public static String FOSSIL_SUFFIX(Code) | | The suffix appended to the component fullID in order to derive the key for
its corresponding fossilized binding.
|
INPUT_COMPONENT | final public static char INPUT_COMPONENT(Code) | | |
INPUT_COMPONENT_MUSTAPPLY | final public static char INPUT_COMPONENT_MUSTAPPLY(Code) | | |
OBJECT_BINDING | final public static char OBJECT_BINDING(Code) | | |
OUTPUT_COMPONENT | final public static char OUTPUT_COMPONENT(Code) | | |
RESHAPER_SUFFIX | final public static String RESHAPER_SUFFIX(Code) | | |
VALUE_DELETION_KEY | final public static String VALUE_DELETION_KEY(Code) | | |
VIRTUAL_ELBINDING_KEY | final public static String VIRTUAL_ELBINDING_KEY(Code) | | |
computeFossilizedBinding | public UIParameter computeFossilizedBinding(UIBound togenerate, Object modelvalue)(Code) | | Computes the fossilised binding parameter that needs to be added to forms
for which the supplied UIBound is a submitting control. The value of the
bound component is one of the (three) UITypes, or else an unknown non-leaf
type. This value will be serialized and added to the end of the binding.
|
fixupNewValue | public void fixupNewValue(SubmittedValueEntry sve, RenderSystemDecoder rendersystemstatic, String key, String value)(Code) | | Fixes up the supplied "new value" relative to information discovered in the
fossilized binding. After this point, newvalue is authoritatively not null
for every submission where a component which was marked as "expecting
input" SHOULD be receiving data, and of the same type as oldvalue.
In the case of an already "erroneous fossilization" where oldvalue was
itself empty/null, it is possible that no submission returns, and none is
actually possible (e.g. selection controls which have no parent choices).
In this case newvalue will remain null (semantically null rather than
submittedly null).
Note that oldvalue is now always not null here.
Parameters: value - The value assigned to the fossilized binding |
isFossilisedBinding | public boolean isFossilisedBinding(String key)(Code) | | A utility method to determine whether a given key (from the request map)
represents a Fossilised binding, i.e. it ends with the suffix
FossilizedConverter.FOSSIL_SUFFIX .
|
isNonComponentBinding | public boolean isNonComponentBinding(String key)(Code) | | |
parseFossil | public SubmittedValueEntry parseFossil(String key, String value)(Code) | | Attempts to construct a SubmittedValueEntry on a key/value pair found in
the request map, for which isFossilisedBinding has already returned
true . In order to complete this (non-deletion) entry, the
newvalue field must be set separately.
Parameters: key - Parameters: value - |
|
|