]
Matej Novotny closed RF-13093.
------------------------------
Verified with JSF 2.2 (using WildFly 8.0.0.CR1). Partial response is no longer empty.
EPVC: ViewState must be written even for 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: