Tying Page Elements to Data : Identifying a Single Object in a List of Objects

Identifying a Single Object in a List of Objects
When you’re working with lists of objects, you need a way to identify a specific item in the list. For example, suppose you have a Page that lists five columns from a table called accounts in your database. You can use the XPath picker to select the column called “Email” from the accounts table, but you cannot use it to select a specific E-mail address from the database.
To select a specific item from a list, ActiveGrid provides the special system variable called sys/selected (ActiveGrid Session Information Variable). The sys/selected variable points to the item last selected by the user. The server determines the selected object from the Message Ref of the button or link that the user clicked (Buttons and Links).
You can also select ActiveGrid’s session variables in the Message Ref picker (ActiveGrid Session Information Variable). To use the Message Ref picker to tie a Page element to a data reference, simply navigate down the tree until you find the data reference you want, click on it and then click OK.
Related Topics:
Page Message
Message Refs
Relative or Absolute References
Displaying Lists
Identifying a Single Object in a List of Objects
ActiveGrid Session Information Variable
Buttons and Links

ActiveGrid
ActiveGrid Documentation
Version 2.0