commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yura Ivanov" <iva...@offshorecreations.com.ua>
Subject Re: [BETWIXT] question about collections
Date Fri, 31 Oct 2003 14:46:16 GMT
It would be great! Thanks.

----- Original Message ----- 
From: "Martin van den Bemt" <mllist@mvdb.net>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
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" <matth@phreaker.net>
> > To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
> > 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: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> -- 
> Martin van den Bemt <mllist@mvdb.net>
> mvdb.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message