@DataModelSelection is working perfectly for me in the demo apps in CVS. It may 
not have been working in the 1.0 beta 1 release.

See, for example, BookingListAction in the booking demo.

The reason why @Factory is sometimes needed, and sometimes not is that.

(1) Sometimes we are processing a faces postback (ie a action listener 
invocation), so the action listener prepares the data in the DataModel.

(2) Sometimes we are processing non-faces HTTP GET request, and so no action 
listener has been invoked and we need to prepare the data during the 
RENDER_RESPONSE phase.


In case (1), all you need is an action listener marked @Begin. In case (2) you 
need an @Factory @Begin method.

Hope that is clear.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to