[
http://jira.jboss.com/jira/browse/JBIDE-1256?page=comments#action_12386106 ]
Gavin King commented on JBIDE-1256:
-----------------------------------
Actually, come to think of it, we will never need to distinguish for the purposes of
autocompletion, but only for the purpose of validation.
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