Re: taglib-datagrid, IllegalArgumentException , org.apache.taglibs.datagrid.DataGridTag.setItems(DataGridTag.java:928)

2007-04-07 Thread Rashmi Rubdi
Hi there, Someone else had a similar error: http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-user/200412.mbox/[EMAIL PROTECTED] SEVERE: Servlet.service() for servlet jsp threw exception java.lang.IllegalArgumentException at

Re: taglib-datagrid, IllegalArgumentException , org.apache.taglibs.datagrid.DataGridTag.setItems(DataGridTag.java:928)

2007-04-07 Thread mansour77
Rashmi Rubdi wrote: Hi there, Someone else had a similar error: http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-user/200412.mbox/[EMAIL PROTECTED] SEVERE: Servlet.service() for servlet jsp threw exception java.lang.IllegalArgumentException at

Re: taglib-datagrid, IllegalArgumentException , org.apache.taglibs.datagrid.DataGridTag.setItems(DataGridTag.java:928)

2007-04-07 Thread mansour77
Before I go and report a bug, I need to ask you a question. I think you are about to solve the issue for me. I stepped through the source for this tag, and it's not evaluating my items as an Collection obj. I think I am having a problem with the syntax I am using. You adviced me to use

Re: taglib-datagrid, IllegalArgumentException , org.apache.taglibs.datagrid.DataGridTag.setItems(DataGridTag.java:928)

2007-04-07 Thread Rashmi Rubdi
On 4/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Before I go and report a bug, I need to ask you a question. I think you are about to solve the issue for me. I stepped through the source for this tag, and it's not evaluating my items as an Collection obj. If you could patch the bug, you

Re: taglib-datagrid, IllegalArgumentException , org.apache.taglibs.datagrid.DataGridTag.setItems(DataGridTag.java:928)

2007-04-07 Thread Rashmi Rubdi
It works! The below JSP Scriptlet code could easily be replaced as follows: jsp:useBean id=accountBean class=test72.bean.AccountBean scope=request/ c:forEach var=invoice items=${accountBean.invoices} ${invoice.id}br/ ${invoice.itemName}hr/ /c:forEach You only need to change the package