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

Bug 206103

Summary: Support XHTML as a view description language for JSF
Product: [WebTools] Java Server Faces Reporter: Raghunathan Srinivasan <raghunathan.srinivasan>
Component: JSF ToolsAssignee: Cameron Bateman <cameron.bateman>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: gamerson
Version: 2.0Keywords: plan
Target Milestone: 3.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Raghunathan Srinivasan CLA 2007-10-11 20:27:29 EDT
This is a tracking bug that will cover all the work items planned to support XML as a View description language for JSF.
Comment 1 Raghunathan Srinivasan CLA 2008-04-25 16:22:14 EDT
The work in this item has been detailed in the related enhancement request, bug 192393. See comment 192393#c28 and 192393#c29 for info on this work.
Comment 2 Cameron Bateman CLA 2008-05-01 14:32:35 EDT
We have implemented the basic framework required to support arbitrary view definition languages (VDLs).  Two exemplary implementations have been produced: one for JSPs consisting of our pre-3.0 features refactored to use the new framework and a second one for Facelets that will hosted in a separate incubator (see links in comment #1).

The basis of the framework is the concept of a View Definition Adapter.  This class adapts a particular view definition language to the common framework and allows for EL expression extraction, mapping to view objects (i.e. components, converters and validators).  The view definition is used by a design time view handler to mimic the runtime ViewHandler's roll of mapping requests and constructing a component tree.

The bulk of the code can be found in org.eclipse.jst.jsf.designtime.internal.view in the plugin org.eclipse.jst.jsf.core.  It is currently marked internal per WTP API policy.  To request supported API, please launch enhancements bugs.
Comment 3 Cameron Bateman CLA 2008-05-01 14:33:07 EDT
Issue closed.