OK, I created GenericTopNavigation. It seems to work. I will create the GenericBottomNavigation today. As these are 2 new files, do I post diff's? Or should I continue to pass these to Kevin for review - I feel better having a "seasoned veteran" review the code first. BTW - I know I have seen the link posted in the past, but now I cannot find it - where is the documetation for diff's, cvs, etc...? Thanks, Steve B. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: JetSpeed <[EMAIL PROTECTED]> Sent: Monday, May 29, 2000 5:18 PM Subject: Re: Tips for reading settings in JetspeedResources.properties > > > On Tue, 30 May 2000, 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 > > site.banner.text = Welcome to eToolbelt.net! > > ... > > > > BTW - In case it matters, I am using the latest CVS with Tomcat 3.1 > > > > Thanks! > > > > Steve B. > > > > > > +1 on this idea Steve... > > As a follow-up, I suggest you look at the following classe in Jetspeed > > org.apache.jetspeed.util.JetspeedResources > > Also, look at the > parent class - org.apache.turbine.services.resources.GenericResources. > > The javadocs should be enough, but if you are feeling adventurous look at > the code ;)... > > The resources are Singleton Object Oriented Patterns, this means that only > one instance of JetspeedResources will ever exist in the application. > > You get the instance by calling the static method of the JetspeedResources > class called getInstance(). > > Let me know how it goes. If you get a diff post it to the list!!! > > > Jeff Prickett > [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] -- -------------------------------------------------------------- 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]
