org.exoplatform.poll.webui.popup
Class UIPollForm

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.forum.common.webui.BaseUIForm
                  extended by org.exoplatform.poll.webui.BasePollForm
                      extended by org.exoplatform.poll.webui.popup.UIPollForm
All Implemented Interfaces:
org.exoplatform.forum.common.webui.UISelector, org.exoplatform.webui.core.UIPopupComponent

public class UIPollForm
extends BasePollForm
implements org.exoplatform.webui.core.UIPopupComponent, org.exoplatform.forum.common.webui.UISelector

Created by The eXo Platform SAS Author : Vu Duy Tu tu.duy@exoplatform.com 24 June 2010, 08:00:59


Nested Class Summary
static class UIPollForm.AddGroupActionListener
           
static class UIPollForm.CancelActionListener
           
static class UIPollForm.RefreshActionListener
           
static class UIPollForm.SaveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String COLON
           
static String DELETED
           
static String FIELD_AGAINVOTE_CHECKBOX
           
static String FIELD_GROUP_PRIVATE_INPUT
           
static String FIELD_MULTIVOTE_CHECKBOX
           
static String FIELD_OPTIONS
           
static String FIELD_PUBLIC_DATA_CHECKBOX
           
static String FIELD_QUESTION_INPUT
           
static String FIELD_TIMEOUT_INPUT
           
 boolean isEditPath
           
static int MAX_TITLE
           
static String ZERO
           
 
Fields inherited from class org.exoplatform.forum.common.webui.BaseUIForm
log
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIPollForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
protected  String getDateAfter()
           
 void setUpdatePoll(org.exoplatform.poll.service.Poll poll, boolean isUpdate)
           
 void updateSelect(String selectField, String value)
           
 
Methods inherited from class org.exoplatform.poll.webui.BasePollForm
getPollService, openPopup, openPopup, openPopup, openPopup, setPollService
 
Methods inherited from class org.exoplatform.forum.common.webui.BaseUIForm
cancelChildPopupAction, getLabel, i18n, info, info, info, info, info, openPopup, openPopup, throwWarning, throwWarning, warning, warning, warning, warning, warning
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_QUESTION_INPUT

public static final String FIELD_QUESTION_INPUT
See Also:
Constant Field Values

FIELD_OPTIONS

public static final String FIELD_OPTIONS
See Also:
Constant Field Values

FIELD_TIMEOUT_INPUT

public static final String FIELD_TIMEOUT_INPUT
See Also:
Constant Field Values

FIELD_GROUP_PRIVATE_INPUT

public static final String FIELD_GROUP_PRIVATE_INPUT
See Also:
Constant Field Values

FIELD_AGAINVOTE_CHECKBOX

public static final String FIELD_AGAINVOTE_CHECKBOX
See Also:
Constant Field Values

FIELD_MULTIVOTE_CHECKBOX

public static final String FIELD_MULTIVOTE_CHECKBOX
See Also:
Constant Field Values

FIELD_PUBLIC_DATA_CHECKBOX

public static final String FIELD_PUBLIC_DATA_CHECKBOX
See Also:
Constant Field Values

COLON

public static final String COLON
See Also:
Constant Field Values

DELETED

public static final String DELETED
See Also:
Constant Field Values

ZERO

public static final String ZERO
See Also:
Constant Field Values

MAX_TITLE

public static final int MAX_TITLE
See Also:
Constant Field Values

isEditPath

public boolean isEditPath
Constructor Detail

UIPollForm

public UIPollForm()
           throws Exception
Throws:
Exception
Method Detail

getDateAfter

protected String getDateAfter()
                       throws Exception
Throws:
Exception

setUpdatePoll

public void setUpdatePoll(org.exoplatform.poll.service.Poll poll,
                          boolean isUpdate)
                   throws Exception
Throws:
Exception

activate

public void activate()
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent

deActivate

public void deActivate()
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent

updateSelect

public void updateSelect(String selectField,
                         String value)
                  throws Exception
Specified by:
updateSelect in interface org.exoplatform.forum.common.webui.UISelector
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.