Uploaded image for project: 'Seam International'
  1. Seam International
  2. SEAMINTL-22

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

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.2.0.Alpha1
    • Component/s: Messages
    • Labels:
      None
    • Affects:
      Documentation (Ref Guide, User Guide, etc.)
    • Estimated Difficulty:
      Medium

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kenfinni Ken Finnigan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5 hours
                  5h
                  Remaining:
                  Remaining Estimate - 5 hours
                  5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified