gboat2.base.view.components
类 Attach

java.lang.Object
  继承者 org.apache.struts2.components.Component
      继承者 org.apache.struts2.components.UIBean
          继承者 gboat2.base.view.components.AbstractAttach
              继承者 gboat2.base.view.components.Attach

public class Attach
extends AbstractAttach

创建一个附件上传控件,详见 plupload UI.Plupload

依赖的 CSS 和 JS:

示例代码:
 
 <g2:attach attachMap="attachMap" name="attachIds" maxFileSize="20mb" sortable="true"/>
 <g2:attach attachMap="oldVersionJsonStr" belongId="%{SID}"/>
 
 

从以下版本开始:
3.0.0-SNAPSHOT
作者:
何明旺
另请参见:
AttachButtons, AttachFilters, AttachFilter, attachResize

字段摘要
protected  String attachMap
           
protected  String chunkSize
           
protected  String downloadUrl
           
static String JQUERYACTION
           
protected  String multipleQueues
           
protected  String multiSelection
           
protected  String preventDuplicates
           
protected  String rename
           
protected  String sortable
           
static String TEMPLATE
           
protected  String uniqueNames
           
 
从类 gboat2.base.view.components.AbstractAttach 继承的字段
autostart, belongId, deleteUrl, dragdrop, fileDataName, flashSwfUrl, headers, maxFileSize, maxRetries, multipart, multipartParams, onCompleteTopics, onErrorTopics, onProgressTopics, onReadyTopics, onRemovedTopics, onSelectedTopics, onStartTopics, onStopTopics, onUploadedTopics, requiredFeatures, runtimes, silverlightXapUrl, url
 
从类 org.apache.struts2.components.UIBean 继承的字段
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, disabled, dynamicAttributes, errorPosition, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, requiredLabel, requiredPosition, response, standardAttributesMap, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, uiThemeExpansionToken, value
 
从类 org.apache.struts2.components.Component 继承的字段
actionMapper, COMPONENT_STACK, parameters, stack, throwExceptionOnELFailure
 
构造方法摘要
Attach(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
方法摘要
 void evaluateExtraParams()
           
protected  String getDefaultTemplate()
           
protected  String getJqueryAction()
           
 void setAttachMap(String attachMap)
           
 void setChunkSize(String chunkSize)
           
 void setDownloadUrl(String downloadUrl)
           
 void setMultipleQueues(String multipleQueues)
           
 void setMultiSelection(String multiSelection)
           
 void setPreventDuplicates(String preventDuplicates)
           
 void setRename(String rename)
           
 void setSortable(String sortable)
           
 void setUniqueNames(String uniqueNames)
           
 
从类 gboat2.base.view.components.AbstractAttach 继承的方法
setAutostart, setBelongId, setDeleteUrl, setDragdrop, setFileDataName, setFlashSwfUrl, setHeaders, setMaxFileSize, setMaxRetries, setMultipart, setMultipartParams, setOnCompleteTopics, setOnErrorTopics, setOnProgressTopics, setOnReadyTopics, setOnRemovedTopics, setOnSelectedTopics, setOnStartTopics, setOnStopTopics, setOnUploadedTopics, setRequiredFeatures, setRuntimes, setSilverlightXapUrl, setUrl
 
从类 org.apache.struts2.components.UIBean 继承的方法
addFormParameter, buildTemplateName, copyParams, enableAncestorFormCustomOnsubmit, end, ensureAttributeSafelyNotEscaped, escape, evaluateNameValue, evaluateParams, getId, getStandardAttributes, getTemplate, getTemplateDir, getTheme, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, setDynamicAttributes, setErrorPosition, setId, setJavascriptTooltip, setKey, setLabel, setLabelposition, setLabelSeparator, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequiredLabel, setRequiredPosition, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setUIThemeExpansionToken, setValue
 
从类 org.apache.struts2.components.Component 继承的方法
addAllParameters, addParameter, altSyntax, completeExpressionIfAltSyntax, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, setUrlHelper, start, stripExpressionIfAltSyntax, toString, usesBody
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

TEMPLATE

public static final String TEMPLATE
另请参见:
常量字段值

JQUERYACTION

public static final String JQUERYACTION
另请参见:
常量字段值

attachMap

protected String attachMap

downloadUrl

protected String downloadUrl

chunkSize

protected String chunkSize

multiSelection

protected String multiSelection

preventDuplicates

protected String preventDuplicates

uniqueNames

protected String uniqueNames

rename

protected String rename

sortable

protected String sortable

multipleQueues

protected String multipleQueues
构造方法详细信息

Attach

public Attach(com.opensymphony.xwork2.util.ValueStack stack,
              javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response)
方法详细信息

getDefaultTemplate

protected String getDefaultTemplate()
指定者:
org.apache.struts2.components.UIBean 中的 getDefaultTemplate

getJqueryAction

protected String getJqueryAction()
指定者:
AbstractAttach 中的 getJqueryAction

evaluateExtraParams

public void evaluateExtraParams()
覆盖:
AbstractAttach 中的 evaluateExtraParams

setAttachMap

public void setAttachMap(String attachMap)

setDownloadUrl

public void setDownloadUrl(String downloadUrl)

setChunkSize

public void setChunkSize(String chunkSize)

setMultiSelection

public void setMultiSelection(String multiSelection)

setPreventDuplicates

public void setPreventDuplicates(String preventDuplicates)

setUniqueNames

public void setUniqueNames(String uniqueNames)

setRename

public void setRename(String rename)

setSortable

public void setSortable(String sortable)

setMultipleQueues

public void setMultipleQueues(String multipleQueues)


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.