org.ow2.dragon.ui.bricks
Class SlidingField

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.SlidingField
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 SlidingField
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
protected  org.ow2.opensuit.xml.base.binding.Expression button
           
protected  org.ow2.opensuit.xml.base.binding.Expression helpSentence
           
protected  org.ow2.opensuit.xml.base.binding.Expression list
           
protected  java.lang.String page
           
protected  java.lang.String param
           
protected  org.ow2.opensuit.xml.base.binding.Expression ref
           
 
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
SlidingField()
           
 
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
 

Field Detail

page

@XmlAttribute(name="Page",
              required=true)
protected java.lang.String page

param

@XmlAttribute(name="Param",
              required=true)
protected java.lang.String param

list

@XmlChildren(name="List")
protected org.ow2.opensuit.xml.base.binding.Expression list

ref

@XmlChild(name="ReferenceName",
          required=false)
protected org.ow2.opensuit.xml.base.binding.Expression ref

button

@XmlChild(name="ButtonName",
          required=false)
protected org.ow2.opensuit.xml.base.binding.Expression button

helpSentence

@XmlChild(name="HelpSentence",
          required=false)
protected org.ow2.opensuit.xml.base.binding.Expression helpSentence
Constructor Detail

SlidingField

public SlidingField()
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.