Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array structure too limited in layout #47

Open
jvalkeal opened this issue Dec 31, 2011 · 0 comments
Open

Array structure too limited in layout #47

jvalkeal opened this issue Dec 31, 2011 · 0 comments

Comments

@jvalkeal
Copy link
Contributor

This layout feature request is mostly related to JsonGroovyBuilder when layout is build.

When you do:
items(){
...
}

json looks like "items:{}".

If you do:

items(){
...
}
items(){
...
}

json looks like "items:[{},{}]".

Remove limitation that case like this needs to be array even if there's only one object per array. This allows JS to play nicely with JsonGroovyBuilder. Also check other places in layout structure where similar change make sense.

jvalkeal added a commit that referenced this issue Jan 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant