public class Upload extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
fixfieldname |
protected org.apache.tapestry5.services.javascript.JavaScriptSupport |
javaScriptSupport |
protected org.apache.tapestry5.commons.Messages |
messages |
static String |
prefix |
static String |
prefix_exit |
protected org.apache.tapestry5.ComponentResources |
resources |
protected org.apache.tapestry5.services.javascript.JavaScriptSupport |
support |
protected ISupportedLocales |
supportedLocales |
| 构造器和说明 |
|---|
Upload() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFiletag() |
String |
getFixfieldname() |
String |
getId()
得到id
|
String |
getInitFileId() |
FilesBean[] |
getInitFiles() |
String |
getName()
得到name属性
|
String |
getNameFile() |
org.apache.tapestry5.http.Link |
getUploadFileLink(String filePath) |
String |
getUploadFileUrl()
返回前台做为js的url变量
|
org.apache.tapestry5.StreamResponse |
onUploadFile(String filePath) |
@InjectService(value="locales") protected ISupportedLocales supportedLocales
@Inject protected org.apache.tapestry5.services.javascript.JavaScriptSupport support
@Inject protected org.apache.tapestry5.ComponentResources resources
@Inject protected org.apache.tapestry5.commons.Messages messages
@Environmental protected org.apache.tapestry5.services.javascript.JavaScriptSupport javaScriptSupport
public String getFixfieldname()
public String getFiletag()
public FilesBean[] getInitFiles()
public org.apache.tapestry5.StreamResponse onUploadFile(String filePath)
public org.apache.tapestry5.http.Link getUploadFileLink(String filePath)
public String getUploadFileUrl()
public String getInitFileId()
public String getName()
public String getNameFile()
public String getId()
Copyright © 2021. All rights reserved.