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

Bug 317110

Summary: Outages in support for JSTL 1.2 fmt:setBundle's var and fmt:message's bundle attrs
Product: [WebTools] Java Server Faces Reporter: Preston Appel <preston.appel>
Component: CoreAssignee: JSF Project Core <jsf.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: preston.appel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Preston Appel CLA 2010-06-16 16:10:48 EDT
Build Identifier: M20100211-1343

Design pane doesn't find value for resource key for the following:

<fmt:setBundle basename="resources.application" var="app"/>
<fmt:message key="welcome.heading" bundle="${app}"></fmt:message>

It just displays ??welcome.heading??

This works correctly in the design pane:

<fmt:setBundle basename="resources.application"/>
<fmt:message key="welcome.heading"></fmt:message>

Also if you enter the following without saving:

<fmt:setBundle basename="resources.application" var="app"/>
<fmt:message key="welcome.heading" bundle="${ }"></fmt:message>

And place your cursor in the immediate EL expression for the fmt:message tag, clicking control-space doesn't bring up the "app" entry until a save.  But perhaps this is by design.

Reproducible: Always

Steps to Reproduce:
1. Create a JSP file
2. Try out the examples above