Overview  Creating click-across applications

Chapter 4: Advanced Application Creation

Server-side click-across

Unwired Accelerator click-across functionality lets you create events that start when a user clicks the content in an application table. For example, a user can click a grid value in one application to refresh another application’s content on the page using the grid value as a parameter to be applied to the refreshed application. You can define an event that takes its input value from any cell in the grid, not just from the cell in which the event is defined. The source cell can even be in a hidden column.

NoteWhen you define click-across events you can place the event on a subset. For example, when you define a click-across event, you can enter “2-” in the Row field, which means that this event will be placed in every record from record 2 to the last record.

Server-side click-across lets you replace an application’s content that is the source of an event with another application’s content. You can use server-side click-across to build drill-down applications that display data at a lower level derived from one or more applications built from a source different than the source of the event-generating top-level application.

To display information from an underlying data store, and build a drill-down application that enables users to select a particular item for more information, the item’s key can be a generated identifier used to look up the details.

NoteYou may want to display a more meaningful description of the grid item. To support this, build a grid containing the generated identifier in one column, and the description in another column. By hiding the first column, and building an event on the second column, you can create a compact application that enables you to easily drill down to the details section.

Server-side click-across is implemented in the Define Events wizard, which lets you create both client-side and server-side click-across events.

See “Using grid rules” for more details on hiding grid data.

The Mobile Application Development Tutorial contains sample procedures that illustrate how to use this functionality.





Copyright © 2005. Sybase Inc. All rights reserved. Creating click-across applications

View this book as PDF