org.keel.faces.convert
Class KeelRequestConverter
java.lang.Object
org.keel.faces.convert.KeelRequestConverter
- public class KeelRequestConverter
- extends java.lang.Object
This class takes a UIView and prepares a corresponding KeelRequest class, ready for processing by a Keel server. It is essentially the mirror image of KeelResponseConverter.
| Field Summary |
private static java.lang.String |
PREFIX
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
private static java.lang.String PREFIX
-
KeelRequestConverter
public KeelRequestConverter()
convert
public static KeelRequest convert(FacesContext fc,
UIViewRoot theRoot)
-
Main conversion method.
-
- Parameters:
theRoot - An existing UIView, which is assumed to have already been populated from the request (e.g. UIParameter or UIInput elements have their values).
- Returns:
- res A KeelRequest for the corresponding Model request
setParamsFrom
private static void setParamsFrom(FacesContext fc,
UIComponent oneComponent,
ModelRequestMessage req)
-
Please see keelframework.org for information about new Keel releases.