You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The g:javascript documentation found here contains this text:
If you use this tag to render inline JavaScript code, it is recommended that you use the Resources plugin’s <r:script> tag to produce inline script that is included at the end of the body, or in the head if necessary - rather than inline. For more control use the Resources plugin’s <r:script> tag directly.
The link provided generates a 404 which suggests trying this alternative URL, which leads to some documentation about Resources Plugin version 1.2.14, which I believe to be old and possibly outdated given its "old Grails" styling.
I'm wondering if this is some indication that the g:javascript documentation needs some more profound updates, since the Sitemesh chapter elsewhere in the GSP documentation explains a completely different approach, using g:pageProperty in the layout and <content> in the page to be decorated as a way to get Javascript in a given page to appear after all the Javascript asset pipeline "includes".
The text was updated successfully, but these errors were encountered:
The
g:javascript
documentation found here contains this text:If you use this tag to render inline JavaScript code, it is recommended that you use the Resources plugin’s <r:script> tag to produce inline script that is included at the end of the body, or in the head if necessary - rather than inline. For more control use the Resources plugin’s <r:script> tag directly.
The link provided generates a 404 which suggests trying this alternative URL, which leads to some documentation about Resources Plugin version 1.2.14, which I believe to be old and possibly outdated given its "old Grails" styling.
I'm wondering if this is some indication that the
g:javascript
documentation needs some more profound updates, since the Sitemesh chapter elsewhere in the GSP documentation explains a completely different approach, usingg:pageProperty
in the layout and<content>
in the page to be decorated as a way to get Javascript in a given page to appear after all the Javascript asset pipeline "includes".The text was updated successfully, but these errors were encountered: