Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4188

In struts tag lib, required attribute removed in latest version ie 2.3.15.1

    XMLWordPrintableJSON

Details

    • Important

    Description

      we are using struts 2.0.5 and 2.3.4.1 in our applications. And we decided to migrate to 2.3.15.1 to get the security fixes.

      we use struts tags to render UI components and using 'required' attribute to get the '*' along with the components.

      In the version 2.3.15.1, the attribute required is dropped, and we need to change to requiredLabel to get the same effect, this increases migration&testing effort for a application which has 1000+pages

      Hence we require a backward compatibility for 'required' attribute in struts tags.

      Also nowhere in the migration document this information is specified. This makes the struts migration as block-box. Hence we require a proper migration document which should specify what are all the changes required in the application to migrate the struts.

      But we managed to get the '*' in UI by replacing UIBean.class,AbsctactUITag.class and struts.tld from 2.3.4.1 version.

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              mahendranmahesh mahendran
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: