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

Ken Finnigan (JIRA) jira-events at lists.jboss.org
Thu Feb 3 20:57:39 EST 2011


     [ https://issues.jboss.org/browse/SEAMINTL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Finnigan updated SEAMINTL-22:
---------------------------------

    Fix Version/s:     (was: 3.0.0.Beta2)


> @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
>
> 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