Bugs item #861752, was opened at 2003-12-17 17:06
Message generated for change (Comment added) made by fgiust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=861752&group_id=73068

Category: main tag library
Group: v 1.0-b2
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: fabrizio giustina (fgiust)
Summary: name value cannot be fully qualified

Initial Comment:
If you provide a name value to the table tag that is a 
fully qualified request attribute like this:

<display:table 
    name="com.mycompany.Search.RESULT_LIST"
    pagesize="10" 
    defaultsort="1">

The table tag is unable to find the list, even though I can 
write code in the JSP to confirm that the list is present.

Some playing around with the use of different name 
values seems to hint at the possiblity that any time a '.' 
is used in the name, the list is not findable because it 
thinks you're trying to use the 'requestScope.object.
property' syntax.

Is it possible to introduce a new "scope" attribute on the 
tag with possible values of "request", "session", etc. that 
would indicate the location of the list, rather than the 
'requestScope.object.property'?  This would be more 
in-line with the Struts tags I've seen.  Just a thought.

Thanks for all your work on this tag!

Jeff
[EMAIL PROTECTED]

----------------------------------------------------------------------

>Comment By: fabrizio giustina (fgiust)
Date: 2004-01-02 14:50

Message:
Logged In: YES 
user_id=798060

the "." is handled by beanutils to describe object properties, 
it's not related to the "scope.object.property".
"com.mycompany.Search.RESULT_LIST" will be handled as:
request.getAttribute(com).getMycompany().getSearch
().getRESULT_LIST.

Keeping separate scope and property will not help (unless 
removing the more useful nested property lookup).
Simply don't use dots in object names for now, this could be 
addressed in the future with the use of EL (expression 
language) in displaytag attributes.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=861752&group_id=73068


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to