This content has been marked as final.
Show 2 replies
-
1. Re: Params in a message
tony.herstell1 Feb 4, 2008 11:06 PM (in response to tony.herstell1)Oops should have been:
facesMessages.addToControlFromResourceBundle( "bookingResourceAttempt", FacesMessage.SEVERITY_ERROR, "booking_no_hours_range_provided", eachBookingDay.getDayNumberAsInlLabel(), messages.get(eachBookingResource.getResource().getKind().getInlLabel()));
-
2. Re: Params in a message - SOLVED
tony.herstell1 Feb 4, 2008 11:13 PM (in response to tony.herstell1)I found it in an example... could not find this in the doco or Google!
booking_no_hours_range_provided=No range of hours was provided on #0 for resource #1.
facesMessages.addToControlFromResourceBundle( "bookingResourceAttempt", FacesMessage.SEVERITY_ERROR, "booking_no_hours_range_provided", messages.get(eachBookingDay.getDayNumberAsInlLabel()), messages.get(eachBookingResource.getResource().getKind().getInlLabel()));