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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Nov 5 09:24:45 EST 2007


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

>> second best is to look up messages_*.properties to code complete on them like with f:resourcebundle. 
For f:loadBundle and for <resource-bundle> we have resource bundle name (base-name) but we don't have such info in design time for java.util.ResourceBundle elements.

> 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