webtier@glassfish.java.net

Re: [webtier] Does JSF 2.0 supports JSR-303

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Thu, 11 Feb 2010 16:08:02 -0500

Are you sure you've supplied the correct version (2.0) in your
faces-config.xml file?

If it's set to 1.2, you won't get the new features of JSF2.


<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">


--Lincoln

On Thu, Feb 11, 2010 at 3:41 PM, <webtier_at_javadesktop.org> wrote:

> Thanks, but I've tried the tag and I'm getting the following error
>
> Tag Library supports namespace: http://java.sun.com/jsf/core, but no tag
> was defined for name: validateBean
>
> Wich suggest to me that the validateBean tag is not defined in the TLD.
> Also, I can't find any implementation for this tag inside Mojarra project
> (wich I beleive is ValidatorBeanTag class).
>
> I'm using Mojarra 2.0.2, Jsf-Facelets and Hibernate-Validator 4.0.2
>
> Am I missing dependencies ??
>
> Thanks!
> [Message sent by forum member 'beaupral' (beaupre_a_at_hotmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=386240
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>


-- 
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"