jdaugherty opened a new issue, #153:
URL: https://github.com/apache/grails-intellij-plugin/issues/153

   It seems like the inclusion of the "contextPath" attribute in the "g:render" 
tag in a Grails GSP file are always reported as an error. It's been like this 
for several IDEA versions.
   
   If the contextPath attribute is removed and the two files are located in the 
same (default) directories, then there is no error reported.
   
   Since it works in Grails, it should not be reported as an error.
   
   Example:
   Template file: `grails-app/views/user/_form.gsp `
   Contents of the template file doesn't really matter for this example, it 
just needs to exist.
   
   GSP file using template: `grails-app/views/customer/edit.gsp `
   Contents of `edit.gsp` (simplified):
   ```
   <html>
   <body>
   <g:form method="post" >
       <fieldset class="form">
           <g:render contextPath="/user" template="form"/>
       </fieldset>
   </g:form>
   </body>
   </html>
   ```
   Just contact me if you need more details for the example.
   
   ---
   
   *Imported from 
[IDEA-122722](https://youtrack.jetbrains.com/issue/IDEA-122722) · Type: Bug · 
Votes: 0*
   *Comments, attachments, dates and reporter are not part of the export — 
follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to