From jira-events at lists.jboss.org Thu Oct 18 22:57:01 2012 Content-Type: multipart/mixed; boundary="===============6381854801676136337==" MIME-Version: 1.0 From: Isaac Rooskov (JIRA) To: jbosstools-issues at lists.jboss.org Subject: [jbosstools-issues] [JBoss JIRA] (JBIDE-12390) "Add missing required attribute(s)" quick fix for "Missing required attribute" WTP problem marker Date: Thu, 18 Oct 2012 22:57:01 -0400 Message-ID: <1059141534.18951.1350615421410.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1614014858.26178.1343759587483.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============6381854801676136337== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/JBIDE-12390?page=3Dcom.atlassian.jir= a.plugin.system.issuetabpanels:all-tabpanel ] Isaac Rooskov updated JBIDE-12390: ---------------------------------- Release Notes Docs Status: Documented as Feature Request Writer: irooskov Release Notes Text: A new quick fix has been implemented for the= WTP issue marker: Missing required attribute. The new quick fix allows for= the missing attributes to be automatically added into the code being writt= en. = > "Add missing required attribute(s)" quick fix for "Missing required attri= bute" 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 fi= le saving > Test case: > EXECUTE: > 1. Create JSF Kickstart project > 2. Create file test.jsp: > {code} > <%@ taglib uri=3D"http://java.sun.com/jsp/jstl/xml" prefix=3D"x" %> > > > Input User Name Page > > > > > > {code} > 3. Save file test.jsp and close editor > 4. Point mouse to tag > 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --===============6381854801676136337==--