Customization Guide June 2003Learning M
Chapter 2 Changing settings through the user interface or XML You can customize the application by changing various of the settings that are establi
Changes that you make through the Administrator interface are written to the application_setting table in the application database and take precedence
Chapter 3 Controlling access to features through permissions You can limit or expand users’ access to the application’s features and functionality by
5. Enter the name of the new role and a description, and then click Save. This adds the role to the role list. 6. Click the name of the new role in
7. Click Continue. The application displays a dialog box from which you can assign roles by clicking Assign Roles. When you click Assign Roles, the
10 IBM Lotus Learning Management System Release 1 Customization Guide
Chapter 4 Customizing Help Every Help topic consists of four files, all of which are editable: • The file that defines the layout of the graphical ba
<frame name=content title="Help Topic" src="sh_preferences_b.html" scrolling=auto framespacing=0 frameborder=no border=0 margin
<td width="46" class="logo-textbg"><a href="#PageContent"><img src="transparent.gif" width=&q
} // --> </SCRIPT> </head> <BODY TEXT="#000000" LINK="#0066cc" VLINK="#666600" ALINK="#993300&quo
Disclaimer THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPL
<tr> <td><img src="transparent.gif" width="1" height="1" alt="" border="0">&l
You can ignore or remove the <META> tags at the beginning of the file. These are used in generating the Index. Otherwise, you can edit this file
Note: You can replace a Help file with one in another directory by specifying the appropriate relative path and file name. For example, you might cha
<TITLE>Your title goes here (for example, My Topic)</TITLE> </HEAD> <BODY TEXT="#000000" LINK="#0066cc" VLINK
Chapter 5 Customizing JavaServer Pages You can customize the Learning Management System application by customizing its JavaServer Pages. This chapter
a user makes a request or performs an action, the server handles the action, and then retrieves the appropriate JSP to display the response in HTML. Y
Referencing the url tag in a JSP The following code is excerpted from the catalogManageCurriculumEntryManage.jsp: <script language="javascript
<rtexprvalue>true</rtexprvalue> </attribute> </tag> The tag name is defined in the <name> tag: <name>url<
<attribute> <name>useCustomDsPath</name> <required>false</required> <rtexprvalue>true</rtexprvalue>
The first block of executable code is a page directive that applies to the entire page and specifies the language of the page as Java and sets the MIM
Pentium is a trademark of Intel Corporation in the United States, other countries, or both. Java, JavaServer Pages, JavaBeans, JavaScript, J2EE, JDBC,
Including JavaScript source code The next two script tags incorporate the JavaScript source files tree.js and script.js into the page so that function
current navigation mode, is equal to “studenthome.” If it is, the jsp:include tag within the logic:match tag is executed. <bean:define id="nav
<td class="formBoxBg" width="15"><lms:spacer width="15" height="1" /></td> &l
specified with a value of “contentPage,” the returned value is stored in a pageContext object variable that can be referenced later in the page as a v
Including JavaScript source code The next piece of code includes the JavaScript code from the ds>js>delivery.js file in the page so that the fun
Defining resizable frames The final chunk of code defines the sizes of the resizable frames on the page: <frameset onload="load()" rows=&
</frameset> </html> The body of the delivery:action tag identifies the action used to display the frame. The body maps to the action path
• Images Applying customization sets When you create a customization set, you create a new branch in the application directory to house the files tha
adminTemplate.jsp page, which is the page that defines the format for most of the pages on the Learning Management System server. For more information
Adding your own CSS files You can add your own CSS files for use in the application. You can reference styles from custom files in addition to the sty
Table of Contents Chapter 1 Customizing the IBM Lotus Learning Management System User interface ...
To increase the default font size, change the “font-size:” value from xx-small to small or medium. To change the font style, replace the values in the
A number of the tags in the lms custom tag library, such as the button or img tags, contain attributes that reference .properties file entries to supp
To replace graphics: • Replace the existing image file in the [serverName]>images directory with the image you prefer to use. Retain the original
<td width="93%" class="systemLogoPlacement" valign="top"> <img src="<delivery:logoURL resource=
} To customize the Help icon to align left instead of right, either: • Replace the class attribute with static HTML to define the alignment of the te
Submitting a form If you remove the nav attribute and add an onClick attribute, you completely change the functionality of the button. This code, for
If no value attribute were supplied, the hidden input tag would retrieve a value for the destination property from the form Bean. The following lms:hi
key from the appropriate .properties file. Similarly, the “tooltipKey” attribute defines the resource key to retrieve for display in the window status
</logic:notPresent> </logic:notPresent> </logic:equal> This code, which follows the check for drop-down box fiel
%> <option value="<%=optionValue%>"><%=optionValue%></option> <% }
Removing fields from the Search pages ... 48 Chapter 7 Customiza
Chapter 6 Customizing Search You can perform these types of searches in the user interface: • User Search The User Search page appears when you roste
attribute HealthPlanChoice, the attribute link would look like this: <!--================================================================ User S
Customizing Offerings Catalog searches The Learning Management System allows you to create a pool of custom fields that can be applied to course offer
Removing fields from the Search pages If you want to remove fields from the Search pages, edit the appropriate .jsp to remove the code for the text an
Chapter 7 Customization sets You can create what are in effect alternative versions of the application and send specified users to one or another of t
1. Copy the application’s Web directory on the LMM server to a new Web directory and give it an appropriate namefor example, SalesCSand then copy t
2. Make whatever changes you want to the JavaServer Pages, Cascading Style Sheets, image files, properties files, and templates in the SalesCS direct
locations in the Delivery server directory tree. In that case, the resource directory would again be named SalesCS. • Delivery Server Web Directory
Table of sample matching strings Type Example matches User Fulano de Tal/Cambridge/IBM cn=Fulano de Tal,ou=Cambridge,o=IBM cn=Jan Doe,ou=West5,ou=W
• Use text unchecked, the customization set uses the files in the LMM properties directory; checked, the files in the customization set’s properties
Chapter 1 Customizing the IBM Lotus Learning Management System User interface There are several ways you can tailor the IBM® Lotus® Learning Manageme
file, inserting the custom files in the appropriate locations, overwriting any files in the default installation that have custom counterparts. Final
56 IBM Lotus Learning Management System Release 1 Customization Guide
Chapter 8 Creating a tab You can create a custom tabbed page to display along with the standard tabbed pages―Home, Student Catalog, Users, and so on.
navigationTab.users = Users users.manageUsers.task = Manage Users The navigationTab.users and users.manageUsers.task resources in turn are spec
block. (The table’s summary attribute refers to a resourced string that text-to-speech software can read, summarizing the contents of the table.) The
<table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="middle"><
<required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>toolt
resource strings referenced, and link. The other sections on the page (Roles and Profiles) differ from the Users section only in their details. naviga
<label>users.rosterUsers.roster</label> <title>users.rosterUsers</title> <permissions>Roster_Users&l
the user clicks Continue in the User search page and rostering has been successful] <trail> fail</trail> [the message box displayed w
Static text is resourced in .properties and .txt files in the properties (and, in the case of the LMM server, templates) directories for the LMM and D
The <name> tag: page names and resourced text The <name> tag specifies the string to be used in the resource file ApplicationResources.pro
If you don’t want to display the breadcrumbs for a given JSP, you can include the <breadCrumbsInvisible> tag in the <trail>…</trail&g
The <title> tag: title bar text The <title> tag tag specifies the string in ApplicationResources.properties whose definition is displayed
PERMISSION table Field Datatype Allow Nulls Values oid CHAR(20) N nnnnnnnnnnnnnn00PERM name VARCHAR(128) N X_Y perm_id INTN N n description VARCHAR(2
Sample PERMISSION records OID 0000000000000000PERM PERM_ID 0 NAME Home_Module DESCRIPTION Permission to see Home module CATEGORY 0 STATUS A UPDATETIM
CASCADED_PERMISSION table Field Datatype Allow Null Values child_oid CHAR(20) N nnnnnnnnnnnnnn00PERM parent_oid CHAR(20) N mmmmmmmmmmmmmm00PERM A
<module> <name>users</name> <target>/userManagementInit.do</target> <content>users.jsp</content>
-------------------------------------------------------------------------%> <span class="idxIntro"><lms:message key="custom
</lms:permissionCheck> <%-- ----------------------------------------------------------------------- END Hello -----------------------------
</table> <%-- ---------------------------------------------------------------------- END Index Content Area --------------------------
Acronyms and abbreviations Acronym or Abbreviation What it stands for CSS Cascading Style Sheet DS Delivery Server DUC Offline Learning Client (Disc
<tr> <td width="95%"><lms:spacer type="standard" /></td> <td width="1"> <di
---------------------------------------------------------------------- BEGIN Done button ----------------------------------------------------------
The second linked page (customGoodbye.jsp) looks like this: <%--------------------------------------------------------------------- customGoodbye.
<table border="0" cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <
2. Create Help files You need to associate a Help topic with each JSP so that when the user clicks? to display context-sensitive Help, the applicatio
<frame name=content title="Help Topic" src="ch_customtab_b.html" scrolling=auto framespacing=0 frameborder=no border=0 marginwi
See “Chapter 4: Customizing Help” for instructions on how to create custom Help topics. 3. Add permissions to the LMS database A user needs permissio
INSERT INTO PERMISSION (OID, PERM_ID, NAME, DESCRIPTION, CATEGORY, STATUS) VALUES ('000000000042100PERM', 421,'Custom_Tab', '
Say_Hello.name = Say Hello Say_Goodbye = Display Goodbye message Say_Goodbye.name = Say Goodbye 5. Edit navigation.xml You need to add a <module>
<content>customGoodbye.jsp</content> <label>customTab.goodbye.label</label> <title>customTab.goodbye.title</tit
4 IBM Lotus Learning Management System Release 1 Customization Guide
To create a role and assign it to users: 1. Open the Users page and click Manage Roles. 2. Click Add Role. 3. Enter the name of the new role (for
86 IBM Lotus Learning Management System Release 1 Customization Guide
Index abbreviations, 2 acronyms, 2 catalog, 47 context-sensitive Help, 16 course offerings, 47 CSS files adding custom, 34 editing, 34 replacing, 34 c
Tag library descriptor files(TLD files), 20 text resourcing globally, 35 users, 45 XML settings files, 5 88 IBM Lotus Learning Management System Rele
Printed in USA
Kommentare zu diesen Handbüchern