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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to