The *Editor for Data Assignments* allows to map a *From Object* to *To
Object*. Very nice! However attributes inside complex objects are not shown
preventing me from map to them. Let me clarify:
My *To Object* represents a *Person* object and has two attributes: *name*
and *surname*.
These 2 attributes are of type String and public (exposed through getters
and setters). But the* Editor for Data Assignments* only shows the *Person*
object (doesn't show its attributes), preventing me from map my * From
Object* to Person.surname.
I also tried to bypass the *Editor for Data Assignments* by writing directly
into the *Assignments* property something similar to this:
recordedName -> Person.surname
but I get an exception when building the package.
Is there any work around to achieve these type of assignment? Will this
functionality be built in Designer's *Editor for Data Assignments* future
release?
Thanks for help.
--
View this message in context:
http://drools.46999.n3.nabble.com/Designer-How-to-assign-map-attributes-i...
Sent from the Drools: User forum mailing list archive at
Nabble.com.