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

easy fix, addition of styleid needs to be made in correct version of tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Build
    • 1.0.0
    • Tag Libraries
    • None
    • Operating System: All
      Platform: PC
    • 1602

    Description

      The attribute styleId was introduced in the class BaseHandlerTag and FormTag of
      the deprecated org.apache.struts.taglib package and not
      org.apache.struts.taglib.html on April 18th
      (http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg01153.html)

      This problem may only show up using certain xml parsers but it does appear to
      be a problem that could be easily fixed by putting the styleid property in the
      correct classes.

      [tallanwljspc] Error: translation of /accessview.jsp failed:
      weblogic.servlet.jsp.JspException: (line 4): Error in using tag library
      uri='/WEB-INF/struts-html.tld' prefix='html': The Tag
      class 'org.apache.struts.taglib.html.ButtonTag' has no setter method
      corresponding to TLD declared attribute 'styleid', (JSP 1.1 spec, 5.4.1)

      Attachments

        Activity

          People

            craigmcc Craig R. McClanahan
            hdeadman Hal Deadman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: