----- Original Message ----- From: "burtonator" <[EMAIL PROTECTED]> To: "JetSpeed" <[EMAIL PROTECTED]> Sent: Tuesday, May 30, 2000 12:45 PM Subject: Re: Tips for reading settings in JetspeedResources.properties > > "Steve B." wrote: > > > > Lately I have been trying to dabble in the Jetspeed code. I have > > picked small/simple tasks which would help me understand > > Jetspeed/Turbine. > > > > My latest attempt was to create a GenericTopNavigation and > > GenericBottomNavigation. In the past, I have edited the > > Turbine/navigations/*Navigation.class files to display my own Logo and > > text. I thought I would take this a step forward and read the image > > file and text entries from JetspeedResources.properties. While getting > > values from TurbineResources seems pretty straight-forward, I cannot > > understand the format for getting values from > > JetspeedResources.properties. Any hints for how I get the string > > values: > > > > site.header.logo.url = images/myLogo.gif > > Just overwrite /content/static/jetspeed-logo.gif (or whatever it is) > with your own logo. Do you mean rename my Logo to jetspeed-log.gif? My company does not use .gif's. I have modified the JetspeedTopNavigation.java for myself so I could display our .jpg file. It then occured to me that it would be useful if this were a .properties option. I have sent you GenericTopNavigation (with an updated util/JetspeedResources) for this. A benefit of this is you could set up several servlet zones showing a different banner at the top and bottom of each page, but with the same content in the middle. Also, as I stated in the beginning, this is a simple way for me to get my hands dirty in the code. I hoped that this would be instructive for myself, and at the same time, useful to the project. Please do not feel I would take any offense to your discarding my code. > > > site.banner.text = Welcome to eToolbelt.net! > > What is wrong with logon.message in TurbineResources.properties? Actually, this is the text above the Login Message in the header (just to the left of "-->Home"). I noticed that this was hard-coded in the .java so I made it configurable. > > > > > BTW - In case it matters, I am using the latest CVS with Tomcat 3.1 > -- > Kevin A Burton ([EMAIL PROTECTED]) > http://relativity.yi.org > Message to SUN: "Please Open Source Java!" > To fight and conquer in all your battles is not supreme excellence; > supreme > excellence consists in breaking the enemy's resistance without fighting. > - Sun Tzu, 300 B.C. > > > -- > -------------------------------------------------------------- > Please read the FAQ! <http://java.apache.org/faq/> > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > Archives and Other: <http://java.apache.org/main/mail.html> > Problems?: [EMAIL PROTECTED] -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
