Are you asking how to make your event scoped query be conversation/session 
scoped like a stateful component?  If so, look at the @Scope annotation.  (or 
the scope attribute on the xml)

If you want to stay in the EVENT scope with your query, try adding using a more 
dynamic value.  This works best from components.xml:  
max-results="#{someSessionObject.maxResults}"

Or, you could add the max results as a request paramter:

  |     <page view-id="/search.xhtml">
  |           <param name="howmany" value="#{yourQuery.maxResults}" />
  |    </page>
  | 

I'm not sure what way fits your app best.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992839
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to