[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-2678) Ctrl + Click EL expressions containing brackets

Tim Evers (JIRA) jira-events at lists.jboss.org
Sun Aug 24 22:09:39 EDT 2008


Ctrl + Click EL expressions containing brackets
-----------------------------------------------

                 Key: JBIDE-2678
                 URL: https://jira.jboss.org/jira/browse/JBIDE-2678
             Project: Tools (JBoss Tools)
          Issue Type: Bug
    Affects Versions: 2.1.2
         Environment: I have this issue on all releases so far. I havn't tested 3.0.0
            Reporter: Tim Evers


I was going to raise this as a feature request, but I think ultimately this is a bug. Because the desired behaviour of the Ctrl+Click should be that it is able to resolve attributes and methods.

If I have the following method in my Seam Bean:

public void contactsMenuItemClicked() {
.....
}


Then in my .xhtml file reference it like this:
<rich:menuItem id="contactsMenuItem"
    value="Contacts" 
    action="#{TenureMenuActionBean.contactsMenuItemClicked}"/>

I can Ctrl+Click on 'contactsMenuItemClicked' and it will take me to the method.

However, if i reference it like this in my xhtml I am unable to Ctrl+Click on the method name.
<rich:menuItem id="contactsMenuItem"
    value="Contacts" 
    action="#{TenureMenuActionBean.contactsMenuItemClicked()}"/>


This also means that any method that takes parameters cannot be followed as well.
So, I cannot follow any EL expression like this:
<h:commandLink
    id="selectRowLink"
    action="#{TenureSearchController.selectedRowClicked(tenure)}"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list