Texts, Lists, LinksUsing Text in iViews | Lists | Links Using Text in iViewsiViews can contain textual information (see example). Use the HTMLB text view control to present text in different styles. For details on the text view control see the SAP Portals HTMLB Guidelines. Note: The text View control must not be used to create a label for input fields; use the HTMLB label control instead. UseThe text in the control is restricted to a single font, size and style unless manually set with HTML commands. The text size can be set using different styles (see Text Styles below) Also note that if you occupy a certain area on the screen for a text view control you should reserve enough space for the translation to other languages. Text in other languages may use up to 30% more space than needed in English. Text StylesThe text view control offers several text styles, which are set by the attribute design (values STANDARD, EMPHASIZED, REFERENCE, LEGEND, HEADER1, HEADER2, HEADER3).
Table 1: Text styles offered for the text view control and their use
ListsLists are an alternative to the PortalDataViewer or other types of tables (e.g. the HTMLB table view). Use lists whenever you want to present a list of items in an unobtrusive way, where reading is the primary usage and where there is - apart from hyperlinks - no interaction on the list elements. Note: Use the HTMLB item list control for implementing lists if possible; there is an ordered and an unordered item list available. See the SAP Portals HTMLB Guidelines for details. Lists have the following characteristics:
ExamplesBelow you find an example for an ordered and an unordered list implemented as HTMLB controls.
Figure 2: Ordered (left) and unordered list (right)
LinksA link (hyperlink, hypertext link) is a word, text phrase, image, image section, or icon that transfers the user to a different page or section on the same page. Links point to one specific target (there exist linking services on the Web, which provide users with a selection of targets). Note: Use the HTMLB link control for implementing links if possible. For details see the SAP Portals HTMLB Guidelines. Visual Design of LinksCurrently, links are not underlined, but show a hovering effect with underlining when the mouse is moved over the link. In the future, different link types may be offered, such with underlined text and such, where text is not underlined. Reasoning: Within longer text passages, links are hard to find if they are not underlined. Link lists, on the other hand are hard to read if all links are underlined. In addition, users should be able to override the link settings according to their personal preferences and needs. Long Text LinksFormat only a characteristic part of the text passage as link which clearly describes the target of the link; if one word suffices, use just one word. Avoid underlining more than one line. Link TypesAlthough there is only one link type from a technical point of view, we must make a distinction between the various kinds of links. This helps to establish usage rules for links and to make a distinction between buttons and links. Based on what purpose the links serve, we can establish five different types of content area links: view switch, toggle, drill-down, function, and navigation.
Links vs. ButtonsIn general, use links to indicate navigation to another HTML page or to a different view of the current information as well as to link to further or more detailed information. Links commonly appear within the context of the application (within trees, tables or text). Use buttons to indicate that a function can be carried out (save, print, close, delete, etc.) or that a process can be started (subscribe, etc.). Buttons generally appear at the bottom left of a grouped area to indicate a function that can either be performed on selected items (if checkboxes appear as well) or that apply to the whole screen (see Buttons for details on button placement).
Source: SAP iView Guidelines |