Uploaded image for project: 'XWork'
  1. XWork
  2. XW-659

Added debug info to XWorkMethodAccessor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.2
    • 2.1.2
    • None
    • None

    Description

      Hi,

      In case anybody is interested, I added some debug information to the XWorkMethodAccessor.java file, that logs when an OGNL expression in throwing an exception.

      I used it to debug an action method like:

      public boolean someTest() {

      }

      In my JSP file had:

      <s:if test="someTest()">

      ....

      </s:if>

      but the test was always returning false. The issue was that the method was throwing an exception but there was no trail of the error nowhere.

      Gabriel

      Attachments

        Activity

          People

            Unassigned Unassigned
            belingueres Gabriel Belingueres
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: