Fabrizio, that seems wrong. With that implementation, when would you ever use the "name" attribute without ${}? A proper implementation should look like either:
<display:table name="userList"> or <display:table name="${listName}"> The second case uses double indirection, so it would only be used in a situation where you have several different lists in the page context that you can choose from, keyed by names, and the name of the list you choose needs to be dynamic. Granted, this is a very odd-sounding use case, but it could happen. The reason that EL tags seem weird in this case is because the value of the "name" attribute should be a variable reference. EL tags make much more sense in attributes that are constants, e.g. <display:table name="userList" cellspacing="${cellspacing}"> On Thu, 2004-03-11 at 10:19, Fabrizio Giustina wrote: > yes, this is absolutely intentional, see my first mail on the thread: > http://sourceforge.net/mailarchive/message.php?msg_id=7406316 > > fabrizio > > ________________________________ > > From: [EMAIL PROTECTED] on behalf of Matt Raible > Sent: Thu 11/03/2004 16.04 > To: [EMAIL PROTECTED] > Subject: [displaytag-devel] EL Tag and getting lists in the "name" attribute > > > > One thing I noticed with the nightly build. Before I was using the > following with the EL tag and it worked: > > <display:table name="userList" cellspacing="0" cellpadding="0" > > Now I have to use: > > <display:table name="${userList}" cellspacing="0" cellpadding="0" > > I just want to make sure this is intentional. I'll update my code to > reflect this (as it makes sense). I guess my main question is - will > this change or is this behavior from here on out. Will the name in the > EL tag always require ${}? If I try to use name="userList", I get: > > Exception: [.LookupUtil] Error looking up property "username" in object > type "java.lang.String" > Cause: Unknown property 'username' > > Thanks, > > Matt > > > > > ------------------------------------------------------- > 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-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-devel > > ------------------------------------------------------- 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-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel