If he can integrate the message-component in the input-component, then
that's an option, right!

regards,

Martin

On 11/14/06, David Chandler <[EMAIL PROTECTED]> wrote:
I may not be understanding your question correctly, but if you're adding the
input sub-components programatically, you could add the associated message
sub-components programatically at the same time. Call setId() on each input
component to give it its own ID that you can then use in for= on the
corresponding message component.

/dmc

--
David Chandler
Development Coach
learnjsf.com

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