org.exoplatform.answer.webui.popup
Class UIQuestionForm
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.forum.common.webui.BaseUIForm
org.exoplatform.answer.webui.BaseUIFAQForm
org.exoplatform.answer.webui.popup.UIQuestionForm
- All Implemented Interfaces:
- org.exoplatform.webui.core.UIPopupComponent
public class UIQuestionForm
- extends BaseUIFAQForm
- implements org.exoplatform.webui.core.UIPopupComponent
Created by The eXo Platform SARL
Author : Hung Nguyen
hung.nguyen@exoplatform.com
Aus 01, 2007 2:48:18 PM
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| 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 |
| Methods inherited from class org.exoplatform.forum.common.webui.BaseUIForm |
cancelChildPopupAction, getLabel, getUIFormScrollSelectBox, getUIForumFilter, 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 |
AUTHOR
public static final String AUTHOR
- See Also:
- Constant Field Values
EMAIL_ADDRESS
public static final String EMAIL_ADDRESS
- See Also:
- Constant Field Values
QUESTION_CONTENT
public static final String QUESTION_CONTENT
- See Also:
- Constant Field Values
ALL_LANGUAGES
public static final String ALL_LANGUAGES
- See Also:
- Constant Field Values
QUESTION_DETAIL
public static final String QUESTION_DETAIL
- See Also:
- Constant Field Values
ATTACHMENTS
public static final String ATTACHMENTS
- See Also:
- Constant Field Values
FILE_ATTACHMENTS
public static final String FILE_ATTACHMENTS
- See Also:
- Constant Field Values
REMOVE_FILE_ATTACH
public static final String REMOVE_FILE_ATTACH
- See Also:
- Constant Field Values
IS_APPROVED
public static final String IS_APPROVED
- See Also:
- Constant Field Values
IS_ACTIVATED
public static final String IS_ACTIVATED
- See Also:
- Constant Field Values
DELETE_LANGUAGE_ACTION
public static final String DELETE_LANGUAGE_ACTION
- See Also:
- Constant Field Values
isRenderSelectLang
protected boolean isRenderSelectLang
UIQuestionForm
public UIQuestionForm()
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
setFAQSetting
public void setFAQSetting(org.exoplatform.faq.service.FAQSetting faqSetting)
getEditLanguage
public String getEditLanguage()
setEditLanguage
public void setEditLanguage(String editLanguage)
refresh
public void refresh()
throws Exception
- Throws:
Exception
setLanguages
public void setLanguages()
throws Exception
- Throws:
Exception
initPage
public void initPage(boolean isEdit)
throws Exception
- Throws:
Exception
setIsChildOfManager
public void setIsChildOfManager(boolean isChild)
setQuestion
public void setQuestion(org.exoplatform.faq.service.Question question)
throws Exception
- Throws:
Exception
isMode
public boolean isMode()
setIsMode
public void setIsMode(boolean isMode)
getQuestionId
public String getQuestionId()
setDefaultLanguage
public void setDefaultLanguage(String defaultLanguage)
getDefaultLanguage
public String getDefaultLanguage()
getAuthor
protected String getAuthor()
setAuthor
public void setAuthor(String author)
getEmail
protected String getEmail()
setEmail
public void setEmail(String email)
setCategoryId
public void setCategoryId(String categoryId)
throws Exception
- Throws:
Exception
getParentForm
protected org.exoplatform.webui.form.UIForm getParentForm()
getActionList
public List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionList()
setListFileAttach
public void setListFileAttach(List<org.exoplatform.faq.service.FileAttachment> listFileAttachment)
setListFileAttach
public void setListFileAttach(org.exoplatform.faq.service.FileAttachment fileAttachment)
getListFile
protected List<org.exoplatform.faq.service.FileAttachment> getListFile()
refreshUploadFileList
public void refreshUploadFileList()
throws Exception
- Throws:
Exception
setActionField
public void setActionField(String fieldName,
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions)
throws Exception
- Throws:
Exception
getActionField
public List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionField(String fieldName)
getQuestion
public org.exoplatform.faq.service.Question getQuestion()
Copyright © 2013 eXo Platform SAS. All Rights Reserved.