Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2691

Enhance MessageUtils adding methods when custom library bundle should be scanned

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.7, 1.2.8, 2.0.0
    • 1.1.8, 1.2.9, 2.0.1
    • None
    • None

    Description

      Doing some stuff related to TOMAHAWK-1494, I notice that we don't have utility methods when a custom library bundle is required to be scanned after the application bundle but before the default javax.faces.Messages bundle.

      So I reviewed all message api stuff we have in myfaces core, shared and tomahawk, from 1.1.x to 2.0.x, and I finally did some enhancements on all branches. This change should be done in all branches at the same time, including core and tomahawk.

      It was also implemented the idea done in TOMAHAWK-1494, related to deffer the evaluation of expressions and cache them in variables. Also, I notice it is possible when it is used MessageFormat to pass non String values and there is special commands to handle them when they are integer, double, etc. Actually we assume every argument is String because all message keys used does not use this feature, but it is possible for users to do that, so we need to fix the code to allow that.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: