RE: Setting page size dynamically in datagrid paging...

2005-04-13 Thread Siva Yenneti
Yup! It worked. Thanks a lot for your time and help. -Siva --- Néstor Boscán <[EMAIL PROTECTED]> wrote: > Hi Siva > > It looks like you're not setting the variable in a > request, page, session or > application scope. Try doing: > > request.setAttribute ("pageSize", new Integer > (pageSize)); >

RE: Setting page size dynamically in datagrid paging...

2005-04-13 Thread Néstor Boscán
Hi Siva It looks like you're not setting the variable in a request, page, session or application scope. Try doing: request.setAttribute ("pageSize", new Integer (pageSize)); after defining the pageSize. Regards, Néstor Boscán -Mensaje original- De: Siva Yenneti [mailto:[EMAIL PROTECT

Setting page size dynamically in datagrid paging...

2005-04-13 Thread Siva Yenneti
Hi, I am tring to use a variable for *pageSize* to work in the *paging* attribute of the datagrid but can't get it to work. I am attaching my code for your perusal. Could you please see where I am doing wrong in the code? I declared a scope variable -- int pageSize = 2; which I used in It