It would be great! Thanks. ----- Original Message ----- From: "Martin van den Bemt" <[EMAIL PROTECTED]> To: "Jakarta Commons Users List" <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 2:24 PM Subject: Re: [BETWIXT] question about collections
> Could it be helpful to add a utility class that generates a complete > .betwixt file for the bean you specify ? > > Mvgr, > Martin > > On Thu, 2003-10-30 at 18:27, Yura Ivanov wrote: > > Thanks I has tried this and UserList was printed, but when I try to read > > objects from xml It doesn't work. > > <info primitiveTypes="element"> > > <element name="users"> > > <element name="userList"> > > <element name="user" property="userList"> > > </element> > > </element> > > </element> > > </info> > > > > but if I add <addDefaults/> tag then all became again work. Collection are > > correct read from xml. > > <info primitiveTypes="element"> > > <element name="users"> > > <element name="userList"> > > <element name="user" property="userList"> > > <addDefaults/> > > </element> > > </element> > > </element> > > </info> > > > > But I don't want to use this tag. What should I write instead it? > > > > > > ----- Original Message ----- > > From: "__matthewHawthorne" <[EMAIL PROTECTED]> > > To: "Jakarta Commons Users List" <[EMAIL PROTECTED]> > > Sent: Thursday, October 30, 2003 7:04 PM > > Subject: Re: [BETWIXT] question about collections > > > > > > > I don't fully understand which of your sample files that you're asking > > > about, but I think I can provide some general betwixt/collection info. > > > > > > Try this: > > > > > > <element name="users"> > > > <element name="user" property="userList"/> > > > </element> > > > > > > Does this do what you want? > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > -- > Martin van den Bemt <[EMAIL PROTECTED]> > mvdb.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
