How to display the username and current date in OAF  page Footer region

Hi,
I need to display the username and Current-Date in footer region.If anybody knows the procedure then please share with me.
Thanks
Divya Agarwal

Hi,
Read this Thread:--
You have to capture the UserName and Date in the Process Request Method of page Controller and invoke a method which will subsequently get and set the value in some attribute.
String userName = pageContext.getUserName();
How to populate Current Date and Time in OAF page through CO
Thanks
--Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to display the data?

    My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?

    Hi Gazpan,
    Thanks for visiting Apple Support Communities.
    I recommend using the steps in this article to back up your iPhone if possible:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    You may also find this advice helpful for your situation:
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5661
    If you no longer have your iOS device
    If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
    If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
    Cheers,
    Jeremy

  • How to display the index of current desktop when enable multiple spaces

    I was using 10.6 before and used to using Spaces and puts applications into different desktops.
    Now I'm using 10.8 and I know that the Spaces has been integrated into Mission Control.
    The problem is, I can see the current desktop on the top bar in 10.6, but in 10.8 I cannot see it so I usually forget where I am.
    Does anyone know how to display the index of current desktop?

    Does anyone know how to display the index of current desktop?
    Brute force - - I have written the number of the Desktop directly onto the wallpaper picture I am using for each Desktop  (easy to do with Preview).
    All Desktops are using different wallpaper photos, so they are easily recognized by the color scheme, and in the upper left corner is the number.
    Regards
    Léonie

  • How do i send the username and password to yahoo web page through url

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...

    If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these details for you.

  • Increment the version and current date in .ver file

    Hi All,
    I have the version.ver file and it looks like
    [version]
    BuildDates=2014.10.01
    Script=01
    MainVersion=1.00.00.00:01
    I want to increment the values and current date if i trigger the build using batch script. The output i need is like this
    BuildDates=yy.mm.dd (current date)
    Script=02
    MainVersion=1.00.00.00:02
    Thanks in advance

    Thanks for your reply. This is my script
    @echo off>newfile&setlocal enabledelayedexpansion
    :: set up your date here. It probably won't match my format so you'll need to adapt:
    set dt=%date:~10,4%.%date:~7,2%.%date:~4,2%
    for /f "skip=2 tokens=2,3 delims==:" %%a in ("filename") do (
    set v= %%b
    set v= !v: 0=!
    set /a v+=1
    set v=0!v!
    set v=!v:~-2!
    >>newfile echo SCRIPT=!v!
    >>newfile echo BuildDates=%dt%
    >>newfile echo MajorVersion=%%a:!v!
    goto :aa
    :aa
    more +3 "filename" >> newfile
    del "filename"
    ren newfile "filename"
    Before execute the script my file will be look like:
    version]
    BuildDates=date
    Script=09
    MainVersion=3.00.00.00:09
    after executing i am getting the output value as
    BuildDates=date
    Script=01
    MainVersion=19:01
    MainVersion=3.00.00.00:09

  • How to find the start and ending dates of a quarter of a particular fiscal

    Hi Experts,
    I need a function mudule which returns starting and ending date s of a particular quarter of a particular fiscal year .
    For Example: if pass 1 quarter and 2002 or 2 quarter 2002 it has to give me the star and end dates of that particular quarter na d fiscal year.
    Please help me which is urgent for me.

    Hi Kishan thanks for reply.
    But given function module the 2nd one is full but it is giving me the calender year dates but i need fiscal yea dates.
    fro example: if i pass 1 st quarte and 2006 it is to give me the 1st-april to 30-jun2006.
    And need this quater starting date and ending date for as per USA fiscal year calender.
    If u get any idea plz let me know.
    thanks.
    Dashmantha.

  • How to display the error and success message in ALV

    Hi expert,
    i am doing recording through call transaction,from the output list of a ALV,now my requirement is after recordig how many record get success and how many get failed ,i need to display in Another ALV .please any one help me in this .
    Regards
    Swaraj

    HI ,
                 Use this following Perform form statment to display error message.
    FORM format_message .
      g_row = g_row + 1.
      LOOP AT t_bdcmsgcoll.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = t_bdcmsgcoll-msgid
            lang      = '-D'
            no        = t_bdcmsgcoll-msgnr
            v1        = t_bdcmsgcoll-msgv1
            v2        = t_bdcmsgcoll-msgv2
            v3        = t_bdcmsgcoll-msgv3
            v4        = t_bdcmsgcoll-msgv4
          IMPORTING
            msg       = G_MSG
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        IF sy-subrc = 0.
          CASE T_BDCmsgCOLL-msgtyp.
            WHEN 'E'.
              FORMAT COLOR 6 ON.
              WRITE:/  g_row,
                    /  T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
            WHEN 'W'.
              FORMAT COLOR 3 ON.
              WRITE:/  g_row,
                    /  T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
            WHEN 'I'.
              FORMAT COLOR 4 ON.
              WRITE:/ g_row,
                    / T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
            WHEN 'S'.
              FORMAT COLOR 5 ON.
              WRITE:/ g_row,
                    / T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " FORMAT_MESSAGE
    *&      Form  success
          text
    FORM success .
      LOOP AT i_message.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = i_message-msgid
            lang      = sy-langu
            no        = i_message-msgnr
            v1        = i_message-msgv1
            v2        = i_message-msgv2
            v3        = i_message-msgv3
            v4        = i_message-msgv4
          IMPORTING
            msg       = g_msg
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        WRITE : /2 g_msg COLOR 1.
        CLEAR G_MSG.
      ENDLOOP.
    ENDFORM.                    " success
    *&      Form  error
    FORM error .
      DATA g_msg(255).
      LOOP AT i_message.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = i_message-msgid
            lang      = sy-langu
            no        = i_message-msgnr
            v1        = i_message-msgv1
            v2        = i_message-msgv2
            v3        = i_message-msgv3
            v4        = i_message-msgv4
          IMPORTING
            msg       = g_msg
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        WRITE : /2 g_msg COLOR 6.
      ENDLOOP.
    ENDFORM.                    "error

  • How to display the SQL query's date parameters to the report

    Hi all,
    I'd like to take the date parameters that are contained in my query and have them appear on the report and/or have the sysdate appear on the report. Any ideas on how to do this? Thanks!

    Hi..
    To display parameters which are part of SQl Query in the output..
    http://blogs.oracle.com/xmlpublisher/2008/07/where_are_the_parameter_values.html
    HTH..

  • What is CPI-C  and how to find the username and password for a 4.7c install

    Dear Friends,
    Please tell me what is a CPI-C username is ??
    When do we use it?
    And how/from where  could  I find the CPI-C user name and password of a particular system(4.7c)?
    Please give me a detail knowledge.
    waiting for replies ....
    thx,
    jeevan

    OS X 10.7 Lion, 10.8 Mountain Lion & 10.9 Mavericks
    Reset Password starting from Recovery HD
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • How to achieve the from and to date range in report builder 3.

    I AM TRYING TO CREATE ONE REPORT FROM REPORT BUILDER 3.
    WHERE I AM UNABLE TO DEFINE THE DATE RANGE.
    HOW TO ACHIEVE THE DATE RANGE IN REPORT BUILDER.
    NEED FROM DATE AND TO DATE FILTER IN REPORT BUILDER FOR PK DATE.

    Hi Ganesh,
    According to your description, you create a report in Report Builder 3.0, and create two parameters FromDate and EndDate, now you want to use the parameters in your MDX query, right?
    If in this case, here is a sample query for your reference.
    select
    {[Measures].[Internet Sales Amount]
    } on columns,
    {[Date].[Date].members} on rows
    from(
    select
    STRTOMEMBER("[Date].[Date].&["+@StartDate+"]"):STRTOMEMBER("[Date].[Date].&["+@EndDate+"]")
    ) on columns
    from [Adventure Works]
    Reference:STRTOMEMBER
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to display the total of a particular xml element page wise

    Hello friends,
    My requirement is like I need to display an xml element Margin along with the other elements..Now I want the sum of margin element for each page... how do I do it in the rtf template.. and the end user views it in pdf form...
    thanks in advance

    Can you check the example in http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T481157.htm#4535379
    You can also check an example in your local machine in C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\samples\RTF templates\Advanced\Page Total

  • How to display the value of a javascript variable in a html region ?

    Hello,
    I need to display my page title or name in a html region.
    I added a script in the <title> section of the template header... :
    (thanks Andy : Get page name from page attributes ?
    <script type="text/javascript">
    var pageTitle = '#TITLE#';
    </script>... so I can use it in a javascript variable.
    But now I don't know how to display it in a html syntax..
    Thanks!
    Fanny

    ... so I can use it in a javascript variable.Don't see any reason to modify page templates to introduce an unnecessary global JS variable when the document property is already there. Display it using an appropriate HTML element, e.g <tt>h1</tt> if it's the overall page heading.
    <h1>
      <script type="text/javascript">
        document.write(document.title);
      </script>
    </h1>

  • Please help me :How to set the width and height for my View page "test.htm"

    Hi,
        I have controller class. When i call the view[test.htm]from this controller class ,i am getting the view with output tableview..it is fine.
    My requirement:
                 the output view window is showing full browser window. I want the view output like showModeldialog. I want to set the width and height for the output view window. How is possible?
                 or
    i want to call the test.view in the window.showModelDialog..
    Please help me .. Urgent requirement.

    Yes you can set the width & Height of the view as follows..
    <div style="width:580px; height:750px; margin-top:15px; overflow:auto;">
    <htmb:form......>
    </htmlb:form>
    </div>
    <i>*Reward each useful answer</i>
    Raja T

  • How to display the Quantity and Rate fields in PO Report

    I am trying to get a Purchase Order report that has the following fields in it.
    1. Ordering Date
    2. Purchase Order ID
    3. Supplier
    4. Product
    5 Quantity
    6. Rate
    7. Amount (Quantity x Amount)
    The reports under the Purchase Order WoC do not display Quantity and Rate.
    Any more information like pointing to an Article or Help Topic is appreciated.
    Regards
    Yagyesh

    Try the Purchase Order Volume report as your starting point.
    I got everything you need onto that report in about two minutes (except quantity which may take longer).
    The report can be found under the reports menu or you can find it under Business Analytics WoC if you have access.
    I have been using the Business Analytics WoC for all of my reporting since it saves me the step of going to each WoC to look for the core reports.
    Jim

  • How  we claculate the first and last date of the month

    hi,
    I have a requirement, if i have the any date of a month like today date 02/13/2008. So i want the first date of this month and the last date of this month.
    Is there any FM for this..or if you have nay prorgam pls send to me.
    thanks.

    Hi Vipin,
    Try
    HR_JP_MONTH_BEGIN_END_DATE FM will return both first day and last day
    LAST_DAY_OF_MONTHS  for getting last day of month.
    Reward if helpful.
    Regards,
    Mandeep

Maybe you are looking for

  • How to restore my iphone 3gs when it won't get out of the apple logo loop?

    So my mom's friend gave me her iphone 3gs so she could use it to listen to music. She says that she completly erased the phone but whenever I try to turn it on, it stays on this loop that is charging but with little charge and to the apple logo. The

  • XI Integration scenario for material replication from SRM to SRM-MDM

    Hi Guys, We are working with the following landscape: SRM Server 5.5 ECC 6.0 SRM-MDM 5.5 SP6 PI 2005_1_700 SP0006 I have a question for you about replication of the material master form SRM EBP to SRM-MDM. In XI we are trying to configure this scenar

  • Calling RFC in dynpro: Issue

    Hi, With reference to the material creation blog on sdn, I'm trying to access BAPI_MATERIAL_SAVEDATA. I have taken following fields for material creation 1. Material No. 2. Description 3. Industry sector 4. Material type After deployment I created th

  • Anyone using iZotope Ozone 3 to master?

    Is anyone using iZotope Ozone 3 to master? Dual 1.8Ghz G5 PB G4 1Ghz LP7.1.1 Motu 896   Mac OS X (10.4.5)   Reaktor 5.1 Reason 3.0.4 Live 5.0.2 Battery 2.1.1 Recycle 2.1 DFH 1.5.3

  • OS X Snow Leopard server, proxy server stopped working.

    Hi All, I have OS X  Snow Leopard Server (10.6.8) configured as a forward proxy server.  It was working fine for a year until today.  I cannot access any external web sites and get the following error: Service Unavailable! The server is temporary una