Keel 2.1RC2

org.keel.faces.convert
Class KeelRequestConverter

java.lang.Object
  extended byorg.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
           
 
Constructor Summary
KeelRequestConverter()
           
 
Method Summary
static KeelRequest convert(FacesContext fc, UIViewRoot theRoot)
          Main conversion method.
private static void setParamsFrom(FacesContext fc, UIComponent oneComponent, ModelRequestMessage req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

private static java.lang.String PREFIX
Constructor Detail

KeelRequestConverter

public KeelRequestConverter()
Method Detail

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)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.