DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31500>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31500 Problem in Reading the Bean containing another bean [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2004-10-06 20:09 ------- By default, Betwixt assumes that collectives should be wrapped in a containing element. For example, <persons> <persons>...</person> </persons> So, you need to configure Betwixt so that this behaviour is switched off with something like: beanReader.getXMLIntrospector().getConfiguration().setWrapCollectionsInElement(false); There is something about this in http://jakarta.apache.org/commons/betwixt/guide/binding.html but it's a little thin. A documentation patch would be gratefully received or add a FAQ to the wiki. BTW a good tip when you're having trouble with a reading configuration is to write out what you expect and see what the differences are. Cheers Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
