Google Maps in Siebel (Open UI): The Penultimate Edition - Part 2
Welcome to the second part of our 'penultimate' edition of Google Maps in Siebel Open UI. In the first part , we focused on the scaffolding, used templates to create a custom PM and PR for the SIS Account Entry Applet and downloaded and registered the colorbox plugin. Today we will look at the actual implementation, starting with some requirements: As stated in part 1, the code should be generic enough to work with all form applets that display address data The solution should be SRF-independent. A clickable map icon should be displayed next to the address fields. When the icon is clicked, the map of the address displayed in the applet should be shown in a colorbox iFrame. So, let's get to work: 4. Implement the Presentation Model The purpose of a presentation model is to capture the business logic behind the scenes. In our example, the PM's task will be to extract the address information and create the link which leads to the map vendor's web site. The following s...