[jboss-user] [JBoss Seam] - Re: Let's use component scope before lookupInStatefulContext

dmitriy.lapko do-not-reply at jboss.com
Fri Oct 26 09:36:12 EDT 2007


Or, better, to use something like this:

in BaseComponent:

@Factory(value="itemBrowseListEvent", scope=ScopeType.EVENT)
  | public ItemBrowseListComp getItemBrowseList() {
  | 	return (ItemBrowseListComp) Component.getInstance("itemBrowseList", ScopeType.SESSION);
  | }
  | 

and on pages:

#{itemBrowseListEvent.getItemQuantity(item)}

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

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



More information about the jboss-user mailing list