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

Error: "Cannot get value for expression '#{XXX.pageTitle}'"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta1
    • None
    • None
    • None

      Using JBossIDE-200608021549-nightly-ALL.zip.

      Used HibernateConsole to generate Seam files. When I access /seamapp and click "Search for existing XXX records", I get this error:
      Cannot get value for expression '#

      {XXX.pageTitle}

      '

      Per the forum discussion (http://forum.hibernate.org/viewtopic.php?p=2314747&sid=fc624587d62db8641c0e45682e433c3e), the error appears to be in selector.java.ftl. Fix is probably to change
      @${pojo.importType("org.jboss.seam.annotations.In")}
      private transient ${pojo.importType("java.util.ResourceBundle")} resourceBundle;
      to
      @${pojo.importType("org.jboss.seam.annotations.In")}(create=true)
      private transient ${pojo.importType("java.util.ResourceBundle")} resourceBundle;

              Unassigned Unassigned
              kobenauf_jira Kip Obenauf (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: