com.arsdigita.cms.contenttypes.ui
Class OrganizationImageForm

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.FormSection
              extended bycom.arsdigita.bebop.Form
                  extended bycom.arsdigita.cms.contenttypes.ui.OrganizationImageForm
All Implemented Interfaces:
com.arsdigita.bebop.util.BebopConstants, Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, EventListener, com.arsdigita.bebop.event.FormInitListener, com.arsdigita.bebop.event.FormProcessListener, com.arsdigita.bebop.event.FormSubmissionListener, com.arsdigita.bebop.event.FormValidationListener, com.arsdigita.util.Lockable

public class OrganizationImageForm
extends com.arsdigita.bebop.Form
implements com.arsdigita.bebop.event.FormInitListener, com.arsdigita.bebop.event.FormProcessListener, com.arsdigita.bebop.event.FormValidationListener, com.arsdigita.bebop.event.FormSubmissionListener

Form to edit the basic properties of an Organization. This form can be extended to create forms for Organization subclasses.

Version:
$Id: //cms/content-types/organization/dev/src/com/arsdigita/cms/contenttypes/ui/OrganizationImageForm.java#5 $

Field Summary
static String DELETE_OPTION
           
static String ID
          Name of this form
static String IGNORE_OPTION
           
static String IMAGE
          parameter names
static String IMAGE_OPTIONS
           
 com.arsdigita.bebop.Label m_currentLabel
           
 com.arsdigita.bebop.form.RadioGroup m_group
           
 com.arsdigita.cms.ui.ImageDisplay m_imageDisplay
           
 com.arsdigita.bebop.Label m_label
           
 com.arsdigita.bebop.Label m_radioLabel
           
 com.arsdigita.bebop.form.FileUpload m_upload
           
static String UPLOAD_OPTION
           
 
Fields inherited from class com.arsdigita.bebop.Form
GET, POST, versionId
 
Fields inherited from class com.arsdigita.bebop.FormSection
m_formModel, m_panel
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.event.FormInitListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormProcessListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormValidationListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.event.FormSubmissionListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.util.BebopConstants
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ON_CLICK, STYLE
 
Constructor Summary
OrganizationImageForm(com.arsdigita.cms.ItemSelectionModel itemModel)
          Creates a new form to edit the Organization object specified by the item selection model passed in.
OrganizationImageForm(String name, com.arsdigita.cms.ItemSelectionModel itemModel)
           
OrganizationImageForm(String name, com.arsdigita.cms.ItemSelectionModel itemModel, OrganizationImageStep step)
           
 
Method Summary
 void init(com.arsdigita.bebop.event.FormSectionEvent fse)
          Form initialisation hook.
 void process(com.arsdigita.bebop.event.FormSectionEvent fse)
          Form processing hook.
 void submitted(com.arsdigita.bebop.event.FormSectionEvent fse)
           
 void validate(com.arsdigita.bebop.event.FormSectionEvent fse)
           
 
Methods inherited from class com.arsdigita.bebop.Form
addMagicTag, excludeParameterFromExport, generateErrors, generateXML, generateXMLSansState, getAction, getFormData, getName, getProcessInvisible, isRedirecting, process, register, respond, setAction, setEncType, setFormData, setMethod, setName, setOnReset, setOnSubmit, setProcessInvisible, setRedirecting, toString, traverse
 
Methods inherited from class com.arsdigita.bebop.FormSection
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, get, getModel, getPanel, indexOf, isEmpty, lock, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, size
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

IMAGE

public static final String IMAGE
parameter names

See Also:
Constant Field Values

ID

public static final String ID
Name of this form

See Also:
Constant Field Values

IMAGE_OPTIONS

public static final String IMAGE_OPTIONS
See Also:
Constant Field Values

UPLOAD_OPTION

public static final String UPLOAD_OPTION
See Also:
Constant Field Values

DELETE_OPTION

public static final String DELETE_OPTION
See Also:
Constant Field Values

IGNORE_OPTION

public static final String IGNORE_OPTION
See Also:
Constant Field Values

m_imageDisplay

public com.arsdigita.cms.ui.ImageDisplay m_imageDisplay

m_currentLabel

public com.arsdigita.bebop.Label m_currentLabel

m_label

public com.arsdigita.bebop.Label m_label

m_upload

public com.arsdigita.bebop.form.FileUpload m_upload

m_radioLabel

public com.arsdigita.bebop.Label m_radioLabel

m_group

public com.arsdigita.bebop.form.RadioGroup m_group
Constructor Detail

OrganizationImageForm

public OrganizationImageForm(com.arsdigita.cms.ItemSelectionModel itemModel)
Creates a new form to edit the Organization object specified by the item selection model passed in.

Parameters:
itemModel - The ItemSelectionModel to use to obtain the Organization to work on

OrganizationImageForm

public OrganizationImageForm(String name,
                             com.arsdigita.cms.ItemSelectionModel itemModel)

OrganizationImageForm

public OrganizationImageForm(String name,
                             com.arsdigita.cms.ItemSelectionModel itemModel,
                             OrganizationImageStep step)
Method Detail

init

public void init(com.arsdigita.bebop.event.FormSectionEvent fse)
Form initialisation hook. Fills widgets with data.

Specified by:
init in interface com.arsdigita.bebop.event.FormInitListener

process

public void process(com.arsdigita.bebop.event.FormSectionEvent fse)
             throws com.arsdigita.bebop.FormProcessException
Form processing hook. Saves Organization object.

Specified by:
process in interface com.arsdigita.bebop.event.FormProcessListener
Throws:
com.arsdigita.bebop.FormProcessException

validate

public void validate(com.arsdigita.bebop.event.FormSectionEvent fse)
              throws com.arsdigita.bebop.FormProcessException
Specified by:
validate in interface com.arsdigita.bebop.event.FormValidationListener
Throws:
com.arsdigita.bebop.FormProcessException

submitted

public void submitted(com.arsdigita.bebop.event.FormSectionEvent fse)
               throws com.arsdigita.bebop.FormProcessException
Specified by:
submitted in interface com.arsdigita.bebop.event.FormSubmissionListener
Throws:
com.arsdigita.bebop.FormProcessException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:0012 UTC