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

Lukáš Fryč edited comment on RF-13505 at 5/22/14 6:30 AM:
----------------------------------------------------------

*Second one:*

The problem is based in an approach how file upload sends request parameters to 
the server.
fileupload.js sets up parameters in a) query string b) request body (as form 
params).
This is odd, because undertow(?) detects just query string {{rf_fu_uid}} as a 
parameter and leaves form params unnoticed.

Because one of the form params is also {{org.richfaces.ajax.component}} 
parameter, EPVC assumes the request does not come from RichFaces component and 
delegates partial request processing to JSF impl. In JSF impl, implicitly 
rendered areas are not considered.

See attached image 
[{{fu-request.png}}|https://issues.jboss.org/secure/attachment/12382531/fu-request.png]
 for illustration of the problem.


was (Author: lfryc):
*Second one:*

The problem is based in an approach how file upload sends request parameters to 
the server.
fileupload.js sets up parameters in a) query string b) request body (as form 
params).
This is odd, because undertow(?) detects just query string {{rf_fu_uid}} as a 
parameter and leaves form params unnoticed.

Because one of the form params is also {{org.richfaces.ajax.component}} 
parameter, EPVC assumes the request does not come from RichFaces component and 
delegates partial request processing to JSF impl. In JSF impl, implicitly 
rendered areas are not considered.

See attached image {{fu-request.png} for illustration of the problem.

> Refactor custom tree traversal logic in EPVCI in order to leverage 
> VisitContextFactory (blocked by Mojarra issue)
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13505
>                 URL: https://issues.jboss.org/browse/RF-13505
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.0.0.Alpha3
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>            Priority: Critical
>             Fix For: 4.5.0.Alpha3
>
>         Attachments: fu-request.png
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> Mojarra issue: https://java.net/jira/browse/JAVASERVERFACES-3151
> We will still need to use some:
> * resolve values in runtime
> * add IDs for execution of AjaxOutput's
> * collect list of meta-components to render
> * wrap PartialResponseWriter#endDocument() for RichFaces extensions and 
> JavascriptService



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)

_______________________________________________
richfaces-issues mailing list
richfaces-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to