Sterling Commerce Sterling Web User Interface Architecture Guide Release 9.0

The Sterling Web™ User Interface Architecture Guide provides an overview of the Sterling Web user interface, including the use of JSP, JavaScript, and CSS.


Sterling Commerce Sterling Web User Interface Architecture Guide Release 9.0 - cover page
Brand
Sterling Commerce
Category
Other software
Document type
Programming Manual
Language
English
Pages
41
File format
PDF
File size
1.3 MB
Published
03 December, 2023
Updated
03 December, 2023
MD5 checksum
C6F514E5564234A21351D06867A1EA50

About this manual

This guide describes how the Sterling Web user interface (UI) is structured, the technologies it uses, and the principles and conventions of UI development. Sterling Web is a Web-based application whose UI is based mainly on the Struts 2 framework, JSP, and JavaScript, with AJAX/AHAH for dynamic user experience and CSS for layout and look and feel. The guide covers only the "view" part of UI development; the detailed development process is in the Developer Guide.

The document explains the separation of responsibility between JSP (rendering HTML content), JavaScript (dynamic behavior, visual effects, input validation) and CSS (page layout and look and feel). It details the CSS model with its template, theme, common and page levels, the CSS folder structure, how to explore a theme, and procedures for common theme-related modifications such as changing styles for a Web store, tweaking the template size, adding new CSS classes, and adopting new UI components.

What's inside

  • Introduction to the Sterling Web User Interface
  • Overview of the Sterling Web User Interface
  • Understanding JSP
  • Using JavaScript to Enrich User Experience
  • Understanding CSS
  • CSS Model
  • Exploring a Theme
  • Performing Common Theme-Related Modifications
  • Using New UI Components
  • Index

Frequently asked questions

What technologies is the Sterling Web user interface built on?

The UI is based mainly on the Struts 2 framework, JSP, and JavaScript, with CSS controlling layout and look and feel; the listed frameworks and UI technologies are JSP, CSS, Struts 2 and Ext Js.

Can I use inline styling in JSP pages in Sterling Web?

No. The basic rules state that no inline styling is allowed in JSP and CSS classes must be captured in separate files.

What does the tag do in Sterling Web JSPs?

It renders HTML code fragments to include all the basic and shared JavaScript libraries and CSS files, other than those included specifically by each individual page, and should be defined in every top-level JSP.

How do I add a new CSS class to the Sterling Web UI?

Create the CSS class in a page-level CSS file and test it, verify template-level layout rules, move theme-related attributes to theme.css, and replicate the setting to all other theme.css files.

Download PDF (1.3 MB)

More Sterling Commerce Manuals


View all Sterling Commerce manuals →