mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-23 11:41:20 +00:00
Compilation is OK but this version hasn't been tested * GSWeb.framework/GSWFileUpload.m: Added Traces corrected bug when uploading string type data. * GSWExtensionsGSW.framework/GSWFileUploadFormComponent.m: handle nil fileInfo retrieving, added isDeleteEnabled * GSWExtensionsGSW.framework/GSWFileUploadFormComponent.gswc/GSWFileUploadFormComponent.html/.gswd: added isDeleteEnabled condition * GSWAdaptors/commun/GSWConfig.c/.h: added adaptorTemplatesPath handle (per application and global) * GSWAdaptors/commun/GSWApp.h/.c: added pszAdaptorTemplatesPath * GSWAdaptors/commun/GSWHTTPResponse.c added parameter to GSWTemplate_* calls * GSWAdaptors/commun/GSWAppRequest.c added parameter to GSWTemplate_* calls * GSWAdaptors/commun/GSWTemplates.h/.c: added GSWApp* parameter o handle per application Templates * GSWeb.framework/GSWResourcesManager.m: traces * GSWeb.framework/GSWApplication.m: o change trace level from "low" to "application" o added filterLanguages: method * GSWeb.framework/GSWContext.m: added filterLanguages: call in _languages * GSWeb.framework/GSWAssociations.m: traces * GSWeb.framework/GSWSession.m: Added Traces * GSWeb.framework/GSWUtils.m: Added warning * GSWeb.framework/GSWRequest.m: Added Traces * GSWeb.framework/GSWWOCompatibility.h/.m: added WOImageButton * GSWeb.framework/GSWPopUpButton.m: Added Traces * GSWeb.framework/GSWResponse.m: fix stringByEscapingHTMLString: o stringByEscapingHTMLAttributeValue: o stringByConvertingToHTMLEntities: o stringByConvertingToHTML: * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added EOF access type git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@11266 72102866-910b-0410-8b05-ffd578937521
47 lines
No EOL
750 B
Text
47 lines
No EOL
750 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;
|
|
};
|
|
|
|
DeleteCondition: GSWConditional
|
|
{
|
|
condition = isDeleteEnabled;
|
|
};
|
|
DeleteButton: GSWSubmitButton
|
|
{
|
|
enabled=^isUploadEnabled;
|
|
value= ^deleteButtonText;
|
|
action = deleteAction;
|
|
}; |