|
From: <mic...@as...> - 2005-05-18 09:34:47
|
>=20 > Message: 1 > From: "Keith Donald" <ke...@in...> > To: <spr...@li...> > Date: Tue, 17 May 2005 23:02:38 -0400 > Subject: [Springframework-developer] RE: spring webflow in=20 > progress pr3 features - seeking feedback ... > A few additional comments: >=20 >=20 > On #1 below we could have simple view setup action support as follows: >=20 > <view-state id=3D"displaySearchCriteria" view=3D"searchCriteria"> >=20 > <action bean=3D"phonebookActions" method=3D"setupSearchCriteriaForm"/> >=20 > </view-state> >=20 > That would of course assume there was only a 'success' action=20 > result possibility, which seems appropriate for most setup=20 > actions (e.g to populate reference data drop downs) If you=20 > need to handle error cases, then you'd need to use the=20 > display-criteria elemtn with a if-false attribute. >=20 > =20 IMHO this could be better achieved by centralized error handling = specific for flow - or inherited from parent flow. This feature is still = missing and I assume that it could solve many error handling situations. = I proposed this requirement on user-list as well as on forum and the = idea was to involve similar error handling mechanism to one in Spring = Web. The base difference would be only in mapping exception/error to = certain view in flow instead of view id to be used by SpringWeb = ViewResolver. This solution is not complex yet, but could be easily designed to = elegant and plugable solution of centralized flow error handling.=20 Thank you, Michal Links to my previous posts: http://sourceforge.net/mailarchive/message.php?msg_id=3D11479934 http://forum.springframework.org/viewtopic.php?t=3D4881&highlight=3D |