Last modified: Mon, 04/03/2017 - 17:29
Handles display of results identified in the LASResponse.
Overview
The LASContentCell will intelligently handle the LASResponse coming back from LAS. DOM elements appropriate to the LASResponse are created and populated with information gleaned from Results within the LASResponse. This file requires that the LASReponse.js file also be included in the following manner in the head of the HTML file:
<head>
<script language="JavaScript" src="LASResponse.js"></script>
<script language="JavaScript" src="LASContentCell.js"></script>
...
</head>
Documentation & Source
- API
- $LAS_HOME/WebContent/JavaScript/components/LASContentCell.js
Examples
Background
Requesting a result from an LAS product may result in a variety of return types including at least:
- an image
- an error response
The LASContentCell was developed to accommodate both of these types in a way that is invisible to tools like the SlideSorter. The SlideSorter creates a request and then passes off handling of the response to the LASContentCell.