| Summary: | [JSF2.0] No as-you-type EL validation for XHTML/JSF2.0 context | ||
|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Gerry Kessler <gerry.kessler> |
| Component: | JSF Tools | Assignee: | Ian Trimble <ian.trimble> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cameron.bateman, raghunathan.srinivasan, yurykats |
| Version: | 3.2 | ||
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Looks like we need to modify our Facelet HTMLValidator class to implement ISourceValidator and add the org.eclipse.wst.sse.ui.sourcevalidation extension point to the org.eclipse.jst.jsf.facelet.ui plugin... something like,
<extension point="org.eclipse.wst.sse.ui.sourcevalidation">
<validator
scope="total"
class="org.eclipse.jst.jsf.facelet.ui.internal.validation.HTMLValidator"
id="org.eclipse.jst.jsf.facelet.validation.HTMLAttributeValueValidator">
<contentTypeIdentifier
id="org.eclipse.wst.html.core.htmlsource">
<partitionType id="org.eclipse.wst.html.HTML_DEFAULT"/>
</contentTypeIdentifier>
</validator>
</extension>
...but am not sure if there are some other partition types we need to handle.
Moving this to future... will not be able to complete this for RC2.
Deferred due to lack of resources Not planned for Juno. |
Steps: 1) create JSF2.0 faceted DWP 2) create xhtml page 3) enable as-you-type EL validation 4) drop commandButton 5) type EL into value attribute like: #{facesContext.foo} Result: no validation errors Note: validate context menu for page will yield "foo cannot be resolved as memeber of facesContext"