Commit graph

40 commits

Author SHA1 Message Date
sb 74e730c444 Improved commenting on initialiser of properties which have type='entity' and a default value. We still can't generate the right code but I am generating a comment which explains why not. Using fully qualified class names in -with- entrypoints in controllers. 2009-05-08 16:27:24 +00:00
sb b7448fdf6c bug 2883 : made records-per-page a build time parameter of adl2controllerclasses.xslt, defaulting to 15
status 2883: resolved FIXED
2009-05-01 15:28:58 +00:00
sb e32f089d27 bug 2840 : This one proved to have much more subtlety than one would have expected. Changes to adl2controllerclasses and new support class, LinkTableUpdater, in Cygnet.Utils 2009-04-29 13:58:51 +00:00
sb 97fd52777b bug 2840 : Major work on adl2controllerclasses to collect up modified entities and call before- and after- update hooks on all of them. It complies and looks convincing but at this stage a great deal more testing is required! 2009-04-28 18:27:59 +00:00
sb 9da7f897a5 Upversioned everything to 1.3. This is probably a mistake, given there are no breaking
changes to the ADL language itself, only to the code generated from it; but nevertheless it's done.
2009-04-28 13:44:51 +00:00
sb 148624c084 bug 2821 : Changes to ADL to implement the 'PrototypeFor classes carry default values for forms' solution.
status 2821: resolved FIXED
2009-04-28 13:34:14 +00:00
sb 9f8490b3c5 bug 2820 : messages were not being added to the PropertyBag, in store. 2009-04-27 15:19:51 +00:00
sb 6e995bfc5c Added before- and after- update hooks when saving auxiliary records 2009-04-17 13:11:04 +00:00
sb 5b49d6a280 Recorrected fault in database param initialisation which was corrected in 1.30 but was not correctly tagged and thus got missed. 2009-04-17 09:43:27 +00:00
sb 1376b2db36 bug 2792 : Reinstated the calls to the deprecated Before- and AfterUpdateHooks, and also to the deprecated BeforeDeletionHook. I am not entirely happy with this solution, which looks ugly.
Note that currently the Before- and AfterUpdateHooks are only called (in the auto-generated controller) for the principal record of a form, and not for any auxiliary records. It's possible that the hooks should also be called for these.

This isn't really satisfactory - it makes for ugly and prolix code - and a better solution is desirable.

More thought needed.
2009-04-17 09:38:46 +00:00
sb 124a10b8cc Corrected minor fault in initialisation of authentication-layer param 2009-03-25 11:52:51 +00:00
sb 2b04dac72f bug 2622:The valiadtor Javascript object was being intialised before the onload function, when there was no DOM available. Consequently it was faling (silently). Fixed. At the same time I have removed an obsolete and misleading comment from the generated controller code, and made some other minor fixes to generated views. 2009-02-20 15:25:29 +00:00
sb 9d09c248d0 Very close to having SRU working. 2009-02-19 15:29:27 +00:00
sb 5f129c98fc Still struggline with getting everything working with database layer security. 2009-02-06 17:48:58 +00:00
sb 7a977d5acd Many, many changes to do with making database layer security. 2009-02-06 12:08:28 +00:00
sb b7caa8281a Now generating good group security code. 2009-02-02 10:49:12 +00:00
sb b34706e25a Number of minor fixes, most significantly in the generation of auxiliary lists. 2009-01-29 16:39:32 +00:00
sb ee4ae42fc4 A number of very minor fixes:
(1) when generating constructors, generate a reverence for the StylesHelper, as it is used in views we generate.
(2) when generating lists, don't layout columns whose contents are themselves lists.
2009-01-28 12:10:02 +00:00
sb 5c099c6503 bug 2310 : If no values passed in from a shuffle widget, was not clearing the old values. 2008-10-31 13:10:22 +00:00
sb 2d0044f59a And better still... 2008-10-09 16:12:21 +00:00
sb 40cc82ad16 Better fix... 2008-10-09 16:09:14 +00:00
sb 3a938c797c Temporary experimental change. 2008-10-09 15:50:06 +00:00
sb 2159d3edfc Set all namespace information to refer to 1.1 2008-10-02 10:52:39 +00:00
sb d5c557f93e Bringing into line with current b_development 2008-10-02 10:43:42 +00:00
sb 18a34342f8 Fixed bug which caused controllers to require explicit values for key fields, even\nwhere these were auto-generated 2008-08-22 17:14:41 +00:00
sb 5118c8b76b Added 'revision' as an attribute of 'application' to make revision tracking easier. 2008-07-10 10:12:16 +00:00
sb 7e94262e7b Fixed minor bug in recursive entity resolution 2008-06-10 09:33:06 +00:00
sb 2e9aa81fe5 bug 1954 - was assuming keys would be passed in, and of course they aren't on creation. 2008-06-10 08:51:16 +00:00
sb 090268cdbd Fixes to generation of entity ant type menus - not 100% certain this is fully right yet. 2008-06-09 15:52:07 +00:00
sb 8f5573d224 bug 1946: rewritten UserIdentifier generator to fix this, along with many other changes including extensive refactoring of adl2controllerclasses. 2008-06-06 15:52:48 +00:00
sb f5b524e5c7 This does not work, but...
I'm halfway through refactoring adl2controllerclasses, and about to make an even more radical change. This is a way back in case it goes horribly wrong.
2008-06-06 08:46:27 +00:00
sb f9fd11c101 bug 1943: Shuffle widget for properties of type list now allowing /inclusion/; semantics for /exclusion/ are not so obvious, and perhaps this option should be
greyed. Shuffle widget for properties of type link may be broken, must be tested.
2008-06-04 16:17:31 +00:00
sb 5b09885eb8 bug 1943: many details changes in the right direction, but not there yet. 2008-06-03 16:09:07 +00:00
sb a393b3b0e7 A number of minor engineering fixes, plus Andrew's revised Panes mechanism. 2008-06-03 14:38:14 +00:00
sb e2130bc4c4 Copied all the currently working transforms from 'transforms01' to 'transforms'; created new schema 'adl-0-1-0.xsd' which once tested should become the new
normative reference.
2008-05-29 16:39:07 +00:00
af 97c62d4c86 Updated to pass through one-to-one elements and schema attributes. 2008-02-28 14:56:05 +00:00
sb 7ad288dd1f Foreign entities; correction of spelling mistake; don't generate methods supporting store and delete if no form. 2008-02-08 10:46:43 +00:00
sb b7a2327857 Almost there. 2008-02-01 21:47:15 +00:00
af 98756d2211 Changed Cygnet.Entities.Exceptions -> Cygnet.Exceptions
Changed locale parameter to lang parameter.
2008-01-31 12:34:21 +00:00
af 7429d242cf *** empty log message *** 2008-01-21 16:38:31 +00:00
Renamed from ADL.NET/Trans/adl2controllerclasses.xsl (Browse further)