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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Oct 8 08:00:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1039?page=comments#action_12380927 ] 
            
Alexey Kazakov commented on JBIDE-1039:
---------------------------------------

I forgot:
for JSF projects we also support some common JSF variables like request, context,...
All of these types we provide in content assistent. But validation works only for seam variables.

Validation works prety simple.
For example we have EL: #{not empty search.results}"
EL validator just check the last sigment of this EL: "search.results".
If we have any context variable with name search (defined by anotation or in xml) and this class has method or property (getter or setter) 'result' then there is not error.
We don't parce complicated EL like #{hotels != null and hotels.rowCount==0}"

> 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