Create Custom Templates for Different Domains?

View: New views
2 Messages — Rating Filter:   Alert me  

Create Custom Templates for Different Domains?

by tonylim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is it possible to create Custom Templates for different domains?

Re: Create Custom Templates for Different Domains?

by Hubert Chang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Make a plugin, copy ${basedir/scripts/GenerateAll.groovy , GenerateController.groovy, GenerateViews.groovy, rename it to pluginNameGene....groovy
copy _GrailsGenerate.groovy, _GrailsCreateArtifacts.groovy to your plugin ./scripts/ path and rename it.

modify these file, and package your plugin, you can define your template policy now.


tonylim wrote:
Is it possible to create Custom Templates for different domains?