Now generating good group security code.
This commit is contained in:
parent
bb332d34ad
commit
b7caa8281a
4 changed files with 30 additions and 21 deletions
|
|
@ -9,8 +9,8 @@
|
|||
Transform ADL into (partial) controller classes
|
||||
|
||||
$Author: sb $
|
||||
$Revision: 1.24 $
|
||||
$Date: 2009-01-29 16:39:32 $
|
||||
$Revision: 1.25 $
|
||||
$Date: 2009-02-02 10:49:13 $
|
||||
-->
|
||||
|
||||
<!-- WARNING WARNING WARNING: Do NOT reformat this file!
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
//
|
||||
// Automatically generated abstract super class for controllers for the
|
||||
// <xsl:value-of select="/adl:application/@name"/> application; generated using
|
||||
// adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.24 $', 10)"/>
|
||||
// adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.25 $', 10)"/>
|
||||
//
|
||||
// <xsl:value-of select="/adl:application/@revision"/>
|
||||
//
|
||||
|
|
@ -81,6 +81,8 @@
|
|||
using NHibernate;
|
||||
using NHibernate.Expression;
|
||||
using Cygnet.Web.Controllers;
|
||||
using Cygnet.Web.Helpers;
|
||||
using Castle.MonoRail.Framework;
|
||||
using <xsl:value-of select="$entityns"/>;
|
||||
|
||||
namespace <xsl:value-of select="$controllerns"/> {
|
||||
|
|
@ -91,6 +93,11 @@
|
|||
///
|
||||
/// DO NOT EDIT THIS FILE!
|
||||
/// </summary>
|
||||
[ <!-- in the longer term, all the helpers which a given
|
||||
project needs which not every project needs should be listed here,
|
||||
with appropriate 'xsl:if' wrappers. -->
|
||||
Helper(typeof(SecurityHelper), "SecurityHelper")
|
||||
]
|
||||
public abstract partial class <xsl:value-of select="concat( 'Abstract', /adl:application/@name, 'Controller')"/> : BaseController {
|
||||
<xsl:for-each select="//adl:entity">
|
||||
/// <summary>
|
||||
|
|
@ -135,7 +142,7 @@
|
|||
//
|
||||
// Controller for auto-generated forms for editing <xsl:value-of select="@name"/>s
|
||||
// Automatically generated from application description using
|
||||
// adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.24 $', 10)"/>
|
||||
// adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.25 $', 10)"/>
|
||||
//
|
||||
// This file is automatically generated; DO NOT EDIT IT.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue