ICEfaces
  1. ICEfaces
  2. ICE-6360

ACE Generator code isn't handling Object properties with defaultValues correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ACE Generator

      Description

      If a property in the component meta class had a type of Object, and the developer tried to create a defaultValue, the generated code in the getter would look like:

      Object returnVal = a default value;

      Where 'a default value' is a string in the meta file. This wont compile. The existing code looks for Strings and if the property is a string, wraps the default value in quotes. This needs to be extended to include Object case .

        Activity

        Hide
        Greg Dick added a comment -

        I've checked in a fix for this issue

        Show
        Greg Dick added a comment - I've checked in a fix for this issue

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: