Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3028

struts-html-el.tld option tag filter type causing tld not to load

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.8
    • Fix Version/s: 1.3.9
    • Labels:
      None
    • Environment:
      Weblogic 8.1
      jdk 1.4.2_13

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oldcigarette Matt Kory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: