hardy.ferentschik wrote:
I think groups is the way forward. You could have a Edit group and a New group. Depending on your action you can then validate the appropriate group.
It's the "depending on your action"-part which is tricky because how can I do that while still maintaining the automatic connection to the JSF controls? Sure I could do different validation in different actions but then I had to manually bind back the different validation messages to the correct JSF controls, right? (and make sure that no automatic validation is done in the JSF layer)
Tack på förhand,
-Nik