adfemg
  1. adfemg
  2. ADFEMG-78

ADF declarative component : title-attribute or titleattribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Labels:
      None

      Description

      hi

      While creating or working with an ADF declarative component in JDeveloper 11.1.1.6.0 the JDeveloper design-time never seems to warn about invalid attribute names (like "title-attribute" with a dash-character).

      Only at compile time there are lots of errors, but they don't really give a clear hint to what is wrong.
      For example, when using ...

          <af:xmlContent>
            <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
              <!-- ... -->
              <attribute>
                <attribute-name>title-attribute</attribute-name>
                <attribute-class>java.lang.String</attribute-class>
                <default-value>titleattribute-default-value</default-value>
              </attribute>
              <!-- ... -->
          </af:xmlContent>
      

      ... the JDeveloper "Compiler - Log" reports ...

      D:\screencast\ADFLibraryDependencyApps-v0.01\ADFLibraryDependencyApps\SomeComponentApp\SCViewController\classes\.jsps\somecomponentapp\component\SomeComponentTag.java
      Error(26,23):  '(' expected
      Error(26,24):  invalid method declaration; return type required
      Error(26,55):  ')' expected
      Error(26,65):  <identifier> expected
      Error(42,33):  ';' expected
      Error(42,43):  <identifier> expected
      Error(44,42):  ';' expected
      Error(44,56):  <identifier> expected
      Error(26,56):  cannot find class attribute
      Error(42,34):  cannot find class attribute
      Error(44,43):  cannot find class ATTRIBUTE_KEY
      Error(17,12):  cannot return a value from method whose result type is void
      Error(27,17):  cannot find variable attribute
      Error(27,29):  cannot find variable title
      Error(27,35):  cannot find variable attribute
      Error(33,16):  cannot find variable attribute
      Error(34,38):  cannot find variable ATTRIBUTE_KEY
      Error(34,60):  cannot find variable attribute
      Error(39,12):  cannot find variable attribute
      
      • (q1) Is it possible to create an enhancement request to improve the JDeveloper design-time to warn about invalid attribute names for ADF declarative components?

      many thanks
      Jan Vervecken

        Activity

        Hide
        chriscmuir added a comment -

        ER 16007815 raised.

        Show
        chriscmuir added a comment - ER 16007815 raised.
        Hide
        Jan Vervecken added a comment -

        Thank you for the update Chris.

        • about "ER 16007815 raised."
          • On My Oracle Support I have been able to find enhancement request 16007815, "DT WARNING FOR INVALID DECLARATIVE COMPONENT ATTR NAMES".

        regards
        Jan Vervecken

        Show
        Jan Vervecken added a comment - Thank you for the update Chris. about "ER 16007815 raised." On My Oracle Support I have been able to find enhancement request 16007815, "DT WARNING FOR INVALID DECLARATIVE COMPONENT ATTR NAMES". regards Jan Vervecken
        Hide
        chriscmuir added a comment -

        No progress to date. Sent email internally to give the request a poke.

        CM.

        Show
        chriscmuir added a comment - No progress to date. Sent email internally to give the request a poke. CM.
        Hide
        chriscmuir added a comment -

        I'm going to mark this issue as incomplete leaving the internal teams to triage and schedule the fix based on their own priorities. At this stage I've sent enough internal emails to try and get traction, and it's not worth my while to continue to revisit that here.

        CM.

        Show
        chriscmuir added a comment - I'm going to mark this issue as incomplete leaving the internal teams to triage and schedule the fix based on their own priorities. At this stage I've sent enough internal emails to try and get traction, and it's not worth my while to continue to revisit that here. CM.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jan Vervecken
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: