No, there's nothing in MyFaces which could handle this AFAIK. I
suppose you could write a new component (or changing t:message) which
also collects the messages of all children of the comp by visiting the
sub-tree under the parent-component (Attention: this doesn't work with
UIData).

regards,

Martin

On 11/14/06, David Delbecq <[EMAIL PROTECTED]> wrote:
Hi,

I have a custom component ( let's say assume has id X ) that is made of
several Input component ( let's say X:a, X:b, X:c)

Is it possible to have the error messages for X also contains the error
for X:a X:b and X:c. I  assume user will want something like
<h:message for="X"/>

and not have to write

<h:message for="X"/>
<h:message for="X:a"/>
<h:message for="X:b"/>
<h:message for="X:c"/>

Is there some mechanics in myfaces that can be of any help to me? Do i
have to manually transfer message in the component, and if yes, when?



--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to