Ok, i got it.
it has to be
required.map.property=true
You only use the <map>, if the attribute and property can't
be mapped automatically, e.g
<map attribute="foo" property="bar"/>
In all other cases where hivemind can map the attribute
(e.g. foo-bar to fooBar) you do not have to specify
the <map>. In these cases the <attribute> is sufficient.
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]
|---------+---------------------------->
| | |
| | |
| | [EMAIL PROTECTED]|
| | people.de |
| | |
| | 25.05.2004 07:10 |
| | Bitte antworten |
| | an hivemind-dev |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| An: [email protected]
|
| Kopie:
|
| Thema: 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]