t:inputFileUpload doesn't work with s:pprPanelGroup
---------------------------------------------------
Key: TOMAHAWK-1206
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1206
Project: MyFaces Tomahawk
Issue Type: Bug
Affects Versions: 1.1.6
Reporter: Guy Bashan
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="#{xxx.myFile}"
storage="file" required="true"/>
<h:message for="video" errorClass="error" styleClass="info"/>
<h:commandButton id="commandUpload" value="Upload " styleClass="inputsubmit"
action="#{xxx.saveAction}"/>
</s:pprPanelGroup>
</h:form>
</f:view>
</body>
</html>
"myFile" member in "xxx" bean is always null. When s:pprPanelGroup is removed
myFile has value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.