Step 4. Apply Style Sheet to WAM iiiUsingCSS
In this step you will open your WAM layout in the editor and add your
to this layout. This will apply the style sheet iii_style.css to all WebRoutines in this WAM only.1. On the
tab, open your WAM layout in the view by double clicking on the WAM layout item.Note: The WAM layout is named using the WAM Identifier for example iiiusi_2_layout.xsl. Your name may be slightly different.
2. Select the
ribbon and click the button, to open the dialog
3. Click the Add button, select your external resource and click
. Click to close the dialog.
4. Save the WAM layout.
The editor has added an entry to the WAM layout XSL to apply the style sheet defined in this external resource to the WAM layout.
5. Close the WAM layout.
6. Execute the WAM iiiUsingCSS, WebRoutine begin in the browser.
a. Enter a partial surname and display the List page for the employees
b. Use the browser back button to return to the begin page, enter a partial surname and display the Grid page:
Note: The cascading style sheet has not been applied to the grid. At the moment it defines alternate background colors for a list only.