Mailing Lists (Last 24 Hours)
Powered By Nabble
groovy - Dinko Srkoc -
1 hour 2 minutes ago
On 23 February 2012 01:16, Dave McGee <[hidden email]> wrote:
> Hi there,
>
> I have to deal with a String and try get a number identifier out of the
> String after the word &quo...
groovy - Dinko Srkoc -
1 hour 21 minutes ago
On 22 February 2012 23:53, Aled Sage <[hidden email]> wrote:
> Hi,
>
> I am trying to call a Java method from groovy code - the Java method is
> overloaded in the way shown in th...
grails - Jonathan Andrew Ong -
1 hour 53 minutes ago
Can you try putting a defaultBundle value in each of the declarations? I believe that should combine it into a single file for js and another for css.On Thu, Feb 23, 2012 at 6:59 AM, David Tiseliu...
grails - Jeff -
1 hour 57 minutes ago
I think you must be misunderstanding my question. I realize that you don't want to persist values that fail validation. My point is that in a one-to-one relationship in Grails 1.3.7, if the ownee ...
groovy - Dave McGee -
2 hours 3 minutes ago
Hi there,I have to deal with a String and try get a number identifier out of the String after the word "Element" has occurred.��Some examples I am dealing with appear as follows:
random ...
grails - Maplye -
2 hours 19 minutes ago
I used release plugin to publish my plugin to the subversion ��repository.\But I got some errors.How can I do?
grails - OverZealous -
2 hours 24 minutes ago
Steve Ronderos wrote:It sounds like you have two criteria for tenants. Proper sub domain and matching user. I'd recommend adding the user match to your tenant resolver to prevent the user crossing...
grails - xmly -
2 hours 26 minutes ago
I put everything related with one domain into domain class.The logic��involved��with several domain class in to service layer.��On Wed, Feb 22, 2012 at 6:45 PM, Roberto Guerra <[hidden email]&g...
grails - Roberto Guerra -
2 hours 34 minutes ago
This is a good read. Might give you some ideas:http://martinfowler.com/bliki/AnemicDomainModel.htmlOn Wed, Feb 22, 2012 at 5:13 PM, Octavian Covalschi <[hidden email]> wrote:
Usually when pe...
grails - Jason Davis -
2 hours 44 minutes ago
doing
example: grails install-dependency mysql:mysql-connector-java:5.1.16 --dir=lib
does not address the lib dir problem. Just skirts around it.
On Wed, Feb 22, 2012 at 4:07 PM, Rob Elsner <[h...
grails - Octavian Covalschi -
3 hours 7 minutes ago
Usually when people are moving to a new technology stack they tend to think in their previous/other technologies they are used to...��So, for me at least, it makes sense as well to put some flavor...
grails - will.woodman -
3 hours 8 minutes ago
again somewhere in the documentation it says there was a chnage in behviour - where the validation would fail but the vlaues would still be wrriten in 1.3.7 - and i i believe v2 declared as an err...
grails - robelsner -
3 hours 12 minutes ago
Not at all.�� I run windows7 pro, but grails 1.3.7 and jvm6.�� I will try your config here in a bit.�� You should double check it isn't getting odd permissions and that you can see it from the...
grails - Octavian Covalschi -
3 hours 20 minutes ago
no, it's not an expected behaviorwhat happens if you use install-dependency script? and restart grails/appexample: grails install-dependency mysql:mysql-connector-java:5.1.16 --dir=lib
http:/...
grails - David -
3 hours 20 minutes ago
I haven't tried it myself yet, but this looks like the way to do what you're asking:
http://grails.org/doc/latest/guide/theWebLayer.html, under the section 6.2.5.5 "Optimizing your resources&...
grails - barnesjd -
3 hours 25 minutes ago
Thanks Roberto! I typically think of domain classes as only appropriate for persistence. I've not thought of creating a "rich" domain class as you called it. I'll have ...
groovy - Aled Sage -
3 hours 26 minutes ago
Hi,
I am trying to call a Java method from groovy code - the Java method is
overloaded in the way shown in the class below.
I expected it to write out foo2, but instead it writes out:
&nbs...
grails - barnesjd -
3 hours 26 minutes ago
I've noticed that if I add a jar to my application's lib directory, I have to reboot my PC for the classes to resolve. This occurred while trying to use the postgresql driver jar. I tr...
grails - Jeff -
3 hours 36 minutes ago
Thanks Will but that still doesn't explain why this works in Grails 1.3.7 but not in Grails 2.0.
I seem to remember reading that Grails 2.0 is using a stricter version of Hibernate that Gra...
grails - virtualdogbert -
3 hours 37 minutes ago
To answer my own question , yes and no. Yes the ACL's trigger events that can be caught by the events closures that the spring security plugin provides. However it seems for my purpose...
grails - rgorzkow -
3 hours 45 minutes ago
Hi,
Do you have spring-security-core plugin installed?
grails - deaddowney -
4 hours 4 minutes ago
I'm running into a problem serializing my domain object to JSON
I have two classes
class Parent {
static hasMany = [children: Child]
}
class Child {
static belongsTo = ...
grails - Mauro-4 -
4 hours 10 minutes ago
My users ask to me the possibility to create document templates with
some precompiled fields.
This is an use case:
The user logs in;
The user compile a form and search for some products;
The user ...
grails - will.woodman -
4 hours 11 minutes ago
slowly getting there - i think but not out the woodwork.
one of the fails turned out to be a spelling error in string -
however my last remaining error i still cant figure ..
i'm trying to...
grails - sgrossman -
4 hours 13 minutes ago
This works in 2.0 as long as the top-most class is annotated grails.validation.Validateable.
It does not work if the 'grails.validateable.classes' configuration approach is used.
grails - will.woodman -
4 hours 23 minutes ago
i think i remember seeing something in the documentation that if a object fails validations, then any save will normally fail quietly and the object is discarded.
There is an option on the .save(f...
grails - rgorzkow -
4 hours 28 minutes ago
I don't understand how should I configure spring security to work with basic authentication.
Currently my Config.groovy file contains
grails.plugins.springsecurity.useBasicAuth = true
grails.plug...
grails - harjit@teslagovernment.com -
4 hours 52 minutes ago
Hi there,I had a running application. I did a grails clean and when I re-started the application using run-app. The app keeps giving an error. Any ideas why ?
...
grails - mbw -
5 hours 50 minutes ago
I am trying to upgrade to grails 2.01 and seeing the following:
Grails tag [sitemesh:captureBody] was not closed. Stacktrace follows:
Message: Grails tag [sitemesh:captureBody] was not closed
I ha...
grails - johnrengelman -
6 hours 21 minutes ago
You probably need to add a @Mock(Book) to SheetTests.groovy. If you're doing @TestFor(Sheet) on SheetTests.groovy, I think it only mocks the GORM methods on Sheet and not Book. @Mock(Book) sho...
grails - Jeff -
7 hours 45 minutes ago
I have 2 domain objects, A and B. A has a B property and B belongsTo A.
If the B object validation fails when editing an A, it fails silently. The fields that fail validation simply revert to the...
grails - Steve Ronderos-2 -
7 hours 47 minutes ago
Hi Phil,It sounds like you have two criteria for tenants. Proper sub domain and matching user. I'd recommend adding the user match to your tenant resolver to prevent the user crossing domains. Thi...
grails - kirk -
7 hours 56 minutes ago
Let's try that again, shall we...
I'm trying to get mutliple CSS and JS files to bundle together using the resources plugin (1.1.5) and Grails 2.0. No matter what I do, the resources are linked i...
grails - kirk -
8 hours 2 minutes ago
I'm trying to get mutliple CSS and JS files to bundle together using the resources plugin (1.1.5) and Grails 2.0. No matter what I do, the resources are linked in the webpage as separate CSS and J...
grails - thomj -
8 hours 56 minutes ago
I have an application that has an Oracle database where each table has a trigger that calls a sequence to get the next ID for that row. How do I configure my domains so that Hibernate doesn't spec...
grails - Alan Bowsher-2 -
9 hours 14 minutes ago
I have a situation where I can't use belongsTo on the other side of a 1-to-1 relationship. ��I tried using the explicit cascade from the ORM DSL, but it doesn't seem to work.I.e.��
class ...
grails - Roberto Guerra -
9 hours 18 minutes ago
I use the following rule: If i will ever need to reuse the logic somewhere else, I send it to the service. If it is something that fits in a rich domain class, then I prefer to place it in there. ...
grails - harjit@teslagovernment.com -
9 hours 18 minutes ago
Found the issue.I just had to callpreventDefault() before the ajax call, that fixed it Thanks for the responses. - HarjitOn Feb 22, 2012, at 9:50 AM, [hidden email] wrote:Here is what I figur...
grails - Alex Shneyderman -
9 hours 33 minutes ago
ok.
You are adding a new parameter option. It is a bit error prone for the
user, albeit simple to implement.
I have a bit of a different approach. I have some code that does
proper parsing of the ...
groovy - Luke Daley -
11 hours 2 minutes ago
Hi,
I'm trying to change the parent class of a class that another class is compiled against, and am having some problems that I don't quite understand.
I have Java classes A ��� B ��� C that are c...
groovy - Carlos Cortinhas -
11 hours 24 minutes ago
Hello everyone,
I've got a small project where I've got to alter the Groovy
syntax/grammar like adding a keyword, and every time that keyword
appears in the code an AST Transformation is invoked. ...
groovy - Jochen Theodorou -
11 hours 36 minutes ago
Am 22.02.2012 15:19, schrieb C��dric Champeau:
>
>>>>
>>> Ok, so what does "true if no object expression was specified otherwise
>>> if some expression was sp...
groovy - C��dric Champeau -
12 hours ago
>>>
>> Ok, so what does "true if no object expression was specified otherwise
>> if some expression was specified for the object on which to evaluate the
>> method ...
groovy - Vivien De Horta -
12 hours 12 minutes ago
Thank you for your help.I got no satisfying result with the GroovyClassLoader which seemed to be the most appropriate object for my problem but I am now looking for a mean to make the GroovyScript...
groovy - Jochen Theodorou -
12 hours 12 minutes ago
Am 22.02.2012 14:21, schrieb C��dric Champeau:
> Le 22/02/2012 14:08, Jochen Theodorou a ��crit :
>> Am 22.02.2012 13:50, schrieb C��dric Champeau:
>> [...]
>>> Then, the c...
groovy - Peter Niederwieser -
12 hours 27 minutes ago
C��dric Champeau wrote
Ok, the problem is fixed by adding, in ASTUtil, result.setImplicitThis(false); after setting the target method.
Thanks a lot C��dric, that solved my problem. Spock snapsh...
groovy - C��dric Champeau -
12 hours 59 minutes ago
Le 22/02/2012 14:08, Jochen Theodorou a ��crit :
> Am 22.02.2012 13:50, schrieb C��dric Champeau:
> [...]
>> Then, the constructor assumes that whatever "receiver" is, be it ...
groovy - Jochen Theodorou -
13 hours 11 minutes ago
Am 22.02.2012 13:50, schrieb C��dric Champeau:
[...]
> Then, the constructor assumes that whatever "receiver" is, be it "this"
> or not, implicitThis is set to true. From...
groovy - C��dric Champeau -
13 hours 29 minutes ago
Le 22/02/2012 11:02, Jochen Theodorou a ��crit :
> Am 22.02.2012 09:45, schrieb C��dric Champeau:
>> Ok, the problem is fixed by adding, in ASTUtil,
>> result.setImplicitThis(false)...
groovy - Jochen Theodorou -
16 hours 17 minutes ago
Am 22.02.2012 09:45, schrieb C��dric Champeau:
> Ok, the problem is fixed by adding, in ASTUtil,
> result.setImplicitThis(false); after setting the target method. The
> "implicit thi...
groovy - Jochen Theodorou -
16 hours 27 minutes ago
Am 22.02.2012 00:39, schrieb Lloyd Meinholz:
> I have been working on some scheduled jobs that are written in groovy.
> There is some common code to each of the scripts that I have pulled ou...
groovy - C��dric Champeau -
17 hours 34 minutes ago
Ok, the problem is fixed by adding, in ASTUtil,
result.setImplicitThis(false); after setting the target method. The
"implicit this" thing is complex to me, as it is not very obvious wh...
groovy - Andre Steingress -
18 hours 25 minutes ago
Hi Lloyd,
one option would be to use Script.evaluate:
evaluate(new File('./MyUtils.groovy'))
Cheers, Andr��
[0] http://groovy.codehaus.org/api/groovy/lang/Script.html
groovy - Andre Steingress -
18 hours 44 minutes ago
Hi Viven,
another hint might be CompilerConfiguration.recompileGroovySource [0] and GroovyClassLoader.shouldRecompile [1], depending on the Groovy classes your implementation chooses to load scrip...
groovy - priyank15 -
20 hours 52 minutes ago
Hi,
I have a formatted xmlstring with tabs and new line spacing between tag elements
How do I convert this string to make the xml string compact by remove all the formatting and no spaces be...