[jbosstools-issues] [JBoss JIRA] (JBIDE-12390) "Add missing required attribute(s)" quick fix for "Missing required attribute" WTP problem marker

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Thu Oct 18 19:42:01 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Azarov updated JBIDE-12390:
----------------------------------

    Description: 
Now WTP creates such problem markers only for jsp files and only after file saving

Test case:

EXECUTE:
1. Create JSF Kickstart project
2. Create file test.jsp:
{code}
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>

<html>
    <head>
    	<title>Input User Name Page</title>
    </head>
    <body>
    <x:if></x:if>
    </body>
</html>
{code}

3. Save file test.jsp and close editor
4. Point mouse to tag <x:if>
ASSERT:
Text hover with quick fix "Add 'select' attribute to 'x:if' tag" appears
EXECUTE: Select quick fix
ASSERT: attribute 'select' appears in tag 'x:if'

  was:Now WTP creates such problem markers only for jsp files and only after file saving


    
> "Add missing required attribute(s)" quick fix for "Missing required attribute" WTP problem marker
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12390
>                 URL: https://issues.jboss.org/browse/JBIDE-12390
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml source editing
>            Reporter: Daniel Azarov
>            Assignee: Daniel Azarov
>              Labels: new_and_noteworthy
>             Fix For: 4.0.0.Beta1
>
>         Attachments: AddAttributeQuickFix.png, AddAttributeQuickFix.png
>
>
> Now WTP creates such problem markers only for jsp files and only after file saving
> Test case:
> EXECUTE:
> 1. Create JSF Kickstart project
> 2. Create file test.jsp:
> {code}
> <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
> <html>
>     <head>
>     	<title>Input User Name Page</title>
>     </head>
>     <body>
>     <x:if></x:if>
>     </body>
> </html>
> {code}
> 3. Save file test.jsp and close editor
> 4. Point mouse to tag <x:if>
> ASSERT:
> Text hover with quick fix "Add 'select' attribute to 'x:if' tag" appears
> EXECUTE: Select quick fix
> ASSERT: attribute 'select' appears in tag 'x:if'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list