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

allow to compare whether an arbitrary object is null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • Tag Libraries
    • None
    • any

    Description

      The idea is to for example do a notEqual logic tag where the value="null".

      By default this would be seen as a string comparison and always result in a "-1" but with this patch, it should test for an arbitrary null object reference.

      IMHO, this is more powerful.

      Attachments

        1. CompareTagBase.java.patch
          1 kB
          Ralf Hauser

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hauser@acm.org Ralf Hauser
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: