tags:

views:

33

answers:

1

I am new to grails, just read the first half of Grails in Action. Grails looks very promising and I am trying to use it for my next project. I'll have a tree structure of data: business -> campaign -> promotion; there will be many businesses, each of which can be viewed/edited at the same time. The view will look like a tabbed browser, with each tab showing a different business and its campaigns/promotions. Can this be implemented in Grails?

A: 

Your question is a little vague, but I'm pretty sure you can do what you want to do. When you say "viewed/edited at the same time" I assume you're talking about different tabs that would be open that would display different businesses. When you submit or update a given tab (whether by a button click, or automatically using an asynchronous call from the browser) you will be doing a separate HTTP request that will pass the data that needs to be updated. So long at each request is run within a separate transaction (which happens by default) you should be OK.

If you want a better answer, you'll have to elaborate more on your question.

Javid Jamae