Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.6
-
None
-
None
Description
Seems like it is impossible to do ajax upload using t:inputFileUpload and s:pprPanelGroup.
The uploaded file on the server is null.
Example:
-------------
<%@ page contentType="text/html;charset=windows-1255" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s" %>
<html>
<head><title>Simple jsp page</title></head>
<body>
<f:view>
<h:form id="frmUpload" enctype="multipart/form-data">
<s:pprPanelGroup id="xxxx" partialTriggerPattern="frmUpload.*" inlineLoadingMessage="Loading...">
<t:inputFileUpload size="18" id="video" value="#
" storage="file" required="true"/>
<h:message for="video" errorClass="error" styleClass="info"/>
<h:commandButton id="commandUpload" value="Upload " styleClass="inputsubmit"
action="#
"/>
</s:pprPanelGroup>
</h:form>
</f:view>
</body>
</html>
"myFile" member in "xxx" bean is always null. When s:pprPanelGroup is removed myFile has value.