I see that most of web app has forms so that the user can input the data, and then the validation of all the fields are done after user click in a "OK" button.
So I believe that this feature is quite important.
And if is too complex or by some reason won´t be implemented,
can someone suggest how to implement the feature in my web app?
Thankyou,
Madruga
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to vote for this as well. I don't mind having to do multi-field validation myself, but I would like to be able to decorate more than one component at a time.
-Daryl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So we are: paskos, madruga0315, dastulz, tommasofin and now sousa1981
I actually using Hibernate Validator to do this job, so it will be ease to change when JSR 303: Bean Validation comes out.
Hibernate Validator is supposed to be independent of Hibernate Core, but it means we must use JDK 5.0.
It would be good if when implementing this feature consider the use of some way to map to Hibernate Validator. I remember that I have see integration between Hibernate Validator and Spring's validator.
Other things is that we may decorate each fields or not or we may popup an tree showing an complete list of error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For example,
<zk>
Please click the "Throw All Exceptions" button, and then all the error boxes should appear.
<vbox>
<intbox id="t1"/>
<intbox id="t2"/>
<intbox id="t3"/>
<intbox id="t4"/>
<intbox id="t5"/>
<button label="Throw All Exceptions">
<attribute name="onClick">
WrongValueException[] wves = new WrongValueException[] {
new WrongValueException(t1, "Error, 1"),
new WrongValueException(t2, "Error, 2"),
new WrongValueException(t3, "Error, 3"),
new WrongValueException(t4, "Error, 4"),
new WrongValueException(t5, "Error, 5")
};
throw new WrongValuesException(wves);
</attribute>
</button>
</vbox>
</zk>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=573692
Originator: NO
I second this feature request.
Logged In: YES
user_id=1851578
Originator: NO
Very good feature indeed.
Logged In: YES
user_id=573692
Originator: NO
Or even more, show all invalid fields values when user hits OK.
Logged In: YES
user_id=1851578
Originator: NO
Hey guys,
Is this feature too complex to implement?
I see that most of web app has forms so that the user can input the data, and then the validation of all the fields are done after user click in a "OK" button.
So I believe that this feature is quite important.
And if is too complex or by some reason won´t be implemented,
can someone suggest how to implement the feature in my web app?
Thankyou,
Madruga
Logged In: YES
user_id=1642517
Originator: NO
I would like to vote for this as well. I don't mind having to do multi-field validation myself, but I would like to be able to decorate more than one component at a time.
-Daryl
Logged In: YES
user_id=1691379
Originator: NO
+1
So we are: paskos, madruga0315, dastulz, tommasofin and now sousa1981
I actually using Hibernate Validator to do this job, so it will be ease to change when JSR 303: Bean Validation comes out.
Hibernate Validator is supposed to be independent of Hibernate Core, but it means we must use JDK 5.0.
It would be good if when implementing this feature consider the use of some way to map to Hibernate Validator. I remember that I have see integration between Hibernate Validator and Spring's validator.
Other things is that we may decorate each fields or not or we may popup an tree showing an complete list of error.
Ready since 10/16.
For example,
<zk>
Please click the "Throw All Exceptions" button, and then all the error boxes should appear.
<vbox>
<intbox id="t1"/>
<intbox id="t2"/>
<intbox id="t3"/>
<intbox id="t4"/>
<intbox id="t5"/>
<button label="Throw All Exceptions">
<attribute name="onClick">
WrongValueException[] wves = new WrongValueException[] {
new WrongValueException(t1, "Error, 1"),
new WrongValueException(t2, "Error, 2"),
new WrongValueException(t3, "Error, 3"),
new WrongValueException(t4, "Error, 4"),
new WrongValueException(t5, "Error, 5")
};
throw new WrongValuesException(wves);
</attribute>
</button>
</vbox>
</zk>