[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 Jun 30 09:16:24 EDT 2011
[ https://issues.jboss.org/browse/SEAMINTL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken Finnigan updated SEAMINTL-22:
---------------------------------
Original Estimate: 5 hours
Remaining Estimate: 5 hours
Fix Version/s: 3.1.0.Alpha1
Affects: [Documentation (Ref Guide, User Guide, etc.)]
> @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.1.0.Alpha1
>
> Original Estimate: 5 hours
> Remaining Estimate: 5 hours
>
> 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