Message:

   The following issue has been closed.

   Resolver: fabrizio giustina
       Date: Thu, 9 Dec 2004 8:39 AM

Table decorators are not esposed in column body.
If you use the "property" attribute the tag look for the bean property both in 
the original object and in the decorator, but this can't be done in column 
body, since displaytag directly esposes the original bean.

So, if you have a bean with a "name" property and a decorator with a 
"decoratedName" property there is no way to expose an object which will allow 
both:
bean.getName()
decorator.getDecoratedName()

Anyway, if you use a table decorator there is no reason to also use the column 
body instead of the (faster) property attribute.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-143

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-143
    Summary: Table does not use decorators when providing implicit objects
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: DisplayTag
 Components: 
             Decorators
   Fix Fors:
             1.0 RC2
   Versions:
             1.0 RC2

   Assignee: fabrizio giustina
   Reporter: Thomas Dudziak

    Created: Mon, 29 Nov 2004 7:54 AM
    Updated: Thu, 9 Dec 2004 8:39 AM

Description:
When doing something along the lines of:

<display table id="row" name="mylist" decorator="bar.FooDecorator>
  <display:column title="name" >
    <c:out value="${row.name}"/>
  </display:column>
</display:table>

then the implicit 'row'-object used in the JSTL tag is not the FooDecorator 
instance but the object from the list.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to