[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-834) FileUpload (Progress bar cannot with this be used as it does not seem to pass on the Conversation)

Ted Goddard (JIRA) jira-events at lists.jboss.org
Fri Feb 23 19:29:36 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-834?page=comments#action_12354161 ] 
            
Ted Goddard commented on JBSEAM-834:
------------------------------------

Initial testing with Ajax Push fixes applied (invoking both execute() and render() during Ajax Push) does not resolve the problem with FileUpload. 

The complexity discovered with FileUpload is that the file upload servlet needs to relay events to the application so that the application can push page updates illustrating file upload progress (potentially in an application-dependent manner, but typically this is simply a progress bar). This event relay is performed via a callback on an application bean, but this occurs outside of the JSF lifecycle (it is simply invoked from the FileUpload Servlet) and appears to fail to prepare the Seam interceptors correctly.


> FileUpload (Progress bar cannot with this be used as it does not seem to pass on the Conversation)
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-834
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-834
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: ICE Faces Integration
>    Affects Versions: 1.1.6.GA
>            Reporter: Tony Herstell
>         Assigned To: Gregory Dick
>            Priority: Minor
>
> Don't use the progressListener
>  <!-- progressListener="#{uploadController.progress}" -->
> as it throws a "no long running conversation" exception in seam in the backing bean.
> <ice:panelGrid columns="1">
> 	<ice:inputFile style="border:none; width:400px; height:70px;"
>                      actionListener="#{uploadController.action}"/> <!-- progressListener="#{uploadController.progress}" -->
>          <ice:outputProgress id="progress" value="#{uploadController.percent}"/>
> </ice:panelGrid>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list