History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-2557
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Graeme Rocher
Reporter: Rick Cromer
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Grails

render tag appears to be broken - trying to include a page

Created: 28/Feb/08 07:39 PM   Updated: 28/Feb/08 07:39 PM
Component/s: TagLib
Affects Version/s: 1.0.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive renderBug.zip (193 kb)

Environment:
  
« Hide
Grails 1.0.1
Win XP SP2
No persistent database
Running from command line
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)


 Description  « Hide
The render tag doesn't work when I try to use it to pull in another file into a *.gsp page. It throws this error:

Message: grails-app\views\grails-app\views\course_mytemplate.gsp (The system cannot find the path specified)
Caused by: I/O error reading stream for resource [file [D:\_grails\renderBug\grails-app\views\grails-app\views\course\_mytemplate.gsp]]: grails-app\views\grails-app\views\course_mytemplate.gsp (The system cannot find the path specified)
Class: Unknown

In the path the part "grails-app\views" is repeated twice.

I used this tag and put it on a page where the course bean was already being used.

<g:render template="mytemplate" bean="${course}" />

Which is towards the bottoms of the list page of the attached project.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.