- 
        1. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notgavin.king Nov 1, 2006 12:35 PM (in response to antispart)Yes, Seam extends JSF-EL. 
 What is your environment (JBoss? JSF? Facelets? JSP?), and what version of Seam do you use?
- 
        2. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notantispart Nov 1, 2006 12:42 PM (in response to antispart)Gavin, 
 JSF RI 1.2.03
 Facelets 1.1.11
 JBoss AS 4.0.5
 JBoss Seam-1.1.0.BETA1
 Also, I noticed that the bookings example has:
 <a:support event="onkeyup" actionListener="#{hotelSearch.find}" reRender="searchResults" />
 but, the HotelSearching interface only has:
 public String find();
 but wouldn't the actionListener call find with an ActionEvent argument as well, and therefore need the following to be exposed as well:
 public String find(ActionEvent event);
 Thanks again.
 ------------
 faces-config.xml:
 <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
 ....
 <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
 I copied much of the bookings example web.xml too.
- 
        3. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notpmuir Nov 1, 2006 1:35 PM (in response to antispart)I think Gavin made it possible to call actionListeners with no parameters 
- 
        4. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notantispart Nov 1, 2006 1:39 PM (in response to antispart)"petemuir" wrote: 
 I think Gavin made it possible to call actionListeners with no parameters
 Hmm, so it sounds like I'm missing something or mis-configured then. Any ideas what that could be?
 Everything else seems to be working (remoting, bijection,etc).
- 
        5. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notpmuir Nov 1, 2006 2:43 PM (in response to antispart)huh? 
 I was explaining why this"antispart" wrote: 
 but wouldn't the actionListener call find with an ActionEvent argument as well, and therefore need the following to be exposed as well:
 public String find(ActionEvent event);
 worked :)
- 
        6. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notantispart Nov 1, 2006 2:59 PM (in response to antispart)What I mean, is I have something similar and I get a 'no method found' error because it's looking for find(ActionEvent) instead of find(). Which, given what you mentioned earlier, sounds like there's something wrong on my end. Just not sure what that is... 
- 
        7. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notmonkeyden Nov 1, 2006 3:12 PM (in response to antispart)This sounds a lot like the valueChangeListener problem I had the other day. It was trying to call a no-arg method, instead of creating the ValueChangeEvent and then calling the method. I built Seam from CVS at Gavin's suggestion and all better. May or may not work for you. 
- 
        8. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notantispart Nov 1, 2006 3:30 PM (in response to antispart)"monkeyden" wrote: 
 This sounds a lot like the valueChangeListener problem I had the other day. It was trying to call a no-arg method, instead of creating the ValueChangeEvent and then calling the method. I built Seam from CVS at Gavin's suggestion and all better. May or may not work for you.
 Just installed the nightly from Oct 31.
 I'm still experiencing the following problems:
 1)
 <a:support event="onkeyup" actionListener="#{registrationManager.find}" reRender="searchResults" />
 causes:
 Caused by: javax.faces.el.MethodNotFoundException: /players/list.xhtml @27,106 actionListener="#{registrationManager.find}": Method not found: RegistrationManagementBean:5c4o147-mikzas-eu06jpfn-1-eu06lfng-a.find(javax.faces.event.ActionEvent)
 unless I create a method find(ActionEvent).
 2)
 <s:link value="Select" action="#{visitManager.selectPlayer(player)}"/>
 causes:
 com.sun.facelets.tag.TagAttributeException: /players/list.xhtml @61,84 action="#{visitManager.selectPlayer(player)}" Error Parsing: #{visitManager.selectPlayer(player)}
 Both, seem like they may be related? Any help would be greatly appreciated.
- 
        9. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notgavin.king Nov 1, 2006 3:35 PM (in response to antispart)Again, this is another extension Seam makes to JSF. It lets you have value changed listeners that don't take ValueChangeEvent. 
 So, as described in the "EL enhancements" chapter, if you want to use this functionality, you need to useorg.jboss.seam.ui.facelet.SeamFaceletViewHandler as your view handler.
- 
        10. Re: Booking Example EL #{hotelBooking.selectHotel(hot)} notantispart Nov 1, 2006 4:05 PM (in response to antispart)Thanks Gavin, that solved both issues. 
 
     
     
    