[prev in list] [next in list] [prev in thread] [next in thread]
List: groovy-scm
Subject: [jira] Created: (GROOVY-668) sql.eachRow throws MissingMethodException in Markup Builder
From: jira () codehaus ! org
Date: 2004-11-24 19:56:11
Message-ID: 21125825.1101326171072.JavaMail.orion () beaver ! codehaus ! org
[Download RAW message or body]
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/GROOVY-668
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GROOVY-668
Summary: sql.eachRow throws MissingMethodException in Markup Builder
Type: Bug
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: groovy
Versions:
1.0-beta-7
Assignee:
Reporter: Gary Furash
Created: Wed, 24 Nov 2004 2:55 PM
Updated: Wed, 24 Nov 2004 2:55 PM
Environment: Windows XP (Dos), SP2
Description:
Executing the following code...
htmlOut = new MarkupBuilder();
htmlOut.html() {
head() {
title("Load By Developer for Release $release");
}
body() {
table() {
tr() {
th("Team Member");
th("Total Tasks");
th("Workload");
}
sql.eachRow(getWorkloadSql) {
tr() {
td(it.last_name + ", " + it.first_name);
td(it.total_tasks);
td(it.workload);
}
}
}
}
}
println(htmlOut);
Yields the error:
Caught: groovy.lang.MissingMethodException: No signture of method \
Test$_run_closure2.body() is applicable for argument types Test$_run_closure2.body() \
is applicable for argument types: (Test$_run_closure2_closure4) values: \
[Test$_run_closure2_closure@1f6226]
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic