2000-01-22 12:49:49 +00:00
|
|
|
Form: GSWForm
|
|
|
|
{
|
|
|
|
enabled=^isUploadEnabled;
|
|
|
|
multipleSubmit = YES;
|
|
|
|
enctype = "multipart/form-data"
|
|
|
|
};
|
|
|
|
|
|
|
|
ViewCondition: GSWConditional
|
|
|
|
{
|
|
|
|
condition = isViewEnabled;
|
|
|
|
};
|
|
|
|
|
2002-05-14 11:28:50 +00:00
|
|
|
ViewPathCondition: GSWConditional
|
|
|
|
{
|
|
|
|
condition = ^isURLView;
|
|
|
|
negate = YES;
|
|
|
|
};
|
|
|
|
|
|
|
|
ViewURLCondition: GSWConditional
|
|
|
|
{
|
|
|
|
condition = ^isURLView;
|
|
|
|
};
|
|
|
|
|
|
|
|
LinkViewCondition: GSWConditional
|
|
|
|
{
|
|
|
|
condition = ^isImageView;
|
|
|
|
negate = YES;
|
|
|
|
};
|
|
|
|
|
|
|
|
ImageViewCondition: GSWConditional
|
|
|
|
{
|
|
|
|
condition = ^isImageView;
|
|
|
|
};
|
|
|
|
|
|
|
|
ImageWithPath: GSWImage
|
|
|
|
{
|
|
|
|
filename = fileInfo.filePath;
|
|
|
|
border = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
ImageWithURL: GSWImage
|
|
|
|
{
|
|
|
|
src = fileInfo.fileURL;
|
|
|
|
border = 0;
|
|
|
|
};
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
UploadFile: GSWFileUpload
|
|
|
|
{
|
|
|
|
data = fileInfo.data;
|
|
|
|
filePath = fileInfo.fileName;
|
|
|
|
enabled=^isUploadEnabled;
|
|
|
|
};
|
|
|
|
|
2002-05-14 11:28:50 +00:00
|
|
|
FileLinkWithPath: GSWHyperlink
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
|
|
|
filename=fileInfo.filePath;
|
|
|
|
data=fileInfo.data;
|
|
|
|
mimeType=fileInfo.mimeType;
|
|
|
|
key=fileInfo.filePath;
|
|
|
|
string= ^string;
|
|
|
|
target = ^target;
|
|
|
|
};
|
|
|
|
|
2002-05-14 11:28:50 +00:00
|
|
|
FileLinkWithURL: GSWHyperlink
|
|
|
|
{
|
|
|
|
src=fileInfo.fileURL;
|
|
|
|
string= ^string;
|
|
|
|
target = ^target;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
SubmitButton: GSWSubmitButton
|
|
|
|
{
|
|
|
|
enabled=^isUploadEnabled;
|
|
|
|
value= ^submitButtonText;
|
|
|
|
action = updateAction;
|
|
|
|
};
|
|
|
|
|
2001-10-28 10:29:17 +00:00
|
|
|
DeleteCondition: GSWConditional
|
|
|
|
{
|
|
|
|
condition = isDeleteEnabled;
|
|
|
|
};
|
2000-01-22 12:49:49 +00:00
|
|
|
DeleteButton: GSWSubmitButton
|
|
|
|
{
|
|
|
|
enabled=^isUploadEnabled;
|
|
|
|
value= ^deleteButtonText;
|
|
|
|
action = deleteAction;
|
2002-05-14 11:28:50 +00:00
|
|
|
};
|
|
|
|
|