3 Replies Latest reply on Sep 23, 2006 11:06 AM by bfo81

    Seam booking example doesn't work correctly

    michalt

      I set up the Seam configuration according to "Getting started" guide. I installed Seam 1.0.1.GA and Jboss 4.0.4.GA from JEMS 1.2.0.BETA installer. I run Eclipse examples (sample and blank) from Getting Started guide. Next, I tried to run the Seam booking example. The application compiles and deploys correctly without any errors in the server log. I can register, log in and search for hotels. However, when I click on "View Hotel" link, the application shows View Hotel page which has empty hotel data fields (name, address, city, state, zip, country). The "Workspaces" area shows only "View hotel: [current]" and time.

      If I try to book hotel anyway, the applications lets me fill the booking page and go to "Confirm" page. This page, however, shows no hotel data and in the "Workspaces" area shows: "Confirm: null, 2006-09-19 to 2006-09-20 [current]".
      If I click on "Confirm" button, the application fails fails with the following Tomcat exception:
      javax.servlet.ServletException: Error calling action method of component with id _id16:_id22

      I also run the application with seam debug page. The debug page shows that even though the hotel is selected correctly, the hotel component has null value. This is a very strange behaviour and I really don't know what to do next. Maybe there is some subtle configuration error, but I can't find it.

      Maybe someone here will have some suggestions how to solve or debug this ?