Uploaded image for project: 'Velocity Tools'
  1. Velocity Tools
  2. VELTOOLS-53

velstruts - problem with an example JSP/struts tags

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: VelocityStruts
    • Labels:
      None

      Description

      See: http://www.mail-archive.com/velocity-dev%40jakarta.apache.org/msg13343.html

      The Struts <html:form> tag has had a number of attributes removed in version 1.2.x. The form name, type and scope can no longer be specified on this tag - these are now looked up in the struts-config.xml.

      I'm attaching a patch which resolves the above issue. Also I noticed that the JSP example was missing the "languages" field that is on the equivalent velocity page. The patch also includes this field on the JSP pages so that the JSP/velocity pages are directly comparable.

        Attachments

        1. VelocityToolsStrutsApp1.patch
          3 kB
          Niall Pemberton
        2. VelocityToolsStrutsApp1v2.patch
          3 kB
          Niall Pemberton

          Activity

            People

            • Assignee:
              nbubna Nathan Bubna
              Reporter:
              niallp Niall Pemberton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: