Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8098

Validate that no unknown attributes are used according to tablibs

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • LATER
    • None
    • jsf
    • None

      Currently, when you type nonexistent attribute, you are lost in the battle trying to find what's wrong.

      Try this:

      <h:commandButton id="commandButton" value="Submit" >
      <a4j:ajax onComplete="alert('completed')" />
      </h:commandButton>

      Neither JSF-RI nor the IDE warn you that you did a mistake and that you should use "oncomplete" instead to show the alert window on completion.

      <h:commandButton id="commandButton" value="Submit" >
      <a4j:ajax oncomplete="alert('completed')" />
      </h:commandButton>

      I propose to check this mistakes on level of IDE and trigger warnings where the unknown attributes is used to give user feedback .

            alexeykazakov Alexey Kazakov
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: