Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331945 - Improve user experience by automatically filling the prefix tag by the tld short name
Summary: Improve user experience by automatically filling the prefix tag by the tld sh...
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.2.3   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 15:05 EST by Daniel Le Berre CLA
Modified: 2010-12-06 15:05 EST (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 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.