Re: [SPAM] getting user object in velocityportlet subclass to build localized title

2004-11-18 Thread Peter F.
Hello Dan, I solved this problem in another way. I just changed a bit of code in templates\vm\controls\html\jetspeed.vm In the place, where Portlet title is output, I placed this code: #if($l10n.get($portlet_instance.Title)) $l10n.get($portlet_instance.Title) #else

localized titles (was Re: getting user object in velocityportlet subclass to build localized title)

2004-11-18 Thread Dan Moore
Thank you Peter. This was exactly the correct solution and a lot simpler than what I was contemplating. Works like a charm. Thanks, Dan --- Peter F. [EMAIL PROTECTED] wrote: Hello Dan, I solved this problem in another way. I just changed a bit of code in

getting user object in velocityportlet subclass to build localized title

2004-11-17 Thread Dan Moore
Hi folks, I'm interested in having localized titles for the portlets, but not really interested in maintaining different psml files, since the layout for each locale the same. I saw some pointers in this thread: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]by=threadfrom=305498 And have