[ 
https://issues.jboss.org/browse/RF-13712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982261#comment-12982261
 ] 

Brian Leathem edited comment on RF-13712 at 7/4/14 11:28 AM:
-------------------------------------------------------------

MY FILE UPLOAD XHTML PAGE CODE 

----
{code}
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"; 
xmlns:h="http://xmlns.jcp.org/jsf/html"; xmlns:f="http://xmlns.jcp.org/jsf/core"; 
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"; 
xmlns:fn="http://xmlns.jcp.org/jsp/jstl/functions"; 
xmlns:a4j="http://richfaces.org/a4j"; xmlns:rich="http://richfaces.org/rich"; 
xmlns:p="http://primefaces.org/ui"; lang="en">
        <a4j:outputPanel styleClass="popup w402" layout="block">
                <rich:fileUpload addLabel="#{cmn['do.select.file']}" 
styleClass="lsn" id="UPLOADER" execute="@form" 
fileUploadListener="#{CoreUFMBean.listener}" 
acceptedTypes="#{CoreUFMBean.acceptedTypes}" 
ontyperejected="alert('#{CoreUFMBean.acceptedTypes} files are accepted');" 
maxFilesQuantity="#{CoreUFMBean.maxFilesQuantity}" />
                <div class="popup_control">
                        <a4j:commandButton type="button" 
value="#{cmn['do.confirm']}" action="#{CoreUFMBean.doUpload}" status="CMN" 
execute="@form" render="WM, POPUP, #{CoreUFMBean.render}" styleClass="cmn mr5" 
/>
                        <a4j:commandButton type="button" 
value="#{cmn['do.cancel']}" action="#{CoreSUMBean.doClosePopup}" 
actionListener="#{CoreUFMBean.doClear}" execute="@this" render="WM, POPUP" 
styleClass="cmn esc">
                                <f:setPropertyActionListener 
target="#{CoreSUMBean.XUIPopup}" value="#{null}" />
                        </a4j:commandButton>
                </div>
        </a4j:outputPanel>
</ui:composition>
{code}


was (Author: sdk):
MY FILE UPLOAD XHTML PAGE CODE 

--------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"; 
xmlns:h="http://xmlns.jcp.org/jsf/html"; xmlns:f="http://xmlns.jcp.org/jsf/core"; 
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"; 
xmlns:fn="http://xmlns.jcp.org/jsp/jstl/functions"; 
xmlns:a4j="http://richfaces.org/a4j"; xmlns:rich="http://richfaces.org/rich"; 
xmlns:p="http://primefaces.org/ui"; lang="en">
        <a4j:outputPanel styleClass="popup w402" layout="block">
                <rich:fileUpload addLabel="#{cmn['do.select.file']}" 
styleClass="lsn" id="UPLOADER" execute="@form" 
fileUploadListener="#{CoreUFMBean.listener}" 
acceptedTypes="#{CoreUFMBean.acceptedTypes}" 
ontyperejected="alert('#{CoreUFMBean.acceptedTypes} files are accepted');" 
maxFilesQuantity="#{CoreUFMBean.maxFilesQuantity}" />
                <div class="popup_control">
                        <a4j:commandButton type="button" 
value="#{cmn['do.confirm']}" action="#{CoreUFMBean.doUpload}" status="CMN" 
execute="@form" render="WM, POPUP, #{CoreUFMBean.render}" styleClass="cmn mr5" 
/>
                        <a4j:commandButton type="button" 
value="#{cmn['do.cancel']}" action="#{CoreSUMBean.doClosePopup}" 
actionListener="#{CoreUFMBean.doClear}" execute="@this" render="WM, POPUP" 
styleClass="cmn esc">
                                <f:setPropertyActionListener 
target="#{CoreSUMBean.XUIPopup}" value="#{null}" />
                        </a4j:commandButton>
                </div>
        </a4j:outputPanel>
</ui:composition>

> FileUpload does not work on Wildfly 8.0 and Wildfly 8.1
> -------------------------------------------------------
>
>                 Key: RF-13712
>                 URL: https://issues.jboss.org/browse/RF-13712
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.3.7
>         Environment: 4.3.7 FileUpload does not work on wildfly
>            Reporter: Byambaa MD
>         Attachments: AS error log.png, can't Render.png, chrome js error 
> log.png, file upload done !.png, fileupload error on wildfly.png, Render 
> code.png, Web application libraries and main page structure.png
>
>




--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to