Index: lams_admin/web/WEB-INF/tags/FileUpload.tag =================================================================== RCS file: /usr/local/cvsroot/lams_admin/web/WEB-INF/tags/Attic/FileUpload.tag,v diff -u -r1.1.2.1 -r1.1.2.2 --- lams_admin/web/WEB-INF/tags/FileUpload.tag 27 Feb 2017 09:58:10 -0000 1.1.2.1 +++ lams_admin/web/WEB-INF/tags/FileUpload.tag 1 Mar 2017 12:09:14 -0000 1.1.2.2 @@ -3,17 +3,34 @@ <%@ 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"%> + +<%-- Set uploadInfoMessageKey to '-' to NOT show the "not exe and max file size" type message. Leave it blank for the default key label.upload.info --%> <%@ 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"%> + + + + + @@ -30,25 +47,36 @@ + + + + + + + + +
<%-- font-size:inherit needed for Share Resources authoring or the button is too small --%> - - +
+

${maxFileSize}

- +
+