Bugs item #996162, was opened at 2004-07-22 16:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=996162&group_id=73068

Category: main tag library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Steve Swing (sswing)
Assigned to: Nobody/Anonymous (nobody)
Summary: display-el:column titleKey not Resin compatible

Initial Comment:
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.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to