[jboss-user] [JBoss Seam] - Scoped datamodel

earniedyke do-not-reply at jboss.com
Mon Jan 14 14:20:25 EST 2008


Greetings all,

If I have the following class:

@Stateful
  | @Scope(SESSION)
  | @Name("conferenceManager")
  | public class ConferenceManager implements ConferenceManagerLocal, Serializable {
  | 
  | 	@DataModelSelection("administerableConferences")
  | 	@Out(required = false, scope = PAGE) 
  | 	private Conference administerableConference;
  | 
  | 	@DataModel
  | 	@Out(required = false, scope = PAGE)
  | 	private List<Conference> administerableConferences;
  | 
  | ...
  | 
  | }
  | 
is the scope of administerableConferences being prompted to SESSION because the class is scoped SESSION? 

As you can seen from this clip of debug.seam it iis in the SESSION context:

 -   Session Context
  | activeConferences
  | adminConf
  | administerableConferences
  | conferenceManager
  | javax.faces.request.charset
  | org.jboss.seam.core.conversationEntries
  | org.jboss.seam.international.localeSelector
  | org.jboss.seam.security.identity
  | org.jboss.seam.web.session
  | person
  | waitc.u
  | + -  Application Context 

I am using Seam 2.0.0 by the way.

Thanks for any and all responses.

Earnie!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119792#4119792

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119792



More information about the jboss-user mailing list