Armin Waibel wrote:
Bobby Lawrence wrote:
Hello all -
I put some custom attributes in the "inverse-foreignkey" element of a collection descriptor.
How do I get at these values? For some reason, the API doesn't give me the ability to get at them....maybe I'm doing it wrong...
Lookup the CollectionDescriptor instance from the ClassDescriptor (e.g. by field name) and call
String value = cds.getAttribute("myAttribute");
and the mapping look like
...
<collection-descriptor
name="myField"
...
>
...
<attribute attribute-name="myAttribute" attribute-value="aValue"/>
</collection-descriptor>Armin
regards, Armin
--Bobby
--------------------------------------------------------------------- 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]
