[jboss-user] [JBoss Seam] - Booking example question

2007-02-19 Thread lawrieg
Hi, I've just been re-reading the Seam tutorial and I just wanted to check if my understanding is correct regarding the Booking example code... In the HotelBookingAction class the selectHotel method reads as follows: @Begin | public String selectHotel(Hotel selectedHotel) { | hotel = em

[jboss-user] [JBoss Seam] - [booking example]: question regarding the HotelBookingAction

2006-11-23 Thread ellenzhao
The code in question: | @In(required=false) | @Out(required=false) | private Booking booking; | | I thought a booking without a Booking instance sounds weird, so that I removed the (required=false) for the @In annotation. But then got an org.jboss.seam.RequiredException. But in th