February 2006 Commit Log

Number of Commits:
135
Number of Active Developers:
2
dierk 2006-02-28 23:14

generate-controller was lacking input for domain class name; added

3 lines of code changed in:

Graeme Rocher 2006-02-28 20:05

added JSP tags that delegate to GSP tags

921 lines of code changed in:

Graeme Rocher 2006-02-28 20:01

refactored name property to tagName as it confliced with sub class attributes with the more common "name" attribute

33 lines of code changed in:

Graeme Rocher 2006-02-28 18:30

changed scaffold class to be looked up by name in case of class reloading

7 lines of code changed in:

Graeme Rocher 2006-02-26 13:43

updated to use resource holder to retrieve class name when reloading and removed redundant constant (which is now in GrailsResourceHolder)

9 lines of code changed in:

Graeme Rocher 2006-02-24 10:00

changed to use non-JDK 1.5 method as it was breaking 1.4 compile

1 lines of code changed in:

Graeme Rocher 2006-02-23 19:47

added support for scaffolding views for one-to-many and many-to-one relationships

49 lines of code changed in:

Graeme Rocher 2006-02-23 19:46

added support for params in createLink tag

10 lines of code changed in:

Graeme Rocher 2006-02-23 19:39

implement a grails scaffold domain that uses the dynamic methods rather than hibernate template to avoid duplicating code, fixed problem with create scaffolded request etc.

91 lines of code changed in:

Graeme Rocher 2006-02-23 19:38

made method signature constant public

3 lines of code changed in:

Graeme Rocher 2006-02-23 19:37

added new syntax tags for defing and setting variables, modified each tag so that the name of the closure argument can be changes with a "var" attribute

135 lines of code changed in:

Graeme Rocher 2006-02-23 10:44

added configuration of relationships between classes configured with hibernate so that generation of scaffolded views that contain relationships work with hibernate mapped domain classes

139 lines of code changed in:

Graeme Rocher 2006-02-22 19:27

changed form tag to default method to post if not specified

4 lines of code changed in:

Graeme Rocher 2006-02-22 19:25

fixed problem with checkboxes not being checked when they should be

1 lines of code changed in:

Graeme Rocher 2006-02-22 19:23

fixed various problems with the validation logic related to size ranges etc.

10 lines of code changed in:

Graeme Rocher 2006-02-22 19:03

fixed problem where errors and form data was being lost when a validation error occured during updating (ie following the edit view)

5 lines of code changed in:

Graeme Rocher 2006-02-22 18:59

fixed bug where scaffolders were not properly initialised following a domain class reload

63 lines of code changed in:

Graeme Rocher 2006-02-22 18:42

- updated view generation to use submits and action dispatching

- added processing for inList constraint

31 lines of code changed in:

Graeme Rocher 2006-02-22 18:30

fixed checkbox tag and added new tag to create submit buttons

23 lines of code changed in:

Graeme Rocher 2006-02-22 18:29

added method to convert string to property name, change class method to delegate to the new one

16 lines of code changed in:

Graeme Rocher 2006-02-22 18:21

added detection of the action from a request parameter if you want to decide on the action to redirect from a form submit for example

34 lines of code changed in:

Graeme Rocher 2006-02-22 18:15

added index action to scaffolder so that the default action redirects to the list action

27 lines of code changed in:

Graeme Rocher 2006-02-22 13:07

moved ResourceLoader out of DefaultGrailsApplication into a public class so the resourcces can be updated when new classes are added

75 lines of code changed in:

Graeme Rocher 2006-02-22 13:04

updated to re-generate web.xml if a new controller is added, this unforunately doesn't work in Jetty so I may have to update the build to try tomcat first if its installed and then fall back to jetty so we at least have some support for reloading when new controllers are added

57 lines of code changed in:

Graeme Rocher 2006-02-22 11:05

added ability to generate views for a domain class written in java and mapped with hibernate

39 lines of code changed in:

dierk 2006-02-22 10:02

adapt sample tests to new testing facility

6 lines of code changed in:

dierk 2006-02-22 09:32

targets run-app and run-webtest now working with internal jetty; SampleGenerator runs without problemes

19 lines of code changed in:

dierk 2006-02-21 22:28

jetty start is now working again being kept open when started with 'grails run-app' and being opened only while testing and stopped thereafter with 'grails run-webtest'. Trick was to use a magic system property to suppress web.xml validation that fails although other validators take no issue with it.

23 lines of code changed in:

