[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue

2006-09-13 Thread Andre1001
Solved. I've put required="true" in selectOneMenu tags. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971335#3971335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971335 ___

[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue

2006-09-13 Thread Andre1001
Thanks for your answers. I've tried out with tag, but got another error. Now, even create method isn't working: | @Begin(join = true) | //@IfInvalid(outcome = Outcome.REDISPLAY) | public String create() { | if (entityManager.find(Equipesimac.class, instance.getC

[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue

2006-09-13 Thread denis-karpov
Yes. I mean exactly this. But this situation can arise not only in the ?source tag case?. anonymous wrote : I work around it by specifying the entity.property as a string as well as a value binding for my source tags Hmm. Interesting. Is it works??? I have tried your way, but no success. What

[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue

2006-09-13 Thread petemuir
No, he means source tag files such as | | | | my.input.xhtml | | | | The consensus seems to be that this a limitation in EL that should be fixed. I work around it by specifying the entity.property as a string as well as a value binding for my

[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue

2006-09-13 Thread bfo81
@denis-karpov: You mean, something like this does fail?: template (common stuff like the form or action buttons) | | | | <... save, delete and cancel button > | | | concrete input fields | | | | | I can only say that t

[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue

2006-09-13 Thread denis-karpov
Unfortunaly we can not use hibernate validation, because it raises exception, as you already experienced. s:validate or s:validateAll works, BUT with restriction. It does not work with facelets templating. For me facelets templating is very important to sacrifice. View the original post : htt

[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue

2006-09-13 Thread petemuir
@IfInvalid is deprecated, you should use s:validate or s:validateAll from the Seam JSF tag library instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971197#3971197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39