Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to remove deafult layout from template  RSS feed

Mahendra Suda
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am getting the issue while displaying ajax response in grails

I am doing the simple Ajax submit call to submit the form data using as below code

My action in controller class is as

You can see in action code aim rendering the template /common/errors/ where the i am rendering all the errors inside user instance. and i have the template code as below

The problem template code is coming with layout rendered code and updating the div as well, but it is appending the default layout I do not want. i just want to display the errors messages

Could somebody help please where i m doing wrong.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!