Hello,
I'm not sure whether it is the right terminology for this kind of relationship, so please correct me. I need to define a domain class, which maps to a table in the database. The class needs to define a hierarchy of relationships of the same type. For eg, say I need to model the below roles with the same class
Admin > Manager > S...
I'm in the process of moving a Java/Spring MVC app to Grails. I was able to get a couple of pages along with Spring Security working. However, when I added cxf-bundle-minimal as a dependency I started to get the errors below.
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
:::...
That is basically my question. It is showing me today's date and not a blank or null or '' date, even if I put null or '' it runs perfectly but keeps showing me today's date, not a blank dropdown box. So I want to change the default to being blank when the gsp loads, not with today's date.
Thanks
-Fernando
...
Hello,
What is the current status of grails and google app engine deployment. I am new to app engine but wonder worth exploring it. Some specific qns are
the latest plugin, which has high user rating, has any restrictions? or it work seamlessly with all gorm features
is there any issue with high startup time for grails applicatio...
Hi,
I created an extra column and added icons at the end of the list for editing and deleting an event.
Here is what I have
<g:form value="${it.id}">
<g:hiddenField name="id" value="${it.id}" />
<span class="simple"><g:actionSubmit class="editar" action="edit" value="${message(c...
I have a gant script A with two targets
t1 - default target
t2 - another target
Even when I run
grails A t2
the default target is run? How can I run the non-default target?
I have tried grails A --target='t2' etc. but doesn't work.
...
Hi, I have a grails app and I need to trigger an cpu-intensive process. I'm thinking in creating a service that spawns multiple threads that do the same calculations but with random data to compare the results later on. Is it safe to do it this way ? Any recommendations / experiences ?
Thanks.
...
Hey all- I'm working on some web flows for a Grails app we're building. I'm (slowly) getting the hang of the webflows themselves, but progress is severely limited due to the fact that changes to the webflow controller are not auto-reloading in Tomcat on save; basically, I need to bounce the app every time I make a change. As you can im...
I'm blocked on this GORM inheritance problem I have and id appreciate some fresh eyes to have a look over this problem. (Im using Grails 1.3.2)
I have a base abstract class...
abstract class MaintenanceSchedule {
static belongsTo = [ maintenanceTask:MaintenanceTask ]
}
and I want to extend it like so...
class OneOffSchedule exte...
Hi,
I have some custom groovy classes in my Grails project, and I would like to inject a logger and some other stuff into the class, like it works in a Service class or Controller class. The code in the "target" class would in this way have direct access to logging without further ado.
How would it be possible to write scripts to hook...
I am trying to design my own custom set of tags using grails and i am having problems converting my date text into a Date object using the grails taglib. I have only succeeded in rendering already existing dates into a chosen format, but when i try to change the date and save it again, i run into problems
...
In a Grails 1.3.1 app, I want 404 errors to cause the render the main index action of the "list" controller. This controller uses a conventional layout file in the layouts directory (views/layouts/list.gsp), which then uses the included snippet for that action (views/list/index.gsp).
When this action is accessed normally (http://loca...
Are Grails and Jquery tightly coupled ? If Yes , Are GWT and Grails tightly coupled ? Also what is the best UI framework for Grails in terms of low CPU utilization and best rendering of UI.
...
Hi,
I am in the process of migrating to spring security plugin from acegi plugin.Currently working on grails environment. I am facing a weird issue as my authentication success event and authentication bad credentials event does not throw at all.I added println statements in the callback in config.groovy and also through listeners.Howeve...
Hi guys,
I am using Springsource Tool Suite as editor for grails project. The problem is at places i get an error message with a red cross saying Groovy:unable to resolve classes. But when I run the applicatios from command prompt (grails run-app), there are no errors and the application works fine. It's bit annoying to see those errors ...
I have Java programs running on various machines (A) that should send messages via server (B) to Flex clients running on other machines (C). The server is running a Grails (Java) application on Tomcat with standalone ApacheMQ and the whole setup is currently working nicely using GraniteDS to communicate between Grails and Flex. (The way ...
I want any field to be nullable in default.
...
I've recently started using Grails and I have the following questions about the available tools for development on the framework:
I tried using maven with the a project, but that wasn't working so I switched to the in-built ant/ivy system. It works fine and is easy to use, but I'm curious if down the road there may be problems - i.e. d...
My grails app is using Spring Security (Acegi). Users can login on /login. after this is successful it redirects to /. if someone now tries get back to the URL /login the browser says "endless redirect, the request could never be ended". in the login controller, action login which shows the login view there is some code
if (isLoggedIn...
I'd like to make my Bootstrap dependant on the createdb property in the grails DataSource.groovy file. When the setting is 'create', new Master Data should be generated, if the setting is 'update', none.
I've found GrailsDataSource in the Grails API which also has a method getCreateDb, but I don't know how to access it from the Bootstra...