org.ow2.dragon.ui.bricks
Class RatingField

java.lang.Object
  extended by org.ow2.opensuit.xml.base.html.form.field.BaseEditableField
      extended by org.ow2.opensuit.xml.base.html.form.field.BaseSingleValueField
          extended by org.ow2.dragon.ui.bricks.RatingField
All Implemented Interfaces:
org.ow2.opensuit.xml.base.html.form.field.IValidable, org.ow2.opensuit.xml.base.html.form.IFormItem, org.ow2.opensuit.xml.interfaces.IRenderable, org.ow2.opensuit.xmlmap.interfaces.IInitializable

@XmlElement
public class RatingField
extends org.ow2.opensuit.xml.base.html.form.field.BaseSingleValueField
implements org.ow2.opensuit.xmlmap.interfaces.IInitializable

Version:
1.0
Author:
atiar (Abderrahmane TIAR)

Field Summary
 
Fields inherited from class org.ow2.opensuit.xml.base.html.form.field.BaseSingleValueField
bind, validators
 
Fields inherited from class org.ow2.opensuit.xml.base.html.form.field.BaseEditableField
editable, label, tip
 
Constructor Summary
RatingField()
           
 
Method Summary
protected  java.lang.Object getValueFromRequest(javax.servlet.http.HttpServletRequest iRequest, org.ow2.opensuit.xml.base.html.form.FormSubmitContext submitContext)
           
 java.lang.reflect.Type getValueGenericType()
           
 java.lang.Class<?> getValueType()
           
 void initialize(org.ow2.opensuit.xmlmap.interfaces.IInitializationSupport initSupport, org.ow2.opensuit.xmlmap.interfaces.IInstantiationContext instContext)
           
 void preRender(javax.servlet.http.HttpServletRequest iRequest)
           
protected  void renderInput(javax.servlet.http.HttpServletRequest iRequest, javax.servlet.http.HttpServletResponse iResponse, org.ow2.opensuit.xml.base.html.form.FormRenderingContext iContext)
           
 
Methods inherited from class org.ow2.opensuit.xml.base.html.form.field.BaseSingleValueField
getFieldName, isEditable, isMandatory, submit
 
Methods inherited from class org.ow2.opensuit.xml.base.html.form.field.BaseEditableField
getFieldId, getForm, isVisible, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingField

public RatingField()
Method Detail

initialize

public void initialize(org.ow2.opensuit.xmlmap.interfaces.IInitializationSupport initSupport,
                       org.ow2.opensuit.xmlmap.interfaces.IInstantiationContext instContext)
Specified by:
initialize in interface org.ow2.opensuit.xmlmap.interfaces.IInitializable
Overrides:
initialize in class org.ow2.opensuit.xml.base.html.form.field.BaseEditableField

getValueGenericType

public java.lang.reflect.Type getValueGenericType()
Specified by:
getValueGenericType in interface org.ow2.opensuit.xml.base.html.form.field.IValidable

getValueType

public java.lang.Class<?> getValueType()
Specified by:
getValueType in interface org.ow2.opensuit.xml.base.html.form.field.IValidable

getValueFromRequest

protected java.lang.Object getValueFromRequest(javax.servlet.http.HttpServletRequest iRequest,
                                               org.ow2.opensuit.xml.base.html.form.FormSubmitContext submitContext)
                                        throws org.ow2.opensuit.core.validation.ValidationError
Specified by:
getValueFromRequest in class org.ow2.opensuit.xml.base.html.form.field.BaseSingleValueField
Throws:
org.ow2.opensuit.core.validation.ValidationError

preRender

public void preRender(javax.servlet.http.HttpServletRequest iRequest)
               throws java.lang.Exception
Specified by:
preRender in interface org.ow2.opensuit.xml.interfaces.IRenderable
Throws:
java.lang.Exception

renderInput

protected void renderInput(javax.servlet.http.HttpServletRequest iRequest,
                           javax.servlet.http.HttpServletResponse iResponse,
                           org.ow2.opensuit.xml.base.html.form.FormRenderingContext iContext)
                    throws java.lang.Exception
Specified by:
renderInput in class org.ow2.opensuit.xml.base.html.form.field.BaseEditableField
Throws:
java.lang.Exception


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.