• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where are the temporary files located? Need pointers for debugging failing Ajax call/rendering

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where are the temporary files located? While trying to set up usage of a Ajax call I get the following dump:
...
Caused by: org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Could not parse script [home_foo_workspace_FooManager_grails_app_views_fooValues__createForm_gsp]: startup failed, home_foo_workspace_FooManager_grails_app_views_fooValues__createForm_gsp: 32: Unexpected node type: EXPR found when expecting type: LABELED_ARG at line: 32 column: 257. File: home_rdml_workspace_ConfigManager_grails_app_views_tagValues__createForm_gsphome_foo_workspace_FooManager_grails_app_views_fooValues__createForm_gsp
...


My _createForm.gsp contains:

<g:formRemote name="createForm" url="[controller:'fooValues', action='create']" update="createFooValues">

My controller, FooValuesController , contains:

render(template:'createForm',model:[fooValuesInstance:fooValuesInstance])

The gsp from where the remote is called has this code:
.....</g:form>
<div id="createFooValues">
<g:render template="/fooValues/createForm"></g:render>
</div>

I expect there is something in the _createForm.gsp that fails, but line 32 contains just "</table>", so there must be some compiled grails/java version of this gsp.

Dag
 
author
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you append ?showSource to your initial request you will get a page showing the compiled page.

If you post the contents of the template, perhaps someone here could help figure out what's causing that error.

Thanks,
Dave
reply
    Bookmark Topic Watch Topic
  • New Topic