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

allow to compare whether an arbitrary object is null

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: Tag Libraries
    • Labels:
      None
    • Environment:
      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

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

                Dates

                • Created:
                  Updated: