Before configuring a new resource, you should have already performed the tasks described in Adding Resources and Editing the cobrands.xml File.
You must 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 WorkSpace.
To copy resource-specific files:
Navigate to:
Tomcat
%SYBASE%\WorkSpace\DevRuntimes\UA\tomcat\tomcat\webapps\onepage\fw\baseApps
EAServer
%SYBASE%\WorkSpace\DevRuntimes\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.
Related Tasks
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com