[seam-issues] [JBoss JIRA] Created: (SEAMINTL-22) @MessageParam to assign a method parameter to name contained within EL expression

Ken Finnigan (JIRA) jira-events at lists.jboss.org
Sun Jan 16 12:00:49 EST 2011


@MessageParam to assign a method parameter to name contained within EL expression
---------------------------------------------------------------------------------

                 Key: SEAMINTL-22
                 URL: https://issues.jboss.org/browse/SEAMINTL-22
             Project: Seam International
          Issue Type: Feature Request
          Components: Messages
            Reporter: Ken Finnigan
             Fix For: 3.0.0.Beta2


Would enable you to do something like the following:

@MessageBundle
public interface BookingStatusMessages
{
   @Message("You are booked to stay at the #{hotel.name} on {1,date}")
   String bookingConfirmed(@MessageParam("hotel")Hotel hotel, Date date);
}

Could potentially support @MessageParam without a value and pick up the parameter name

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list