[jboss-user] [JBoss Seam] - Simple test case

danidacila do-not-reply at jboss.com
Mon Nov 12 01:48:09 EST 2007


I have changed the original hotelBooking example like this:

@Name("hotelSearch")
@Scope(ScopeType.CONVERSATION)
public class HotelSearchingAction implements Serializable {
...
@Begin(join = true)
public void find() {
...
}
...
}

and

@Name("hotelBooking")
public class HotelBookingAction
{
...
@Begin(nested = true)
public void selectHotel(Hotel selectedHotel)
{
...
}
...
}


exactly the same.
1st search - everything ok
hit view hotel - ok
hit cancel - the search view presents all the hotels but their attributes are empty (null).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103553#4103553

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103553



More information about the jboss-user mailing list