Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317110 - Outages in support for JSTL 1.2 fmt:setBundle's var and fmt:message's bundle attrs
Summary: Outages in support for JSTL 1.2 fmt:setBundle's var and fmt:message's bundle ...
Status: NEW
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JSF Project Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 16:10 EDT by Preston Appel CLA
Modified: 2010-06-16 16:10 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 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