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

Can't resolve context variable of a built-in Seam component in imported Seam project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • maven, seam2, upstream
    • None
    • Show
      Import https://github.com/seam2/jboss-seam/tree/Seam_2_3/examples/remoting/chatroom
    • Workaround Exists
    • Hide

      1. Add the missing namespaces to the /chatroom-web/src/main/webapp/WEB-INF/components.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <components xmlns="http://jboss.org/schema/seam/components"
      			xmlns:cache="http://jboss.org/schema/seam/cache"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation=
                  	"http://jboss.org/schema/seam/cache http://jboss.org/schema/seam/cache-2.3.xsd
                       http://jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd">
      ...
      

      2. Project Setting (for chatroom-ejb project) -> Seam Settings and set chatroom-web as a Main Seam project

      3. Re-build chatroom-ejb and chatroom-web projects

      Show
      1. Add the missing namespaces to the /chatroom-web/src/main/webapp/WEB-INF/components.xml: <?xml version= "1.0" encoding= "UTF-8" ?> <components xmlns= "http: //jboss.org/schema/seam/components" xmlns:cache= "http: //jboss.org/schema/seam/cache" xmlns:xsi= "http: //www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http: //jboss.org/schema/seam/cache http://jboss.org/schema/seam/cache-2.3.xsd http: //jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd"> ... 2. Project Setting (for chatroom-ejb project) -> Seam Settings and set chatroom-web as a Main Seam project 3. Re-build chatroom-ejb and chatroom-web projects
    • -

      Unknown context variable name: "topicPublisher"
      ChatRoomAction.java
      /chatroom-ejb/src/main/java/org/jboss/seam/example/remoting/chatroom
      line 26
      Seam Problem

            jmaury@redhat.com Jeff MAURY
            rsmeral Ron Šmeral (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: