Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-1) was last changed on 25-Jul-2006 19:47 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 24 lines
The "fossilized [binding|Bindings]" for a [component] is a snapshot of the evaluated value of the [value binding EL|EL] at the time that the [component tree|ComponentTree] for the [View] was produced, as well as other contextual information which lets the submitted native component value be correctly processed. This is implemented (by the default HTML [RenderSystem]) as a mirror "hidden field" appended to the parent form of the tag peering the component, which stores the information sufficient to, at the time of the following POST
# Determine the old value for a component, as compared to the submitted value at the POST, and
# Determine the EL l-value that should be used to resolve the setter for the new submitted value.
Once decoded, a binding is stored in a value type [SubmittedValueEntry], which will be stored in the [RSVC] for the current request. From there the processing pipeline reshapes it to form a [DataAlterationRequest], in which form it is directly applied to the bean model. The decoding and encoding of bindings to and from String key/value pairs is determined and documented in the class [FossilizedConverter.java|https://saffron.caret.cam.ac.uk/svn/projects/RSFUtil/trunk/src/uk/org/ponder/rsf/request/FossilizedConverter.java].
- in general, the fossilized binding for a component with ID {{componentid}}, an EL value binding of {{#bean.member}} and an old value of {{oldvalue}} is
{{{
key = componentid-fossil, value=[i|o]uitype-name#{bean.member}oldvalue
}}}
The character key i/o represents whether the native component is expected to submit a value or not, and the uitype-name is the name of the [UIType] of the native submission type.
For example, the following HTML {{<select>}} component
{{{
<select name="fontFace-selection" id="fontFace-selection">
}}}
could be partnered by a fossilized binding like the following:
{{{
<input type="hidden" name="fontFace-selection-fossil"
value="istring#{preferencesBean.fontFace}" />
}}}
Version Date Modified Size Author Changes ... Change note
25-Jul-2006 19:47 2.018 kB UnknownAuthor
« This page (revision-) was last changed on 25-Jul-2006 19:47 by UnknownAuthor