mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-24 04:01:16 +00:00
42 lines
675 B
Text
42 lines
675 B
Text
|
Form: GSWForm
|
||
|
{
|
||
|
enabled=^isUploadEnabled;
|
||
|
multipleSubmit = YES;
|
||
|
enctype = "multipart/form-data"
|
||
|
};
|
||
|
|
||
|
ViewCondition: GSWConditional
|
||
|
{
|
||
|
condition = isViewEnabled;
|
||
|
};
|
||
|
|
||
|
UploadFile: GSWFileUpload
|
||
|
{
|
||
|
data = fileInfo.data;
|
||
|
filePath = fileInfo.fileName;
|
||
|
enabled=^isUploadEnabled;
|
||
|
};
|
||
|
|
||
|
FileLink: GSWHyperlink
|
||
|
{
|
||
|
filename=fileInfo.filePath;
|
||
|
data=fileInfo.data;
|
||
|
mimeType=fileInfo.mimeType;
|
||
|
key=fileInfo.filePath;
|
||
|
string= ^string;
|
||
|
target = ^target;
|
||
|
};
|
||
|
|
||
|
SubmitButton: GSWSubmitButton
|
||
|
{
|
||
|
enabled=^isUploadEnabled;
|
||
|
value= ^submitButtonText;
|
||
|
action = updateAction;
|
||
|
};
|
||
|
|
||
|
DeleteButton: GSWSubmitButton
|
||
|
{
|
||
|
enabled=^isUploadEnabled;
|
||
|
value= ^deleteButtonText;
|
||
|
action = deleteAction;
|
||
|
};
|