From be2cc24ea76d8077c7ed364f76fbd2fa6a279c48 Mon Sep 17 00:00:00 2001 From: sb Date: Wed, 21 May 2008 13:00:55 +0000 Subject: [PATCH] This is a work-in-progress commit while trying to produce grand unified ADL. Applied Sweepers /does/ build with this version; SRU still /does not/ build with this version. --- transforms01/adl2canonical.xslt | 652 ++++----- transforms01/adl2controllerclasses.xslt | 135 +- transforms01/adl2entityclass.xslt | 165 +-- transforms01/adl2hibernate.xslt | 974 ++++++------- transforms01/adl2mssql.xslt | 126 +- transforms01/adl2views.xslt | 1752 ++++++++++++----------- 6 files changed, 1911 insertions(+), 1893 deletions(-) diff --git a/transforms01/adl2canonical.xslt b/transforms01/adl2canonical.xslt index 0272f75..94c7401 100755 --- a/transforms01/adl2canonical.xslt +++ b/transforms01/adl2canonical.xslt @@ -20,402 +20,408 @@ explicitly state the permission, even if it is 'none'. $Author: sb $ - $Revision: 1.9 $ - $Date: 2008-05-09 16:12:12 $ + $Revision: 1.10 $ + $Date: 2008-05-21 13:00:55 $ --> - + - - + - - + + - - - - - - - - - - - + + + + + + + + + + + + + + + *************************************************************************** * - * Application Description Language framework - * ©2007 Cygnet Solutions Ltd + * + * ©2007 Cygnet Solutions Ltd * - * THIS FILE IS AUTOMATICALLY GENERATED AND SHOULD NOT - * BE MANUALLY EDITED. + * THIS FILE IS AUTOMATICALLY GENERATED AND SHOULD NOT + * BE MANUALLY EDITED. * - * Generated using adl2canonical.xslt - * - *************************************************************************** - - - - + * Generated using adl2canonical.xslt + * + *************************************************************************** + + + + - - - - - - - - - entity already has a key - not generating one - - - - - + + + + + + + + + entity already has a key - not generating one + + + + + - - - - - - - - - ADL WARNING: [In entity '']: '@natural-key' is deprecated - use the 'key' sub element instead - - - - - - - - - - - + + + + + + + + + ADL WARNING: [In entity '']: '@natural-key' is deprecated - use the 'key' sub element instead + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - entity has no key - generating one - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - ADL ERROR: Entity '' has a property '' which conflicts - with your chosen key naming convention . Either: - (i) Make property '' an explicit key by putting it in the <key> tag; - (ii) Name property '' something else; or - (iii) Choose a different key naming convention. - - - - - - - - - - - Auto-generated abstract primary key - - - - + + + - - - - - - - - - - - + + + + entity has no key - generating one + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + ADL ERROR: Entity '' has a property '' which conflicts + with your chosen key naming convention . Either: + (i) Make property '' an explicit key by putting it in the <key> tag; + (ii) Name property '' something else; or + (iii) Choose a different key naming convention. + + - + + + + + + + Auto-generated abstract primary key + + + + + + + + + + + + + + + + + + + + + + + + + - -
- - - - - - - + + + + + + + + - -
+ + - - - - - - - - - - + + + + + + + + - - + + - - - - - - - - - - + + + + + + + + - - + + - - -
- - - - - - - + + + + + + + + - -
+ + - - - - - - - - - - + + + + + + + + - - + + - - - - - - - - - - + + + + + + + + - - + + - - - ADL ERROR: Type definitions of type 'string' must have a valid value for 'size' - Offending typedef: - - + + + ADL ERROR: Type definitions of type 'string' must have a valid value for 'size' + Offending typedef: + + - - - - ADL ERROR: Properties of type 'string' must have a valid value for 'size' - Offending property: of entity - - + + + + ADL ERROR: Properties of type 'string' must have a valid value for 'size' + Offending property: of entity + + - - - ADL ERROR: Properties of type 'entity' must have a valid value for 'entity' - Offending property: of entity - - + + + ADL ERROR: Properties of type 'entity' must have a valid value for 'entity' + Offending property: of entity + + - - - ADL ERROR: Properties of type 'defined' must have a valid value for 'typedef' - Offending property: of entity - - + + + ADL ERROR: Properties of type 'defined' must have a valid value for 'typedef' + Offending property: of entity + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - ADL: ERROR: A group may not be its own parent; offending group - - - - - - - - - - - - ADL: ERROR: Group specified ( does not exist. - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + ADL: ERROR: A group may not be its own parent; offending group + + + + + + + + + + + + ADL: ERROR: Group specified ( does not exist. + + + + + + + + + + + + + - - - + - - - - - - - + + + + + + + - - - - - - - + + + + + + - - - + + +
\ No newline at end of file diff --git a/transforms01/adl2controllerclasses.xslt b/transforms01/adl2controllerclasses.xslt index 89af1ca..4870ee9 100755 --- a/transforms01/adl2controllerclasses.xslt +++ b/transforms01/adl2controllerclasses.xslt @@ -9,8 +9,8 @@ Transform ADL into (partial) controller classes $Author: sb $ - $Revision: 1.29 $ - $Date: 2008-05-19 14:49:18 $ + $Revision: 1.30 $ + $Date: 2008-05-21 13:00:56 $ --> - - + + + - + - + - + /* ---- [ cut here: next file '.auto.cs'] ---------------- */ //------------------------------------------------------------------ // -// Application Description Language framework -// .auto.cs +// +// // // (c) 2007 Cygnet Solutions Ltd // -// Controller for auto-generated forms for editing s -// Automatically generated from application description using -// adl2controllerclasses.xslt version +// Automatically generated abstract super class for controllers for the +// application; generated using +// adl2controllerclasses.xslt version // // This file is automatically generated; DO NOT EDIT IT. // @@ -82,53 +77,59 @@ using System.Data; using System.Collections.Generic; using NHibernate; using NHibernate.Expression; +using Cygnet.Web.Controllers; using ; namespace { - /// <summary> - /// Automatically generated abstract super class for controllers for the - /// application - /// - /// DO NOT EDIT THIS FILE! - /// </summary> - public abstract partial class : BaseController { - - /// <summary> - /// Return a list of all instances of for use in menus, etc; - /// </summary> - protected IList<> ( ISession hibernator) { - return hibernator.CreateCriteria(typeof()) - - .AddOrder( ) - - .SetCacheable( true) - .SetCacheRegion( "") - .List<>(); - } + /// <summary> + /// Automatically generated abstract super class for controllers for the + /// application + /// + /// DO NOT EDIT THIS FILE! + /// </summary> + public abstract partial class : BaseController { + + /// <summary> + /// Return a list of all instances of for use in menus, etc; + /// </summary> + protected IList<> ( ISession hibernator) { + return hibernator.CreateCriteria(typeof()) + + .AddOrder( ) + + .SetCacheable( true) + .SetCacheRegion( "") + .List<>(); + } - + } - } - +} + - + + + Not generating controller for entity , + as it has no forms, pages or lists. + + /* ---- [ cut here: next file 'Controller.auto.cs'] ---------------- */ //------------------------------------------------------------------ // -// Application Description Language framework +// // Controller.auto.cs // // (c) 2007 Cygnet Solutions Ltd // // 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. // @@ -166,8 +167,12 @@ namespace { /// DO NOT EDIT THIS FILE! /// </summary> [ + Layout(""), - Rescue(""), + + + Rescue(""), + ControllerDetails("", Area = ""), Helper(typeof(), "") ] @@ -196,7 +201,35 @@ namespace { } } - + + /// <summary> + /// Temporary hack to sort a problem with uninitialised messages + /// </summary> + public void fixupMessages() { + ISession hibernator = + NHibernateHelper.GetCurrentSession( Session[ NHibernateHelper.USERTOKEN], + Session[NHibernateHelper.PASSTOKEN]); + ICollection<> instances = + hibernator.CreateCriteria( typeof( )) + .List<>(); + + foreach ( instance in instances) { + + if ( == null || == 0 ){ + = new Message(); + hibernator.Save( ); + } + + hibernator.Save( instance); + } + hibernator.Flush(); + + list(); + + } + + + /// <summary> /// Store the record represented by the parameters passed in an HTTP service @@ -960,23 +993,25 @@ namespace { + /* form menus */ + - /* produce a list of to populate the select for */ + /* produce a list of to populate the select for */ - /* produce a list of to populate the LHS of the shuffle for */ + /* produce a list of to populate the LHS of the shuffle for */ - /* produce a list of to populate the multi-select for */ + /* produce a list of to populate the multi-select for */ @@ -1026,7 +1061,7 @@ namespace { - = + = ( NHibernateHelper.GetCurrentSession()), diff --git a/transforms01/adl2entityclass.xslt b/transforms01/adl2entityclass.xslt index c3fe25a..6423df9 100755 --- a/transforms01/adl2entityclass.xslt +++ b/transforms01/adl2entityclass.xslt @@ -8,91 +8,60 @@ Transform ADL into entity classes $Author: sb $ - $Revision: 1.13 $ - $Date: 2008-05-09 16:12:12 $ + $Revision: 1.14 $ + $Date: 2008-05-21 13:00:56 $ --> - - + - + - - + - - + + - - + + - - + + - - - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - /* ---- [ cut here: next file '.auto.cs'] ---------------- */ + + /* ---- [ cut here: next file '.auto.cs'] ---------------- */ + //------------------------------------------------------------- // - // Application Description Language framework + // // .auto.cs // // (c)2007 Cygnet Solutions Ltd // // Automatically generated from application description using - // adl2entityclass.xsl revision + // adl2entityclass.xsl revision // // This file is automatically generated; DO NOT EDIT IT. // @@ -114,7 +83,7 @@ /// </summary> /// <remarks> /// Automatically generated from description of entity - /// using adl2entityclass.xsl revision . + /// using adl2entityclass.xsl revision . /// Note that manually maintained parts of this class may be defined in /// a separate file called .manual.cs, q.v. /// @@ -152,7 +121,8 @@ , ){ - + + this. = ; @@ -160,40 +130,10 @@ - /// <summary> - /// Auto-generated one-arg constructor; initialises Id slot and also all - /// one-to-many slots - /// </summary> - public ( int key) - { - - - = key; - } - /// <summary> - /// Auto-generated iv for Id (abstract primary key) slot - /// </summary> - private int = -1; - - /// <summary> - /// Auto-generated property for Id (abstract primary key) slot - /// </summary> - public virtual int - { - get { return ; } - set { = value; } - } - - /// <summary> - /// Auto-generated overridden property for the Key slot, maps onto - /// - /// </summary> - [Obsolete] - public override int Key - { - get { return ; } - } - + + ADL: ERROR: Entity '' has no key. Was the + canonicalise stage missed in the build process? + /// <summary> @@ -282,6 +222,7 @@ + if ( != null && .Count > 0) { bob.AppendFormat("Cannot delete this as it has {0} dependent ; ", .Count); @@ -490,24 +431,28 @@ - - - - - - - = new HashedSet<>(); - - - - - - - - = new HashedSet<>(); - - - - + + + + + + + = new Message(); + + + + + + + + + + + + = new HashedSet<>(); + + + + \ No newline at end of file diff --git a/transforms01/adl2hibernate.xslt b/transforms01/adl2hibernate.xslt index cb9d5d9..3d6545e 100755 --- a/transforms01/adl2hibernate.xslt +++ b/transforms01/adl2hibernate.xslt @@ -1,9 +1,9 @@ - - - - - - - - - - + + + + - + - - - - - - - - + + + + + + + + - - ABCDEFGHIJKLMNOPQRSTUVWXYZ - abcdefghijklmnopqrstuvwxyz - - - ADD EXCEPT PERCENT - ALL EXEC PLAN - ALTER EXECUTE PRECISION - AND EXISTS PRIMARY - ANY EXIT PRINT - AS FETCH PROC - ASC FILE PROCEDURE - AUTHORIZATION FILLFACTOR PUBLIC - BACKUP FOR RAISERROR - BEGIN FOREIGN READ - BETWEEN FREETEXT READTEXT - BREAK FREETEXTTABLE RECONFIGURE - BROWSE FROM REFERENCES - BULK FULL REPLICATION - BY FUNCTION RESTORE - CASCADE GOTO RESTRICT - CASE GRANT RETURN - CHECK GROUP REVOKE - CHECKPOINT HAVING RIGHT - CLOSE HOLDLOCK ROLLBACK - CLUSTERED IDENTITY ROWCOUNT - COALESCE IDENTITY_INSERT ROWGUIDCOL - COLLATE IDENTITYCOL RULE - COLUMN IF SAVE - COMMIT IN SCHEMA - COMPUTE INDEX SELECT - CONSTRAINT INNER SESSION_USER - CONTAINS INSERT SET - CONTAINSTABLE INTERSECT SETUSER - CONTINUE INTO SHUTDOWN - CONVERT IS SOME - CREATE JOIN STATISTICS - CROSS KEY SYSTEM_USER - CURRENT KILL TABLE - CURRENT_DATE LEFT TEXTSIZE - CURRENT_TIME LIKE THEN - CURRENT_TIMESTAMP LINENO TO - CURRENT_USER LOAD TOP - CURSOR NATIONAL TRAN - DATABASE NOCHECK TRANSACTION - DBCC NONCLUSTERED TRIGGER - DEALLOCATE NOT TRUNCATE - DECLARE NULL TSEQUAL - DEFAULT NULLIF UNION - DELETE OF UNIQUE - DENY OFF UPDATE - DESC OFFSETS UPDATETEXT - DISK ON USE - DISTINCT OPEN USER - DISTRIBUTED OPENDATASOURCE VALUES - DOUBLE OPENQUERY VARYING - DROP OPENROWSET VIEW - DUMMY OPENXML WAITFOR - DUMP OPTION WHEN - ELSE OR WHERE - END ORDER WHILE - ERRLVL OUTER WITH - ESCAPE OVER WRITETEXT - - + + ABCDEFGHIJKLMNOPQRSTUVWXYZ + abcdefghijklmnopqrstuvwxyz + + + ADD EXCEPT PERCENT + ALL EXEC PLAN + ALTER EXECUTE PRECISION + AND EXISTS PRIMARY + ANY EXIT PRINT + AS FETCH PROC + ASC FILE PROCEDURE + AUTHORIZATION FILLFACTOR PUBLIC + BACKUP FOR RAISERROR + BEGIN FOREIGN READ + BETWEEN FREETEXT READTEXT + BREAK FREETEXTTABLE RECONFIGURE + BROWSE FROM REFERENCES + BULK FULL REPLICATION + BY FUNCTION RESTORE + CASCADE GOTO RESTRICT + CASE GRANT RETURN + CHECK GROUP REVOKE + CHECKPOINT HAVING RIGHT + CLOSE HOLDLOCK ROLLBACK + CLUSTERED IDENTITY ROWCOUNT + COALESCE IDENTITY_INSERT ROWGUIDCOL + COLLATE IDENTITYCOL RULE + COLUMN IF SAVE + COMMIT IN SCHEMA + COMPUTE INDEX SELECT + CONSTRAINT INNER SESSION_USER + CONTAINS INSERT SET + CONTAINSTABLE INTERSECT SETUSER + CONTINUE INTO SHUTDOWN + CONVERT IS SOME + CREATE JOIN STATISTICS + CROSS KEY SYSTEM_USER + CURRENT KILL TABLE + CURRENT_DATE LEFT TEXTSIZE + CURRENT_TIME LIKE THEN + CURRENT_TIMESTAMP LINENO TO + CURRENT_USER LOAD TOP + CURSOR NATIONAL TRAN + DATABASE NOCHECK TRANSACTION + DBCC NONCLUSTERED TRIGGER + DEALLOCATE NOT TRUNCATE + DECLARE NULL TSEQUAL + DEFAULT NULLIF UNION + DELETE OF UNIQUE + DENY OFF UPDATE + DESC OFFSETS UPDATETEXT + DISK ON USE + DISTINCT OPEN USER + DISTRIBUTED OPENDATASOURCE VALUES + DOUBLE OPENQUERY VARYING + DROP OPENROWSET VIEW + DUMMY OPENXML WAITFOR + DUMP OPTION WHEN + ELSE OR WHERE + END ORDER WHILE + ERRLVL OUTER WITH + ESCAPE OVER WRITETEXT + + - - - - - - - - - + + + + + + + + + *************************************************************************** * - * Application Description Language framework + * * .auto.hbm.xml * * ©2007 Cygnet Solutions Ltd @@ -129,110 +123,110 @@ * THIS FILE IS AUTOMATICALLY GENERATED AND SHOULD NOT * BE MANUALLY EDITED. * - * Generated using adl2hibernate.xslt revision + * Generated using adl2hibernate.xslt revision * *************************************************************************** - - - - + - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TODO: remember you need to deal with this in manually maintained code - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - + - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - true - false - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - 0 - - - - - - - - -1 - - - 1 - - - - - - - - + + + + + + 0 + + + + + + + + -1 + + + 1 + + + + + + + + \ No newline at end of file diff --git a/transforms01/adl2mssql.xslt b/transforms01/adl2mssql.xslt index e838295..90d70b6 100755 --- a/transforms01/adl2mssql.xslt +++ b/transforms01/adl2mssql.xslt @@ -12,7 +12,7 @@ Convert ADL to MS-SQL $Author: sb $ - $Revision: 1.12 $ + $Revision: 1.13 $ --> @@ -27,70 +27,72 @@ --> + + - + ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz - ADD EXCEPT PERCENT - ALL EXEC PLAN - ALTER EXECUTE PRECISION - AND EXISTS PRIMARY - ANY EXIT PRINT - AS FETCH PROC - ASC FILE PROCEDURE - AUTHORIZATION FILLFACTOR PUBLIC - BACKUP FOR RAISERROR - BEGIN FOREIGN READ - BETWEEN FREETEXT READTEXT - BREAK FREETEXTTABLE RECONFIGURE - BROWSE FROM REFERENCES - BULK FULL REPLICATION - BY FUNCTION RESTORE - CASCADE GOTO RESTRICT - CASE GRANT RETURN - CHECK GROUP REVOKE - CHECKPOINT HAVING RIGHT - CLOSE HOLDLOCK ROLLBACK - CLUSTERED IDENTITY ROWCOUNT - COALESCE IDENTITY_INSERT ROWGUIDCOL - COLLATE IDENTITYCOL RULE - COLUMN IF SAVE - COMMIT IN SCHEMA - COMPUTE INDEX SELECT - CONSTRAINT INNER SESSION_USER - CONTAINS INSERT SET - CONTAINSTABLE INTERSECT SETUSER - CONTINUE INTO SHUTDOWN - CONVERT IS SOME - CREATE JOIN STATISTICS - CROSS KEY SYSTEM_USER - CURRENT KILL TABLE - CURRENT_DATE LEFT TEXTSIZE - CURRENT_TIME LIKE THEN - CURRENT_TIMESTAMP LINENO TO - CURRENT_USER LOAD TOP - CURSOR NATIONAL TRAN - DATABASE NOCHECK TRANSACTION - DBCC NONCLUSTERED TRIGGER - DEALLOCATE NOT TRUNCATE - DECLARE NULL TSEQUAL - DEFAULT NULLIF UNION - DELETE OF UNIQUE - DENY OFF UPDATE - DESC OFFSETS UPDATETEXT - DISK ON USE - DISTINCT OPEN USER - DISTRIBUTED OPENDATASOURCE VALUES - DOUBLE OPENQUERY VARYING - DROP OPENROWSET VIEW - DUMMY OPENXML WAITFOR - DUMP OPTION WHEN - ELSE OR WHERE - END ORDER WHILE - ERRLVL OUTER WITH - ESCAPE OVER WRITETEXT + ADD EXCEPT PERCENT + ALL EXEC PLAN + ALTER EXECUTE PRECISION + AND EXISTS PRIMARY + ANY EXIT PRINT + AS FETCH PROC + ASC FILE PROCEDURE + AUTHORIZATION FILLFACTOR PUBLIC + BACKUP FOR RAISERROR + BEGIN FOREIGN READ + BETWEEN FREETEXT READTEXT + BREAK FREETEXTTABLE RECONFIGURE + BROWSE FROM REFERENCES + BULK FULL REPLICATION + BY FUNCTION RESTORE + CASCADE GOTO RESTRICT + CASE GRANT RETURN + CHECK GROUP REVOKE + CHECKPOINT HAVING RIGHT + CLOSE HOLDLOCK ROLLBACK + CLUSTERED IDENTITY ROWCOUNT + COALESCE IDENTITY_INSERT ROWGUIDCOL + COLLATE IDENTITYCOL RULE + COLUMN IF SAVE + COMMIT IN SCHEMA + COMPUTE INDEX SELECT + CONSTRAINT INNER SESSION_USER + CONTAINS INSERT SET + CONTAINSTABLE INTERSECT SETUSER + CONTINUE INTO SHUTDOWN + CONVERT IS SOME + CREATE JOIN STATISTICS + CROSS KEY SYSTEM_USER + CURRENT KILL TABLE + CURRENT_DATE LEFT TEXTSIZE + CURRENT_TIME LIKE THEN + CURRENT_TIMESTAMP LINENO TO + CURRENT_USER LOAD TOP + CURSOR NATIONAL TRAN + DATABASE NOCHECK TRANSACTION + DBCC NONCLUSTERED TRIGGER + DEALLOCATE NOT TRUNCATE + DECLARE NULL TSEQUAL + DEFAULT NULLIF UNION + DELETE OF UNIQUE + DENY OFF UPDATE + DESC OFFSETS UPDATETEXT + DISK ON USE + DISTINCT OPEN USER + DISTRIBUTED OPENDATASOURCE VALUES + DOUBLE OPENQUERY VARYING + DROP OPENROWSET VIEW + DUMMY OPENXML WAITFOR + DUMP OPTION WHEN + ELSE OR WHERE + END ORDER WHILE + ERRLVL OUTER WITH + ESCAPE OVER WRITETEXT @@ -98,10 +100,10 @@ ------------------------------------------------------------------------------------------------- -- - -- Application Description Language framework + -- -- -- Database for application version - -- Generated for MS-SQL 2000+ using adl2mssql.xslt + -- Generated for MS-SQL 2000+ using adl2mssql.xslt -- -- Code generator (c) 2007 Cygnet Solutions Ltd -- diff --git a/transforms01/adl2views.xslt b/transforms01/adl2views.xslt index a93820b..29c87e8 100755 --- a/transforms01/adl2views.xslt +++ b/transforms01/adl2views.xslt @@ -13,113 +13,120 @@ Transform ADL into velocity view templates $Author: sb $ - $Revision: 1.20 $ - $Date: 2008-05-19 15:25:06 $ + $Revision: 1.21 $ + $Date: 2008-05-21 13:00:57 $ --> - - - + - + - - + - - + + - - - - + + + + - - + + - + + + + - + - - - - + + + - - - - - - + + + - [ cut here: next file 'tail.txt' ] - - + [ cut here: next file 'tail.txt' ] + + - - + + - - - - - - - - - - + + Layout is + + + + + + + + + - - - - - - - - [none] - - - - - + + + + + + + [none] + + + + + - [ cut here: next file '' ] - + [ cut here: next file '' ] + - #set( $title = " $instance.UserIdentifier") - - Auto generated Velocity maybe-delete form for , - generated from ADL. + #set( $title = " $instance.UserIdentifier") + + - Generated using adl2views.xslt - - - - - + Auto generated Velocity maybe-delete form for , + generated from ADL. - @@ -147,7 +154,7 @@ Auto generated Velocity maybe-delete form for , generated from ADL. - Generated using adl2views.xslt + Generated using adl2views.xslt @@ -211,235 +218,237 @@ - - - - - - an - an - an - an - an - a - - - + + + + + + an + an + an + an + an + a + + + + + [ cut here: next file '.auto.vm' ] + - [ cut here: next file '.auto.vm' ] - - - - Auto generated Velocity form for , - generated from ADL. + + - Generated using adl2views.xslt - - #capturefor( title) - #if ( $instance) - $instance.UserIdentifier - #else - Add a new - #end - #end - #capturefor( headextras) - - + + + + + + + + Does not meet the format requirements for + + + + Validation.add( '', + '', + { + + + pattern : new RegExp("","gi") + , + maxLength : + + + + min : + , + max : + + + + }); + - ${StylesHelper.InstallStylesheet( "Epoch")} + - + ${StylesHelper.InstallStylesheet( "Epoch")} - - #end - #capturefor(bodyattributes) - onload="performInitialisation()" - #end - - - - - - + - - - - - - an - an - an - an - an - a - - - + + #end + #capturefor(bodyattributes) + onload="performInitialisation()" + #end + + + + + + + + + + + + + an + an + an + an + an + a + + + + + [ cut here: next file '.auto.vm' ] + - [ cut here: next file '.auto.vm' ] - - - - - #if ( $instance) - #set( $title = " $instance.UserIdentifier") - #else - #set( $title = "Add a new ") - #end - - - $!title - - - Application Description Language framework + + + #if ( $instance) + #set( $title = " $instance.UserIdentifier") + #else + #set( $title = "Add a new ") + #end + + + $!title + + + - Auto generated Velocity form for , - generated from ADL. + Auto generated Velocity form for , + generated from ADL. - Generated using adl2views.xsl - - - + - ${StylesHelper.InstallStylesheet( "Epoch")} + ${StylesHelper.InstallStylesheet( "Epoch")} - + - - - - - - - - - - - + + + + + + + + + + + - + @@ -566,566 +575,442 @@ - -
- - - - - - - display: none - - - - - - -

- - - - - - -

-
- - -
-
-
+ +
+ + + + + + + display: none + + + + + + +

+ + + + + + +

+
+ + +
+
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - $listprop = ; - $farent = ; - $nearent = ; - $farid = ; - $farkey = ; - $nearkey = ; - - - - - - - - - - - - - Add a new - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $listprop = ; + $farent = ; + $nearent = ; + $farid = ; + $farkey = ; + $nearkey = ; + + + + + + + + + + + + + Add a new + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + auxlist for with listed fields + + + + + + + + auxlist with computed fields + + + + + + + + + + + + + actionDangerous + actionSafe + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - #if ( $instance) - #foreach( $item in $instance.) - #if ( $velocityCount % 2 == 0) - #set( $oddity = "even") - #else - #set( $oddity = "odd") - #end - - - - - - - #if ( $item.) - $item..UserIdentifier - #end - - - - - #if ( $item. == '') - - - - - #end - - - - $!item. - - - - - - - - - - Edit! - - - - #end - #end - - - - - - - - - - - - - - - - #if ( $instance) - #foreach( $item in $instance.) - #if ( $velocityCount % 2 == 0) - #set( $oddity = "even") - #else - #set( $oddity = "odd") - #end - - - - - - - #if ( $item.) - $item..UserIdentifier - #end - - - - - #if ( $item. == '') - - - - - #end - - - - $!item. - - - - - - - - - - Edit! - - - - #end - #end - - - + + + + + + + + + + + even + odd + + + + + + + + Computed field ()? TODO: Not yet implememented + + + + - - - - actionDangerous - actionSafe - - - - - - - - - - - - - - - - - - - - + + + + + + + + + ${FormHelper.LabelFor( "instance.", " + + + ")} + + + #if( $instance) + #if( ) + + $FormHelper.HiddenField( "instance.") + #else + + + + + + #end + #else + + + + + + #end + + + - - - - - - - - - - - even - odd - - - - - - - - Computed field ()? TODO: Not yet implememented - - - - - - - - - - - - - - ${FormHelper.LabelFor( "instance.", " - - - ")} - - - #if( $instance) - #if( ) - - $FormHelper.HiddenField( "instance.") - #else - - - - - - #end - #else - - - - - - #end - - - - - - - - - - - - - - - ${FormHelper.LabelFor( "instance.", " - - - ")} - - - - - - - - - - - -
- ${ShuffleWidgetHelper.UnselectedOptions( "", , $instance.)} - - - - - - - - ${ShuffleWidgetHelper.SelectedOptions( "", $instance.)} -
- - - - - -
- - - - - - even - odd - - - - - - -
+ + + + + + + + + ${FormHelper.LabelFor( "instance.", " + + + ")} + + + + + + + + + + + +
+ ${ShuffleWidgetHelper.UnselectedOptions( "", , $instance.)} + + + + + + + + ${ShuffleWidgetHelper.SelectedOptions( "", $instance.)} +
+ + + + + +
+ + + + + + even + odd + + + + + + +
- - - - - - - - - - - - - - - - - ${FormHelper.LabelFor( "instance.", " - - ")} - - - - - edit - edit - $maybe-edit - $maybe-edit - noneditable - none - - - - - - - - - You must provide a value for - - - The value for must be - - - The value for must be an instance of - - - The value for must be - - - - - - - - - - - - required - - - - - - - - - - - - validate-digits - validate-number - validate-number - date-field validate-date - - - - - - - - - - - - - - - - - - - - 8 - 1 - - - - #set ( $maybe-edit="editable") - #if ( $instance) - #if ( ) - - - #set ( $maybe-edit="none") - - - #set ( $maybe-edit="noneditable") - - - #set( $maybe-edit="editable") - #end - #end - - ${.Editable( "", "%{rendermode='',class='',title='',size='',maxlength='',rows=''}")} - - - - - - - + + + + + + + + + + + + + ${FormHelper.LabelFor( "instance.", " + + ")} + + + + + edit + edit + $maybe-edit + $maybe-edit + noneditable + none + + + + + + + + + You must provide a value for + + + The value for must be + + + The value for must be an instance of + + + The value for must be + + + + + + + + + + + + required + + + + + + + + + + + + validate-digits + validate-number + validate-number + date-field validate-date + + + + + + + + + + + + + + + + + + + + 8 + 1 + + + + #set ( $maybe-edit="editable") + #if ( $instance) + #if ( ) + + + #set ( $maybe-edit="none") + + + #set ( $maybe-edit="noneditable") + + + #set( $maybe-edit="editable") + #end + #end + + ${.Editable( "", "%{rendermode='',class='',title='',size='',maxlength='',rows=''}")} + + + + + + +
- - - - - - [ cut here: next file '.auto.vm' ] - - - - - - People - - es - - - ies - - - s - - - - #capturefor( title) - - #end - #capturefor( headextras) - - #end - - - - - - + + + + + + [ cut here: next file '.auto.vm' ] + + + + + + People + + es + + + ies + + + s + + + + + - + Auto generated Velocity list for , + generated from ADL. + + Generated using adl2views.xslt + + + #capturefor( title) + + #end + #capturefor( headextras) + + #end + + + + + + + + @@ -1155,10 +1040,11 @@ $!title + Auto generated Velocity list for , generated from ADL. - Generated using adl2listview.xsl + Generated using adl2listview.xsl @@ -1212,42 +1098,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - + + - + - + + + @@ -1270,7 +1143,7 @@ - #foreach( $instance in $instances) + #foreach( in ) #if ( $velocityCount % 2 == 0) #set( $oddity = "even") #else @@ -1315,27 +1188,30 @@ #end - - + + @@ -1352,10 +1228,10 @@ - + - + @@ -1377,7 +1253,147 @@
+ + + - #if ( $instance.) - $instance..ToString( 'd') + #if ( ) + .ToString( 'd') #end - #if ( $instance.) - $t.Msg( $instance.) + #if ( ) + $t.Msg( ) #end - #if( $instance.) - $instance..UserIdentifier + #if( ) + #end - $!instance. +
- + + + + + + + + + + + + + + + + + + + + + + + + + + + #foreach( in ) + #if ( $velocityCount % 2 == 0) + #set( $oddity = "even") + #else + #set( $oddity = "odd") + #end + + + + + + + + + + ? + & + + + + + + + + + + + + + + + + + + #end +
+ + + + + + + -
+ + + #if ( ) + .ToString( 'd') + #end + + + #if ( ) + $t.Msg( ) + #end + + + #if( ) + + #end + + + + + + + + + + + ! + +
+
+ + +