My previous post was in error. The documentation is correct, as is the 
DescriptorParser.properties
file.

<map> used to be used to either a) change the attribute-to-property-nameing 
mapping or
b) specify the translator used with the attribute.

Now that translator has moved up to the <attribute> element, the only point for 
<map> is option (a),
which means that property is required.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 25, 2004 1:11 AM
> To: [email protected]
> Subject: RE: DescriptorParser.properties => 
> required.map.property=false [Virus checked]
> 
> 
> 
> Thanks for making this more clear!
> 
> So, the documentation for the <map> element also has to be 
> changed. Because
> it states that the property attribute is requiered.
> 
> compeople AG
> Untermainanlage 8
> 60329 Frankfurt
> 
> fon: +49 (69) 272218 - 0
> fax: +49 (69) 272218 - 22
> email: [EMAIL PROTECTED]
> home: www.compeople.de
> 
> 
> 
> [EMAIL PROTECTED] wrote: -----
> 
> To: [email protected]
> From: [EMAIL PROTECTED]
> Date: 24.05.2004 09:36
> Subject: RE: DescriptorParser.properties => 
> required.map.property=false
> [Virus checked]
> 
> 
> Sorry,
> 
> my posting was somewhat confusing.
> 
> In the change in the 
> org/apache/hivemind/parse/DescriptorParser.properties
> 
> it should be
> 
> required.map.property=false
> 
> This is to adopt the value of attribute as property if the 
> property is not
> specified.
> 
> 
> >>>
> 
> Thanks ... I remember making that change, and don't know why 
> it got backed
> out. I actually wrote a
> ton of code this week for HiveMind and my head's still spinning a bit!
> 
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
> http://howardlewisship.com
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 21, 2004 8:02 AM
> > To: [email protected]
> > Subject: DescriptorParser.properties =>
> > required.map.property=false [Virus checked]
> >
> >
> > Hi,
> >
> > a change in the 
> org/apache/hivemind/parse/DescriptorParser.properties
> > between revisions 1.5 and 1.6 should be retracted:
> >
> > required.map.property=false
> >
> > should be
> >
> > required.map.property=true
> >
> > Otherwise, we will use some convenience an there is no use 
> of what is
> > described at the conversion element:
> >
> > "Each attribute will be mapped to a property. A limited 
> amount of name
> > mangling occurs:
> > if the attribute name contains dashes, they are removed, and
> > the character
> > following is
> > converted to upper case. So, an attribute named
> > "complex-attribute-name"
> > would be
> > mapped to a property named "complexAttributeName". Only attributes
> > identified with a <attribute>
> > element will be mapped, others will be ignored. "
> >
> >
> > Mit freundlichen Gr��en
> >
> > Michael Frericks
> > Internet/Homebanking MS/OF
> >
> > Sparkassen Informatik GmbH & Co.KG
> > Nevinghoff 25
> > 48147 M�nster
> > Telefon: 0251/288-3489
> > Notes: Michael Frericks/4221/MS/SI/[EMAIL PROTECTED]
> > E-Mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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]
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
>  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]
> 


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

Reply via email to