I've never tried it in the <field> (I've always been curious about it
though) element.  I only use it in the <group> element also.  You may want
to look at the Intake source code.  It's farely straight forward.

hth,
Scott


> -----Original Message-----
> From: Dan K. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 13, 2002 10:55 AM
> To: Turbine Users List
> Subject: Re: intake field element's mapToObject attribute
> 
> 
> 
> Hi Ben,
> 
> Thanks.  But I've gone over that doc and that's where I noticed it.
> I have searched the mail archives and haven't been able to find anyone
> who use this attribute in the <field> element (I've got it 
> working in the
> <group> element, piece of cake).  I guess I'm trekking on new 
> grounds...
> 
> Regards,
> Dan
> 
> On Sun, 12 May 2002, Ben Peter wrote:
> 
> > Dan,
> >
> > this is documented by some examples under
> > 
> http://jakarta.apache.org/turbine/turbine-2/services/intake-se
rvice.html
>
> Basically, it allows you to map all of the fields directly to a bean or
other
> object. I cannot say whether it is functional, but I have followed the
mailing
> list closely for several months now and have not seen any complaints, so I
> would guess it is.
>
> hth,
> Ben
>
> Dan K. wrote:
> > Hi Everyone,
> >
> > I just noticed that the <field> element in the intake.xml file can have
a
> > "mapToObject" attribute (similar to the group's mapToObject attribute)
but
> > there's no doc on it other than a brief mention in the intake
> > documentation.  I can't seem to figure it out so I'm wondering if it's
> > even functional.  Has anyone here tried it (Scott Weaver, John
McNally?)?
> > Thanks.
> [...]
>
> --
> Benjamin Peter                                          +49-69-96244395
> Application Engineer                             Moerfelder Landstr. 55
> (zentropy:partners)                            60598 Frankfurt, Germany
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to