Community
Participate
Working Groups
Build Identifier: wtp 3.2 1. Import the project "ajax-component" from Sun's JSF 2.0.2 implementation examples. 2. Copy the jsf-api.jar and jsf-impl.jar into the WEB-INF/lib folder. 3. Add the project facet "JavaServer Faces" "2.0" 4. Validate the project. 5. Go the validator preference page and unselect the checkbox "Validate EL on Build/Run Validation". 6. Validate the project again. Noticed the following two types of warnings appear: 1) "MethodBinding attribute values must be EL expressions." 2) "The action value does not match a navigation case outcome." Reproducible: Always
For the first false warning ("MethodBinding attribute values must be EL expressions"), at least the method AttributeValidatingStrategy.checkIfELAndValidate() is wrong - it returns false for an EL expression when the EL validation is disabled.
Created attachment 168995 [details] Tentative fix
Created attachment 169705 [details] Change the return to an assignment so that the flow of control works as intended
* 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. This is a stop-ship bug. The tool reports validation warnings in an EL even when such a validation is turned off in the preference page. * 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 * Give a brief technical overview. Who has reviewed this fix? See comment 1 and 3. * What is the risk associated with this fix? low
Patch committed to HEAD (3.2M3).