[seam-commits] Seam SVN: r8711 - trunk/examples/wicket/src/action/org/jboss/seam/example/wicket/action.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sat Aug 16 13:40:43 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-08-16 13:40:43 -0400 (Sat, 16 Aug 2008)
New Revision: 8711
Modified:
trunk/examples/wicket/src/action/org/jboss/seam/example/wicket/action/HotelBookingAction.java
Log:
minor
Modified: trunk/examples/wicket/src/action/org/jboss/seam/example/wicket/action/HotelBookingAction.java
===================================================================
--- trunk/examples/wicket/src/action/org/jboss/seam/example/wicket/action/HotelBookingAction.java 2008-08-16 17:31:00 UTC (rev 8710)
+++ trunk/examples/wicket/src/action/org/jboss/seam/example/wicket/action/HotelBookingAction.java 2008-08-16 17:40:43 UTC (rev 8711)
@@ -89,7 +89,7 @@
public void confirm()
{
em.persist(booking);
- statusMessages.add("Thank you, #{user.name}, your confimation number for #{hotel.name} is #{booking.id}");
+ StatusMessages.instance().addToControl("body", "Thank you, #{user.name}, your confimation number for #{hotel.name} is #{booking.id}");
log.info("New booking: #{booking.id} for #{user.username}");
}
More information about the seam-commits
mailing list