Skip to main content

ViewsInSession and LogicalViews

5 replies [Last post]
israelbgf
Offline
Joined: 2009-03-31
Points: 0

What are the purpose of this two parameters?

com.sun.faces.numberOfViewsInSession

and

com.sun.faces.numberOfLogicalViews

And what happens with low or high values?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

On 4/27/09 9:07 AM, webtier@javadesktop.org wrote:
> What are the purpose of this two parameters?
>
> [i]com.sun.faces.numberOfViewsInSession[/i]
>
> and
>
> [i]com.sun.faces.numberOfLogicalViews[/i]
>
> And what happens with low or high values?
>
Please see the FAQ:

http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI#section-J...
> [Message sent by forum member 'israelbgf' (israelbgf)]
>
> http://forums.java.net/jive/thread.jspa?messageID=343966
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

israelbgf
Offline
Joined: 2009-03-31
Points: 0

Thanks for the link. These parameters exists to support the back-button of the browsers, is it right? Just to see if i get it. With the defaults value LogicalViews and ViewsInSession, I would have the max of 15x15 (225) views stored in the server-side per user. Am I right?

Thks again,

Israel

israelbgf
Offline
Joined: 2009-03-31
Points: 0

Anyone? :)

mriem
Offline
Joined: 2004-03-26
Points: 0

At max that would be correct. But if you read the previously mentioned link carefully a logical view only gets created because of a GET request. So if your application only has one entry point (GET request) the max would be 15.

israelbgf
Offline
Joined: 2009-03-31
Points: 0

Now i get it. Thanks mriem!