Search:

Type: Posts; User: Saioa; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    1,745

    What I usually do is create a template that will...

    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...
  2. Replies
    2
    Views
    1,073

    Ok, I'll check Hibernate or try to find another...

    Ok, I'll check Hibernate or try to find another workaround.

    Thanks!
  3. Replies
    2
    Views
    1,073

    beforeInsert return false -> object saved

    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...
  4. Replies
    2
    Views
    682

    Thanks for the answer, but I'd already read them...

    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.
    :)
  5. Replies
    2
    Views
    682

    Best way of setting relationships

    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...
  6. Extrange behaviour of dots in external .properties

    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...
  7. Replies
    1
    Views
    1,191

    I found the solution using a custom tag and regex...

    I found the solution using a custom tag and regex expressions and findAll method.
    :)
  8. Extrange behaviour of dots in external .properties

    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...
  9. Replies
    1
    Views
    1,191

    Highlight some words in gsp

    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...
  10. ok, I'll follow your recomendation for one-to-one...

    ok, I'll follow your recomendation for one-to-one relationships.

    Thanks for the help :)
  11. You're right, thanks. I have changed my domain...

    You're right, thanks.

    I have changed my domain classes to the following:

    class Profile {
    String profileName

    static belongsTo = [user:User]
    static constraints = {
    }
  12. Is possible to create a domain and its related domain objects in one line?

    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...
  13. Is possible to create a domain and its related domain objects in one line?

    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...
Results 1 to 13 of 13