webtier@glassfish.java.net

Re: [webtier] Where does Glassfish store the JSF component tree state?

From: Jason Lee <jasondlee_at_sun.com>
Date: Tue, 15 Sep 2009 16:50:46 -0500

To me, org.jboss.seam.web.session looks pretty suspicious. :)

On Sep 15, 2009, at 4:44 PM, Ryan Lubke wrote:

> There's probably a custom StateManager in use then.
>
> If I use a simple JSF application (no Seam), using similar logic as
> what you've described below, I
> see the key displayed in the log.
>
>
> On 9/15/09 2:08 PM, webtier_at_javadesktop.org wrote:
>> Hi Ryan,
>>
>> [b]The session object does not have key
>> 'com.sun.faces.logicalViewMap'[/b] . There are seven key objects in
>> the session. They are:
>>
>> org.jboss.seam.security.credentials
>> org.jboss.seam.web.session
>> org.jboss.seam.core.conversationEntries
>> org.jboss.seam.international.localeSelector
>> org.jboss.seam.security.rememberMe
>> javax.faces.request.charset
>> org.jboss.seam.security.identity
>>
>>
>> [b]Here is my code to print the objects in the session:[/b]
>> FacesContext facesContext = FacesContext.getCurrentInstance();
>> ExternalContext externalContext =
>> facesContext.getExternalContext();
>> HttpServletRequest request =
>> (HttpServletRequest)externalContext.getRequest();
>> HttpSession session=request.getSession();
>> Enumeration e=session.getAttributeNames();
>> while ( e.hasMoreElements() ) {
>> System.out.println(e.nextElement());
>> }
>> [Message sent by forum member 'johnnyren' (johnnyren_at_yahoo.com)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=364134
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>

         Jason Lee
Senior Java Developer
GlassFish Administration Console

Sun Microsystems, Inc.
Phone x31197/+1 405-343-1964
Email jasondlee_at_sun.com
Blog http://blogs.sun.com/jasondlee
Blog http://blogs.steeplesoft.com