Forums de discussion

ViewMap is not saved since Mozarra 2.1.18

Vassilis Petropoulos, modifié il y a 11 années.

ViewMap is not saved since Mozarra 2.1.18

Junior Member Publications: 26 Date d'inscription: 10/04/12 Publications récentes
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, modifié il y a 11 années.

RE: ViewMap is not saved since Mozarra 2.1.18

Junior Member Publications: 26 Date d'inscription: 10/04/12 Publications récentes
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, modifié il y a 11 années.

RE: ViewMap is not saved since Mozarra 2.1.18

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
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, modifié il y a 11 années.

RE: ViewMap is not saved since Mozarra 2.1.18

Junior Member Publications: 26 Date d'inscription: 10/04/12 Publications récentes
thanks, it worked!
thumbnail
Neil Griffin, modifié il y a 11 années.

RE: ViewMap is not saved since Mozarra 2.1.18

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Thanks so much for getting back to us. So glad it is working for you. emoticon
Vassilis Petropoulos, modifié il y a 11 années.

RE: ViewMap is not saved since Mozarra 2.1.18

Junior Member Publications: 26 Date d'inscription: 10/04/12 Publications récentes
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, modifié il y a 11 années.

RE: ViewMap is not saved since Mozarra 2.1.18

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
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