This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242354 - [Reformat] Wrong indent of tag </form:form>
Summary: [Reformat] Wrong indent of tag </form:form>
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 08:54 UTC by ssazonov
Modified: 2016-07-07 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wrong indent of tag </form:form> (49.51 KB, image/png)
2014-02-26 08:54 UTC, ssazonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2014-02-26 08:54:37 UTC
Created attachment 145594 [details]
wrong indent of tag </form:form>

1. Create JSP file:

<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
    <head>
        <title>Nominate a member for the award</title>
    </head>
    <body>
        <h1>Nominate a member for the award</h1>
        <form:form modelAttribute="member">
            <div>First name: <form:input path="firstName"/></div>
            <div>Last name: <form:input path="lastName"/></div>
            <div><input type="submit" value="Submit"></input></div>
            </form:form>
    </body>
</html>

2. Reformat it

>> Tag </form:form> has wrong indent (see attached image)

Product Version: NetBeans IDE 8.0 RC1 (Build 201402242200)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b67
Runtime: Java(TM) SE Runtime Environment 1.8.0-b126
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Martin Balin 2016-07-07 08:56:15 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss