[
https://jira.jboss.org/jira/browse/JBIDE-2867?page=com.atlassian.jira.plu...
]
Tom Fennelly updated JBIDE-2867:
--------------------------------
Attachment: screenshot-1.jpg
Seems that the editor is relying on the user to make "object level mapping" (for
want of a better term). Dashed lines in the screenshot. Even at that, it doesn't
seem to wire the beans together properly
Anyway... I think this is a little non-intuitive. These shold be added automatically by
the editor depending on the binding mappings made by the user. If the user maps
OrderItem.price from the source to LineItem.unitPrice in the target, the editor should be
able to recognize that instances of LineItem need to be created, wired into a list
(List<LineItem>), which in turn is wired into an instance of LineOrder (the top
level target type).
java2java transform generation not valid
----------------------------------------
Key: JBIDE-2867
URL:
https://jira.jboss.org/jira/browse/JBIDE-2867
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Reporter: Tom Fennelly
Assignee: Xue Peng
Fix For: 3.0.0.beta1
Attachments: Dart.zip, screenshot-1.jpg, smooks-config.xml
I took the "java-to-java" example from the Smooks v1.0.1 distro and used the
editor to generate the config for the same transformation.
I will attach the eclipse project including the invlaid Smooks config. I will also
attached the config from the java-to-java example i.e. what the editor should produce.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira