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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23417 Thu Dec 09 12:03:07 MST 2010 greg.dick ICE-6360 wrap default values for Object properties in quotes
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/generator/src/org/icefaces/generator/artifacts/ComponentArtifact.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: