Hi Daniel,

there is no filtering available on the component - you'd need to write
a new renderer.

regards,

Martin

On 9/28/07, daniel ccss <[EMAIL PROTECTED]> wrote:
> Anyone??
>
>
> On 9/26/07, daniel ccss <[EMAIL PROTECTED]> wrote:
> > Thanks, but how can I have two <h:messages one for errors and one for
> messages??
> >
> >
> >
> > On 9/26/07, Kito D. Mann <[EMAIL PROTECTED] > wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > From: daniel ccss [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, September 26, 2007 10:26 AM
> > > To: MyFaces Discussion
> > > Subject: Errors and Messages
> > >
> > >
> > >
> > >
> > > Hi all,
> > >
> > > I need to use a different style for showing messages and errors.
> > >
> > > For my messages I use this in my bean
> FacesContext.getCurrentInstance().addMessage(null, new
> FacesMessage(message)); And this in the JSP  <h:messages
> styleClass="messages"/>
> > >
> > > How can display errors in this way using a different style.
> > >
> > >
> > >
> > > Look at the <h:messages> tag – there's an errorClass property.
> > >
> > >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Kito D. Mann - Author, JavaServer Faces in Action
> > > http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
> > > http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
> > >
> > >
> > >
> > >
> > >
> > > * Sign up for the JSF Central newsletter!
> http://oi.vresp.com/?fid=ac048d0e17 *
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>


-- 

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