org.exoplatform.answer.webui.popup
Class UIPopupViewQuestion

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.answer.webui.popup.UIPopupViewQuestion
All Implemented Interfaces:
org.exoplatform.webui.core.UIPopupComponent

public class UIPopupViewQuestion
extends org.exoplatform.forum.common.webui.BaseUIForm
implements org.exoplatform.webui.core.UIPopupComponent

Created by The eXo Platform SARL Author : Truong Nguyen truong.nguyen@exoplatform.com May 6, 2008, 4:55:37 PM


Nested Class Summary
static class UIPopupViewQuestion.CloseActionListener
           
static class UIPopupViewQuestion.DownloadAttachActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
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
UIPopupViewQuestion()
           
 
Method Summary
 void activate()
           
protected  String convertSize(long size)
           
 void deActivate()
           
 String getImageUrl(String imagePath)
           
 String getQuestion()
           
 String getQuestionRelationById(String questionId)
           
 org.exoplatform.faq.service.Question getViewQuestion()
           
 String renderAnswer(org.exoplatform.faq.service.Answer answer)
           
 void setLanguage(String language)
           
 void setQuestion(String questionId)
           
 
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
 

Constructor Detail

UIPopupViewQuestion

public UIPopupViewQuestion()
                    throws Exception
Throws:
Exception
Method Detail

getQuestion

public String getQuestion()

setQuestion

public void setQuestion(String questionId)

setLanguage

public void setLanguage(String language)

renderAnswer

public String renderAnswer(org.exoplatform.faq.service.Answer answer)

getViewQuestion

public org.exoplatform.faq.service.Question getViewQuestion()

getImageUrl

public String getImageUrl(String imagePath)
                   throws Exception
Throws:
Exception

getQuestionRelationById

public String getQuestionRelationById(String questionId)

convertSize

protected String convertSize(long size)

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


Copyright © 2013 eXo Platform SAS. All Rights Reserved.