So the semantics of the "name" attribute are different between the
non-el version and the el version?  In the non-el version it's the name
of the bean, and in the el version it's the collection itself?  That
seems pretty odd to me.  I would have assumed they would have added a
"collection" attribute.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Murray
Sent: Thursday, March 25, 2004 11:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [displaytag-user] Can't get the EL version of displaytag to
work [problem solved]


That was the problem. Thanks for the prompt reply! 

It makes sense that you need to use EL to specify the collection object,
but I assumed everything would be backward compatible with the standard
displaytag, hence my confusion. Might want to make a note of this
somewhere obvious for other users. 

-Adam

On Thu, 2004-03-25 at 11:20, Matt Raible wrote:
> The nightly build should allow this:
> 
> <display:table name="${projectList}"...
> 
> Matt
> 
> On Mar 25, 2004, at 12:06 PM, Adam Murray wrote:
> 
> > I should be able to swap in the EL version with no changes to my 
> > JSPs, correct? I tested with the simplest incarnation of displaytag 
> > I could think of: <display:table name="requestScope.projectList">
> >     <display:column property="name" title="Name"/>
> > </display:table>
> >
> > Which works fine with the standard displaytag, but when I swap in 
> > the
> > EL
> > version I get:
> >
> >  Exception: [.LookupUtil] Error looking up property "name" in object

> > type "java.lang.String"
> > Cause:   <extended stack trace...>
> > Caused by: java.lang.NoSuchMethodException: Unknown property 'name'
> >     at
> >
org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUt 
> > ils.java:1175)
> >     at
org.displaytag.util.LookupUtil.getBeanProperty(LookupUtil.java:204)
> >
> > I'm guessing this is because I grabbed the latest CVS build and it 
> > has some bugs. But I did that because I was having trouble building 
> > the EL patch into displaytag-b2.
> >
> > Is there somewhere I can get a jar of displaytag with EL support 
> > that works correctly?
> >
> > --
> > Adam Murray <[EMAIL PROTECTED]>
> > Fortify Software
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO 
> > of GenToo technologies. Learn everything from fundamentals to system

> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=clic
> > k
> > _______________________________________________
> > displaytag-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of 
> GenToo technologies. Learn everything from fundamentals to system 
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> displaytag-user mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-user mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to