diff --git a/transforms01/adl2controllerclasses.xslt b/transforms01/adl2controllerclasses.xslt index 04a1f99..0b1262a 100755 --- a/transforms01/adl2controllerclasses.xslt +++ b/transforms01/adl2controllerclasses.xslt @@ -9,8 +9,8 @@ Transform ADL into (partial) controller classes $Author: sb $ - $Revision: 1.15 $ - $Date: 2008-03-12 13:46:10 $ + $Revision: 1.16 $ + $Date: 2008-03-12 17:40:02 $ --> - - - - - - /* ---- [ cut here: next file 'Controller.auto.cs'] ---------------- */ @@ -93,7 +121,7 @@ // // Controller for auto-generated forms for editing s // Automatically generated from application description using -// adl2controllerclasses.xslt version +// adl2controllerclasses.xslt version // // This file is automatically generated; DO NOT EDIT IT. // @@ -131,7 +159,7 @@ namespace { /// </summary> [ Layout("empty"), Rescue("generalerror"), ControllerDetails("", Area = "auto")] - public partial class Controller : BaseController { + public partial class Controller : { @@ -367,7 +395,7 @@ namespace { ); } - + RenderViewWithFailover("", @@ -678,13 +706,17 @@ namespace { + /* there's no way I can find of producing a set of just those entities + * we'll need menus for. So we set up variables for all the menus we might + * need, and then only instantiate those we do need. */ + - /* produce a list of to populate the menu for */ - @@ -709,10 +741,8 @@ namespace { - PropertyBag[""] = - hibernator.CreateCriteria(typeof()) - - .List<>(); + PropertyBag[""] = + ( NHibernateHelper.GetCurrentSession());