Accessing actions on other frames

If you place your buttons in a seperate frame to your view you can still use the Domino built-in navigations commands.

Have you ever wanted to suspend the scrolling of your navigation bar (first, previous, next, next buttons) on your views. If you place your buttons in a separate frame to your view, you can still use the Domino built-in navigations commands.

The information here took me a while to locate and will save you all time from having to do some extended searches.


1. Start off by naming your frames in Notes. In my case I named the frame with the embedded view 'view'.

2. Create hotspots on the form/page with the embedded view that perform all of the actions you want to occur on the view (include search here as well). You should label them as well. In my case I called the hotspot that performed the first action 'first.'

3. Place the hot spots between DIV Style="display:none" and /DIV statements. This will hide the hotspots on the 'view' frame.

4. In the action bar frame, in the page or the form create actions that do the following in JavaScript:

top.frames["view"].document.all["First"].click()

This looks in the document on the view frame for an element called 'First' and performs a click operation (assuming that a click actually took place on the hotspot on the 'view' frame).

Dig Deeper on Domino Resources - Part 2

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close