Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2-M4
-
Fix Version/s: 1.2-RC1
-
Component/s: View technologies
-
Labels:None
Description
The g:javascript tag is not working when used within a plugin view that uses an application layout, or an application view that overrides a plugin view. The problem is, the tag tries to "intelligently" determine whether its in a plugin view/layout, but fails. It simply checks whether the current controller (added as a request attribute) has a plugin context path.
Note that this behaviour is different to the g:resource tag, which has a plugin attribute.
Issue Links
- is related to
-
GRAILS-1249
pluginContextPath contains wrong path
-
- supercedes
-
GPNIMBLE-1
Plugin overrules javascript location, breaking application JavaScript
-
The original issue wasn't a problem with the plugin.