[ http://jira.codehaus.org/browse/DISPL-31?page=all ]
fabrizio giustina closed DISPL-31:
----------------------------------
Resolution: Fixed
Fix Version: (was: After 1.1)
1.1
This has been implemented in 1.1.
Decorators can now be loaded from objects available in page, request, session
or application scope. The default
decorator factory will first look for an existing instance then, if not found,
it will assume the name it's the
fully qualify class name for a decorator and will try to instantiate it using
reflection. This allows an easier
generation of decorators directly in the jsp page, see the sample webapp for an
example.
> Passing Decorator objects directly into Table, Column
> -----------------------------------------------------
>
> Key: DISPL-31
> URL: http://jira.codehaus.org/browse/DISPL-31
> Project: DisplayTag
> Type: Wish
> Components: Decorators
> Versions: 1.0 RC1
> Reporter: fabrizio giustina
> Priority: Minor
> Fix For: 1.1
> Attachments: ColumnTag.java, ColumnTagBeanInfo.java, displaytag-el-12.tld
>
>
> ====
> imported from sf tracker
> id 1022281
> http://sourceforge.net/support/tracker.php?aid=1022281
> ====
> It would be good if decorators cold be instanciated by
> your owm, passing important information into the
> decorator at runtime.
> Currently a decorator is static, it is loaded by the
> classloader, no way to pass information into it.
> e.g.
> MyDecorator md = new MyDecorator();
> md.seFilterValue("a value");
> <column decorator=<% = nd %>/>
> Thanks,
> Patrick Schneider
> [EMAIL PROTECTED]
--
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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel