Well, if you use the x:message and x:messages tags of MyFaces, your
users at least don't get irritated by displaying to them the id's of
the components - so if you provide labels, MyFaces will automatically
show the label text as an identification instead of the ID.

This is still not perfect, and you can still not provide your custom
messages. For a solution, you would really have to overwrite the
components with another attribute, like 'customMessage' and
reimplement the message / messages renderers to handle this attribute.

If you are doing this, maybe you want to do it in MyFaces right away
and donate your efforts back to the community? If so, please read
first the corresponding sections in the JSF1.2 spec draft, and try to
keep as close to what they are suggesting right now as a solution as
possible.

regards,

Martin

On 8/12/05, Marc Fonteijn <[EMAIL PROTECTED]> wrote:
> On Fri, 12 Aug 2005 11:38:38 +0200, Martin Marinschek
> <[EMAIL PROTECTED]> wrote:
> 
> > JSF 1.2 does indeed prove better message handling.
> >
> > stay tuned for the happiness ;)!
> 
> No personal offence but to wait 6+ months for better message handling ...
> 
> - JSF 1.2 Release date: "This will occur at the time of the J2EE 5.0 Final
> Release." (http://jcp.org/en/jsr/detail?id=252)
> - J2EE 5.0 Final release: "Q1 2006 Final release"
> (http://jcp.org/en/jsr/detail?id=244)
> 
> Any idea's for a solution in the mean time?
> 
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> 


-- 

http://www.irian.at
Your JSF powerhouse - 
JSF Trainings in English and German

Reply via email to