Home Use Grails Form tag with Controller in Subfolder
Reply: 0

Use Grails Form tag with Controller in Subfolder

user423
1#
user423 Published in April 25, 2018, 12:24 pm

I'd like to send an email using a controller in a subfolder. I can't seem to find the syntax to accomplish this.

The default would be something like this...

<g:form controller="email" action="sendEmail">
     // form stuff
</g:form>

But my email controller, called Email.groovy, is in controllers/portal/Utils. Maybe this is outside normal convention?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.508015 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO