How to get what mode of the page is striking.

Hello

I have a page to SIT with addition and update button on this page.
When I click on the buttons page opens "PersonSitUpdPG".

Please let me know how can we know if there opening the page by clicking on the button update or by clicking on the Add button.

Hello

SitMainPageCO:

whenever u click the Update icon she is entered in code below:

If ((str4! = null) & (str4.startsWith ("HrSitUpdateButton"))) {}
localObject2 = str4.substring ("HrSitUpdateButton".length ());
j = 1;
-Set session value
pageContext.putSessionValue ('Flag', "U");
}

SitUpdateCO:

-extended co writing get session value b4 super and validate.

If (PageContext.getSessionValue ('flag')! = null)
{
If ("U". Equals (PageContext.getSessionValue ('flag')))
{
-DO the validation here
}
}

Note:

Check the update and add.write a few debug messages and test.

Concerning
Meher Irk

Tags: Oracle Applications

Similar Questions

  • All know how to get Google Analytics on the pages of a site of Muse, without having to do so through BC?

    I was placing the analytical code on each page while in the back part of my Muse BC site. But whenever I have to republish the site, analytics go away and needs to be replaced. No one knows how to do it go within the Muse?

    Please check: where can I stick my analytical tracking of google code?

    See also: http://muse.adobe.com/exchange-library/add-google-analytics

    See you soon,.

    Vikas

  • How to get a glimpse of the Chrome using Adobe Dreamweaver PHP page?

    How to get an overview of the PHP page on Chrome with Adobe Dreamweaver CS 6 using Xampp. When I click on "Preview in Chrome.pic2.png

    When I click 'Yes' and the site configuration parameter, I don't understand what to do in the server side.

    pic3.png

    Click on the sign (bottom left) to create new server details.   See screenshot.

    Your directory of default web in XAMPP's htdocs.

    Folder on the server: C:\xampp\htdocs\yourSiteName

    Web URL: http://localhost/yourSiteName/

    Don't forget to add the template to your test server (Advanced tab).

    Nancy O.

  • How get control back to the page when OAException is raised

    Hello

    I am facing a problem where I need to get control back to the page after the oaException has been lifted on the page for a scenario (with custom Message).
    Because we have some javascript validations to be run on the same page, even if a warning is lifted through OAException for a few reasons.

    Please suggest me if there is no function to take in charge control once after the exception is thrown with the personalized message in the page (or) is there another class or function can be used to send a message with the symbol 'WARNING' that returns control to the page once it is made to go ahead with the postings.


    I appreciate your valuable answers.


    Thank you
    Trehout

    Hello

    I think that since this is a warning message, you can use the API putDialogMessage on the code of the controller, then you can do this by using:

      if (test_warning) {
          // Warning condition, adding a warning display to page
          OAException warning = new OAException("APP","MSG_NAME", tokens);
          pageContext.putDialogMessage(warning);
          // Since putDialogMessage does not stop processing,
          // we can call App Module logic or further processing
          am.invokeMethod("DoSomethingAfterWarning");
      } else {
          // Process without warnings
      }
    

    In this way, you can put a Message of dialogue as does an OAException, without harming the javascript validation, I think. Pay attention to the fact, however, that although an OAException stops the treatment at the time wherever it is thrown, a call to putDialogMessage does not stop the code below himself to run. If you need to stop treatment, join this call in an IF block so that it is running and then jump at the end of the processFormRequest or processRequest method.

    It will be useful,
    Thiago

    Published by: Thiago on December 26, 2008 11:48

  • How to get number of a character Page?

    Currently I get a character by CreateOutlines Page

    Dim oaPols = oChar.CreateOutlines (False)

    Download oaPols (1) page of the object.

    But sometimes Indesign was the crash by this code: Dim oaPols = oChar.CreateOutlines (False)

    How to get number of a character Page?

    Willi Adelberger wrote:

    Why do you do the contours? It should NEVER be done in InDesign!

    Hey Willi,

    the OP is trying to find a method to get the page name of a character given somewhere on a page or on a spread and use a VB-Script scripting method.

    The False parameter in the method indicates that the character will be duplicated on top of the character as an outline object.
    In the user interface you select a character and press and hold the ALT key when you use the menu command for this.

    Usually we take the object returned after obtaining the information of her by the script.

    But obviously something bad on the side of the OP, because InDesign crashes if this method is used on one of the sample characters. Usually a geometrical object on a page will return the page object as the value of his property in parentPage (ExtendScript).

    I'm not in VB-Script, so here's an excerpt from ExtendScript to get the name of the page in the text of a character block.

    Select a character and run the code snippet:

    // ExtendScript (JavaScript) snippet
    // One single character should be selected:
    
    var myCharacter = app.selection[0];
    var result = myCharacter.parentTextFrames[0].parentPage;
    
    if(result == null)
    {
        alert("Character's text frame is considered on the pasteboard")
    }
    else
    {
        alert("Character's text frame is considered on page: "+result.name)
    };
    

    Now, back to the createOutlines() method.

    It would fail on for example all white space characters and characters that represent a fixed page element.

    It would also fail if the character is in the overset text.

    createOutlines() would be to raise an error, but should not crash InDesign.

    Now go to the OP to the following questions:

    What is the character that you try to use the method with?

    Is there excess in text?

    What is your exact version of InDesign?
    What is the exact version of your Windows operating system?

    Kind regards
    Uwe

  • How to get Firefox to ignore the status of liaison visits when printing?

    How to get Firefox to ignore the status of liaison visits when printing?

    When I print something, visited links are a different color than unvisited links.
    Is there a way to make the color even when printing?
    (without changing the story, or how things look on the screen)

    If there isn't a way to do that, how about this by adding as a feature?

    One way to do would be to create style rules customized for the printed output that hardcode the link colors for all of the printed output. Firefox supports two ways to proceed: a file userContent.css that you create in the folder settings, and a custom stylesheet applied using the Stylish extension.

    However, 'one size fits all' could lead to unreadable results or ugly on some pages. If an add-on that can do adaptive way would be better. I do not know if someone has created a.

    For sites that do not require a login and that are not personalized, you could launch the page in a private window (right click on the link > open in a new private window or copy the URL and then Ctrl + Shift + p, then paste it in the address bar and enter). Because private windows have their own history, the print should not reflect the history of your regular windows.

  • How to get Firefox to check the compatibility of the addon first, then ask me if I want to continue the update of Firefox?

    How to get Firefox to check the compatibility of the add-on first, then ask me if I want to continue the update of Firefox? The update process currently only told me that an add-on has been disable after you apply the update to Firefox. Options > Advanced Options > switch to the update tab, "Warn me if this turns off one of my modules," doesn't seem to work.

    delores51

    This is an add-on that does this.

    https://addons.Mozilla.org/en-us/Firefox/addon/is-it-compatible/

    More specifically, what modules are always appear as incompatible after a Firefox updated? Firefox 10, extensions that are made properly shouldn't be a problem, with a few exceptions.

    Extension that contains a binary code must be compiled for each new version of Firefox. These modules are usually installed by applications on security Norton, McAfee, ZoneAlarm, etc..

  • How to get a reference to the delivery of the program (not at base of LV)?

    Hello

    I need to create a LV application which will be:

    -Run external executable and not on LV. It has a window of the UI which will open

    -Open PS (no title, menus, etc.) and position it under the user interface

    -If the user moves main UI, LV app FP follows the window

    -If the user closes the main user interface, LV app closes and ends.

    App - LV does not display in the bar of tasks

    So, basically, I need to develop an application that will add-on to an existing GUI, so that together they look and behave like a single user interface.

    The main thing I am struggling with now is how to get a reference to the execution of UI that I call using the exec.vi system

    Help, please!

    What operating system? If you are on Windows, you can try to use the Windows API. Specifically, FindWindow to get a reference to both windows and SetParent to set the parent of one of the windows. This example gives you the basic idea.

  • How to get other channels in the channel list.

    Hi experts,

    How to get other channels in the channel list.

    for example

    "Country1, Italy countries2, India, countries3, paris, countries4, scottland, Canada5, rome"

    in the list above, I need to get all the countries and their names separately.

    as countries1, countries2, countries3 countries4 Canada5

    India, paris, Scotland, Italy, rome

    I try the one above in the fashion below

    SELECT SUBSTR

    ("Country1, Italy, countries2, India, countries3, paris, countries4, scottland, Canada5, rome,

    1,

    INSTR

    ("Country1, Italy, countries2, India, countries3, paris, countries4, scottland, Canada5, rome,

    ',',

    1,

    1

    )

    -1

    )

    OF THE DOUBLE

    everything please help me

    If you want the data to be more structured and useful:

    Column collar for a20
    Col col_value to a20

    inlist var VARCHAR2 (2000)

    exec: inlist: = 'Country1, Italy, countries2, India, countries3, paris, countries4, scottland, Canada5, rome;
    exec: inlist: = replace (: inlist,' ')

    Select max (decode (mod(lvl,2), 1, value)) Column
    , max (decode (mod(lvl,2), 0, value)) col_value
    from (select substr (: InList, + 1 start_pos, end_pos-start_pos-1) value)
    lvl
    from (select: InList)
    case when level = 1 then
    0
    on the other
    InStr(:InList,',',1,Level-1)
    end start_pos
    case when instr(:InList,',',1,level) = 0
    then length(:InList) + 1
    on the other
    InStr(:InList,',',1,Level)
    end end_pos
    level lvl
    of the double
    connect by level<>
    )
    )
    ceil(lvl/2) group
    order by 1;
          
    COLUMN COL_VALUE
    ____________________ ____________________
    Country1 Italy
    countries2 India
    countries3 paris
    Scottland countries4
    country5 rome

    Not tested on 10g

    Then you could stragg lines together...

  • How to create Mulitple tab in the Page

    Dear all,
    How to create Mulitple tab in the Page (UI)

    One way is to download the OA Framework Metalink Dev guide. You can also navigate to Jdevdoc (under your Jdev installation) and find the index.html file. There you have the reference to the Dev Guide. You can get the right information here too.

    Concerning
    Sumit

  • How to stop taking control in the page from popping up every time I double click on the firefox desktop icon?

    Pop - up when I double click the icon of firefox on the desktop, the home page and control of two-page fact sheet page. How to stop taking control in the page from to appear repeatedly when I double click the icon of firefox?

    You can solve this problem with the file blocklist.xml was forced to update.

    See:

  • My two front USB on the front slots do not work. How to decide what could be the problem? Thank you

    My two front USB slots don't work. How to decide what could be the problem? The machine is a HP Pavilion p6516f-b. Thank you

    try to uninstall the drivers (usb root hub) from Device Manager, restart the pc if you see little red or yellow circles can mean the mistake with the equipment. see if the keyboard works in ports

  • How to get a program all the list of the names of the values in a registry key?

    Hello

    How to get a program all the list of the names of the values in a key of windows registry without having to configure the number of values in the key?

    Thank you & best regards

    Samuel J

    Hi Samuel,.

    you will get this info from "Query registry key Info.vi".

    Mike

  • Me am XP license key do not have an installation disc. How to get a copy of the Setup disk?

    Recently, I bought an IBM Net Vista original case, a site auction like eBay, but for my country (Serbia). It came with a sticker with a windows XP Professional license print top (with all holograms too, so I think this is authentic). All components in this case are mine (MB, CPU, GPU, RAM...), and I don't have an original Win XP Pro Installation CD. Can I use this license number? If so, how to get a copy of the installation disc?

    Please see: How to replace Microsoft software

  • I'm reading a file mpeg and Windows Media Player C00D1199 error. How to get good download of the missing codec?

    I'm reading a file mpeg and Windows Media Player C00D1199 error.  How to get good download of the missing codec?  I have windows 7 x 64 os.

    All is not lost.

    Download and install a pack of codecs, such as K-Lite (Google for it). You can find THAT WMP can then read the file.

    Or
    Download and install a small program called Gspot (Google it)! Drag and drop in its window one of the files, you can't plzy. It will tell you which codecs are used. You can then download and install the only after doing a search on the web for it.
    See you soon,.
    Jerry

Maybe you are looking for