Index: lams_admin/web/WEB-INF/tags/FileUpload.tag =================================================================== diff -u -r81d7a938d96e090ff24c1bc662481cacc30f2f7a -r7fccd750401d4f33099680d1c3d48eb132aafb7f --- lams_admin/web/WEB-INF/tags/FileUpload.tag (.../FileUpload.tag) (revision 81d7a938d96e090ff24c1bc662481cacc30f2f7a) +++ lams_admin/web/WEB-INF/tags/FileUpload.tag (.../FileUpload.tag) (revision 7fccd750401d4f33099680d1c3d48eb132aafb7f) @@ -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}

- +
+