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

Confusing documentation about ognl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2.0
    • Documentation
    • None

    Description

      The documentation at https://struts.apache.org/tag-developers/ognl seems to confuse selection and projection. There is no example of projection and the examples of the three types of selection are called projection. 

      The documentation at https://commons.apache.org/proper/commons-ognl/language-guide.html is correct and shows projection correctly in one section with the example listeners.{delegate} and shows selection with examples in a separate section immediately after the projection section. Selection and projection are also separately explained in the table in the appendix at the bottom of the same page.

      Perhaps the documentation of struts should have a link to the documentation of ognl instead of having its own examples. Or if there should be examples in the struts documentation, there should be examples for both projection and selection.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nikos nikos dimitrakas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m