Graeme Rocher 2006-02-20 22:28

changed url mappings to use properties.lower

2 lines of code changed in:

Graeme Rocher 2006-02-20 22:27

updated following change to TagLibDynamicMethods contructor

2 lines of code changed in:

Graeme Rocher 2006-02-20 21:44

organised imports, changed log output

8 lines of code changed in:

Graeme Rocher 2006-02-20 21:43

made method arguments public

11 lines of code changed in:

Graeme Rocher 2006-02-20 20:12

updated to have grails application as an dynamic property

7 lines of code changed in:

Graeme Rocher 2006-02-20 20:10

changed method calls to match those in generated controller

18 lines of code changed in:

Graeme Rocher 2006-02-20 20:09

updated to set errors property in instance after validation

54 lines of code changed in:

Graeme Rocher 2006-02-20 20:07

changed checks for isDomainClass to be to the grails application itself so that hibernate mapped domain classes can be checked

24 lines of code changed in:

dierk 2006-02-20 16:14

generate Artifacts capitalized but project names lowerized

8 lines of code changed in:

Graeme Rocher 2006-02-20 15:29

fixed bug in edit action of generated controller that was leaving out reference the domain class instance in returned model eg. [ recipe : ]

1 lines of code changed in:

Graeme Rocher 2006-02-20 15:16

changed to load default error messages from user customisable file defaultErrorMessages.properties

3 lines of code changed in:

Graeme Rocher 2006-02-20 15:13

changed resource copier to copy i18n property bundles to the right place for reloading

4 lines of code changed in:

Graeme Rocher 2006-02-20 15:09

added a TimeZone property editor for doing type conversion of from a string to to an instance of java.util.TimeZone

54 lines of code changed in:

Graeme Rocher 2006-02-20 15:02

removed old redundant sample app

0 lines of code changed in:

Graeme Rocher 2006-02-20 13:15

updated to use implementation from GrailsClassUtils

12 lines of code changed in:

Graeme Rocher 2006-02-20 12:54

added example that demonstrates scaffolding, validation integration and dynamic methods with a domain class written in java and mapped with hibernate

162 lines of code changed in:

Graeme Rocher 2006-02-20 12:53

removed old ejb 3.0 jar

0 lines of code changed in:

Graeme Rocher 2006-02-20 12:52

updated to use short name of the class in generated views so you don't see the whole package when scaffolding

6 lines of code changed in:

Graeme Rocher 2006-02-20 12:51

fixed silly bug in method argument validation logic

2 lines of code changed in:

Graeme Rocher 2006-02-20 12:49

added method to retrieve short name of a class without package prefix

50 lines of code changed in:

Graeme Rocher 2006-02-20 12:45

changed to use classpath: prefix to look up hibernate config so it works with grails test-app too

1 lines of code changed in:

  • grails/src/commons/org/codehaus/groovy/grails/commons/spring: SpringConfig.java (+1 -1)
Graeme Rocher 2006-02-20 11:27

fixed error in properties.caps code block that was causing URLs to break

1 lines of code changed in:

dierk 2006-02-19 23:47

GRAILS-44: webtest: make simple scaffolding based on domain class

49 lines of code changed in:

Graeme Rocher 2006-02-19 19:07

fixed problem with spaces in paths with windows

0 lines of code changed in:

dierk 2006-02-19 18:57

use groovy task instead of script, extract methods for capitalization and normalization of artifact names into common properties

142 lines of code changed in:

dierk 2006-02-19 13:54

first step into functional selftest for grails usage: still Windows specific and doesn't start the server yet - at least something to improve upon...

1 lines of code changed in:

dierk 2006-02-19 12:54

replace offending substring[range] with [range]

3 lines of code changed in:

Graeme Rocher 2006-02-19 11:54

- added support for hibernate annotations for java 5

- implemented initial support for scaffolding domain classes written in java and mapped with hibernate (view scaffolding not done yet)

- added support for domain classes written in java to integrate with grails' validation mechanism

965 lines of code changed in:

dierk 2006-02-18 19:25

GRAILS-42 : provide means to facilitate functional testing of the web application; allow compiling Groovy classes into the build.

15 lines of code changed in:

dierk 2006-02-18 19:24

GRAILS-42 : provide means to facilitate functional testing of the web application

117 lines of code changed in:

dierk 2006-02-18 17:58

GRAILS-41: resolve by calling init:grailsHome; also first steps into webtest creation

41 lines of code changed in:

dierk 2006-02-17 23:16

