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

Summary: [Reformat] Wrong indent of tag </form:form>
Product: javaee Reporter: ssazonov
Component: JSPAssignee: David Konecny <dkonecny>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: wrong indent of tag </form:form>

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