Hibernate Validators not firing?
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Hibernate Validators not firing?  XML
Forum Index -> JBoss Seam Integration Go to Page: Previous  1, 2
Author Message
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 249
Offline


I also removed @NotNull without effect.
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


What about placing an <ice:panelGroup> directly around the component you are trying to validate? (as per Mark's earlier posting on this same thread)
zzzz8

Joined: 07/12/2005 00:00:00
Messages: 249
Offline


Hmm, it's still not working. Here's the xhtml snippet:

Code:
<s:decorate template="/layout/edit.xhtml">
 	<ui:define name="label">#{messages['identifier']}</ui:define>
 	<ice:panelGroup>
 		<ice:inputText id="inputIdentifierTextId" value="#{item.identifier}" partialSubmit="true" required="true" />
 	</ice:panelGroup>
 </s:decorate>


It's still not firing... Again, it does show the message "value is required" when I do not input a value, so I believe everything else is correct. Oh well, I guess I'll stick to a JSF validator for now. If I find anything else, I'll post it on this forum.
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


What application server are you using? Could you initial a simple seam-gen project from one of your tables to see if there is a packaging/configuration difference between the simple seam-gen project and your current project? Perhaps have an email column in the simple table or something that you can place a single validation annotation on it? THen, if there is still a problem, you could post the simple project to this forum or a jira and we could look at it.
 
Forum Index -> JBoss Seam Integration Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.7ice © JForum Team