[jboss-user] [JBoss Seam] - Re: Same behaviour than good old-fashioned request scope ?

limousyf do-not-reply at jboss.com
Fri Jun 1 13:16:03 EDT 2007


yes of course.
Here's my SLSB:


  | @Stateless
  | @Scope(value=ScopeType.EVENT)
  | @Name("myCertifications")
  | public class MyCertificationsBean implements MyCertifications {
  | 	
  |     @Logger private Log log;    
  | 	
  |     @In FacesMessages facesMessages;
  |     
  |     @DataModel
  |     private List<Certification> myList;
  | 
  |     @Factory("myList")
  |     public void findMessages()
  |     {    	    	
  | blablabla fetching my list
  |     	
  |     } 
  | 
  | 

The xhtml page :


  |     <h:dataTable id="certificationListTable" 
  |                 var="certif"
  |               value="#{myList}" >
  |         <h:column>
  |             <f:facet name="header">
  | 				Id
  |             </f:facet>
  |             <h:outputText value="#{certif.certificationId}"></h:outputText>
  | 


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

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



More information about the jboss-user mailing list