Cool but my problem is there are two messages (detailled and summary)
and I want to support runtime parameters. So I was thinking of adding
children UIParam components but I don't know how I would specify to
which message a parameters belong.

On 4/19/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> On 4/19/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > I would like to be able to customize validation messages. I know you
> > can override the default message but my problem with this approach is
> > that there isn't a specific message per validator. And I would prefer
> > a declarative approach so creating a custom validator each time isn't
> > an option. So far I was thinking about extending the default validator
> > to support some message facets, something like "messageDetail" and
> > "messageSummary". This way I can use outputFormat components. So
> > basically I an wondering if someone thinks it is a bad idea and have a
> > better one to suggest.
>
> All of the Tomahawk and sandbox components now support a "message"
> attribute that will allow you to do this.
>


--
Alexandre Poitras
Québec, Canada

Reply via email to