[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
>
>> Currently, JetSpeed displays the title string specified in the user's PSML
>> file (AbstractPortlet.getTitle()). Changing the signature of that method to
>> public String getTitle(RunData runData) would probably solve your problem,
>
Yes, I think I did not consider it when I stuffed RunData in several
places. I was thinking of a mostly static title. Nevertheless, I think
the title can be fairly dynamic (for instance "3/15 messages for
[EMAIL PROTECTED]" in a mail webapp. In the cleaning process, I think
we should add the RunData, so that this kind of things can be done.
>>
>> but I think what we also need is a way to specify alternate titles for
>> different languages, so that AbstractPortlet.getTitle() can do something
>> like
>>
>> return getPortletConfig().getMetainfo().getTitle(locale);
>>
>
> Thomas, you should look at the MetaData API currently in Jetspeed
> (org.apache.jetspeed.util.MetaData), it's already implemented just not
> used yet. :)
>
> --
> Rapha�l Luta - [EMAIL PROTECTED]
> Vivendi Universal Networks - Services Manager / Paris
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]