[jbosstools-issues] [JBoss JIRA] (JBIDE-10958) Make Quick fix for problem markers "Unknown tag" work on temporary WTP annotations

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Tue Sep 11 16:22:33 EDT 2012


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

Vlado Pakan closed JBIDE-10958.
-------------------------------



Verified with JBT 4.0.0.Alpha1-v20120907-2341-B7.
                
> Make Quick fix for problem markers "Unknown tag" work on temporary WTP annotations
> ----------------------------------------------------------------------------------
>
>                 Key: JBIDE-10958
>                 URL: https://issues.jboss.org/browse/JBIDE-10958
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml source editing
>            Reporter: Daniel Azarov
>            Assignee: Daniel Azarov
>             Fix For: 4.0.0.Alpha1
>
>
> Test case:
> EXECUTE:
> 1. Create JSF KickStart project
> 2. Create test.jsp page:
> {code}
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <f:loadBundle var="Message" basename="demo.Messages" />
> <html>
> 	<head>
> 		<title>Hello!</title>
> 	</head>
> 	<body>
> 		<f:view>
> 			<h3>
> 			
> 			</h3>
> 		</f:view>
> 	</body>
> </html>
> {code}
> 3. Open test.jsp in Visual Page Editor
> 4. Add tag: <h:outputText value="" /> inside tag <h3>
> 5. Do not save the file
> ASSERT: problem annotation on string "<h:outputText value="" />" appears
> 6. Point mouse to string "<h:outputText value="" />"
> ASSERT:
> Quick fix "Insert '<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>" tag library definition' appears in Text Hoover
> 7. Select Quick Fix
> ASSERT:
> tag <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> inserted in first line of the test.jsp and problem annotation on string "<h:outputText value="" />" disappears

--
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