org.apache.myfaces.orchestra.dynaForm.jsf.component
Class DynaForm.AddComponentSimple

java.lang.Object
  extended by org.apache.myfaces.orchestra.dynaForm.jsf.component.DynaForm.AddComponentSimple
All Implemented Interfaces:
NewComponentListener
Enclosing class:
DynaForm

protected static class DynaForm.AddComponentSimple
extends Object
implements NewComponentListener

Simply attach a (label, value) pair of JSF components that represent a single persistent property.

This class is used when the DynaForm is generating a plain "form style" layout for a single persistent object.


Constructor Summary
protected DynaForm.AddComponentSimple()
           
 
Method Summary
 boolean containsComponent(javax.faces.component.UIComponent destCmp, String id)
          check if the component has been added already
 void newComponent(javax.faces.component.UIComponent destCmp, MetaField field, String fieldName, javax.faces.component.UIComponent label, javax.faces.component.UIComponent component)
          the new component and its label
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynaForm.AddComponentSimple

protected DynaForm.AddComponentSimple()
Method Detail

newComponent

public void newComponent(javax.faces.component.UIComponent destCmp,
                         MetaField field,
                         String fieldName,
                         javax.faces.component.UIComponent label,
                         javax.faces.component.UIComponent component)
Description copied from interface: NewComponentListener
the new component and its label

Specified by:
newComponent in interface NewComponentListener

containsComponent

public boolean containsComponent(javax.faces.component.UIComponent destCmp,
                                 String id)
Description copied from interface: NewComponentListener
check if the component has been added already

Specified by:
containsComponent in interface NewComponentListener


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.