Cisco Cisco Broadband Access Center Telco Wireless 3.7

Page of 267
 
6-9
Cisco Broadband Access Center for Cable Administrator’s Guide
OL-2445-02
Chapter 6      Configuring and Using the Sample User Interface
Customizing the Sample User Interface
Step 4
The SUI displays the same page containing all of the account information. A prompt appears, next to the 
Delete button, asking for confirmation before proceeding.
Step 5
Click X, at the Delete account field from the system prompt, again to confirm deletion of the account.
Step 6
The SUI displays the original search page showing that the account has been deleted.
Customizing the Sample User Interface
The information necessary for connecting to the RDU is specified in the sampleui.properties file. The 
SUI uses two HTML files to customize the displayed text and presentation. These files contain header 
and footer content that is prepended and appended, respectively, to the generated web pages.
The sampleui.properties file controls the messages displayed, the list of classes of service that are 
displayed, and the corresponding DHCP criteria. If the computers are using multiple ISPs, this file also 
controls which ISPs are displayed as options when registering the computer.
Modifying Graphics, Text, and Logos
The .gif and supporting files are located in the <BPR_HOME>/rdu/sampleUI directory. To change the 
layout of the pages beyond basic titles, headers, and footers, you must change the SUI Java source code. 
You should not attempt to use the SUI web server to do development as it has been configured for simple 
demonstration use only. To develop or expand the capabilities of this demo, you should copy the files 
and perform development against a separate web server. See the 
 for additional information.
Modifying Work Flows and Layout
The sampleui.properties file contains descriptions of how the flow can be modified. For example, if the 
Promiscuous mode is enabled in BAC, the flow will not show those pages for registration of computers.
Modifying the Supplied Source Code
Only experienced software developers should attempt to modify the SUI source code. 
Before modifying the SUI source code, copy the code from the current directory to a different computer, 
then begin making your changes. 
To modify the source code:
Step 1
Install a web server on a second computer.
Step 2
Install the BAC API on the computer referenced in the previous step.
Step 3
Copy the demo source code on to the web server.
Step 4
Copy the configuration files into the web server's class path.
Step 5
Open the source code in a text editor.
Step 6
Make the desired changes.