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

Max Andersen (JIRA) jira-events at lists.jboss.org
Mon Oct 8 08:28:08 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1039?page=comments#action_12380935 ] 
            
Max Andersen commented on JBIDE-1039:
-------------------------------------

So #{not empty search.results} would not be marked if we can't find a search component with results accessor ?
Then our error message should say that instead of saying the whole expression is illegal.
e.g. "'search.results' cannot be resolved' instead of 'Illegal Expression' or even better state if 'search' is found but not 'results'
e.g.
in case of search not found 'Cannot find 'search' in EL expression' and in case of unknown property 'Cannot find property 'results' on component named 'search' of type what.ever.type.search.Is'

With respect to complex expression do we report "Illegal Expression" even though the epxression might be correct and its just because we don't parse them or do we skip those warnings ?





> 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