[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8098) Validate that no unknown attributes are used according to tablibs

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Wed Jan 12 09:44:49 EST 2011


Validate that no unknown attributes are used according to tablibs
-----------------------------------------------------------------

                 Key: JBIDE-8098
                 URL: https://issues.jboss.org/browse/JBIDE-8098
             Project: Tools (JBoss Tools)
          Issue Type: Enhancement
          Components: JSF
            Reporter: Lukas Fryc
            Assignee: Alexey Kazakov


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 .

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list