Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to remove deafult layout from template

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

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