I was wondering if anybody else had experienced problems when installing the drools plugin for grails, becuase I had to do several manual steps to get this working and I thought that it would just install and work straight away.
To get this working I had to do the following steps:
Step 1 - Install drools plugin
grails install-plugin d...
Hello,
Today I upgraded our grails app from 1.0.3 to 1.3.3 and, of course, things started behaving weirdly.
The problem I'm currently asking about is as follows: the web.xml contains:
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter</filter-class>
</filter>
...
I am working on an app that uses the Spring (Acegi) plugin for Grails. The plugin has facebook connect settings built in. I have followed the instructions to handle a facebook login within the app... however my knowledge of exactly whats going on is weak and what I really would like to do is give the user/visitor the option of either l...
I have noticed the past couple of weeks that every once in awhile my Grails app will hang on a request. There is nothing in the logs, no exceptions/stack. Also, the page doesn't time out, it just attempts to load without end. I have been unable to determine how to definitely reproduce this problem and that's why I say it appears to be ra...
Hi,
i have a requirement to allow the user to define some custom field in one of the system entities. do you have any suggestion/pattern/plugin that will help me add this feature to my application.
thanks,
Meni
...
Hi,
I have two domain classes with 1:n relationship:
import Action
class Task {
Action actionParent
String taskName
}
and
class Action {
String actionName
}
I have the list of Tasks where I have the column "Action name", I would like to sort this column by Action.actionName. Now I'm using the createCriteria() meth...
Is there a way to customize the directory where "grails install-plugin" installs a plugin?
The point is, I upgraded from 1.0.3 to 1.3.3 and the destination dir has changed from the current to the grails working dir, but our app relies on the plugin being in the current dir.
I'd assume I can change the script in the grails dir, but tha...
Howdy,
I'm using STS 2.3.3.CI-R5473-B24 with Grails 1.1. When launching the Type Grails command... yellow popup, is there a way to use grails-debug, rather than grails to run the commands?
...
Hello,
I'm comparing values of an excel sheet to record values returned from a database and one record is passing through the if statement when it should fail the if statement.
The if statement looks like this:
if (record.value.equals(cellVal) == false)
{
record.value = cellVal
record.modifyUser = userId
...
Whats the best way to accomplish changing the timezone of an app? The way I see it the following must occur:
Server TZ is changed by sys admin
mysql must be restarted.
every time based column in the database must have all values updated, using convert_tz or equivalent. So either a mysql script must be written or a grails script that ...
Hello,
I've written an excel upload function that allows a user to upload an excel sheet through a web interface and it will commit it to a table. The problem is that with a table with many records, it takes some time to go through each record and check for changes, so it tends to hang. What would be the best solution for a progress ba...
I want to know programmatically if a view or a layout exists in grails.
I am thinking in obtain the absolutepath and ask for File.exists but I don't know how to obtain this path for every enviroment.
I had tried groovyPagesTemplateEngine.getUriWithinGrailsViews('a-view.gsp') without success.
Can you give me any pointer?
thanks in adv...
Im developing with Grails. Since the framework will bootstrap data and a fully flushed out spring context, I find that I write a lot of integration tests for services. Let me rephrase that: I find I write no unit tests for services, only integration tests. Is this a bad idea? The only downside I see to it is that my tests take a bit...
I'm writing a grails 1.3.2 application and implementing security with spring-security-core 1.0. For reasons outside the scope of this question, I'm implementing a custom FilterSecurityInterceptor in addition to the out of the box interceptors. I've started with a blog entry on the topic and attempted to adjust it for Spring Security 3 ...
Hi,
I'm working on a legacy groovy project that uses jQuery's password strength validator plugin. It works great. However, a new requirement arrived today, indicating that the form should not be submited if the strength of the password is below good (this is an arbitrary value)
Is there any way to achieve this? Possibly via javascript?...
Hi,
Here is my problem: I'm developing a system that can be polled to retrieve dynamic data. It's in Grails, and when I do a request on a certain controller action, say "http://localhost:8080/foo/bar", a JSON list is returned containing the latest data.
For added security and functionality, I protected my page using Spring Security (Gr...
I'm doing load test now. After approximate 900 requests i got this error:
[ 03.08.10 11:49:00.465] [Store org.hibernate.cache.StandardQueryCache Spool Thread] ERROR net.sf.ehcache.store.DiskStore - org.hibernate.cache.StandardQueryCacheCache: Failed to write element to disk 'sql: select hotelfeatu0_.name as col_0_0_ from feature hotelf...
Are there any tools that can identify the total memory usage, cpu, and other information on resources of a specific grails web application deployed in a Tomcat server?
Also, if my grails app is using Quartz plugin, can anyone tell me how to profile a specific job instance?
Thanks!
...
I have two grails (1.2.1) applications deployed in two different app servers. One app contains the main site (view, controller, domain, etc.) and the other app has a Quartz plugin that performs the core and backend processing. Both app is sharing the Domain classes and same DataSource config. This means that the two app is accessing same...
refer to http://www.grails.org/AcegiSecurity+Plugin+-+Basic+Tutorial
if I need to custom field,for example i need gender,age,etc.
How to do?
...