Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313831 - [WPE] Taglib directive incorrectly placed and formatted on tag drop
Summary: [WPE] Taglib directive incorrectly placed and formatted on tag drop
Status: NEW
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: jsf inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 20:08 EDT by Gerry Kessler CLA
Modified: 2010-05-21 12:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Kessler CLA 2010-05-20 20:08:05 EDT
Dropping a tag onto a jsp in WPE where there was no previous taglib reference results in a taglib reference before the page directive.  Also, the new taglib directive is formatted poorly.

eg.  Today we get,

<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%><%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

where as, it would be preferrable to result in,

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>