Hi Geert,
Actually, what you can do if you really want to isolate and componentize the handling of these beans, you can use embedded elements and provide it with a data object during processEmbeddedElement (which will be each bean). This is only supported in 1.5 though.
Indeed, I am using embedded elements for this, and on 1.5 too; I had, however, been using the method of forcing the embedding element to implement an XXXBeanProvider interface to store an instance of the item to be processed by the embedded element, but this new method is more elegant; I saw a mention of it in the changelist for 1.5, but it did not make sense until now... sweet! What this means then is I have to iterate over the quantities sent, and push them into the bean instances, and then just pass these on to the embedded elements and do validation on those. Would have been nicer if we could do a getSubmissionBeans(BeanType.class) call in this regard, but this shd work for me now. Thanks, Emmanuel -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." _______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
