Change the prompt of Global button or links

Hi guys,
How to change the prompt of global button or link like Home,Logout,Help,Preferences for all oaf pages in R12 application?
plz guide me ......ASAP
Thanks,

I've got the problem fixed. For any of you that would like to know the solution is this. I added the following javascript at the end of an unstructured UI template where I have the form:
<script language="JavaScript1.1">
var inURL = false;
for (i = 0; i < document.all.length; i++) {
     if (document.all.name != null) {
     if (document.all[i].name.indexOf("BACK_URL") > 0) {
               if (document.all[i].value != '') {
                    inURL = true;
          else {
               if (inURL) {
                    if (document.all[i].name != null) {
                         if (document.all[i].name.indexOf(".UPDATE") > 0 || document.all[i].name.indexOf(".SAVE") > 0) {
                              var doc = document.all[i];
                              doc.value = "Save & Back to Report";
</script>
The script works in IE 6+, I don't know if it works in any other browser, I haven't test it and I don't think I will.
I hope this could help somebody

Similar Messages

  • How to permanently change the colour of a button

    I am using an action to change the colour of a button.  This works but the colour changes for only about a second and then reverts to the original colour.  How can I make the colour change permanently?

    Hi RajeevAdobe,
    Sorry I didn't give enough detail. What I want to do is have a page with buttons that link to a number of tasks. At the start only task 1 button will be enabled and it will be a different colour from the rest.  Once they get task 1 right they go back to the first page and task 2 button will be enabled and the colour changed. The way I am doing this is if they get task 1 right I set a variable task1Success as yes then take them back to the first page which I am calling the "wall".
    So when they first enter the "wall":
    Then user goes to task 1.
    Using:
    Then when they get back to the "wall" I check if the task1Success variable has been changed to yes and if it has I enable the task 2 button and change it's colour using Apply Effect - Advanced - Colour Effect - Advanced.
    This all works OK and when the wall first loads it looks like below but the colour of task2 button only changes for about a second I want it to change permanently.
    Thanks for your help,
    Chris

  • Can we change the prompt of textfield using personalization

    Hi,
    I want to change the prompt of a textfield using personalization. I changed the prompt using personalization, but still it is showing the old value. Also I changed the rendeered prompt of a field to false and still that filed is coming up in the page. Also I set the default value to null to one of the textfield and that value is coming up with some value when the page is loaded.
    Can I do all above 3 using personalization or should I extend the controller.
    User personalization is false for those fields.
    Thanks,
    HC

    Hi Gyan,
    I did the personalization of the one date field and that worked and it is readonly now. The other field is created by bean by Controller..so I can't do personalization on that. I extended the Controller and added the code.
    OAApplicationModule localOAApplicationModule = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAMessageDateFieldBean localOAMessageDateFieldBean = (OAMessageDateFieldBean)paramOAWebBean.findIndexedChildRecursive("DplSrcRefDate");
    if (localOAMessageDateFieldBean != null)
    localOAMessageDateFieldBean.setValue(null);
    //localOAMessageDateFieldBean.setPrompt(oapagecontext."Date Placed In Service");
    localOAMessageDateFieldBean.setPrompt("Date Placed In Service");
    Is the setPrompt command correct. I was waiting for the apache bounce to see the effect. If this is not correct command, I can change the command so that I don't have to do the apache bounce twice.
    Thanks,
    HC

  • Is it possible to change the prompt of StaticStyledTextBean in CO

    Hi Gurus,
    I want to change the prompt of StaticStyledTextBean by extending CO. But i am not getting setPrompt for StaticStyledTextBean.
    OAStaticStyledTextBean staticstyletextbean = (OAStaticStyledTextBean)oawebbean.findIndexedChildRecursive
    ("ShopOtherStoresLink");
    if(staticstyletextbean!=null)
    staticstyletextbean.
    Can you please help me how to change the prompt of StaticStyledTextBean.
    Any idea
    Regards,
    Murali

    Hi Murali,
    You can try with any one of following.
    staticstyletextbean.setAttributeValue(PROMPT_ATTR, promptValue);
    staticstyletextbean.setAttributeValue(LABEL, promptValue);
    staticstyletextbean.setAttributeValue(TITLE_ATTR, promptValue);
    Thanks!

  • Can we change the name of reassign button in sharepoint 2010 approval workflow?

    can we change the name of reassign button in sharepoint 2010 approval workflow?
    Shazil Ali

    Yes, we can change it. Steps are as follows: 1. Create the workflow in SharePoint Designer 2010 2. Use Start Approval Process action 3. Write your logic and all setting as per you requirement and then publish the workflow once. 4. After this, click on
    the workflow name and there you will see the sections as Workflow Information, Customization, Settings, Start Options, Forms. Here you will see a form under Forms section with a name of Approval_x00....... with a type "Task". Click on this form. This form
    is an Infopath form that opens up when a task is to be edited (Task Form). This form will open up in Infopath (provided you have Infopath installed on your system) It may ask you the crendentials for security. 5. The task form will open up in Infopath for
    editing. Click on the Reasign button and in the top left corner in the ribbon section is the field (Label) having text as "Reassign Task". Change this and then save and publish the form.Publish the workflow once again.

  • To change the prompt

    I knew this but forgot how to do it. I have 2 sqlplus sessions open , one connection is to the dev box and the other to the production box (on the same machine).
    Just not to get confused between the 2, there is a way where we can change the prompt
    for example, SQL> can be changed to DEV> on the dev session window and SQL> can be changed to PROD> on the prod session window.
    I am thinking there is a set command to do it. Please let me know how to do this. I am on unix and do not have that sqlplus that windows come up with(where we have an option in the menu bar)
    Thanks

    The following login.sql script should be useful
    column global_name new_value gname
    set termout off pau off
    select lower(user) || '@' ||substr(global_name,1, instr(global_name,'.')-1 ) GLOBAL_NAME FROM GLOBAL_NAME;
    set termout on
    set sqlprompt '&gname> '

  • How to change the movie clip a button links to???

    I am working on a website in Flash that had already been
    designed by someone else. There are a number of buttons across the
    website that are linked to the same symbol. Those buttons link to
    movie clips, in the button's actions, that pop up as small windows
    providing more information in regards to the button clicked. The
    problem is that I cannot figure out how to properly change the link
    association between button and movie clip.
    Here is the action script for one of the buttons:
    on (release) {
    _root.scrHEIGHT=100
    _root.scroller.scroller.gotoAndStop(2);
    _root.scroller._x = 100;
    _root.scroller._y = 150.7;
    _root.TM_title = "About Chris Smith";
    _root.READ = 3;
    When I change the number after "root.READ =" it will change
    it to another movie clip but I how do I know what that association
    is based on? For instance if I make a duplicate movie clip how can
    I make the above script link to it? Also, what exactly does that
    last line in the above script mean? When I tested various numbers,
    like 3 and 6, they would link to the same movie clip.
    Please help! This is driving me crazy!
    Thanks!!!

    Hi,
    buttons can be defined with static icon/text, or dynamically via a variable (containing @08\Qtooltip@text for example). You choose the pushbutton type when you define your button using the screen painter. For the dynamic definition, you must tick the "output only" checkbox, enter a global variable name, that you'll fill in your program, preferably using ICON_CREATE function module.
    BR
    Sandra

  • Changing the label of Next button in af:trainButtonBar

    Hi,
    I have a bounded task flow that contains 5 train stops.
    In each step, I’m using the train button component to show the back and next buttons.
    In the third train stop, I need to change the label of the next button to something else (read from a resource bundle if possible) but I need to do it only for this taskflow and for this step only.
    I found that I can do this with the skinning, but this will change it for the whole application no? but I need to do it for this task flow only
    Any hints how can i change the label?
    Thank you

    Hi,
    The task flow I’m implementing is a simple task flow where the user navigates through all the stops. No stop is skipped. So the af:trainButtonBar is very suitable for my case. The only modification I need is to change the text label of the next button from “next” to “a string read from a resource bundle”.
    In the example in the link, we are using command buttons but what I need is to stick to af:trainButtonBar with just changing the label.
    Thank you again

  • Can you change the color of menu buttons dynamically?

    Post Author: DanH
    CA Forum: Xcelsius and Live Office
    Hello, Newbie Here,
    Built my first Xcelsious front end and linked to two personnel databases.  Everything works just fine.  The outputs on this particular visualization generate completion statistics for 12 divisions and a 13th for combined.  Don't know enough about the software yet to know whether I can make the menu buttons appear in red for those that have not accomplished a 100% compliance to the task being tracked?  This would make it visually easier for upper management to click directly on the division menu buttons in red, rather than have to click on all of them to see which divisions haven't achieved completion.  Also, wouldn't hurt to be able to turn the other menu buttons green for those that have completed.  Any ideas are appreciated, really scratching my head at the moment.
    Thanx,
    Dan

    Post Author: amr_foci
    CA Forum: Xcelsius and Live Office
    i dont think you can change the objects' color on runtime for the crytsal xcelsius

  • Change the look of a button during the timeline?

    In web design, you usually define a  CSS style for a navigation link, which will appear when the user is  currently on that page. So if I was on the "about" page, the "about"  link in the navigation would be highlighted red, for example.
    I'm trying  to do the same thing with a button in Flash. When a user clicks the  button ("on(release)"), it will take them to another frame in the  timeline, and, the look of the button will change to let the  user know they are currently on that frame. I thought I could do this by  adding a keyframe at the destination frame, then going into the button  and changing the "up" frame. Sadly, that doesn't work, as it changes the  "up" frame for the button everywhere.
    Then I tried a movie clip instead,  but I can't use on(release) with that. I'm sure I'm missing something  here...any suggestions? Thanks!

    To use the movieclip you need to give it an instance name and assign code to it in the timeline...  For instance, if you gave it an instance name of mcName, then you would place the following actionscript in the timeline where the button is (preferably ina separate actions layer)...
    mcName.onRelease = function(){
         // whatever is done

  • Is there a way to change the highlight color for buttons?

    I swear, iDVD has got to be the most counter-intuitive program Apple has made in recent memory. I'm a huge Apple fan but this program makes me want to throw my computer at the freaking wall.
    All I want to do is change the ugly yellow highlight color of the buttons (which appears when you select them) in the DVD menu. I'm making a wedding video, and the DVD menu is all silver, gray, black and white, so the yellow color that it defaults to looks hideous.
    Any help is appreciated!

    Good day Glenn,
    You may want to consider upgrading from Acrobat 9.5 Standard to Acrobat X Pro.  Acrobat X Professional has the redaction tool which is really easy to use. 
    You could also accomplish the workflow you described in your question.  If you right-click the tool-bar, and enable the Properties Bar, you can change the color of your highlighter tool to black.  Then you can 'highlight' the text you would like to eliminate.  After you're done, print the document to the Adobe PDF printer with 'Document and Markup' selected under the 'Comments and Forms' drop-down menu to 'refry' your PDF.
    Hope this helps!
    Kind regards,
    David
    Acrobat Community Manager
    Adobe Systems

  • Change the text of a button in a form on the fly

    Hi all,
    I have a form that it is called from another form or from a report. I would like to change the text of the Update and Save buttons on the fly depending on who called it. For instance, if this form is called from the form I would like the Update button to say: "Save & Next", however if it is called from the report the button should say: "Save & Back to Report".
    How could I accomplish this if it is possible.
    Thanks

    I've got the problem fixed. For any of you that would like to know the solution is this. I added the following javascript at the end of an unstructured UI template where I have the form:
    <script language="JavaScript1.1">
    var inURL = false;
    for (i = 0; i < document.all.length; i++) {
         if (document.all.name != null) {
         if (document.all[i].name.indexOf("BACK_URL") > 0) {
                   if (document.all[i].value != '') {
                        inURL = true;
              else {
                   if (inURL) {
                        if (document.all[i].name != null) {
                             if (document.all[i].name.indexOf(".UPDATE") > 0 || document.all[i].name.indexOf(".SAVE") > 0) {
                                  var doc = document.all[i];
                                  doc.value = "Save & Back to Report";
    </script>
    The script works in IE 6+, I don't know if it works in any other browser, I haven't test it and I don't think I will.
    I hope this could help somebody

  • How to change the text of a button dynamically in module pool

    hi gurus,
    how to change the text of button dynamically

    Hi ,
    Declare a variable in TOP Include with your button name.
    Example : P_BUTTON(20) TYPE C.
    Place button with name P_BUTTON on you screen. Do not forget to mark it as "Output Field". [ Double click on button, Attributes --> Program tab --> tick "Output Field".
    In you PBO / PAI , whereever you want to change your text -
    Assign value to P_BUTTON.
    Example -
    iF COND1..
    P_BUTTON = 'EDIT'.
    ELSEIF COND2.
    P_BUTTON = 'DISPLAY'.
    ENDIF.
    Regards,
    Mohaiyuddin

  • How to change the text of a button in ALV dynamically?

    Hi Gurus,
    I have a ALV with a button in the toolbar.Basically i have to change the button text each time the button is pressed.
    How can i do this?
    PS:points will be awarded

    On your alv model, first call if_salv_wd_function_settings~get_function( ID = <your ID> ). This will return you a reference of cl_salv_wd_function. If your function uses a button editor, do the following:
    data:
    lr_button type ref to CL_SALV_WD_FE_BUTTON,
    lr_function type ref to cl_salv_wd_function.
    lr_function = l_alv_model->if_salv_wd_function_settings~get_function( ID = <your ID> ).
    lr_button ?= lr_function->get_editor( ).
    lr_button->set_text( ).
    I have not tried this, but it should work.
    Regards
    Nithya

  • How do i change the color of "Firefox" button on top-left? It just doesn't match with my favorite firefox personas.

    It is some kind of dark yellow and is very bright as it seems with some personas. Changing color should not be that big of a deal and i don't wanna download any themes.

    It is not straight forward but can be done. You can do this by adding code/scripts to a file called [http://kb.mozillazine.org/UserChrome.css userChrome.css] to change the appearance of the button. The Stylish add-on makes it easier to make the changes, the latest version of Stylish is available from http://forum.userstyles.org/discussion/24534/stylish-for-firefox-1.1b4
    For some samples of scripts you can add to Stylish to change the appearance of the button see http://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/
    There are also many scripts available at http://userstyles.org/
    Note that some scripts will no longer work as they would have been written for earlier beta versions of Firefox.

Maybe you are looking for