Hi Vinay,

if yout set the scope of the "buildController" within the faces config to session, your app will work.

regards,
Marcus

Vinay Konanki schrieb:
Hi,

I need to develop an in-house application using Tobago. Before that I tried an sample application with tc:sheet in it, but i'm encountering some problems with tc:sheet which I explained in detail below

Aim of my sample application: Populate the data in the sheet and do all sorting, next page things in sheet.

Pre-req: Sheet will display all the 15 records in two pages with 10 records in first page and 5 records in second page.

Issue: Sheet is not displaying any thing when I click on Page 2 link or Next page.

Expected: Sheet will be populate with the records in 2 pages when I click on page 2 link or next page, the sheet should display records from 11 to 15.

Actual: I was able to populate dummy data in the sheet, but when I click on the page 2 or Next page link the JSP is reloading and no data is displaying in the sheet.

 Errors: I found following error using Firebug.  500 Internal Server Error
________

The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Illegal value for first row: -10
javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)

More details in "Sheet Error in FireBug.txt" in the attached ZIP file.
_______

Application Details:

OS: Windows XP
Browser: Firefox 3.0.5, IE 6.0
Lib : tobago-core-1.0.17.jar, myfaces-api-1.1.5.jar, myfaces-impl-1.1.15.jar
Tomcat: 5.5.26
Java : 1.5.0_15

I attached the source code (JSP, bean, controller, web.xml, faces-config.xml, snapshot) files

I think there is some thing wrong with my lib files, jsp page or config files, but I could not figure it out. I will greatly appreciate if any one can help me in this regard.

Thanks,
Vinay

NB: Attachted Zip file contains all required files.

Reply via email to