polishing and laying out the plans for webtest support; from the impl. I understood that the init target is not to be called any longer from the outside since create-app does so, therefore I removed it from the help; introduced description for supporting ant -projecthelp

50 lines of code changed in:

dierk 2006-02-17 22:03

make project name distinct from src/grails/build.xml

1 lines of code changed in:

Graeme Rocher 2006-02-17 19:46

added support for JSP using the [test:value] syntax in attributes

49 lines of code changed in:

Graeme Rocher 2006-02-17 18:51

fixed bug where url was left in as an attribute

1 lines of code changed in:

Graeme Rocher 2006-02-17 18:51

changed to resolve Locale from spring's RequestContextUtils instead of the request

3 lines of code changed in:

Graeme Rocher 2006-02-17 13:11

corrected CSS class of edit dialog

1 lines of code changed in:

Graeme Rocher 2006-02-17 12:47

fixed dependency for run-app as it now needs to depend on "dev,package" in order for reloading to be configured

1 lines of code changed in:

Graeme Rocher 2006-02-17 12:27

latest IDEA projects files

368 lines of code changed in:

Graeme Rocher 2006-02-17 12:26

*** empty log message ***

3 lines of code changed in:

Graeme Rocher 2006-02-17 12:25

added targets to generate views, controllers etc. from a domain class

97 lines of code changed in:

Graeme Rocher 2006-02-17 12:25

CSS file for scaffolding

109 lines of code changed in:

  • grails/src/war/css: main.css (new 109)
Graeme Rocher 2006-02-17 12:24

deprecated support for gvtags as we now have GSP

0 lines of code changed in:

Graeme Rocher 2006-02-17 12:24

moved to internal directory in web-app

0 lines of code changed in:

Graeme Rocher 2006-02-17 12:23

split tag libraries out into more manageable classe

768 lines of code changed in:

Graeme Rocher 2006-02-17 12:20

changed to use normal application context when running a test case

5 lines of code changed in:

Graeme Rocher 2006-02-17 12:19

updated filter to re-generate views on domain class changes if scaffolding is enabled

102 lines of code changed in:

Graeme Rocher 2006-02-17 12:18

implemented a template generator for generating views and controllers for scaffolding

786 lines of code changed in:

Graeme Rocher 2006-02-17 12:17

moved flushing into filter so that updates are committed if no errors occur

7 lines of code changed in:

Graeme Rocher 2006-02-17 12:16

updated to not cascade updates to the parent in a "belongTo" scenario.. thus avoiding the scenario where the owning class gets deleted by the child (ie a very bad thing)

24 lines of code changed in:

Graeme Rocher 2006-02-17 12:15

- added new "count" and "exists" persistent methods

- removed flushing from save and delete, this is now performed by the servlet filter

185 lines of code changed in:

Graeme Rocher 2006-02-17 12:14

null checks to avoid errors

10 lines of code changed in:

Graeme Rocher 2006-02-17 12:13

removed method to retrieve generic tag lib as there are now multiple

5 lines of code changed in:

Graeme Rocher 2006-02-17 12:12

registered locale and currency property editors for automatic type conversion from request parameters to java.util.Locale and java.util.Currency

54 lines of code changed in:

Graeme Rocher 2006-02-17 12:11

- changed the prefix for grails tags from <gr: to <g:

- added supported for having multiple tag libraries automatically imported upon use

135 lines of code changed in:

Graeme Rocher 2006-02-17 12:09

organised imports, commented out unnecessary trace

4 lines of code changed in:

Graeme Rocher 2006-02-17 12:08

added methods to retrieve the natural name of a property, and allow the ownining class to be specified in a one-to-one relationship with the "belongTo" property

158 lines of code changed in:

Graeme Rocher 2006-02-17 12:06

added methods to check whether a taglib contains a specific tag

62 lines of code changed in:

Graeme Rocher 2006-02-17 12:06

updated so that if there is an action with the name "index" it is the default action

13 lines of code changed in:

Graeme Rocher 2006-02-17 12:05

new methods to retrieve the tag lib for a specified tag and to get the controller which is scaffolding the specified domain class

53 lines of code changed in:

Graeme Rocher 2006-02-17 12:04

added methods to get the natural name and property name representation of the class name

369 lines of code changed in:

dierk 2006-02-16 21:59

extracted common parts, made the groovy tasks a bit more idomatic, made the run reusable for testing; couldn't test all parts - in case of problems: revert.

65 lines of code changed in: