Foros de discusión

RE: ViewMap is not saved since Mozarra 2.1.18

Vassilis Petropoulos, modificado hace 11 años.

ViewMap is not saved since Mozarra 2.1.18

Junior Member Mensajes: 26 Fecha de incorporación: 10/04/12 Mensajes recientes
Dear Neil,

it seems that starting from Mozarra 2.1.18, ViewMap is not saved during saveState. I think that is related with recent mojarra changes concering viewstate and session handling.
please see the related issue at: http://java.net/jira/browse/JAVASERVERFACES-2737.

Regards,
Vassilis
Vassilis Petropoulos, modificado hace 11 años.

RE: ViewMap is not saved since Mozarra 2.1.18

Junior Member Mensajes: 26 Fecha de incorporación: 10/04/12 Mensajes recientes
unfortunately, mojarra team marked issue as invalid and thows the ball to liferay team.
this is very serious as viewmap does not work anymore!

Regards,
Vassilis
thumbnail
Neil Griffin, modificado hace 11 años.

RE: ViewMap is not saved since Mozarra 2.1.18

Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
Because of some fixes made in FACES-1470, we are targeting Mojarra 2.1.18 for the next production release of Liferay Faces. When you get a chance, it would be great if you could try version 3.1.2-ga3-SNAPSHOT from the snapshot repository and let us know if that works for you. Thanks, Neil
Vassilis Petropoulos, modificado hace 11 años.

RE: ViewMap is not saved since Mozarra 2.1.18

Junior Member Mensajes: 26 Fecha de incorporación: 10/04/12 Mensajes recientes
thanks, it worked!
thumbnail
Neil Griffin, modificado hace 11 años.

RE: ViewMap is not saved since Mozarra 2.1.18

Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
Thanks so much for getting back to us. So glad it is working for you. emoticon
Vassilis Petropoulos, modificado hace 11 años.

RE: ViewMap is not saved since Mozarra 2.1.18

Junior Member Mensajes: 26 Fecha de incorporación: 10/04/12 Mensajes recientes
btw, may i ask you something?
our pages heavily use datatables.
For this, we chose ClientSideState instead of ServerSideState in order to avoid memory consumption, i/o between nodes in cluster,..
Starting from 2.1.16 ClientSideState depends completely on session.
Is that fair????!!!!!
As I do not know the specs, and before filing a jira issue on mozarra, I would like to have your opinionemoticon

regards,
Vassilis
thumbnail
Neil Griffin, modificado hace 11 años.

RE: ViewMap is not saved since Mozarra 2.1.18

Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
Hi Vassilis,

Could you provide more details as to what you meant when you wrote:
Vassilis Petropoulos:
Starting from 2.1.16 ClientSideState depends completely on session.


From what I understand, Mojara 2.1.16+ contains a bugfix that makes client side state saving better. Prior to 2.1.16, I think that there was a bug in which @ViewScoped managed-beans were getting serialized and included in the value of the view state hidden field.

Thanks,

Neil