Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311105 - [JSF2.0] - Facelet tag libraries without JSP TLD's do not appear in WPE palette
Summary: [JSF2.0] - Facelet tag libraries without JSP TLD's do not appear in WPE palette
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: Gerry Kessler CLA
QA Contact:
URL:
Whiteboard: PMC_approved JSF2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 16:02 EDT by Gerry Kessler CLA
Modified: 2010-05-10 17:19 EDT (History)
3 users (show)

See Also:
david_williams: pmc_approved+
raghunathan.srinivasan: pmc_approved? (naci.dai)
raghunathan.srinivasan: pmc_approved? (deboer)
raghunathan.srinivasan: pmc_approved? (neil.hauge)
raghunathan.srinivasan: pmc_approved? (kaloyan)
cameron.bateman: review+


Attachments
Proposed fix (29.27 KB, patch)
2010-05-06 13:39 EDT, Gerry Kessler CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Kessler CLA 2010-04-29 16:02:37 EDT
Facelet namespaces should be appearing in the WPE palette, but they are not.  This is because the the metadata models are not being located.
Comment 1 Gerry Kessler CLA 2010-05-06 13:39:02 EDT
Created attachment 167351 [details]
Proposed fix

Adds a md locator and translator that provides palette metadata for facelet namespaces.
Comment 2 Cameron Bateman CLA 2010-05-06 14:28:32 EDT
Looks good.
Comment 3 Raghunathan Srinivasan CLA 2010-05-06 15:41:37 EDT
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug"
(requested by an adopter) please document it as such. 
JSF 2.0 tags that don't have design-time metadata and that are not defined in a TLD will not show in the WPE Palette. Example include new tags in the JSF Core such as f:validateBean and JSTL tags. This is a significant outage and is a stop-ship defect.
* Is there a work-around? If so, why do you believe the work-around is
insufficient? 
NO workaround
* How has the fix been tested? Is there a test case attached to the bugzilla
record? Has a JUnit Test been added? 
Manual testing.
* Give a brief technical overview. Who has reviewed this fix? 
The patch enables the WPE Palette to display information about new tags in JSF 2.0 that don't have design-time metadata by locating the information in a facelet taglibs in the classpath. Reviewed by Cameron.
* What is the risk associated with this fix? 
low-medium
Comment 4 Gerry Kessler CLA 2010-05-10 17:19:20 EDT
Checked in to HEAD 5/10/10
Comment 5 Gerry Kessler CLA 2010-05-10 17:19:30 EDT
.