All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.http.fileupload.FileuploadActions.xer.txt Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
@xworker.http.fileupload.FileuploadActions
sname
FileuploadActions
slabel
FileuploadActions
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription

文件上传的相关动作。

sid FileuploadActions @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest sname InitFileuploadRequest sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.lang.actions.SelfAction,xworker.http.fileupload.DiskFileItemFactory smany true seditCols 2 sinitialization false sgroup http.fileupload smodifier public sinheritDescription false Sdescription #$@text#$@

把当前的request包装成一个MultiPartRequest,通过MultiPartRequest的getFileItem(String name)方法返回FIleItem。

FileItem是通过org.apache.commons.fileupload.servlet.ServletFileUpload获取的。

通过添加actions子节点做具体的处理。

#$@text#$@ sid InitFileuploadRequest sth_createIndex true sth_registThing child|xworker.lang.actions.Actions @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@actions sname actions sid actions slabel actions sdescriptors xworker.lang.MetaDescriptor3/@actions @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true souterClassName xworker.http.fileupload.FileuploadActionsInitFileuploadRequestCreator smethodName run sdisableGlobalContext false sid run sdescriptors xworker.lang.actions.JavaAction @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@name sname name sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sid name sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@label sname label sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sid label sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@description sname description sinputtype html scolspan 2 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sid description sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@actions1 sname actions slabel 动作列表 sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 sinitialization false smodifier public sinheritDescription false sdescription

Begin要执行的动作列表。

sid actions1 @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@actions1/@name sname name sinheritDescription false LvalidateOnBlur false LallowDecimals false LallowNegative false sid name sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@actions1/@label sname label sinheritDescription false LvalidateOnBlur false LallowDecimals false LallowNegative false sid label sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.http.fileupload.FileuploadActions/@InitFileuploadRequest/@actions1/@description sname description sinputtype html scolspan 2 sinheritDescription false LvalidateOnBlur false LallowDecimals false LallowNegative false sid description sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.http.fileupload.FileuploadActions/@FileuploadAction sname FileuploadJavaAction sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.lang.actions.SelfAction,xworker.http.fileupload.DiskFileItemFactory smany true seditCols 2 sinitialization false sgroup http.fileupload smodifier public sinheritDescription false sdescription

处理Fileupload的Java动作处理,调用classPath下的java类,该类应该实现接口xworker.http.fileupload.FileuploadAction.

sth_createIndex true sth_registThing child|xworker.lang.actions.Actions @xworker.http.fileupload.FileuploadActions/@FileuploadAction/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sth_createIndex false @xworker.http.fileupload.FileuploadActions/@FileuploadAction/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true souterClassName xworker.http.fileupload.FileuploadThingActions smethodName doFileuploadAction sdisableGlobalContext false sdescriptors xworker.lang.actions.Actions/@JavaAction sth_createIndex false @xworker.http.fileupload.FileuploadActions/@FileuploadAction/@name sname name sreadOnly false sdefault doAction sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @xworker.http.fileupload.FileuploadActions/@FileuploadAction/@label sname label sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @xworker.http.fileupload.FileuploadActions/@FileuploadAction/@classPath sname classPath sinputtype openWindow ssize 60 scolspan 2 sinputattrs xworker.lang.attributeEditors.openWins.ClassSelector/@shell| sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @xworker.http.fileupload.FileuploadActions/@FileuploadAction/@description sname description sinputtype html scolspan 2 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sid description sdescriptors xworker.lang.MetaDescriptor3/@attribute




© 2015 - 2025 Weber Informatics LLC | Privacy Policy