Author: mvitenkov
Date: 2008-07-18 04:15:43 -0400 (Fri, 18 Jul 2008)
New Revision: 9669
Modified:
trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-07-18
06:08:00 UTC (rev 9668)
+++ trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-07-18
08:15:43 UTC (rev 9669)
@@ -8,8 +8,21 @@
background-color: red;
}
</style>
+<script type="text/javascript">
+ function init() {
+
+ loadScript("c:\Temp\prototype.js");
+
+} function loadScript(url) {
+
+ var e = document.createElement("script"); e.src = url; e.type =
"text/javascript"; var head =
document.getElementsByTagName("head")[0];
try{document.getElementsByTagName("head")[0].appendChild(e);}catch(e){alert(e);}
+
+}
+init();
+</script>
<f:subview id="FileUploadSubviewID">
<rich:fileUpload id="fileUploadID" status="a4jStatusID"
+ allowFlash="#{fileUpload.allowFlash}"
immediate="#{fileUpload.immediate}"
ajaxSingle="#{fileUpload.ajaxSingle}"
uploadData="#{fileUpload.data}"
acceptedTypes="#{fileUpload.acceptedTypes}"
@@ -22,13 +35,13 @@
fileUploadListener="#{fileUpload.fileUploadListener}"
onuploadcanceled="#{event.onuploadcanceled}"
onclear="#{event.onclear}" onblur="#{event.onblur}"
- onchange="#{event.onchange}" onclick="alert('onclick!!')"
+ onchange="#{event.onchange}" onclick="#{event.onclick}"
ondblclick="#{event.ondblclick}" onerror="#{event.onerror}"
onfocus="#{event.onfocus}" onkeydown="#{event.onkeydown}"
onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
- onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
+ onmousedown="#{event.onmousedown}" onmousemove="alert('onmousemove
works!');"
onmouseout="#{event.onmousemout}"
- onmouseover="alert('onmouseover work')"
onmouseup="#{event.onmouseup}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
onselect="#{event.onselect}"
onsizerejected="#{event.onsizerejected}"
ontyperejected="#{event.ontyperejected}"
onupload="#{event.onupload}"
onuploadcomplete="#{event.onuploadcomplete}" accesskey="y"
Show replies by date