Index: lams_central/web/WEB-INF/tags/FileUpload.tag =================================================================== diff -u -r81d7a938d96e090ff24c1bc662481cacc30f2f7a -re6583c4c5d7e77ce169fec274887e0ef2d107958 --- lams_central/web/WEB-INF/tags/FileUpload.tag (.../FileUpload.tag) (revision 81d7a938d96e090ff24c1bc662481cacc30f2f7a) +++ lams_central/web/WEB-INF/tags/FileUpload.tag (.../FileUpload.tag) (revision e6583c4c5d7e77ce169fec274887e0ef2d107958) @@ -3,17 +3,32 @@ <%@ 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"%> + + + + + @@ -30,25 +45,34 @@ + + + + + + + + +
<%-- font-size:inherit needed for Share Resources authoring or the button is too small --%> - - +

${maxFileSize}

- +