Index: lams_tool_lamc/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -rb5ab72c783a98abeb08431bafb067ad4b9edf1df -r7db22881fda5bae3aaedb73407b1589e71c0404a --- lams_tool_lamc/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision b5ab72c783a98abeb08431bafb067ad4b9edf1df) +++ lams_tool_lamc/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -123,7 +123,7 @@ }
- + Index: lams_tool_lamc/web/WEB-INF/tags/FileUpload.tag =================================================================== diff -u --- lams_tool_lamc/web/WEB-INF/tags/FileUpload.tag (revision 0) +++ lams_tool_lamc/web/WEB-INF/tags/FileUpload.tag (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -0,0 +1,84 @@ +<%@ 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"%> + +<%-- 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"%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ <%-- font-size:inherit needed for Share Resources authoring or the button is too small --%> + + + + +
+ +

${maxFileSize}

+
+ + + + Index: lams_tool_lamc/web/WEB-INF/tags/WaitingSpinner.tag =================================================================== diff -u --- lams_tool_lamc/web/WEB-INF/tags/WaitingSpinner.tag (revision 0) +++ lams_tool_lamc/web/WEB-INF/tags/WaitingSpinner.tag (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -0,0 +1,17 @@ +<%@ taglib uri="tags-core" prefix="c"%> + +<%@ attribute name="id" required="false" rtexprvalue="true"%> +<%@ attribute name="showInline" required="false" rtexprvalue="true"%> + + + id="${id}" + + + + + + + + + + \ No newline at end of file Index: lams_tool_lamc/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -r1f99d03199a3995cfffe0cb1536c08f0220e88b0 -r7db22881fda5bae3aaedb73407b1589e71c0404a --- lams_tool_lamc/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 1f99d03199a3995cfffe0cb1536c08f0220e88b0) +++ lams_tool_lamc/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -529,5 +529,13 @@ CommentsAuthor /WEB-INF/tags/CommentsAuthor.tag + + FileUpload + /WEB-INF/tags/FileUpload.tag + + + WaitingSpinner + /WEB-INF/tags/WaitingSpinner.tag + Index: lams_tool_lamc/web/authoring/BasicContent.jsp =================================================================== diff -u -rd28a91914e8858e0fbc045fc9313e3b50a309c45 -r7db22881fda5bae3aaedb73407b1589e71c0404a --- lams_tool_lamc/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision d28a91914e8858e0fbc045fc9313e3b50a309c45) +++ lams_tool_lamc/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -36,7 +36,7 @@ function importQTI(){ window.open('questions/questionFile.jsp?limitType=mc', - 'QuestionFile','width=500,height=200,scrollbars=yes'); + 'QuestionFile','width=500,height=240,scrollbars=yes'); } function saveQTI(formHTML, formName) { Index: lams_tool_scratchie/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -rb5ab72c783a98abeb08431bafb067ad4b9edf1df -r7db22881fda5bae3aaedb73407b1589e71c0404a --- lams_tool_scratchie/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision b5ab72c783a98abeb08431bafb067ad4b9edf1df) +++ lams_tool_scratchie/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -123,7 +123,7 @@ }
- + Index: lams_tool_scratchie/web/WEB-INF/tags/FileUpload.tag =================================================================== diff -u --- lams_tool_scratchie/web/WEB-INF/tags/FileUpload.tag (revision 0) +++ lams_tool_scratchie/web/WEB-INF/tags/FileUpload.tag (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -0,0 +1,84 @@ +<%@ 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"%> + +<%-- 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"%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ <%-- font-size:inherit needed for Share Resources authoring or the button is too small --%> + + + + +
+ +

${maxFileSize}

+
+ + + + Index: lams_tool_scratchie/web/WEB-INF/tags/WaitingSpinner.tag =================================================================== diff -u --- lams_tool_scratchie/web/WEB-INF/tags/WaitingSpinner.tag (revision 0) +++ lams_tool_scratchie/web/WEB-INF/tags/WaitingSpinner.tag (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -0,0 +1,17 @@ +<%@ taglib uri="tags-core" prefix="c"%> + +<%@ attribute name="id" required="false" rtexprvalue="true"%> +<%@ attribute name="showInline" required="false" rtexprvalue="true"%> + + + id="${id}" + + + + + + + + + + \ No newline at end of file Index: lams_tool_scratchie/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -r1f99d03199a3995cfffe0cb1536c08f0220e88b0 -r7db22881fda5bae3aaedb73407b1589e71c0404a --- lams_tool_scratchie/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 1f99d03199a3995cfffe0cb1536c08f0220e88b0) +++ lams_tool_scratchie/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -529,5 +529,13 @@ CommentsAuthor /WEB-INF/tags/CommentsAuthor.tag + + FileUpload + /WEB-INF/tags/FileUpload.tag + + + WaitingSpinner + /WEB-INF/tags/WaitingSpinner.tag + Index: lams_tool_scratchie/web/pages/authoring/basic.jsp =================================================================== diff -u -rd28a91914e8858e0fbc045fc9313e3b50a309c45 -r7db22881fda5bae3aaedb73407b1589e71c0404a --- lams_tool_scratchie/web/pages/authoring/basic.jsp (.../basic.jsp) (revision d28a91914e8858e0fbc045fc9313e3b50a309c45) +++ lams_tool_scratchie/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 7db22881fda5bae3aaedb73407b1589e71c0404a) @@ -67,7 +67,7 @@ function importQTI(){ window.open('questions/questionFile.jsp?limitType=mc', - 'QuestionFile','width=500,height=200,scrollbars=yes'); + 'QuestionFile','width=500,height=240,scrollbars=yes'); } function saveQTI(formHTML, formName) {