In this step, configure new resources by copying and modifying default resource files. This section demonstrates the required changes for setting up the resource, but you can copy and modify other default files to override default values. For more information, study some of the example resources provided with Unwired Accelerator.
Navigate to:
Tomcat:
SYBASE\tomcat\webapps\onepage\fw\baseApps
EAServer:
SYBASE\EAServer\Repository\WebApplication\onepage\fw\ baseApps
Copy messages.xml and styles.xml and paste them in the new resource folder you created in “Editing the cobrands.xml file”.
Create the subdirectory fwdisplaystaticfile\style in the new resource folder.
Navigate to the subdirectory baseApps\fwdisplaystaticfile\style.
Copy css.css and css.jsp, and paste them into the \style subdirectory that you just created for the new resource.
In a text editor, open the copied css.jsp file, and change the HREF location reference to the css.css file’s location in the \style subdirectory for the new resource. Your entry should look similar to this:
%>
<%@ taglib uri="http://www.sybase.com/taglib/syp"
prefix="syp"%>
<LINK REL="stylesheet" TYPE="text/css"
HREF="<syp:appContext/>/fw/cobrands/newResource-211/
fwdisplaystaticfile/style/css.css">
Save and close the file.
Copyright © 2005. Sybase Inc. All rights reserved. |