Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Vassilis Petropoulos
ViewMap is not saved since Mozarra 2.1.18
February 10, 2013 9:00 AM
Answer

Vassilis Petropoulos

Rank: Junior Member

Posts: 26

Join Date: April 10, 2012

Recent Posts

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
RE: ViewMap is not saved since Mozarra 2.1.18
February 11, 2013 8:00 AM
Answer

Vassilis Petropoulos

Rank: Junior Member

Posts: 26

Join Date: April 10, 2012

Recent Posts

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
Neil Griffin
RE: ViewMap is not saved since Mozarra 2.1.18
February 11, 2013 8:26 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2056

Join Date: July 26, 2005

Recent Posts

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
RE: ViewMap is not saved since Mozarra 2.1.18
February 11, 2013 11:45 AM
Answer

Vassilis Petropoulos

Rank: Junior Member

Posts: 26

Join Date: April 10, 2012

Recent Posts

thanks, it worked!
Neil Griffin
RE: ViewMap is not saved since Mozarra 2.1.18
February 11, 2013 11:59 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2056

Join Date: July 26, 2005

Recent Posts

Thanks so much for getting back to us. So glad it is working for you. emoticon
Vassilis Petropoulos
RE: ViewMap is not saved since Mozarra 2.1.18
February 11, 2013 2:17 PM
Answer

Vassilis Petropoulos

Rank: Junior Member

Posts: 26

Join Date: April 10, 2012

Recent Posts

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
Neil Griffin
RE: ViewMap is not saved since Mozarra 2.1.18
February 15, 2013 11:48 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2056

Join Date: July 26, 2005

Recent Posts

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