Tags » FSI

Grails print each in attribute[]: [1,2,3]

Below, is what returning on my server:

:, action: something, controller: myController]

And I can’t println using

params.test.each{ println it}

How can I print on each element in test[]? 14 more words

Recent Questions - Stack Overflow

My summer reading

Like all good nerds before me I’m getting a jump on next semester and have borrowed books from the library on some key topics of interest for the coming 4 months. 202 more words

Economics

100 Days of Spanish: My Resources

I guess there’s no real reason for me to hold off on beginning until tomorrow, but I’d like to start with as clean a slate as possible, so I keep scouting out my Spanish resources but I’m trying not to use them. 784 more words

Language Learning

“The decision to increase the ground coverage and floor area ratio (FAR) in Delhi will have a relatively greater impact on the prime residential neighbourhoods of Delhi over more mid-market localities.

34 more words
Cities & Micro-markets

Because I Can and Data!

If you know me at all, you know how much I love data. Numbers upon numbers all jumbled together looking for meaning. After discovering that FSI is really just a giant social experiment, I decided to start tracking my own numbers for shits and giggles and good time in Excel. 696 more words

Foreign Service

FSI Elects Three New Directors to its 2015 Board & New Executive Committee Officers

November 20, 2014

WASHINGTON, D.C. – The Financial Services Institute (FSI) today announced the election of three new Directors for its Board for 2015. The Board also elevated two of its Directors to new leadership positions. 128 more words

FSI

Grails rollback withTransaction on save

I’m testing withTransaction but I got some problem. Why after I saved an object, I cannot rollback it? For example

Domain1 obj1 = new Domain(name: "obj1")
Domain1.withTransaction { status ->
    if(obj1.save(flush:true)){ //save the object, has no errors
        Domain2 obj2 = new Domain(name: asdasd) // making error happen
        if(!obj2.save(flush:true)){ // dont save, because its not string
            status.setRollbackOnly() // rollback the obj1
        }
    } else{
    throw new PersistenceException("error", obj1.errors)
    }
}
… 21 more words
Recent Questions - Stack Overflow