| Author |
Question for Micheal Yuan and Thomas Heute: PageLoad and IsPostBack
|
Chris Perrin
Greenhorn
Joined: Jul 29, 2003
Posts: 3
|
|
Hey guys, Two features that I loved from .NET that JSF does not seem to supply are an onPageLoad event handler which is called after all the setters, but before any action methods and before the response is rendered. Does/will Seam offer that? Also, .NET has an IsPostBack boolean which is set to true if the page is a post back. Could Seam provide that information?
|
 |
Michael Yuan
author
Ranch Hand
Joined: Mar 07, 2002
Posts: 1427
|
|
onPageLoad is well supported in Seam. You can use the pages.xml file to invoke any backend method when any page is loaded. I am not sure about isPostBack ...
|
Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
|
 |
J.J. Jackson
Greenhorn
Joined: Jun 05, 2007
Posts: 9
|
|
Shale provides an isPostBack() method that's very useful. However, Seam's @Factory or @Create methods already address a common use case for isPostBack(); that is, "Do I need to initialize the data for this bean or is a postback occurring?" -- jj
|
 |
 |
|
|
subject: Question for Micheal Yuan and Thomas Heute: PageLoad and IsPostBack
|
|
|