[ http://issues.apache.org/jira/browse/TAPESTRY-295?page=all ] Brian K. Wallace resolved TAPESTRY-295: ---------------------------------------
Resolution: Fixed Moved hasNext() call to end of while loop. > The ISqlTableDataSource is closed prematurely > --------------------------------------------- > > Key: TAPESTRY-295 > URL: http://issues.apache.org/jira/browse/TAPESTRY-295 > Project: Tapestry > Type: Bug > Components: Contrib > Versions: 3.0.3 > Reporter: Patrick Luijs > Assignee: Brian K. Wallace > Fix For: 3.0.5 > > The renderComponent(...) method in the ForEach class calls the hasNext() > method directly after obtaining the next value. The ResultSetIterator will > close the ResultSet when no more values are available. Because the resultset > is closed before the last row is rendered it will contain only empty values. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]