Hi Florian,
maybe this piece of information can be useful for you.
We have a bean with a property stringObjects,
which is declared as a Map to store various string objects.
the xdoclet definition:
@hibernate.map lazy="true" cascade="all" inverse="false"
table="PepProduct_stringobjects"
@hibernate.key column="UID"
@hibernate.map-key type="string" column="name"
@hibernate.element type="string" column="element" length="2000"
and the binding:
<fb:value id="phCalculation" path="[EMAIL PROTECTED]'phCalculation']"
direction="both"/>
this configuration works well.Keep in mind that the @name attribute has
to match
the @hibernate.map-key.
Hope it helps,
regards, Harald
Dev at weitling schrieb:
Hi folks,
I'm getting nuts on this problem:
I have a HashMap which should be the bean for a repeater with the keys
as identity on each repeater row. Because JXPath relies on the
get-/set-naming-scheme but Sun didn't provide it for their collection
classes I can't use it the normal way.
Subclassing HashMap for providing the getter-methods on my own doesn't
work because I'm using Hibernate (and therefore the Map-interface).
So I try to use fb:javascript withing the repeater's binding. But
information is very sparse and not really helpful.
Any experiences out there?
Florian
---------------------------------------------------------------------
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]