| uk.org.ponder.rsf.request.RenderSystemDecoder
RenderSystemDecoder | public interface RenderSystemDecoder (Code) | | The portion of the "RenderSystem" interface that deals with incoming actions
resulting from previously rendered submitting controls.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Method Summary | |
public void | fixupUIType(SubmittedValueEntry sve) Fix up the "new value" in the supplied SVE, for example to take account of the
target idiom's "missing value" semantics. | public void | normalizeRequestMap(Map requestparams) "Normalize" the supplied (writeable) request map by scouring it for
System-specific key/values that secretly encode a number of others. |
fixupUIType | public void fixupUIType(SubmittedValueEntry sve)(Code) | | Fix up the "new value" in the supplied SVE, for example to take account of the
target idiom's "missing value" semantics. E.g. for HTTP, checkboxes in the
false state submit nothing, as do multiple list selections with nothing
selected.
|
normalizeRequestMap | public void normalizeRequestMap(Map requestparams)(Code) | | "Normalize" the supplied (writeable) request map by scouring it for
System-specific key/values that secretly encode a number of others.
TODO: Might also normalize by making multi-valued params into single-valued,
but unclear whether there is enough knowledge in the system to distinguish
values which OUGHT to be multivalued (probably only list submits).
|
|
|