add a param type called "file"

add a param type called "file"
This commit is contained in:
coderfengyun 2014-04-16 15:46:53 +08:00
parent 136ad41b89
commit e90a184973
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<plugin name="CsvProvider">
<params>
<param name="fileName" label="The name of the input file(Required)">
<field size="7" />
<file />
</param>
<param name="separator"
label="The separator of the input file and the following fieldNames">

View File

@ -12,7 +12,7 @@
name CDATA #REQUIRED
>
<!ELEMENT params (param|group)*>
<!ELEMENT param (radiobutton|field|checkbox|nfield|combo|table)>
<!ELEMENT param (radiobutton|field|checkbox|nfield|combo|table|file)>
<!ATTLIST param
name CDATA #REQUIRED
label CDATA #IMPLIED
@ -39,3 +39,4 @@
cols CDATA #REQUIRED
>
<!ELEMENT combo (choice*)>
<!ELEMENT file EMPTY>