[
http://jira.jboss.com/jira/browse/JBIDE-1203?page=comments#action_12385608 ]
Victor Rubezhny commented on JBIDE-1203:
----------------------------------------
in the document
http://docs.jboss.com/seam/1.3.0.ALPHA/reference/en/html/elenhancements.html I see that
functions can be used in Seam EL... For example:
<h:commandButton action="#{hotelBooking.bookHotel(hotel)}" value="Book
Hotel"/>
if so, the "instance()" in the actor variable is public static method. Why it
shoudn't be shown in CA?
Is it wrong to allow the content assistant to show the "instance" method with no
parenthesis?
It was previously added by Alex for the actions: each method is doubled in CA - with
parenthesis and with no parenthesis - to simplify it usage in action. This is also because
we don't know on how to determine which methods are allowed to be used as action.
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