[ 
https://issues.apache.org/struts/browse/STR-3028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40816
 ] 

Henri Yandell commented on STR-3028:
------------------------------------

However - it does appear in the specification (3-48, or P. 432).

Looking at the source, the <type> is on the filter attribute of ELOptionTag. 
However just before it in the EL tld is a disabled attribute that when I check 
ELOptionTag is also pretty much a boolean. So I don't see why this one has 
<type>boolean</type> and the other does not. The source looks exactly the same 
- and ELOptionTagBeanInfo maps the filter attribute to a String not a boolean.

So I'm going to remove that line from the tld file.

> struts-html-el.tld option tag filter type causing tld not to load
> -----------------------------------------------------------------
>
>                 Key: STR-3028
>                 URL: https://issues.apache.org/struts/browse/STR-3028
>             Project: Struts 1
>          Issue Type: Bug
>          Components: EL
>    Affects Versions: 1.3.8
>         Environment: Weblogic 8.1
> jdk 1.4.2_13
>            Reporter: Matt Kory
>            Priority: Minor
>
> Hallo,
> First off I am very new to struts so I may have done something very wrong, 
> but I am pretty sure I have everything setup right.  I am was trying to use 
> the struts el taglib but kept running into this error
> /jsp/Welcome.jsp(21): Error in using tag library 
> uri='/WEB-INF/struts-html-el.tld' prefix='html': type mismatch for property 
> 'filter', for Tag class 'org.apache.strutsel.taglib.html.ELOptionTag': tld 
> says boolean, implementation type is java.lang.String
> probably occurred due to an error in /jsp/Welcome.jsp line 21:
> <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
> So I opened up struts-html-el.tld and commented out the type node for option 
> filter attribute (line 5173), none of the other attributes around it had a 
> type.  After the change it worked without a hitch.
> Cheers
> Matt Kory

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to