grails scaffolding with 3.0.9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

grails scaffolding with 3.0.9

Spoonman
I'm trying to customize the scaffolding templates but I can't see the _form.gsp file;
I would like to modify the templates like shown in the following link:
https://github.com/mrnohr/grails-twitter-bootstrap/tree/master/src/templates/scaffolding
but problably from 2.4 version to 3.0 version the file _form.gsp has been removed.

Can you confirm that the scaffolds files has been changed ?
Do you know any other templates that use bootstrap with grails 3.0.9 ?

Best regards
Fabio

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/c73057ce-0ab1-47c6-8e06-661dac14c6a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: grails scaffolding with 3.0.9

Chris Malan
Yes, the _form.gsp page is gone. The fields plugin now renders the create/edit, show and index views from the domain class.  You will find a tag like <f:all bean="book"/> in the create and edit pages and <f:display bean="book" /> in the show page.  Obviously, the question is now how to exert control over those.

On Tuesday, January 5, 2016 at 9:38:26 AM UTC+11, Fabio Canella wrote:
I'm trying to customize the scaffolding templates but I can't see the _form.gsp file;
I would like to modify the templates like shown in the following link:
<a href="https://github.com/mrnohr/grails-twitter-bootstrap/tree/master/src/templates/scaffolding" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fmrnohr%2Fgrails-twitter-bootstrap%2Ftree%2Fmaster%2Fsrc%2Ftemplates%2Fscaffolding\46sa\75D\46sntz\0751\46usg\75AFQjCNHyclllJDC7Cj5-ekBOVYd4-vLjRg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fmrnohr%2Fgrails-twitter-bootstrap%2Ftree%2Fmaster%2Fsrc%2Ftemplates%2Fscaffolding\46sa\75D\46sntz\0751\46usg\75AFQjCNHyclllJDC7Cj5-ekBOVYd4-vLjRg&#39;;return true;">https://github.com/mrnohr/grails-twitter-bootstrap/tree/master/src/templates/scaffolding
but problably from 2.4 version to 3.0 version the file _form.gsp has been removed.

Can you confirm that the scaffolds files has been changed ?
Do you know any other templates that use bootstrap with grails 3.0.9 ?

Best regards
Fabio

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/2830104f-01cc-4cba-8ef8-1aaf6e7a2207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: grails scaffolding with 3.0.9

Graeme Rocher-2
The fields plugin is very flexible, you can render all properties of a bean or only the ones you want / customize it however you need

Cheers
Graeme

On 15 Feb 2016, at 16:43, Chris Malan <[hidden email]> wrote:

Yes, the _form.gsp page is gone. The fields plugin now renders the create/edit, show and index views from the domain class.  You will find a tag like <f:all bean="book"/> in the create and edit pages and <f:display bean="book" /> in the show page.  Obviously, the question is now how to exert control over those.

On Tuesday, January 5, 2016 at 9:38:26 AM UTC+11, Fabio Canella wrote:
I'm trying to customize the scaffolding templates but I can't see the _form.gsp file;
I would like to modify the templates like shown in the following link:
<a href="https://github.com/mrnohr/grails-twitter-bootstrap/tree/master/src/templates/scaffolding" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fmrnohr%2Fgrails-twitter-bootstrap%2Ftree%2Fmaster%2Fsrc%2Ftemplates%2Fscaffolding\46sa\75D\46sntz\0751\46usg\75AFQjCNHyclllJDC7Cj5-ekBOVYd4-vLjRg';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fmrnohr%2Fgrails-twitter-bootstrap%2Ftree%2Fmaster%2Fsrc%2Ftemplates%2Fscaffolding\46sa\75D\46sntz\0751\46usg\75AFQjCNHyclllJDC7Cj5-ekBOVYd4-vLjRg';return true;" class="">https://github.com/mrnohr/grails-twitter-bootstrap/tree/master/src/templates/scaffolding
but problably from 2.4 version to 3.0 version the file _form.gsp has been removed.

Can you confirm that the scaffolds files has been changed ?
Do you know any other templates that use bootstrap with grails 3.0.9 ?

Best regards
Fabio


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/2830104f-01cc-4cba-8ef8-1aaf6e7a2207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/9D790CA7-753B-4755-BA62-466A61DD0A21%40gmail.com.
For more options, visit https://groups.google.com/d/optout.