Hi Chris, 2007/1/25, Christopher Schultz <[EMAIL PROTECTED]>:
I agree with Dave: you're trying to do too much in your forms.
I disagree. There are two options that I consider acceptable for me. One of them is to write getters and setters for each form's field (just like a form bean). The other one is to write a getter for a domain bean (like getCustomer(), in the given example) and make the form read and write values from that bean via OGNL. Indeed, writing only one getter is much less work than writing a bunch of getters and setters for each form's field, specially when the form has a large number of fields. However, there's a semantic dependency between parameter settings (the customer's id must be set before any other parameter). As it's not possible to guarantee the ordering of the parameter setting in a "clean" way, I'm going to stick with the first option. Thanks to all for the help/support/suggestions/patience! ;-) Célio. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]