Hi Néstor, Thanks for your efforts. That would be great.
Regards, Olaf > -----Ursprüngliche Nachricht----- > Von: Néstor Boscán [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 30. Dezember 2004 01:05 > An: [EMAIL PROTECTED]; taglibs-user@jakarta.apache.org > Betreff: RV: [datagrid] Cannot use EL in attribute items > > > > > -----Mensaje original----- > De: Néstor Boscán [mailto:[EMAIL PROTECTED] > Enviado el: Miércoles, 29 de Diciembre de 2004 07:59 p.m. > Para: 'Tag Libraries Users List'; '[EMAIL PROTECTED]' > Asunto: RE: [datagrid] Cannot use EL in attribute items > > Hi Olaf > > You're doing everything right. The problem is that the datagrid > tag was made > for JSP 1.2 working with JSTL 1.0. I will try to modify the tag > to see if I > can make it work with JSP 2.0. It shouldn't be a lot of work. > > Regards, > > Néstor Boscán > > -----Mensaje original----- > De: Olaf Bergner [mailto:[EMAIL PROTECTED] > Enviado el: Miércoles, 29 de Diciembre de 2004 05:36 p.m. > Para: taglibs-user@jakarta.apache.org > Asunto: [datagrid] Cannot use EL in attribute items > > I am currently evaluating the datagrid tag and in the process of porting a > simple homegrown pager. Our environment: > > JBoss 3.2.6 > JSTL 1.1 > standard-1.1.2.jar > Java 1.4.2. > > The list to be displayed is stored in session scope in the property > 'filteredOrganizations' of the form-bean > 'organizationSearchForm', i.e. the > following struts tag > > <logic:iterate name="organizationSearchForm" > property="filteredOrganizations" ...></logic:iterate> > > works. > > My first problem was JBoss complaining that according to the TLD the > attribute 'items' does not accept an EL expression, so that compilation > failed. I modified the datagrid TLD so that the rtexprvalue attribute now > reads 'true'. > > Now, a > > <ui:dataGrid items="${organizationSearchForm.filteredOrganizations}" ...> > > gives me an > > java.lang.IllegalArgumentException > at org.apache.taglibs.datagrid.DataGridTag.setItems(DataGridTag.java:928). > > The collection stored in > organizationSearchForm.filteredOrganizations is of > type java.util.List, a java.util.ArrayList, to be exact. Since our web.xml > declares version 2.4 I understand that EL is enabled by default and any EL > expression is evaluated by the web container, so that the datagrid tag > should be passed a java.util.List instance. Is this assumption > correct? What > am I doing wrong here? > > Any help would be greatly appreciated, since this beast looks > just like what > we need. > > - Olaf - > -------------------------------------------- > Easynet GmbH (http://www.de.easynet.net) Olaf Bergner, System Integrations > Harburger Schlossstrasse 1, D-21079 Hamburg > fon: +49-40-77175-434, fax: +49-40-77175-519 # Easynet is part of the > easynet group plc (www.Easynetgroup.net) > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]