Author: mvitenkov
Date: 2008-12-30 06:06:08 -0500 (Tue, 30 Dec 2008)
New Revision: 12062
Modified:
trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
Log:
Remove rich:function
Modified: trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-12-30
10:57:51 UTC (rev 12061)
+++ trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-12-30
11:06:08 UTC (rev 12062)
@@ -12,7 +12,7 @@
<rich:fileUpload id="fileUploadID" status="a4jStatusID"
allowFlash="#{fileUpload.allowFlash}"
immediate="#{fileUpload.immediate}"
- ajaxSingle="#{fileUpload.ajaxSingle}"
uploadData="#{fileUpload.data}"
+ ajaxSingle="true" uploadData="#{fileUpload.data}"
acceptedTypes="#{fileUpload.acceptedTypes}"
disabled="#{fileUpload.disabled}"
autoclear="#{fileUpload.autoclear}"
required="#{fileUpload.required}"
requiredMessage="#{item.fileName}"
@@ -173,7 +173,7 @@
onmousedown="return
$('formID:FileUploadSubviewID:fileUploadID').component.beforeSubmit()"
value="Submit"></h:commandButton>
</h:panelGrid>
- <br />
+ <br />
<f:verbatim>
<h:outputText value="Component controll" style="FONT-WEIGHT:
bold;"></h:outputText>
<br />
@@ -193,16 +193,5 @@
<rich:componentControl attachTo="stopID" event="onclick"
for="fileUploadID"
operation="stop"></rich:componentControl>
<rich:componentControl attachTo="clearID" event="onclick"
- for="fileUploadID"
operation="clear"></rich:componentControl>
- <br />
- <br />
- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
- <h:panelGrid columns="2">
- <rich:column>
- <a4j:commandLink value="getFileName"
reRender="findID"></a4j:commandLink>
- </rich:column>
- <rich:column id="findID">
- <h:outputText
value="#{rich:findComponent('fileUploadID').uploadData[0].fileName}"
/>
- </rich:column>
- </h:panelGrid>
+ for="fileUploadID"
operation="clear"></rich:componentControl>
</f:subview>
\ No newline at end of file
Show replies by date