Announcement Announcement Module
Collapse
No announcement yet.
Data mapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Data mapping

    I have modified roo generated code to write to two entities when persisting rather than the 1-1 relationship.

    Now i need to when the user selects create i need to be able to via an id query db for a given value and pre-populate the form with the data from the database.

    I'm looking in createfrom method in roo_controller.aj like pass it a an object some how to add the data into the values.

    A good way of doing so would be lovely!

    Thanks

    Joe

  • #2
    Have found that you can simply addAttribute then populated object and its there works a treat!

    Problem solved!

    Comment


    • #3
      Good to hear you worked it out. Let us know if we can improve documentation or anything for future reference.

      -Stefan

      Comment

      Working...
      X