[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1256) EL autcompletion and validation should be aware of ELResolvers

Gavin King (JIRA) jira-events at lists.jboss.org
Mon Nov 5 22:47:44 EST 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1256?page=comments#action_12386105 ] 
            
Gavin King commented on JBIDE-1256:
-----------------------------------

Ah, I see that b/c the autocomplete does not distinguish between value and method bindings, then all these completions are offered. Hmmm :-/

Someday we will need to be able to distinguish value from method bindings.

Well, the one remaining issue is:


For objects of type java.util.ResourceBundle or java.util.Map:

* NEVER show a warning that the property cannot be resolved, it can be a key of resource bundle 

> EL autcompletion and validation should be aware of ELResolvers
> --------------------------------------------------------------
>
>                 Key: JBIDE-1256
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1256
>             Project: JBoss Tools
>          Issue Type: Feature Request
>          Components: Seam
>            Reporter: Gavin King
>         Assigned To: Victor Rubezhny
>            Priority: Critical
>             Fix For: 2.0.0.CR1
>
>
> In a Seam environment, certain ELResolvers are installed. The EL autocompletion needs to take account of them:
> For objects of type java.util.Map:
> * NEVER show a warning that the property cannot be resolved, it can be an key of the Map
> * Add "size", "values", "ketSet", "entrySet" to the possible completions (see SeamELResolver)
> For objects of type java.util.Collection:
> * Add "size" to possible completions
> For objects of type javax.faces.model.DataModel:
> * Add "size" and "empty" to possible completions
> For objects of type java.util.ResourceBundle:
> * NEVER show a warning that the property cannot be resolved, it can be a key of resource bundle

-- 
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