0

ASP.NET has a nifty method for its views called "EditorForModel()", where the passed in model is checked and for each property a default control (e.g. a textbox for a String) is put onto the page. This way, for a basic object that needs to be edited you can get a full Edit screen basically for free. This is not always what you want, obviously, but sometimes it is, especially for Admin type screens.

I don't see anything like this in the Grails framework, but I figured there could be a plugin or something that I was missing. Has anyone heard of anything like this? Thanks.

2 Answers 2

1

When you put static scaffold = true in your controller class you will not even need any view file (gsp) to get full edit screens for your model (domain class). It's handy for simple CRUD actions.

0

Grails uses Scaffolding. See the docs here. Basically the same thing. Still nifty.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.