The pages presented readonly

Hi Experts,

I have an obligation to the OPA to make pages read-only once it has been valid and submitted. Any suggestions on how this can be achieved?

Thank you
Vinay

Hi Vinay,
You can create an attribute of the screen.
Change the display of your Question and you should see an attribute field "screen" (directly under the domain of the entity of the screen). Click on create and OPM will create an attribute like "screen X was posted. It is initially set to unknown. Once the X screen was presented, then it will have the value true. It is a particular type of system/built-in attribute called "attribute screen" which is managed by the engine at run time. You cannot change the rule for this (but you shouldn't need to).

Then, for all the controls on the X screen you can use this attribute to do exactly - initially you want editable controls and then as soon as the form is submitted, you want to display that they be read-only. So for each control is in the 'Read only' section (directly under the 'Visibility' section). Choose the attribute "Display X was posted" and set the State by default (if the attribute is unknown or uncertain) to "editable".

If you want to include this with validation or additional terms then you can simply write the terms in another rule and use it instead... such as:

X screen should be set to read only if
... X screen was displayed and
... Screen X has been validated... etc...

I hope this helps, this is the simplest (and out of the box) way to solve the problem. I would like to know if you have other questions about this.
See you soon,.
Ben

Tags: Oracle Applications

Similar Questions

  • How to display the page OAF readonly in Workflow Notification

    Hello Experts,

    I'm trying to display a page of the OFA in the body of the notification, this page is read-only and gets the setting. I created an attribute of workflow with the type as a document, target of the image in full window and the value as "JSP:/OA_HTML/OA.jsp?" "OAFunc = < the OA function name > & TransactionId = - & TRANSACTION_ID-

    When running workflow for this notification, get the error message as no data found, instead of the page.

    Know that we can create a common region OFA and appear the same in his notification, but is it possible with the OPS page? Please suggest where I am missing here!

    Thanks in advance!

    Kind regards

    Deepak

    Deepak,

    I doubt that you can do this. Why not simply use a region instead of the Page? You try to view a page within a page?

    See you soon

    AJ

  • When I go to a secure site the usual security lock is not present at the bottom of the page

    I upgraded my browser Firefox 6.0.1 and now when I enter a secure site the security lock is no longer present at the bottom of the page.

    The status bar is gone and the 'blocking' with her, from Firefox 4.0. Safety information on a web page are shown by the Site identity button.

    The former lock could give users a false sense that a site is safe to not to provide information to the site and showed that there is a secure connection that does not guarantee that you are connected to the right server. The Site identity button is introduced in Firefox 3.0 to show more complete information of 'identity' for HTTPS web pages.

    https://support.Mozilla.com/en-us/KB/site+identity+button

    You can add a padlock in the address bar with the add-on locks- https://addons.mozilla.org/firefox/addon/padlock-icon

  • Only prints the left side of the page; If the envelope is present

    My printer prints half the page if left an envelope in present in the document.

    I've never been sure that the problem is the printer or the program.

    I just upgraded from MS Office 2007 to 2010 and it does not solve the problem, so it seems that the problem with my hp C309 AIO printer.

    Someone had this problem?

    Michael

    8.1 to win
    All-in-One is C309-s

    pcwizard wrote:

    Hi mikecox70,

    What happens if you print without an envelope making part of the document?

    What happens if you use Wordpad?

    To be honest with you, that sounds like the margins set for the envelope affects the entire document. You may need to separate the envelope in the document so that it can print correctly. Let me know what you find?

    If I do not include the envelope that the document prints normally.

    OK, before I answered that I opened a new document, established an envelope and added a line of text and print.  He printed perfectl

    In 2007, I tried reformatting the margins of envelopes, announcement issues, etc.  I'm not a novice and I know that Word allows the envelopes attached because I saved letters with envelopes for years.  I thought I tried everything in the book, including the upgrade! Apparently there was something in my master's letter that was wrong; Although while I was still in 2007 I did what I just did and nothing has changed.

    Go figure!  It works now and I will never understand why my past tries to fix it failed. but it is useless at this point.

    Thanks for responding (-):

  • Page master readOnly or protected fields always opens to page 2 of the PDF

    I have a fluid shape that I added some textfields to the Master Page to have on each page.

    I put the global linking for the filling of form fields can be accessed from any page.  It works very well, fill in the fields and the changes to the fields appear on each page.

    The problem: I need to lock these fields after submit.

    I added the JavaScript code in the reference material at my submit button that detects and sets the access to all page fields of body 'read-only '.  No problem with this script.

    I'm not an experienced writer of JavaScript, in order to lock the fields on the master page, I put each field individually to "readOnly".

    It works fine on page 1 of the final PDF, the fields are locked.

    On page 2, however, the fields are always available.  In fact, change the values in the page 2 fields also change values in the fields in page locked 1.

    I tried using the relative and the absolute som SOM to change the property but no change in the results.

    I also tried changing the 'readOnly' property 'protected' with no change in results.

    Can someone tell me what I am doing wrong?

    Hello

    Each master page has own number.

    To lock the second master page, you need to access it correctly, you can try a script like this:

    main.pageSet [0] .yourMasterPageName [index].filedName.access = "readOnly".

    index - index of the page master from 0. In your case it shoul be 1.

    Each master page has own number.

    Best reagards,

    Paul Бутенко

  • Hotmail has suddenly changed appearance and now present on the top of the page blue with lines. I have a screenshot...

    Run Firefox 15.0. Hotmail has suddenly changed appearance and my page is not at the bottom of the screen. The top 5/6 of the page is a series of horizontal blue stripes. Text in the blue section is the Windows Live titles such as ' home, Mobile devices, etc. When I try to compose a new message, text in the blue box partially covers the 'To' button, so I need to position the slider at the bottom of the button to enter an address. I have tried Hotmail in IE and it seems fine, so it must be a problem of compatibility between Hotmail & Firefox. Hotmail has not responded to my questions by e-mail. I could understand that if this happened at the beginning of a session, just after I have lights, but this happened after, I had been active in Hotmail and other sites. Other sites are not affected, just Hotmail and only in Firefox.

    Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

    • Hold SHIFT and click reload.
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (MAC)

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Already tried safe mode?

  • Checking the referential integrity of a form before the presentation of the Page element

    Hi, OTN,.

    I have a form on a table with multiple columns, some of which are foreign keys to other tables. Rather than validate the columns for referential integrity when the user inserts/changes in shape, I would use a dynamic action to attract the attention of the user with a javascript alert() when the user loses focus of the element. After a user enters a value into the text box and moves to the next item, I want to be able to query the table, check the existence of the value of the user and issue a javascript alert() if there is no match.

    What is the best way to go about this?

    I created a dynamic action-to run PL/SQL code on one of the elements of the page, with a code similar to the following:

    DECLARE
    rf_check varchar2 (30);
    BEGIN
    SELECT col1 INTO table_a FROM rf_check
    WHERE col1 =: P1_ITEM_FK;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    HTP.p ("< script type =" text/javascript"> ');
    HTP.p ("alert ("ERROR");");
    HTP.p ("< /script >" ");
    END;

    I could not get the dynamic action of delivering javascript. Any thoughts?

    Thank you

    Matthew Moisen

    Published by: Matthew Moisen on 25 October 2012 14:22

    Matthew Moisen wrote:
    What is the best way to go about this?

    I have to admit that I've never tried, but I would be surprised if Javascript back via statements made htp.p that they are actually executed by the browser.

    I would do something like that, by a dynamic action that calls an application process. The PL/SQL procedure request would return via htp.p OK or ERROR. From this result, the javascript would determine to issue the alert. Something like the following (not fully tested):

    Javascipt
    
     var get = new htmldb_Get(null,html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=FK_CHECK',0);
     var fk_check = get.get();
    
     if (fk_check=='ERROR')
      {
       alert('ERROR');
      }
    
    Application Process FK_CHECK
    
    DECLARE
      rf_check varchar2(30);
    BEGIN
      SELECT col1 INTO rf_check FROM table_a
      WHERE col1 = :P1_ITEM_FK;
      HTP.p('OK');
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
         HTP.p('ERROR');
    END;
    
  • How messageTextInput element readonly on loading the page dynamically?

    Hi all
    This is my requirement. I have a point message text entry populated on load of the page attributeX of the VO. I need to check the condition of attributeY! = pageContext.getUserName () and if he is convinced that I have to make the item messageTextInput as read only when the page is loaded. To do this, I wrote the following code in the form request process.


    vo.executeQuery ();
    If (VO. GetCurrentRow.GetAttribute ("attributeY")! = pageContext.getUserName ())
    {
    OAMessageTextInputBean bean = (OAMessageTextInputBean) webBean.findChildRecursive ("txtItem");
    bean.setReadOnly (Boolean.FALSE);
    }

    Copy the following code throws exceptions. Also if I don't give the if condition and just trying to make the point to read only the loading of the page, it does not take exception, but does not in read-only mode.


    Please let me know how to solve this problem.

    Thank you
    Sunny

    Sunny,

    Can you check after the vo run the query, your VO have rows by
    vo.getFetchedRowCount (),

    And then do vo.first () and then only the if condition,

    Inside the if condition add some diagnostic message to check, your state of health is coming inside.
    print the values for vo.getCurrentRow.getAttribute ("attributeY"), pageContext.getUserName)

    And if you compare the string, you must use api .equals
    If (!) (vo.getCurrentRow.getAttribute("attributeY").equals (pageContext.getUserName ())))

    Thank you.

    With respect,
    Kali.
    OSSI.

  • JavaScript doesn't work is not on the page navigation

    Hello

    I have a manual tabular presentation on the emp table. There is a javascript function that calls for the deptno column change. If deptno is RESEARCH (20), then it turns off the field for this employee hiring date.


    The same function is called on page load using the threshold:

    $("[name=f04]').change ();


    It works fine when the page is loaded for the first time. When I navigate to see the next set of rows (for example, 16 to 30) then the javascript code does not work.


    An example can be seen on apex.oralce.com:

    https://Apex.Oracle.com/pls/Apex/f?p=30264:28


    Workspace: apex2014

    Username: forum

    Password: abc123

    Application: 30264 Dev2

    Page: 28

    Can someone explain why it behaves like this?

    Thank you

    ZKay wrote:

    I have a manual tabular presentation on the emp table. There is a javascript function that calls for the deptno column change. If deptno is RESEARCH (20), then it turns off the field for this employee hiring date.


    The same function is called on page load using the threshold:

    $("[name=f04]').change ();


    It works fine when the page is loaded for the first time. When I navigate to see the next set of rows (for example, 16 to 30) then the javascript code does not work.

    Can someone explain why it behaves like this?

    This occurs because the function is called only once the page loads, and therefore affects only the lines that existed when the page is initially rendered. Page navigation performs a partial page of AJAX (PPR) refresh that completely replaces a set of lines of form (including their properties dynamically applied) with a new series with different properties. It is necessary to apply the function whenever a new set of lines is displayed. The best way to proceed is to call the function using an dynamic after Refresh with a dynamic range action:

    Event: After refresh

    Selection type: Region

    Region:

    Action: Run the JavaScript Code

    Scope of the event: Dynamics

    Fire on Page load: Yes

    Code:$('[name=f04]').change();

    Note that rows 13 & 18 in your function cause errors of execution. As I do not understand the purpose of these that I commented on them in order to demonstrate the dynamic action solution:

    function test2(pThis){  // orpheus4192
      var v_item_value = pThis.value;
      var v_hiredate_item = $(pThis).closest('tr').find('td[headers=HIREDATE] input[name=f05]');
      var v_hiredate_button = $(pThis).closest('tr').find('td[headers=HIREDATE] button');
      var currIndex = $('select[name="'+pThis.name+'"]').index(pThis);
      var currRow  = currIndex+1;
    
        //alert(pThis.name);
      if ( v_item_value == '20' ){
          v_hiredate_item.prop('readOnly',true);
          v_hiredate_button.prop('disabled',true);
    
          //document.getElementById("f08_"+[currRow]).disabled=true;
      }
      else{
          v_hiredate_item.prop('readOnly',false);
          v_hiredate_button.prop('disabled',false);
          //document.getElementById("f08_"+[currRow]).disabled=false;
      }
    }
    

    Things are not helped by the mixture of techniques here. The code would be easier to understand and maintain if a coherent approach was followed. It is recommended to always use jQuery to select and manipulate items, then select the items of dynamically across the table from the declarative mode headers attributes, rather than trying to understand the absolute values of ID from the control of the name and line numbers. It's much more intuitive, generally requires less code and is waterproof later insertions and changes in the order of the columns. Potential problems are only the changes to the control type or the column alias (because the latter is generally required in the selector), but these changes are likely to occur less frequently.

    Do not forget that to get the headers consistent and understandable static ID selectors must be applied manually to the IR columns in APEX 5.0...

  • Unable to put the bookmark bar on the page after your last update

    MONITORING INDICATES TO BOOKMARK BAR BUT IT WON'T SHOW WENT TO CUSTOMIZE BAR BOOKMARK CHECKED AND CLICK ON CUSTOMIZE AGAIN WHICH SHOULD PLACE IT UNDER THE SEARCH BAR BUT DOES NOTHING. THIS HAS HAPPENED AFTER YOUR LAST UPDATE.
    ANY IDEA?
    Thank you

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    If this does not work, maybe it's time to try refresh (called "Reset" in older versions of Firefox) which can resolve many issues by restoring Firefox as his default from factory and save your bookmarks, history, passwords, cookies, and other essential information.

    Note: When you use this feature, you will lose all the extensions, toolbar customizations, and certain preferences. See article Firefox Refresh - reset modules and parameters for more information.

    Refresh for Firefox:

    1. Open the troubleshooting information page using one of the following methods:

      • Click the menu button

        click Help

        and select troubleshooting information. Should open a new tab containing your troubleshooting information.

      • If you are unable to access the Help menu, type Subject: support in your address bar to bring up the troubleshooting information page.
    2. At the top right of the page, you should see a button that says 'Refresh Firefox' ('reset Firefox' in older versions of Firefox). Click on it.
    3. Firefox closes. Once the update process is complete, Firefox will display a window with the imported information.
    4. Click Finish and reopen Firefox.

    This corrects the problem? Please report to us!

    Thank you.

  • Whenever I have press and hold to my left click on the mouse button, it automatically highlights everything from this point to the top of the page

    Whenever I press and my left click without releasing, it atomically highlights everything from this point to the top of the page. Also, note if I'm now left click on the scroll bar, it goes back to the original location, even when I try to drag it upwards or downwards.

    Open internet Explorer and the problem does not occur there.

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables certain parameters, disables most Add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • In Firefox 29,0 and above, click on the menu button

      click Help

      then select restart with disabled modules.

    • In previous versions of Firefox, click on the Firefox button in the upper left of the Firefox window and click help (or click on help in the Menu bar, if you do not have a Firefox button) and click on restart with disabled modules.

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

  • Cursor in the wrong place in 29 FF, misses ringlets, empty bar at the top of the page.

    After upgrade to FF29, I have an empty bar at the top of the window. This comes and will skip the page from top to bottom.

    When present, it moves the page in any 5 to 10 pixels. This means that the cursor is positioned wrong. For small controls as options, your click missing.

    Windows 7, vertical screen.

    You can try to disable hardware acceleration in Firefox.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    You must close and restart Firefox after enabling/disabling this setting.

    In the Firefox Safe mode, these changes are effective:

    • all extensions are disabled (subject: addons)
    • Default theme is used (no persona)
    • userChrome.css and userContent.css are ignored (chrome folder)
    • default toolbars is used (localstore file - safe.rdf)
    • JIT JavaScript compilers are disabled (prefs: javascript.options. * jit)
    • hardware acceleration is turned off (Options > Advanced Options > general)
    • plugins are not affected
    • preferences are not affected
  • Get pop ups at the bottom of the page. How can I get rid of them?

    I started having these pop ups at the bottom of my screen. When the mouse passes over them, it is said, they are of betterbrowser.net/review #ata. I tried to reinstall firefox and run security scans and nothing gets rid of them. Also, when I click on the page I'm it opens a new window with an advertisement.

    Hello jmartin6240, you can have present malicious addons. Please, try the following steps:

    1. Reset firefox (this will keep your bookmarks and passwords)
    2. then go to firefox > addons > extensions and where there are still extensions listed there, disable them.
    3. Finally, run a full scan of your system with security tools like the free version of malwarebytes and adwcleaner to ensure that adware is not present in other parts of your system as well.

    Fix Firefox problems caused by malicious software

  • pop-up menu displays a small copy of the page

    pop-up menu displays a small copy of the page

    screenshot: https://drive.google.com/file/d/0B0WFSu8N2MiEVWZZajZxeDVUcXc/edit?usp=sharing

    Hello

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • Under Windows, you can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac, you can open Firefox 4.0 + in Safe Mode holding the key option key when starting Firefox.
    • Under Linux, you can open Firefox 4.0 + with leaving Firefox then go to your Terminal and running Safe Mode: firefox-safe-mode (you may need to specify the installation path of Firefox for example/usr/lib/firefox)
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you.

  • Whenever a page is inactive more than 10 seconds or more, the tab bar disappears and I have to type the page until I can scroll down.

    It seems that the browser backgrounds itself, once I type on the page of the tab bar becomes active (ie. it is no longer used in output) and I can use my space bar or press the key to continue scrolling to the bottom of the page again.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • Under Windows, you can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac, you can open Firefox 4.0 + in Safe Mode holding the key option key when starting Firefox.
    • Under Linux, you can open Firefox 4.0 + with leaving Firefox then go to your Terminal and running Safe Mode: firefox-safe-mode (you may need to specify the installation path of Firefox for example/usr/lib/firefox)
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you.

Maybe you are looking for