[ 
https://issues.jboss.org/browse/RF-13093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukáš Fryč updated RF-13093:
----------------------------

    Description: 
Original summary: *extendedDataTable column resizing and reordering not working 
on transient (stateless) views*

When turning on transient (stateless) views in recent Mojarra versions (as per 
JSF 2.2 specification, to my best understanding), using request scoped backing 
beans, javax.faces.ViewState becomes the constant "stateless". Column resizing 
and reordering in extendedDataTable causes an Ajax request to the server, but 
in this case an invalid response is sent, containing only:
{code:xml}
<?xml version='1.0' encoding='UTF-8'?>
<partial-response></partial-response>
{code}
This causes an exception in {{jsf.js}} because the partial-response element has 
no children and no further JavaScript processing happens in the view until the 
page is reloaded. In the non-transient view case, I see a {{change}} element 
updating only the ViewState is returned, instead.
Other features seem to work pretty well in stateless mode, by the way.
Thanks

  was:
When turning on transient (stateless) views in recent Mojarra versions (as per 
JSF 2.2 specification, to my best understanding), using request scoped backing 
beans, javax.faces.ViewState becomes the constant "stateless". Column resizing 
and reordering in extendedDataTable causes an Ajax request to the server, but 
in this case an invalid response is sent, containing only:
{code:xml}
<?xml version='1.0' encoding='UTF-8'?>
<partial-response></partial-response>
{code}
This causes an exception in {{jsf.js}} because the partial-response element has 
no children and no further JavaScript processing happens in the view until the 
page is reloaded. In the non-transient view case, I see a {{change}} element 
updating only the ViewState is returned, instead.
Other features seem to work pretty well in stateless mode, by the way.
Thanks


    
> extendedDataTable column resizing and reordering not working on transient 
> (stateless) views
> -------------------------------------------------------------------------------------------
>
>                 Key: RF-13093
>                 URL: https://issues.jboss.org/browse/RF-13093
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.3.2
>         Environment: GlassFish 3.1.2.2 with Mojarra 2.1.23
>            Reporter: Salvo Isaja
>            Assignee: Lukáš Fryč
>              Labels: jsf22
>             Fix For: 5.0.0.Alpha3
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> Original summary: *extendedDataTable column resizing and reordering not 
> working on transient (stateless) views*
> When turning on transient (stateless) views in recent Mojarra versions (as 
> per JSF 2.2 specification, to my best understanding), using request scoped 
> backing beans, javax.faces.ViewState becomes the constant "stateless". Column 
> resizing and reordering in extendedDataTable causes an Ajax request to the 
> server, but in this case an invalid response is sent, containing only:
> {code:xml}
> <?xml version='1.0' encoding='UTF-8'?>
> <partial-response></partial-response>
> {code}
> This causes an exception in {{jsf.js}} because the partial-response element 
> has no children and no further JavaScript processing happens in the view 
> until the page is reloaded. In the non-transient view case, I see a 
> {{change}} element updating only the ViewState is returned, instead.
> Other features seem to work pretty well in stateless mode, by the way.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to