diff --git a/schemas/adl-0.dtd b/schemas/adl-0.dtd
index b078d09..e23142d 100755
--- a/schemas/adl-0.dtd
+++ b/schemas/adl-0.dtd
@@ -13,7 +13,7 @@
@@ -96,8 +96,16 @@
-->
+
+
+
-
+
diff --git a/transforms01/adl2controllerclasses.xslt b/transforms01/adl2controllerclasses.xslt
index f6686ca..857b299 100755
--- a/transforms01/adl2controllerclasses.xslt
+++ b/transforms01/adl2controllerclasses.xslt
@@ -9,8 +9,8 @@
Transform ADL into (partial) controller classes
$Author: sb $
- $Revision: 1.9 $
- $Date: 2008-02-21 12:40:23 $
+ $Revision: 1.10 $
+ $Date: 2008-02-27 17:38:41 $
-->
-
+ select="substring( '$Revision: 1.10 $', 11)"/>
@@ -130,6 +129,7 @@ namespace {
///
/// DO NOT EDIT THIS FILE!
/// </summary>
+ [ControllerDetails("", Area = "auto")]
public partial class Controller : BaseController {
@@ -312,11 +312,13 @@ namespace {
{
/* the session may be polluted; create a new session */
NHibernateHelper.CloseSession();
- hibernator = NHibernateHelper.GetCurrentSession(Session[ NHibernateHelper.USERTOKEN],
- Session[NHibernateHelper.PASSTOKEN]);
- }
-
-
+ hibernator = NHibernateHelper.GetCurrentSession(
+ Session[ NHibernateHelper.USERTOKEN],
+ Session[NHibernateHelper.PASSTOKEN]
+ );
+ }
+
+
RenderViewWithFailover("",
@@ -422,8 +424,8 @@ namespace {
if ( Form[ "" ] == null)
{
AddError(
-
-
+
+
"You must supply a value for "
);
@@ -455,13 +457,13 @@ namespace {
[AccessibleThrough(Verb.Post)]
public void ( )
{
- string command = Form[ "command"];
+ string command = Form[ "command"];
- if ( command == null)
- {
- throw new Exception( "No command?");
- }
- else
+ if ( command == null)
+ {
+ throw new Exception( "No command?");
+ }
+ else
if ( command.Equals( ""))
{
@@ -521,16 +523,26 @@ namespace {
/// <summary>
/// Show the form named , containing the indicated record
/// </summary>
- /// <param name="">the key value of the record to show</param>
+
+ /// <param name="">the key value of the record to show</param>
+
[AccessibleThrough(Verb.Get)]
- public void ( )
+ public void (
+
+
+
+
+ ,
+ )
{
ISession hibernator =
NHibernateHelper.GetCurrentSession( Session[ NHibernateHelper.USERTOKEN],
Session[NHibernateHelper.PASSTOKEN]);
record =
hibernator.CreateCriteria(typeof())
- .Add(Expression.Eq("", Id))
+
+ .Add(Expression.Eq("", ))
+
.UniqueResult<>();
diff --git a/transforms01/adl2entityclass.xslt b/transforms01/adl2entityclass.xslt
index 66885ee..f656665 100755
--- a/transforms01/adl2entityclass.xslt
+++ b/transforms01/adl2entityclass.xslt
@@ -8,8 +8,8 @@
Transform ADL into entity classes
$Author: sb $
- $Revision: 1.6 $
- $Date: 2008-02-20 12:09:53 $
+ $Revision: 1.7 $
+ $Date: 2008-02-27 17:38:41 $
-->
+ select="substring( '$Revision: 1.7 $', 11)"/>
@@ -214,6 +214,9 @@
+
+ result.Append( );
+
@@ -221,14 +224,14 @@
- result.Append(.ToString( "d"));
+ result.Append(.ToString( "d"));
- result.Append(.ToString( "t"));
+ result.Append(.ToString( "t"));
- result.Append();
+ result.Append();
@@ -312,6 +315,7 @@
+
diff --git a/transforms01/adl2hibernate.xslt b/transforms01/adl2hibernate.xslt
index 85a3910..c70cbac 100755
--- a/transforms01/adl2hibernate.xslt
+++ b/transforms01/adl2hibernate.xslt
@@ -12,7 +12,7 @@
Transform ADL to Hibernate
$Author: sb $
- $Revision: 1.8 $
+ $Revision: 1.9 $
-->
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -24,6 +27,15 @@
TODO: we need to generate views for each available locale, but this is not
yet implemented. When it is we will almost certainly still need a 'default locale' -->
+
+
+
+ select="substring( '$Revision: 1.5 $', 11)"/>
-
+
-
+
-
-
-
+
+
+
[ cut here: next file '' ]
@@ -115,10 +127,10 @@
-
+
-
+
an
an
@@ -130,15 +142,15 @@
- [ cut here: next file '.auto.vm' ]
+ [ cut here: next file '.auto.vm' ]
#if ( $instance)
- #set( $title = " $instance.UserIdentifier")
+ #set( $title = " $instance.UserIdentifier")
#else
- #set( $title = "Add a new ")
+ #set( $title = "Add a new ")
#end
@@ -146,7 +158,7 @@
Application Description Language framework
- Auto generated Velocity form for ,
+ Auto generated Velocity form for ,
generated from ADL.
Generated using adl2views.xsl
@@ -158,7 +170,7 @@
${FormHelper.InstallScripts()}
${Validation.InstallScripts()}
${Scriptaculous.InstallScripts()}
- ${DateTime.InstallScripts()}
+ ${DateTimeHelper.InstallScripts()}
${ScriptsHelper.InstallScript( "Sitewide")}
${ScriptsHelper.InstallScript( "Behaviour")}
@@ -187,8 +199,8 @@
-
-
+
+
Does not meet the format requirements for
@@ -220,7 +232,7 @@