[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-1039) Seam Validator does not recognize valid boolean EL expressions

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Oct 11 14:01:07 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-1039?page=all ]

Alexey Kazakov resolved JBIDE-1039.
-----------------------------------

    Resolution: Done

Added EL parcing. Now we looak at all variables in EL.
Add more informal messages if we can't resolve any variable.

Testcase.
1. EXECUTE: Create Seam project in EAR Configuration
2. EXECUTE: Open <projectName>/WebContent/home.xhtml
3. EXECUTE: Add <h:commandButton value="#{applicationContext.pr1 != actorss.id}"/> in the page
4. EXECUTE: Ctrl+S
5. EXECUTE: Build Project
6. ASSERT: There are two warnings in problems view :
"pr1 cannot be resolved"
"actorss cannot be resolved"
7. EXECUTE: Change line from #3 to <h:commandButton value="#{applicationContext.context != actor.id}"/>
8. EXECUTE: Ctrl+S
9. EXECUTE: Build Project
10. ASSERT: There are not any warnings in changed line.

> Seam Validator does not recognize valid boolean EL expressions
> --------------------------------------------------------------
>
>                 Key: JBIDE-1039
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1039
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Jacob Orshalick
>         Assigned To: Alexey Kazakov
>             Fix For: 2.0.0.CR1
>
>
> Seam Validator does not recognize boolean expressions in EL.  For example, if I have the following:
> <h:panelGroup rendered="#{not empty search.results}">
> The "#{not empty search.results}" shows up as Illegal Expression even though this is valid EL.  Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list