Details

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.