-
1. Re: Configuration of just using seam taglib
pmuir Jun 22, 2007 5:09 AM (in response to jimmy6)You can't. Seam ui is heavily dependent on seam core. You could of course take a look at how the model validation is implemented (start with ModelValidator in seam-ui).
-
2. Re: Configuration of just using seam taglib
jimmy6 Jun 23, 2007 10:49 AM (in response to jimmy6)Could you show me where is the ajax code for validation? I cant find on the source.
-
3. Re: Configuration of just using seam taglib
pmuir Jun 23, 2007 2:57 PM (in response to jimmy6)The ajax stuff comes from ajax4jsf (or icefaces, or whatever), the validation from hibernate-validator/hibernate-annotations, Seam just ties it together. Look at org.jboss.seam.faces.Validation (it's in core in a released version).
-
4. Re: Configuration of just using seam taglib
jimmy6 Jun 24, 2007 10:07 PM (in response to jimmy6)I have gone through validateTag and validationAllTag. But i cant see any javascript/ajax code there and hibernate validation. Why?
-
5. Re: Configuration of just using seam taglib
gavin.king Jun 24, 2007 10:55 PM (in response to jimmy6)The ajax stuff comes from ajax4jsf
-
6. Re: Configuration of just using seam taglib
jimmy6 Jun 24, 2007 11:41 PM (in response to jimmy6)I know seam validation tag lib is using ajax4jsf but base on the code investigation. it is go to the validateTag and validationAllTag class Which do not have ajax4jsf code there. Maybe i do not understand how the framework work. Could you explain to me how the validation tag triggers the ajax4jsf?
-
7. Re: Configuration of just using seam taglib
pmuir Jun 25, 2007 4:31 AM (in response to jimmy6)It doesn't. <a:support /> triggers it.