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