How to change a property of all the elements of the specific type?

Hello
This should be quite simple:
tableA (id, flag)

There are 2 pages:
Page 1: allows the user to select P1_ID based on the result set from TableA
Page 2: there are a lot of items on this page - text fields, areas of text, radio and checkboxes, reports, etc.. He values in these elements are based on the following logic:
Select < bunch of columns correspond to the page elements >
from View1, view2...
where < where clause >
and
some_column =: P1_ID

Question:
I need to not allow users to change the values in items of type text in page 2, if the value of P1_ID (TableA.id) has a flag value.

How this can be done?

The ideal solution would be if I have a routine that requires no coding hard element names.
Thank you
Andrew

Published by: andrey on January 31, 2009 12:51

Published by: andrey on January 31, 2009 12:52

Andrew:

The property that you set is the 'Read only' property for the page element. This is done from the page 'Edit Item'
The conditions in which this property is set to true can be determined dynamically (no hard coding). Take a look at the list of possible Types of Conidtion. "So if you want the condition to focus on the table you could choose the ' Exists (SQL query returns at least one row)" and the SQL query may be something like
"Select 1 from where id =: p1_id '.

CITY

Tags: Database

Similar Questions

  • We have 2 phones and 2 computers and they all sound when the phone rings. How to change that? they all use the same apple ID

    We have 2 phones and 2 computers and they all sound when the phone rings. How to change that? they all use the same apple - ID we buy apps and music coming from the same account. It all works very well, but we don t like any other device to RING eveytime a phone rings.

    Thank you so much: D

    ON both phones, check the settings > phone > call on other devices > Off.

  • How can I prevent investigations arise all the time?

    investigations

    How can I prevent investigations arise all the time

    Hi judylambeth,

    ·         Are what studies you referring?

    ·         What web browser do you use?

    ·         Did you do changes on the computer before the show?

    Response with more information to help you further.

    You can also view the article.

    Suggestions for a question on the help forums

  • How can I get rid of all the unnecessary since files on Firefox?

    How can I get rid of all the Junk I've met since going with Firefox?

    What useless files are you referring?

  • How to boost my computer without all the fuss?

    * Original title: Boost from Windows 7

    How to boost my computer without all the fuss?

    Please note that if you put a link to virus, I would report.

    Thanks in advance.

    See this:

    http://www.askvg.com/master-tutorial-to-make-your-Windows-7-Super-fast/

  • How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Hello

    How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Thank you

    Jay.

    Select the connection and right-click on it and select schema statistics collection

  • How to run a script for all the images in a folder?

    How to run a script for all the images in a folder?

    You can assign your script to an action, then use processor by batch or image with the option apply to all subfolders.

  • How to read a file of all the text in a pl/sql variable?

    Hi, I need to read an entire text file - which actually contains an e-mail message from a system of content management - in a variable in a pl/sql package, in order to insert the database information and then send the email. I want to read the whole of a sudden text file, no not one line at a time. Shoud I use Utl_File.Get_Raw or is there a more appropriate to do this?

    How to read a file of all the text in a pl/sql variable?

     ...
    your_clob_variable := dbms_xslprocessor.read2clob('YOUR_DIRECTORY','YOUR_FILE');
    ....
    
  • URG: How can I force APEX to use the specific schema: spaces of work APEX_040100 or entitled to another schema?

    Hi all

    Here's the scenario:

    1. My computer crashed. were to return to complete export (expdp 11.2.x to impdp 12 c). successfully done.
    2. Configured ADR blah blah... can access the admin of the apex.
    3. Problem is: administration interface does not SEE my workspaces apex Apex (only the workspace IN-HOUSE).
    4. After investigation it seems that APEX (after the upgrade) is somehow configured / run with: schema APEX_040200 and not

    APEX_040100 (as I have improved Apex in the old database versions).


    5. If I'm running the following:

    ALTER session set current_schema = APEX_040100;

    Select short_name, display_name

    of wwv_flow_companies

    where source_identifier is not null;


    I SEE all my beloved workspaces.

    6 my questions:

    a. How can I force APEX to use the specific schema: APEX_040100 instead of APEX_040200?

    b. or are there other alternatives to assign these workspaces in the current environment?


    Concerning

    Etay G

    Hello Brad,

    Thank you for your response. Appreciated.

    • Yet, as I had a little corrupted environment Apex after import (impdp), COMPREHENSIVE database this method of revocation (above) has failed several times to me.
    • Here's what I have (solves the problem):
    • Deleted APEX_040200 Apex 4.2 installation().
    • Text left in DB is the only APEX_040100
    • Then, the version 5.0.3 and it worked!

    More importantly, after the installation of APEX, all workspaces, users, etc. are automatically correctly resided in APEX.
    • I think that if you have only 1 version of apex corrupted in DB. It should work as well. Remove again, schema using the above script (check version) with caution (after backup, etc.).

    Kind regards

    Etay G

  • What are all the extensions &#62; types for windows media player files

    What are all the extensions > types for windows media player files?

    Open Windows Media Player and go... Tools / Options / File Types tab...

  • What do you use to track the specific type of mobile devices open your emails?

    Mobile email is on the rise. What do you use to track the specific type of mobile devices open your emails?

    We started to use the Sunflower (Email Analytics - sunflower) this month and have been very happy with it. They not only do report on e-mail clients, you will tell people how committed are with your email address (for example did they spend time reading it or just delete it right now?). They also allow you to track individually, which means you can identify iPhone or Android users and send them a targeted campaign.

  • 10 iOS does not well at all. Notes is much harder to change more before. The start screen is so clumsy. How can I get rid of all the widgets of the splash screen?

    10 iOS does not well at all. Notes is much more difficult to edit with touch screen as before. How can I erase my start of all the widgets screen? I might want to go back to iOS earlier.

    "How can I erase my start of all the widgets screen?" is the only question that you asked, so here's the answer:

    Some widgets may not be deleted, but you can move the widgets that you use most on the front screen and keep the ones you don't want a rear screen. Or, you can take the widgets you want and move them to a single folder.

  • How to change network name for all virtual machines within the same cluster

    We have recently changed name vswitch to take into account that something significant, in the past vCenter could change the labels of networh for all virtual machines... seems this time help labels are not changed (maybe its got something to do with the update vcenter for 2.5.U3)...

    in any case, someone at - it a powershell script that could find all the virtual machines that are referring to the old label network and then changing again the name... ?

    Enjoy the respponses...

    Thanks in advance

    A few things on this blog could help.

    If you know the names you want to use, you could also just use something like:

    Get-Cluster X | Get-VM | Get-NetworkAdapter | Where { $_.NetworkName -eq "OldNetwork" } | Set-NetworkAdapter -NetworkName "NewNetwork" -confirm:$false
    Get-Cluster X | Get-VM | Get-NetworkAdapter | Where { $_.NetworkName -eq "NewNetwork" } | Set-NetworkAdapter -Connected:$true -confirm:$false
    
  • How to change photo avatar lil at the top right of the hotmail profile?

    Hey there's good people!

    For some reason when I change my display picture in my profile for a change but the avatar of lil top-right corner is always the same it never becomes one that is in my profile. Please can someone give me a tip for my avatar on the upper right is the same as that of my profile. I know that you have to go click next to your avatar to change the photo and it would auto, it allows to work for me, now it doesn't. Please how can I change my avatar lil on the upper right photo, so it's the same as my profile picture.

    Thanks guys :)! Ill wait!

    Maybe you want to ask your question at the forum of Windows Live Hotmail. After all, it's Vista Forum.
    Here is the link:
    http://www.windowslivehelp.com/solutions.aspx?ProductID=1

    t-4-2

  • How to change display name content in the assignments Panel?

    It sounds like such a simple question, but I've been googling and searching forums 30 minutes now with no luck.  So I was wondering if it is even possible at all.

    How can we change the name of the content in the assignments Panel?  The names given here seem random and our publishers are complaining.  I saw in other proper names beautiful screenshots and tutorials for the stories, but I was not able to understand.  How to change the name of what I've highlighted in the screenshot below?

    Thank you and sorry for what seems like such a basic question but my creators don't know and me (technical support) are waiting to understand for them.

    3-18-2014 9-14-30 AM.png

    Kind regards

    -Aaron

    First check the content. Then simply click on the name of the story.

    Keep in mind that you only change the name in the Panel, not the name of the actual file BCTI.

Maybe you are looking for

  • ProBook 4430 s Boot problems

    Hello I have a HP ProBook s 4430 running Windows 7. A couple of weeks, I got a blue screen crashes and it seemed to corrupt a part of windows as windows (among other programs) Explorer wouldn't start automatically. I had to start explorer.exe from th

  • Satellite C650 - rejects USB devices

    Hello... I recently bought a Toshiba Satellite C650 T3300 / 2 GHz computer laptop that is running Windows 7. When I put a USB key on both the laptop USB ports it recognizes for a few seconds and then rejects it. It will not open content. I am wanting

  • Two problems with the recovery disk

    Hello It's my PC Toshiba laptop 3rd and for the first time I have this problem:I just struggle and it come with C:233 GB and D 233 GB * or some. I try to divide the disk HARD C, D and E, but when I try to use the recovery disk disk resize my HARD dri

  • com storage Apple.cloudphotosd

    com Apple.cloudphotosd contains a folder called DATA which MIRRORS my hard drive showing 7.83 GB of used space. What are these files and the folder of... How to free up space?

  • get the 8900 location

    Hello! I try to get edge location 8900 (os 4.6). What is the most appropriate time-out period to get the location? Please, share your experience in this field...