1) Use ajax (a4j works well with Seam, and the booking example shows partial
validation)
2) Don't use ajax, make sure the fields which aren't validated til later aren't
rendered until the first set of fields are valid.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
"eiswind" wrote : Has anyone an idea how I can do a partial Validation ? I have
a button that submits my page and I want some fiels to be validated at this
time but other field need to be validatet later on. I think this is a problem
with the update model phase but maybe someone has a similar pr
you have to make them not NotNull on the model then. Would be nice if we had
the option to specify @NotNull(condition="#{myEl}") on the domain and have
hibernate/jpa/ejb3 not generate a notNull in the database. That way we can
easily make a difference to 'temporary save the data' or realy finis
validated meaning?
- required or not?
- format validation?
The former can be done by making te required attribute on the input elements
conditional e.g. via an el
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016972#4016972
Reply to the post :
http://www.
/ , as per the examples in the current Seam release.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962550#3962550
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962550
___
j
"[EMAIL PROTECTED]" wrote : Actually, if you use , you don't
need a tag on each input, just one that surrounds all the inputs you want to
validate.
|
| by the way, I am migrating the Seam examples away from @IfInvalid. It was a
nice experiment, but experience has show it is not the best app