diff --git a/transforms01/adl2controllerclasses.xslt b/transforms01/adl2controllerclasses.xslt index 4870ee9..5170121 100755 --- a/transforms01/adl2controllerclasses.xslt +++ b/transforms01/adl2controllerclasses.xslt @@ -9,8 +9,8 @@ Transform ADL into (partial) controller classes $Author: sb $ - $Revision: 1.30 $ - $Date: 2008-05-21 13:00:56 $ + $Revision: 1.31 $ + $Date: 2008-05-27 16:27:27 $ --> - + + + + @@ -66,7 +72,7 @@ // // Automatically generated abstract super class for controllers for the // application; generated using -// adl2controllerclasses.xslt version +// adl2controllerclasses.xslt version // // This file is automatically generated; DO NOT EDIT IT. // @@ -129,7 +135,7 @@ namespace { // // 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. // @@ -454,16 +460,18 @@ namespace { hibernator.Flush(); tx.Commit(); - messages.Add( "Record saved successfully"); + messages.Add( ""); } /* try actually commit */ catch ( Exception any) { tx.Rollback(); - messages.Add( "Record not saved"); + messages.Add( ""); throw any; } } /* if ( record != null) */ else { - throw new ApplicationException( String.Format( "No record of type with the key values supplied was found")); + throw new ApplicationException( String.Format( " + + ")); } } /* if ( HasNoErrors()) */ } /* try */ @@ -697,7 +705,9 @@ namespace { - "You must supply a value for " + " + + " ); } @@ -714,16 +724,6 @@ namespace { - /// <summary> /// Handle the submission of the form named /// </summary> @@ -732,7 +732,7 @@ namespace { string command = Form[ "command"]; if ( command == null) { - throw new Exception( "No command?"); + throw new Exception( ""); } else @@ -766,7 +766,9 @@ namespace { } else { - throw new Exception( String.Format("Unrecognised command '{0}'", command)); + throw new Exception( String.Format(" + + ", command)); } } diff --git a/transforms01/adl2views.xslt b/transforms01/adl2views.xslt index 06a4461..dd2a56e 100755 --- a/transforms01/adl2views.xslt +++ b/transforms01/adl2views.xslt @@ -13,8 +13,8 @@ Transform ADL into velocity view templates $Author: sb $ - $Revision: 1.22 $ - $Date: 2008-05-26 14:40:08 $ + $Revision: 1.23 $ + $Date: 2008-05-27 16:27:27 $ --> @@ -124,7 +124,7 @@ Auto generated Velocity maybe-delete form for , generated from ADL. - Generated using adl2views.xslt + Generated using adl2views.xslt @@ -162,7 +162,7 @@ Auto generated Velocity maybe-delete form for , generated from ADL. - Generated using adl2views.xslt + Generated using adl2views.xslt @@ -232,12 +232,6 @@ - - - - - - [ cut here: next file '.auto.vm' ] @@ -249,7 +243,7 @@ Auto generated Velocity form for , generated from ADL. - Generated using adl2views.xslt + Generated using adl2views.xslt #capturefor( title) #if ( $instance) @@ -345,17 +339,11 @@ - - - - - - [ cut here: next file '.auto.vm' ] - + #if ( $instance) @@ -375,7 +363,7 @@ Auto generated Velocity form for , generated from ADL. - Generated using adl2views.xsl + Generated using adl2views.xsl