Announcement Announcement Module
No announcement yet.
Add finder for each entry in list.jspx Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add finder for each entry in list.jspx

    I am trying to add a button to each entry on list.jspx that acts as a finder from a different entity.

    I have a table called children with an ID(Primary Key) and Parent_ID(Foreign Key) and a table called Parent with an ID(Primary Key). I would like to create a button that says view Parent on the children's for each entry in list.jspx taking the repsective Parent_ID as a parameter to pass to the finder.

    I have the finder findParentByID for the Parent but I don't know how to 1. Reference the parent's finder from the children's list.jspx and 2. How to enable it to pass an ID to the finder.

  • #2
    Custoimize the table.jspx. At its end there is already code for buttons per row. Just add you button here.