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

Document how to migrate <logic> tags to JSTL

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.8
    • Fix Version/s: Future
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      any

      Description

      Very often, I find myself having a

      <logic:equal .... true
      .... positive
      </logic:equal

      followed by a

      <logic:notEqual .... true
      .... negative
      </logic:notEqual

      These are maintenance imponderables because in nested settings, you risk to loose oversight if you change one of the statements to also change the other one.

      If there were a <logic:else>

      the above statement could be reduced to

      <logic:equal .... true>
      .... positive ...
      </logic:else>
      .... negative ...
      </logic:equal>

      and only ONE condition is to be maintained

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hauser@acm.org Ralf Hauser

              Dates

              • Created:
                Updated:

                Issue deployment