users@javaserverfaces.java.net

Re: ValueExpression for requiredMessage attribute of <f:viewParam> not work

From: Raymond DeCampo <ray_at_decampo.org>
Date: Mon, 13 Dec 2010 15:25:26 -0500

Have you tried specifying the resource bundle in the faces-config.xml to
work around this?

On Mon, Dec 13, 2010 at 12:26 AM, <rogersuen_at_live.com> wrote:

> Hi,
>
> I guess the problem is the specificity of view parameter processing.
> When validating a view parameter for an initial GET request, the
> <f:loadBundle/> is not yet available, so we got an empty value of
> requiredMessage attribute at that moment. Is this true? If this is
> true, it seems that <f:loadBundle> cannot be used for requiredMessage
> attribute of <f:viewParam>.
>
> Roger Suen
>