Conditional 'view only' LOV

Problem:

How can I set the LOV page "view only" item based on the value of another element of page?

Given:

have a static LOV.

the page contains 2 items:

P1_LOV and P1_Y.

P1_Y is always "1".

P1_LOV value depends on the value of session state. Session state is defined by the process of "before the header."

I want to load the page and assign the P1_LOV State "view only" If P1_Y = 1.

Please notify.

Post edited by: AZZ found a bug in my original code. Therefore, the original task has got simplified for what it is now.

Hi AZZ.

If I can just briefly stick my nose in your own, private and already answered thread (and just in case if you found another bug in your code).

I think more transparent method woud be to add a DA on P1_Y:

Event: change

Selection type: product (s)

Product (s): P1_Y

Condition: equals

Value: 1

Then add real action: disable LOV, fire the loading of the Page = Yes (if necessary add also a false action accordingly).

Kind regards

Pavel

Tags: Database

Similar Questions

  • Is this a bug? HTML is not escaped in the conditional read only LOV page elements

    Then test my application for injection HTML filling HTML for each column in my data injected datamodel HTML running when a field only LOV ready, I noticed



    I have dynamic LOV in use in my form, so their share, users can select. That sometimes I don't want to make them able to change a value, they chose earlier.

    For this reason I condtionalu readonly my LOV. by using the conditional read only an option for the items on the page.



    That's when a dynamic LOV made readonly HTML code inside is done instead of escaped



    is this a bug or is it intentional?

    At least, I think I should be able to choose the behavior.



    Geert

    Geert - Thanks for the info. I think that's not a bug. With the read-only option, it displays the data as it would for a display text (does not save the State) items for which source of HTML element, that is, unescaped. If you want the text escaped by using your dynamic lov query simply use htf.escape_sc:

    Select htf.escape_sc ('data') d, 1 r of the double

    Scott

  • How to question to "view only" on condition?

    Hello

    I have a page with serveral elements.
    When a checkbox is set, the majority of the elements on the page should be "view only" so that they cannot be changed by users.

    How is that possible?
    Is there a way to automatically set the item property when you set this checkbox - maybe even the 'conditional display?

    Thank you!

    BR
    Lena

    Have you checked the section 'Read only' after 'Conditions' in the properties of the element?

    In the section read-only give the condition type as "point to 1 = exp 2' exp value, give the name of the element in exp 1 and the value of the checkbox in exp2.".

    I hope this helps.

  • How to make a text field for view-only / editable based on a user of APEX

    Hello

    I have a form with fields of 10-20 to assume.
    When the user - Admin logs, I want to field1 as editable, but when another user... User1 connects, I want to do this Field1 as display only... how I can do.

    Thank you
    Deepak

    Deepak

    You can remove the "View only" condition on the field and add this piece of javascript in the "foot" of the definition of the page

    
    

    CITY

    Published by: city has 12 August 2009 15:41

  • Calendar view-only and users are unable to change the time.

    We use Windows Server 2003 R2 active directory and group policy.

    Group Policy, we blocked sytem time change but after this timetable can also test block user cannt read calander also

    pls sugget me to resolve this issure

    Calendar view-only and users are unable to change the time.

    Hi sunil77,

    Your question about changes in UAC using Group Policy on Windows Server 2003, it will be better answered by the experts in the Group Policy Forum. Please repost your question to the address provided.

  • How to stop the annoying alert? "Do you want to view only the webpage content that was delivered safely.

    original title: how to stop the annoying alert?

    How can I stop this issue when I try to open every single photo in my own Web site? : "Do you want to view only the webpage content that was delivered safely.

    Hi Ricardo Mattos,

    Please take a look at the solution provided in this similar thread:

    You want to show only the Web page content that shipped safely?

  • "Do you want to view only the webpage content that was delivered safely. "the Web page content that willl be sent using a secure HTTPS connection, which could jeopardize the securityof the entire Web page.

    Original title: SECURITY WARNING

    When I try to open a program I have getthis message:

    "Do you want to view only the webpage content that was delivered safely.

    "the Web page content that willl be sent using a secure HTTPS connection, which could jeopardize the securityof the entire Web page.

    Is this something that needs to be corrected?  If yes how.

    Hi billkabay,

    (1) program which you are referring?

    (2) is the problem confined to this specific programme?

    (3) since when are you facing this problem?

    This problem normally occurs when you open Web pages in internet explore. Please specify if this happens when you open a program or opening a Web page or link in internet explore.

    You can see the steps in the link below

    https://community.dynamics.com/product/crm/crmtechnical/b/crminogic/archive/2009/07/09/how-to-disable-the-34-do-you-want-to-view-only-the-webpages-content-that-was-delivered-securely-63-popup-for-custom-pages-added-to-crm.aspx

    Also see the steps by Vincenzo Di Russo (check the post Saturday, May 30, 2009 11:36) in the link below.

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/e7526a5f-F953-4235-90c3-004f9b973585

    Thanks and greetings

    Ajay K

    Microsoft Answers Support Engineer
    ***************************************************************************
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Security Warning: "you want to view only the webpage content that was delivered safely.

    The notice: "do you want to view only the webpage content that was delivered safely?" appears frequently at intervals irregular or not I consulted a particular address to webb.

    This Internet Explorer warning when you try to visit the encrypted Web site and some content is not encrypted. He calls mixed content, in the network public it could lead to a jacking session and Internet Explorer will ask you to protect yourself against these types of attacks.

    Take a look on:

    http://msdn.Microsoft.com/en-us/library/ee264315 (vs.85) .aspx

  • While surfing... dialogue security https sites apperas "do you want to view only the webpage content that was delivered safely?

    While surfing... Security https sites apperas to dialogue "do you want to view only the webpage content that was delivered safely. It irritates a lot. Since then, he's waiting for Yes/No. How to avoid it? Thanks and best regards yeshsoft

    Hello

    Add the e-mail to each site Page to IE - Tools - Internet Options - Security tab - Trusted Sites

    If necessary, you can then you can click on the tab Security - Sites trust - custom level and change
    parameters for sites that will be treated separately from the other Trusted Sites No. You
    can experiment if necessary as it is a default button reset it as well. Do not forget to
    APPLY / OK any changes.

    You can also get to security settings - then Trusted Sites quickly by double-clicking the blue
    Globe on the lower part of IE in the central section, where it is said - Internet | Protected mode
    on the status bar (you can double-click on any part of this article).
     
    I hope this helps. Rob - bicycle - Mark Twain said it is good.

  • A form of the APEX, the elements of the numbers go right margin.  If you change these elements to "view only", the margin moves to the left.  How can I set numbers to display with a right margin?

    A form of the APEX, the elements of the numbers go right margin.  If you change these elements to "view only", the margin moves to the left.  How can I set numbers to display with a right margin?

    You must use the attribute of the element of the element. Change the Horizontal/Vertical alignment to right.

    https://www.dropbox.com/s/gxn51e0steg482a/element.PNG

  • I just started to use a new version of Illustrator and the text I've created has a pink box behind, seems to be on the depth of the normal linespace, it is not visible in outline view, only in the preview. What is this and how do I get rid of him?

    I just started to use a new version of Illustrator and the text I've created has a pink box behind, seems to be on the depth of the normal linespace, it is not visible in outline view, only in the preview. What is this and how do I get rid of him?

    A pink box indicates that the font is not installed. This is a file that you have worked before, or is this a new file?

  • Creating a Web Viewer only question

    Then, I got to step 4 in these instructions.

    /helpx.Adobe.com/Digital-Publishing-Suite/help/creating-Web-Viewer-only-rendition.html

    Step 5 now says building that allows an application with social sharing and test rendering Web Viewer.

    What this means enter the DPS App BUilder and the same steps as the app for submission to Apple of construction?

    Will it all certificates etc. ?

    Someone there done of one of them and can give me more details?

    Dave

    Yes, it's exactly what you would do.

    Neil

  • How to view only by a final user in IOM reports

    Hello

    "How could I do just an end user to view only" report link "in the IOM web console? When I connecting with xelsysadm in IOM, then I can display all the links in the left panel. I would like to offer an end user to view reports, but not others.

    Pls suggest.

    Thank you!!

    Those are probably set to the "All Users" group. You will need to remove items from menu by default any user get and create new groups that provide what is necessary for these users. You cannot delete a user in the group all users.

    -Kevin

  • Create a view-only PDF

    I need to create a view-only PDFs that cannot be printed, copied, transmitted or recorded electronically.  I see the security settings for printing, but I'm still able to record and transmit the record.  Is there a way to do this?  I have Acrobat 7.0 Standard.  Thank you.

    You can do everything with security Acrobat except the file forward. Registration may be restricted, but is only the changes. When a PDF file is downloaded to see, it's a machine (usually in the TEMP folder). If you want to restrict the use, you are talking about an expensive solution with DRM LiveCycle process. Acrobat itself cannot restrict the availability of the PDF file. If this is of concern, then you can trust the user, not forward it or use DRM.

  • Seen the condition in APEX LOV

    Hi all

    I have a scenario like that.

    1. I have a select list with 2 values 'Source', 'target '. I'm this inserting data in the table will therefore not be able to change their values.

    2. I have a second list B. B must be populated, based on the list. If "Source" is selected in a list, then the list B SQL code should be select Field2 from table where field1 = 'Pre' if 'Target' is selected, then the SQL code of the B list should be Select field3 in table where field1 = 'Post'

    Please let me know how I can do this.

    Merger consultant wrote:

    Thanks for the information. In this way can be used in case if the SQL that is used to fill the B list is identical for the two criteria. But in my scenario, I have 2 different SQL must be executed according to the value that is available in LIST A

    If a value in the list = 'Source' select Field2 from table where field1 = 'Pre '.

    If a value in the list = 'Target' select field3 from table where field1 = 'Pre '.

    Let me know how I can do this?

    Basic SQL. Use a UNION are mutually exclusive in the item query B to select the required field under certain conditions according to the value of point A:

    select
        field2 l
      , field2 v
    from
        table
    where
        :item_a = 'Source'
    and field1 = 'Pre'
    union all
    select
        field3 l
      , field3 v
    from
        table
    where
        :item_a = 'Target'
    and field1 = 'Post'
    order by
        1
    

    Note that queries LOV must return two VARCHAR2 values. As you mentioned only one column in each case I guess the display values and back are the same. If this is not the case, adjust the query accordingly.

Maybe you are looking for