I'm still old-school turbine so I use TurbineResources.getString(). Scott
> -----Original Message----- > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 4:07 PM > To: Jetspeed Users List > Subject: Re: Properties files > > Thanks, it works good. > Just another thing, to get it from a class, i should call a > context.get("config").getString()? > > > <=- Raffaele Ragni -=> > ----- Original Message ----- > From: "Weaver, Scott" <[EMAIL PROTECTED]> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]> > Sent: Tuesday, October 01, 2002 7:11 PM > Subject: RE: Properties files > > > > At the bottom of TurbineResources.properties you can define includes. > > > > include=MyProperties.properties > > > > Then you can use TurbineResources.getString() to retrieve the value > MyProperties.properties. > > > > Scott > > > > > -----Original Message----- > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, October 01, 2002 12:55 PM > > > To: Jetspeed Users List > > > Subject: Properties files > > > > > > Hi, > > > > > > There is a way to use properties files (i think there is) for my > portlets? > > > i mean, there is a predefined way to declare > > > the properties in those files? > > > I saw that in vm files uses $config.getString(), but probably i dont > know > > > how to set in properties files. > > > And it would be useful to know how to read even by program (java) > > > > > > Thanks. > > > > > > |- Raffaele Ragni < [EMAIL PROTECTED] > > > > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 > > > |- CONE Sistemi Informativi > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:jetspeed-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:jetspeed-user- > [EMAIL PROTECTED]>
