The following issue has been updated:
Updater: fabrizio giustina (mailto:[EMAIL PROTECTED])
Date: Wed, 6 Oct 2004 6:24 AM
Changes:
priority changed from Minor to Major
Component changed to I18N
Component changed from Tag Library
Fix Version changed to 1.0
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/DISPL-15?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/DISPL-15
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DISPL-15
Summary: display-el:column titleKey not Resin compatible
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
I18N
Fix Fors:
1.0
Versions:
1.0 RC2
Assignee:
Reporter: fabrizio giustina
Created: Sat, 25 Sep 2004 4:43 AM
Updated: Wed, 6 Oct 2004 6:24 AM
Description:
====
imported from sf tracker
id 996162
submitted by Steve Swing - sswing
http://sourceforge.net/tracker/index.php?func=detail&group_id=73068&atid=536613&aid=996162
====
Resin 2.1.10 & 2.1.14 do not properly work using titleKey
attribute of display-el:column. No ancestor tag that
Resin instantiates extends BundleSupport class that
ELColumnTag imports. Since Resin uses its own
implementations of fmt:Bundle and fmt:SetBundle
neither are found by findAncestorWithClass(this,
BundleSupport.class)
Since ELColumnTag.java imports
org.apache.taglibs.standard.tag.common.fmt.BundleSupp
ort making it require the Jakarta JSTL implementation
standard.jar.
Is it valid for ELColumnTag to use the following instead?
<pre>
public int doStartTag() throws JspException
{
evaluateExpressions();
if (titleKeyExpr != null || parentTitleExpr == null)
{
String key = (titleKeyExpr != null) ?
titleKeyExpr : parentPropertyExpr;
String title =
LocaleSupport.getLocalizedMessage(pageContext, key);
super.setTitle(title != null ? title : titleKeyExpr);
}
return super.doStartTag();
}
</pre>
As a separate issue Resin doesn't appear to make use
of fmt:bundle prefix attribute within calls to
LocaleSupport.getLocalizedMessage() calls.
---------------------------------------------------------------------
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
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel