Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-25

[RTC] Support for #null short hand for a null value

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.6
    • spring
    • None

    Description

      We need a way to specify an explicit null value via an attribute. Constructors are selected using the names of the arguments present, so we need to specify the null ones. There is currently no way to do this in an xml attribute. This code allows you to put #null in any attribute and we create a property with null for the value.

      This patch contains a test case.

      Attachments

        1. #null.patch
          11 kB
          Dain Sundstrom

        Activity

          People

            dain Dain Sundstrom
            dain Dain Sundstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: