bmuschko / bmuschko/grails-google-visualization
passing data from domain class to chart (map)
- Dominant language
- Groovy
- Stars
- 25
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
I created a domain class and can pass the data to the view, but I cannot get the chart to read that passed data.. Perhaps I am not approaching this the correct way.. could someone add this to usage?
Error I get: Unclosed GSP expression
class ThingLocController {
def map (){
def places= ThingLoc.list()
[places: places]
}
The GSP:
(...)
[${place.lat}, ${place.lon}, "${place.name }"],/g:each] }"
(...)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the ThingLocController map action and the GSP containing the gvisualization:map tag, then reproduce the reported “Unclosed GSP expression” error with the places data. Determine the supported usage pattern and document a working example for passing domain-class data to the map chart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100