Community
Participate
Working Groups
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"
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.