
Fields
protected
boolean allowBrowsing
wether stuck in exisiting folder or can browse around.
protected
boolean allowCreateFolders
protected
boolean allowDelete
protected
boolean allowDeleteFilledFolders
allow deleting recursively a filled folder or not
protected
boolean allowDownloadFile
allo view/download files ?
protected
boolean allowListFiles
If false then user won't se the existing files at all.
protected
boolean allowListHiddenFiles
protected
boolean allowPickRootFolder
when selecting a folder, can the user pick the root folder itself (or only a subfolder of it) ?
protected
boolean allowRenaming
allow renaming files/folders
protected
boolean allowShowPath
wether to show the current directory full path or not (ex: /home/blah/files/)
protected
boolean allowUpdateFile
allow updating/uplaoding a new version of an existing file ?
protected
boolean allowUploadFile
protected
int browseType
You will want to set this depending what you want the user to do: ie: upload a file, select a file, just browse etc....
protected
File currentFolder
internal value
protected
String currentWarning
internal value
protected
String failedWarning
protected
Vector fileListing
internal value
protected
String fileNameWarning

warning messages : null = no warning, not null.

warning messages : null = no warning, not null. File/folder name contains unallowed characters
protected
String forbiddenWarning
protected
String fullFolderWarning
protected
long maxFolderNameLength
protected
long maxUploadSize

maximum TOTAL size in bytes of file(s) uploaded.

maximum TOTAL size in bytes of file(s) uploaded. Default : ~5MB
protected
String multipleFilesWarning

warning messages : null = no warning, not null.

warning messages : null = no warning, not null. We want the user to pick 1 or more file(s)
protected
Integer nbOfUploadFields
If file uploads are enabled, how many file do we allow to upload at a time ?
protected
String newDirPattern
pattern for new dir names (for security reasons), default:letters,numbers,-,_ only
protected
String newFilePattern

pattern for new/uploaded file names (for security reasons), default:letters,numbers,-,_,.

pattern for new/uploaded file names (for security reasons), default:letters,numbers,-,_,. only
protected
String oneFileWarning

warning messages : null = no warning, not null.

warning messages : null = no warning, not null. We want the user to pick only 1 file
protected
String oneFolderWarning

warning messages : null = no warning, not null.

warning messages : null = no warning, not null. We want the user to pick a folder
protected
File rootFolder
user can not browse "higher" than this folder.
protected
String sessionTimeoutWarning

warning messages : null = no warning, not null.

warning messages : null = no warning, not null. The session timed out, need to start over
protected
int sortBy
by default sort by filename in alphabetical order
protected
File startFolder
which folder to start in (rootFolder if null)
protected
String tempUploadFolder
where the temporary upload data will be stored during a file upload.
protected
String title
if you want to set a title (ie: "Please choose a file")
protected
String updateWarning

warning messages : null = no warning, not null.

warning messages : null = no warning, not null. Warning if a file with same name already exists
protected
File upFolder
internal value