What I usually do is create a template that will show the member list with radio buttons. In the radio button I set the id as the value so when it's closed I can get the value of the checked one with...
Type: Posts; User: Saioa; Keyword(s):
What I usually do is create a template that will show the member list with radio buttons. In the radio button I set the id as the value so when it's closed I can get the value of the checked one with...
Ok, I'll check Hibernate or try to find another workaround.
Thanks!
Hello,
In my domain class I've created the beforeInsert method and I'm checking the value of a property there. In some cases I don't want the object to be persisted to the db, so I'm returning...
Thanks for the answer, but I'd already read them and some of my conclusions come from them. Just wanted to check if they're the best ones.
:)
Hello,
I've been working with grails for some months and now I understand better how it works and how things should be done, but I still have some doubts with GORM relationships.
Until know...
Sorry, I forgot to close the post or at least say that finally it worked, but we don't know why. After some hours and some resets it worked without changing anything.
It's really weird, but at least...
I found the solution using a custom tag and regex expressions and findAll method.
:)
Hello,
We've just encountered a strange issue with an external properties file.
We have the properties in grails-app/conf and we do include it in the Config.groovy.
It was working fine until...
Hello,
I'm trying to highlight some words in a gsp. What I want to achieve is highlight all the appearences in a gsp of a set of words that will be in params.terms.
I've tried with a custom tag...
ok, I'll follow your recomendation for one-to-one relationships.
Thanks for the help :)
You're right, thanks.
I have changed my domain classes to the following:
class Profile {
String profileName
static belongsTo = [user:User]
static constraints = {
}
I have tried with the following code and it doesn't work.
Gives this error:
org.hibernate.PropertyValueException: not-null property references a null or transient value: pruebadomain.User.profile...
Hello,
I'm part of a team of developers and we're working in our second grails project. We're still learning some great features of grails and one question has come to our mind.
We have some...