Index: lams_tool_daco/conf/language/lams/ApplicationResources.properties
===================================================================
diff -u -r565d9271e54caf3d9a02cb621962c78db60f7e6d -rb99c1a3c6fbea3d9a4190f69b95381f14561ffe1
--- lams_tool_daco/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 565d9271e54caf3d9a02cb621962c78db60f7e6d)
+++ lams_tool_daco/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision b99c1a3c6fbea3d9a4190f69b95381f14561ffe1)
@@ -252,6 +252,9 @@
label.monitoring.average.number.records.heading =Average Number of Records
label.activity.completion =End of activity
label.notifications =Notifications
+errors.maxfilesize =Uploaded file exceeded maximum size: {0}
+error.attachment.executable =Uploaded file is executable
+error.attachment.must.be.image =Allowed file formats: JPG, GIF or PNG.
+label.upload.info =Uploaded file must not be executable and not exceed size of {0}
-
#======= End labels: Exported 246 labels for en AU =====
Index: lams_tool_daco/web/WEB-INF/tags/AuthoringButton.tag
===================================================================
diff -u -rb5ab72c783a98abeb08431bafb067ad4b9edf1df -rb99c1a3c6fbea3d9a4190f69b95381f14561ffe1
--- lams_tool_daco/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision b5ab72c783a98abeb08431bafb067ad4b9edf1df)
+++ lams_tool_daco/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision b99c1a3c6fbea3d9a4190f69b95381f14561ffe1)
@@ -123,10 +123,10 @@
}
-
+
-
+
Index: lams_tool_daco/web/WEB-INF/tags/FileUpload.tag
===================================================================
diff -u
--- lams_tool_daco/web/WEB-INF/tags/FileUpload.tag (revision 0)
+++ lams_tool_daco/web/WEB-INF/tags/FileUpload.tag (revision b99c1a3c6fbea3d9a4190f69b95381f14561ffe1)
@@ -0,0 +1,80 @@
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+<%@ taglib uri="tags-function" prefix="fn" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+
+<%-- Usually fileFieldname and fileFieldId are the same, but DACO needs them to be different.
+ If they can be the same, set fileFieldname and fileFieldId will be set to the same.
+ If you need them different, then define both.
+ If you define neither, fileFieldname = fileFieldId = "fileSelector" --%>
+<%@ attribute name="fileFieldname" required="false" rtexprvalue="true"%>
+<%@ attribute name="fileFieldId" required="false" rtexprvalue="true"%>
+
+<%@ attribute name="fileInputNameFieldname" required="false" rtexprvalue="true"%>
+<%@ attribute name="fileInputMessageKey" required="false" rtexprvalue="true"%>
+<%@ attribute name="uploadInfoMessageKey" required="false" rtexprvalue="true"%>
+<%@ attribute name="maxFileSize" required="true" rtexprvalue="true"%>
+<%@ attribute name="tabindex" required="false" rtexprvalue="true"%>
+
+<%-- Only set if you have more than one file field on the screen (such as DACO) --%>
+<%@ attribute name="errorMsgDiv" required="false" rtexprvalue="true"%>
+<%@ attribute name="fileButtonBrowse" required="false" rtexprvalue="true"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%-- font-size:inherit needed for Share Resources authoring or the button is too small --%>
+
+
+
+
+