[richfaces-issues] [JBoss JIRA] (RF-13093) extendedDataTable column resizing and reordering not working on transient (stateless) views

Salvo Isaja (JIRA) jira-events at lists.jboss.org
Sun Jul 14 13:50:26 EDT 2013


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

Salvo Isaja updated RF-13093:
-----------------------------

    Description: 
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 "stateless" constant. 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 page reload. In the non-transient view case, I see a "change" element updating only the ViewState is returned, instead.
Other features seems 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
>
> 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


More information about the richfaces-issues mailing list