Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12778

EL completition doesn't understand Seam EntityHome<E> anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Beta1
    • 4.0.0.Alpha2
    • seam2
    • None
    • Hide

      1. Create a new Seam WAR project using "Seam Web Project" wizard
      2. Create a new Entity "Person"
      3. Look at the generated WebContent/person.xhtml
      4. Notice the warning on line "value="#

      {personHome.instance.name}

      "/>"

      "name" cannot be resolved	person.xhtml	/MySeamProject/WebContent	line 22	EL Knowledge Base Problem
      
      Show
      1. Create a new Seam WAR project using "Seam Web Project" wizard 2. Create a new Entity "Person" 3. Look at the generated WebContent/person.xhtml 4. Notice the warning on line "value="# {personHome.instance.name} "/>" "name" cannot be resolved person.xhtml /MySeamProject/WebContent line 22 EL Knowledge Base Problem

      Having a EntityHome Seam component, such as

      @Name("personHome")
      public class PersonHome extends EntityHome<Person>
      

      The EL completition fails to suggest properties of Person in an expression, such as

      value="#{personHome.instance.name}"
      

      And a "name cannot be resolved" warning is generated

      This used to work in JBDS 4.1.3.

            alexeykazakov Alexey Kazakov
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: