thomashan / zkgrails

Automatically exported from code.google.com/p/zkgrails
0 stars 0 forks source link

Support ZK configuration with DSL #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Support ZK configuration with DSL. It would be great to automatically 
generate zk.xml using data from the configuration.

Original issue reported on code.google.com by chanwit on 30 Mar 2009 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 30 Mar 2009 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 29 May 2009 at 5:17

GoogleCodeExporter commented 9 years ago
Here's a markup builder to generate zk's config:

import groovy.xml.MarkupBuilder

def writer = new StringWriter()
def xml = new MarkupBuilder(writer)
xml.zk {
  'system-config' {
      'disable-event-thread' { }
  }
  'zscript-config' {
      'language-name'("GroovyGrails")
  }
}

println writer.toString()

Original comment by chanwit on 1 Jun 2009 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 7 Jul 2009 at 2:04

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 21 Oct 2009 at 3:08

GoogleCodeExporter commented 9 years ago
It's possible to use grails-app/conf/ZkConfig.groovy to do so.

Original comment by chanwit on 4 Nov 2009 at 10:35

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 19 Mar 2010 at 10:29

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 19 Apr 2010 at 1:38

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 2 Oct 2010 at 9:55

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 11 May 2011 at 11:27

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 9 Sep 2011 at 5:18

GoogleCodeExporter commented 9 years ago
Change version from 1.1 to 2.0

Original comment by chanwit on 22 Oct 2011 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 31 Aug 2012 at 4:37

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 3 Dec 2012 at 6:40

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 29 Dec 2012 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 14 Jan 2013 at 4:14

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 7 Feb 2013 at 11:15

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 18 Mar 2013 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 15 Apr 2013 at 7:52

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 28 Apr 2013 at 7:26

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 31 Jul 2013 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 6 Nov 2013 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 6 Nov 2013 at 6:45

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 27 Dec 2013 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 19 Jan 2014 at 8:00

GoogleCodeExporter commented 9 years ago

Original comment by chanwit on 4 Nov 2014 at 4:00