Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331945

Summary: Improve user experience by automatically filling the prefix tag by the tld short name
Product: [WebTools] WTP Source Editing Reporter: Daniel Le Berre <leberre>
Component: jst.jspAssignee: jst.jsp <jst.jsp-inbox>
Status: NEW --- QA Contact: Nick Sandonato <nsand.dev>
Severity: enhancement    
Priority: P3 CC: thatnitind
Version: 3.2.3   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Daniel Le Berre CLA 2010-12-06 15:05:51 EST
When declaring a taglib in a JSP page, there are two attributes to set: uri and prefix.

The content assist is very nice in providing a list of available taglib for the uri attribute.

The user experience could be improved by setting by default the value of prefix by the short name provided in the tld.

There are two cases to pay attention at:
- the prefix attribute is already set: that value should not be overridden.
- the user would like to use another prefix: that case can be taken into account by putting the focus in the prefix attribute with the default value set to the short name.

It is a small improvement, but that could be useful for people using often taglibs.