Skip to Content

Date in Masthead

Hi all,

I want to add a date in a Welcome area.

I know that I need to modify the HeaderIview.jsp but I don't know How to read the language selected in the personalization area in order to display the date in the correct lenguage.

Thanks !


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 05, 2005 at 02:05 PM

    Hi Ignacio,

    within the JSP, you can access the implicit variable componentRequest (which is of class type IPortalComponentRequest). On this, you can call <i>getLocale()</i>. From here on, everything should be straight forward.

    Also see

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 02:10 PM

    Hey: This might give u some idea..

    portalapp.xml with a custom ResourceBundleName


    <property name ="ResourceBundleName" value = "simple"/>



    title = english title


    title = Deutscher Titel

    java.util.ResourceBundle resource = request.getResourceBundle();

    Also, Look into getLocale();



    Message was edited by: Peter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.