[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1256) EL autcompletion and validation should be aware of ELResolvers
Max Andersen (JIRA)
jira-events at lists.jboss.org
Fri Nov 2 14:01:44 EDT 2007
[ http://jira.jboss.com/jira/browse/JBIDE-1256?page=comments#action_12385817 ]
Max Andersen commented on JBIDE-1256:
-------------------------------------
About resourcebundles then for GA simply ignoring any expression that includes "messages" in the validator would be good.
second best is to look up messages_*.properties to code complete on them like with f:resourcebundle.
> 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