Decorator by instance, not by class.
------------------------------------

                 Key: DISPL-628
                 URL: http://jira.codehaus.org/browse/DISPL-628
             Project: DisplayTag
          Issue Type: Improvement
          Components: Decorators
            Reporter: Ivan


Problem:  Now there is no simple possibility to pass parameters to decorator. 
The only admissible way is getting page attributes from Decorator's pageContex, 
but this makes Decorator aware of a JSP page where it is used.

Reason:  display tags support decorators only with 'decorator' attribute. Even 
initial properties of decorator cannot be set.

Solution:  It would be great to have an attribute (let's say 'decoratorBean'). 
If 'decoratorBean' specified, a tag must use this bean as a decorator.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to