Dynamic scaffolding have been always one of Grails more important features!
--
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 grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/b70bdadb-1e35-4d69-ab6a-f94ac68a8793%40googlegroups.com.
+1
--
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 grails-dev-discuss+unsub...@googlegroups.com.
To post to this group, send email to grails-dev-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/4A3C15B3-9327-4C0D-B14E-69340AD2D91B%40jeffandbetsy.net.
--
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 grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/FF106F1D-F1F3-4661-B5EB-0C9C1B82F890%40jeffandbetsy.net.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAKQDOQX5JHOZOzpmbukYjG%3DLZwhLY%3DMFq4exO_zLXfT%3DQbd5mg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/29B4391D-D0ED-4148-843F-3E1622DC9DF4%40jeffandbetsy.net.
I mean adding and removing attributes from domain classes, or trying out different constraints. Also, adding different relationships, with directionality and multiplicities.
Ken
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/6R2YaF96Uts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/F53B4A4E-D3EB-4637-8FA8-0C4C3C29F75F%40jeffandbetsy.net.
The generated views don't need to be regenerated? Even if you add attributes that hadn't been there before? Why not?
Ken
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/6R2YaF96Uts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/5C0F6414-53CA-40C8-9F81-5CEB9B9DF84A%40jeffandbetsy.net.
But the form fields and tables use them, and the type of form field is dependent on the new attribute.
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/6R2YaF96Uts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/4850C2EB-A557-4991-A99B-59530A651AA6%40jeffandbetsy.net.
Huh. Those f: tags are new to me. I've always seen the generated html instead.
If that's all we need, then a single generate-all really will do the trick. All that's necessary is to tell people to do it.
Where is that documented?
Ken
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/6R2YaF96Uts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/D684B416-A098-4295-8049-ED9C74636A36%40jeffandbetsy.net.
That's definitely a huge part of my confusion at least. I had no idea the new gsps were different.
Ken
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/6R2YaF96Uts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/B9DF6B3A-CF38-48BA-B35E-F4982CC756E4%40jeffandbetsy.net.
I had only tried the dynamic scaffolding. I didn't know the 3.0 static files were different.
Graeme mentioned something about the field plugin. When I looked at the Gradle build file I didn't see it, so I didn't know it was already being used.
Ken
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/6R2YaF96Uts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/B7CF68C6-AC45-472A-B851-6DD209D2208F%40jeffandbetsy.net.
That I can probably do. ☺
Ken
--
You received this message because you are subscribed to a topic in the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grails-dev-discuss/6R2YaF96Uts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/AD5C66ED-AB9A-49E6-BAF8-DEB774FF5263%40jeffandbetsy.net.
We have not as of yet implemented this, and it probably won't make the
cut for 3.0 GA
However, you can get largely the same behaviour with a domain that has:
@Resource
class Book {
String title
}
And then just running 'generate-views'
The only difference is you have to regenerate the views on each change.
Dynamic scaffolding was one of the biggest contributors to startup
time slowness so in its current form it won't go into 3.0
Cheers
On Fri, Mar 6, 2015 at 1:15 PM, zyro <zy...@zyro.net> wrote:
> hi,
>
> just tried to create a scaffolding controller (static scaffold = true) with
> grails 3 but that gives me a 404, e.g. on /controllerName/index.
>
> just wanted to make sure that dynamic scaffolding is supposed to work as we
> are used to from previous version (including partially "implemented"
> controllers)?
>
> thanks, zyro
>
> --
> 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 grails-dev-discuss+unsub...@googlegroups.com.
> To post to this group, send email to grails-de...@googlegroups.com.
> To view this discussion on the web visit
> For more options, visit https://groups.google.com/d/optout.
--
Graeme Rocher