[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1187) Properties from superclass of a library class not recognized by autocomplete, validator or F3

Gavin King (JIRA) jira-events at lists.jboss.org
Fri Oct 26 12:31:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1187?page=comments#action_12384620 ] 
            
Gavin King commented on JBIDE-1187:
-----------------------------------

No, getInstance() is declared public!


   @Transactional
   public E getInstance()
   {
      joinTransaction();
      if (instance==null)
      {
         initInstance();
      }
      return instance;
   }

The autocompletion should NOT be looking at the instance variables ... EL does not support access to instance vars!

> Properties from superclass of a library class not recognized by autocomplete, validator or F3
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1187
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1187
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: Seam
>            Reporter: Gavin King
>         Assigned To: Victor Rubezhny
>             Fix For: 2.0.0.CR1
>
>
> To reproduce, run "Seam Generate Entities", and look at the XxxxEdit pages.
> EL expressions like #{xxxHome.instance} are flagged with a warning when they should not be.
> Well, XxxxHome properties are recognized, as are EntityHome properties, but Home properties are not recognized.
> It seems to be a prob that properties on superclasses of binary classes are not detected.

-- 
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