[
http://jira.jboss.com/jira/browse/JBIDE-1203?page=comments#action_12385612 ]
Max Andersen commented on JBIDE-1203:
-------------------------------------
"if so, the "instance()" in the actor variable is public static method. Why
it shoudn't be shown in CA?"
As far as I can tell static methods are not allowed in EL (except when used via EL
functions)
So I would say that it should be removed unless it actually works when running it.
why is listing both instance and instance() simpler ? In anyway both are wrong if static
methods aren't allowed in EL.
EL autocompletion prompts static members
----------------------------------------
Key: JBIDE-1203
URL:
http://jira.jboss.com/jira/browse/JBIDE-1203
Project: JBoss Tools
Issue Type: Bug
Components: JSF
Affects Versions: 2.0.0.Beta4
Reporter: Gavin King
Assigned To: Victor Rubezhny
Fix For: 2.0.0.CR1
Autocomplete pops up "instance" and "instance()" as options for
actor, conversation, etc.
I'm not sure exactly what the EL spec says about static members, but I don't
think we should offer them as an option in the UI.
--
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