• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data Mapping  RSS feed

 
Sam Saha
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to map a field called “Type of Coverage” from the Mapped element “TransactionDocument.CoverageItems.CoverageItem.Companies.FormCompany.Fields.FormField.CoverageType”
I was trying to map like location.coverageType as follows, but I can not see the output text.

I have the beans called “LocationSummaryBean” and “CoverageSummaryBean”. In Location Bean I have the method called getCoverageType() and in Coverage Bean there is another method called getDominionFieldValue().
I would appreciate if someone can help how I can correctly map the field from the Mapped element. Please let me know if you need any other information.

LocationBean:

CoverageBean:

 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check and make sure that your accessor method is really returning a value and not null. If the value is null, nothing will display.

BTW, here's a useful hint:


That should make your element code a little tidier. The "empty" operator does exactly the same test as your explicit logic does.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!