ReadOnly True or False using PPR - only works vertiables, false Read only is not

I use PPR to set the attribute read-only a bean of messageTextInput in an advancedTable through the value of a checkbox (PaySite) on the same report of the VO.  This check box is selected PPR.  The VO has an EO attribute supported for the checkbox, as well as a transitional attribute named ReadOnlyPaySiteCBRNum.  The bean messageTextInput declaratively bound to the transient VO attribute with "${oa." XxmclApSuppliersVO1.ReadOnlyPaySiteCBRNum} "assigned to its read-only attribute.

In the VORowImpl method of setPaySite for the box does the following to set the transient attribute associated with the attribute read-only the messageTextInput bean.

public void setPaySite (String value) {}

setAttributeInternal (PAYSITE, value);

If (value.equals("Y")) {}

setPaySiteCbrNum("");

setReadOnlyPaySiteCBRNum (Boolean.TRUE);

}

else {}

setReadOnlyPaySiteCBRNum (Boolean.FALSE);

}

}

When the page is run it automatically displays the records.  Any document that does not have the enabled check box also indicates the field of messageTextInput updated as expected.   If I check the Site pay the VO setPaySite method is executed, and the messageTextInput field becomes read-only.  If I uncheck the box Site pay the setPaySite method is run again and the setReadOnlyPaySiteCBRNum (Boolean.FALSE) is called, but the messageTextInput field does not have to be updated as expected.  If I update the data after you apply this change, given that the value of the checkbox is now disabled, the messageTextInput field is updatable.  PPR is partially working in this case, and I don't know hwy it does not completely work.

Any ideas?  I'll be sure to mark any useful answer or appropriate as such.

Thank you

I found a work around.  I added the code in bold and italic , and it works.  BTW, I'm on R12.1.3.

public void setPaySite (String value) {}

setAttributeInternal (PAYSITE, value);

setReadOnlyPaySiteCBRNum (Boolean.FALSE);

If (getPaySiteCbrNum (.equals(""))) {}

setPaySiteCbrNum("");

}

If (value.equals("Y")) {}

setPaySiteCbrNum("");

setReadOnlyPaySiteCBRNum (Boolean.TRUE);

}

}

Tags: Oracle Applications

Similar Questions

  • Hard drives, created using powerCLI only appear not

    Hello

    I created a new virtual machine using the following and started code in the BIOS. There, I decided to boot from the CD and ISO related to the CD player is a windows PE ISO. In WinPE Startup, when I try and do a diskpart, run DISKPART on the command prompt and the running list player

    It says "there is no fixed disk to show.

    I'm doing something wrong here? Code below:

    1. function to toggle the startup in the BIOS screen

    filter set-VMBIOSSetup

    {

    (param

    $Disable,.

    $PassThru

    )

    If ($_-is http://VMware.VimAutomation.Types.VirtualMachine)

    {

    Trap {throw $_}

    $vmbo = new-Object VMware.Vim.VirtualMachineBootOptions

    $vmbo. EnterBIOSSetup = $true

    If ($Disable)

    {

    $vmbo. EnterBIOSSetup = $false

    }

    $vmcs = new-Object VMware.Vim.VirtualMachineConfigSpec

    $vmcs. BootOptions = $vmbo

    ($_ | Get - View). ReconfigVM ($vmcs)

    If ($PassThru)

    {

    Get - VM $_

    }

    }

    on the other

    {

    Write-Error "incorrect object type. Only virtual computer objects are allowed. »

    }

    }

    $index = 0

    1. Create virtual machines

    1.. $vmCount | %{

    $vm = New - VM - $desiredHost - name 'testVm' VMHost - Datastore $ds - MemoryMB 8000

    $vm | Game-VMBIOSSetup - PassThru

    0.1 | % {$vm |} {New-harddisk - Datastore $ds - CapacityKB (4 * 1 MB) - confirm: $false}

    $netName = ($vm |) Get - NetworkAdapter). NetworkName

    0.2 | % {$vm |} {New-NetworkAdapter - NetworkName $netName - confirm: $false}

    0.2 | %{

    $isoPath = "+ ' Installer /' + $myISOPath [$index ++]

    $vm | New-CDDrive-confirm: $false - IsoPath $isoPath - StartConnected: $true

    }

    Start-VM - $vm VM - confirm: $false

    $vm | Get-CDDrive. Game-CDDrive-connected: $true - confirm: $false

    $index = 0

    }

    Disconnect-VIServer-confirm: $false

    Yes, there was a similar thread about the controller type that was chosen.

    For details, see New-VM creates bad SCSI for WINXP (Buslogic instead of LSI Logic) controller .

    In this thread there is also a link to my script in set up oftype of SCSI controller.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Only windows 7 can set the image of the user that appears in the start menu you can not change it. True or false?

    Is true or false. Only windows 7 can set the image of the user that appears in the start menu you can not change it.

    Set to false.

    Type the user accounts in the start search box.

    Press ENTER.

    Select change your image.

    Browse the picture than what you want.

  • readOnly = "true" in af:selectManyChoice does not work

    How readOnly = 'true' in af:selectManyChoice is supposed to work?

    Here is my code:

    < af:panelGroupLayout id = "pgl2" >
    < af:selectManyChoice label = "Fruit" id = "smc1" readOnly = "true" >
    < af:selectItem label = 'Apple' value = 'Apple' id = "si1" / >
    < af:selectItem label = "Banana" value = "Banana" id = "si2" / >
    < af:selectItem label = "Orange" value = "Orange" id = "si3" / >
    < / af:selectManyChoice >
    < / af:panelGroupLayout >

    When I ran my page, everything is indicated in the page corresponds to the label "Fruits". The selectManyChoice component disappears.
    I'm waiting for the drop-down list always shows up and is clickable, but there is no check box for each item in the list.

    Help, please!

    Thank you.

    I'm waiting for the drop-down list always shows up and is clickable, but there is no check box for each item in the list.

    For this, reading disabled = true on the selectItem instead of setting the readOnly porperty.

    Sample:



    disabled = "true" / >
    disabled = "true" / >
    disabled = "true" / >

    Thank you
    Nini

  • How to right-align the inputText with readOnly = "true"?

    Hi all!

    I use jDev 12.1.2.0.0

    I have an af:inputText inside a panelFormLayout. I want the inputText propped right and so I added this tag:

    contentStyle = "" text-align: right; "." So far so good.

    When I do the inputText readOnly = "true" then the contentStyle is ignored and the text is left-aligned.

    If I use the "disabled" instead of readyOnly property, the issue is resolved, but I can't use actually "disabled" property because the field must be able to recalculate from changes in other areas.

    I read this right align text problems , but still I can not know what to do.

    Any help is welcome!

    Thank you very much

    ~ apostolos

    Hello

    Can you explain this?

    > If I use the "disabled" instead of readyOnly property, the issue is resolved, but I can't use actually "disabled" property because the field must be able to recalculate from changes in other areas.

    Re-calculation / ppr has nothing to do with real estate handicapped. The field will be get updated automatically (even when it's read-only / disabled), when the partialTriggers are added correctly.

    Arun-

  • Verizon iPhone 6 with are unlocked. True or false?

    true or false?

    So if I update the software of the ios 9.1 to 9.2 ios, which will affect to my unlocked phone?

    Another thing can only use the phone overseas with the international sim card?

    Thank you.

    The side GSM of 6 more Verizon iPhone is unlocked, update it will not affect the unlocked state. Yes, you can use it with international GSM providers.

  • Can I put a READ function in a structure of matter TRUE or FALSE?

    Hello

    I have a vi that operates as a controller for a mechanical system of engines.  There are several sensors of various types, make its contribution to the vi, including encoders, whose period is measured.  The attached vi is the period of encoder part of measure. It measures 15 periods and tells me that the average of the 15 with each iteration of the loop.

    In my application, the encoder measurement period is useless unless the vi knows ALL OTHER sensors in the hardware configuration to measure values in the desired interval.  For example, the sensors A, B and C must all measure between 5 and 10.  If they are all shows values between 5-10, then we want the value to encode it to read and display.  If only one of the sensors, say, is action 12, then, we don't want the value of period for READING or further processed.  So, it is easy to set up the sensors A, B, C, to give a TRUE or FALSE based on what they are handy or not, and if all 3 are TRUE, then, this value can easily be passed to the structure of case that holds my function of READING for the period.  What is a good way to do this?  The goal is to eliminate some unnecessary runtime that would consume the period READ function, as well as all the calculations that are performed on the period collected value.  The data period are of no use if one of the other sensors is not in the correct range.

    If one of the other sensors is out of reach, we want to skip reading encoder altogether.  So, it is easy to structure a Boolean in my vi as indicated in the attachment.  If I do it this way, it throws an error, or just skip READING until the BOOLEAN value is true once again?  Is there a better way to prevent PLAYBACK to occur if one of my other values of the sensor is not in the correct range?

    Thank you

    Dave

    Of course, you can put a reading within a box structure. For your application, simply check that your sensors are all at the beach (palette of comparisons), AND the T/F and use the result of this for the structure of your business. (If you already have the cheque to its scope, I can't see here because you have 5 subVIs that I can not open here.

    Cameron

  • How to do a step of success/failure using only expressions, not a LabVIEW VI?

    I hope that my title of question summarized it. I want to make a step in pass/fail by evaluating variable TestStand; right now I only know how to do this by doing a LabVIEW module.

    You can use a step type of pass/fail without an adapter for labview (none).

    Ensure that you update the Step.Result.PassFail Boolean to True to False and pass for fail with your custom expression.

  • More effective than a virus - KB930494 MS update ends with true Msg that Windows cannot now work correctly

    More effective than a virus - KB930494 MS update ends with true Msg that Windows cannot now work correctly

    I started to reinstall Windows XP, after he has screwed up and I discovered that all the system snapshot
    I created backups worthless - MS removes automatically after 90 days...

    But when reinstalling Windows XP Pro MCE 2005 I managed to beat or dodge the many problems - like all the
    famous error when update .NET Framework 1.1 Service Pack 1 and many others
    Suddenly I met an error generated by Microsoft of NONRECOVERABLE type!

    While trying to install Windows, I agreed that Windows was full of bugs and security flaws and
    need a large number of fixpacks installed via Windows Update.
    Such a group of patches is called KB930494 and the full name is:

    .NET framework 1.0 Service Pack 3 SYSTEM. WEB. DLL and MSCOREE. DLL Security Update for Windows XP Media Center Edition and Windows XP Tablet PC Edition

    Windows Update gave a brief error msg that this update has failed and I have tried to run this update
    manually when it produces the following error message: (note he's telling the truth when it)
    claims that "Windows may not work correctly")

    ---
    KB930494 Setup error

    Error while updating your system.
    Windows XP has been partially updated and may not work properly.

    Ok
    ---

    So, this update of Microsoft killed my system - it sure that _ 'does not properly"more.
    Lots of things off, lots of BSOD...

    Og - of course I should have used the system restore and created a backup that I should come back...!
    I did well - but this bomb of viral type of Microsoft made sure it was not possible to create
    a valid system by restoring such a backup. Probably because half the file system matches the other.

    The worst part is - even if I try to reinstall Windows again, avoiding this Virus created by MS, how can I be sure that
    This will be the only disguised bomb nothing extraordinary provided by Windows Update as necessary security patches?

    So guys, what is the best utility backup/restore partition there?

    Rgds. E. Ben

    Use Partiton Lofic is a down load for free on the partition, you can also use Easeus Disk Copy. It is a free program with a friendly interface.

  • Game help String true or false

    Hi all

    I'm relatively new to LabVIEW. I'm using LabVIEW 2013 and I do a communication with ABB robot. I receive the channels of the control of robot in BT via sockets. What I'm trying to do, is if the string 'FALSE', said LV transforms an operator Boolean false, and if the network says 'TRUE', LV passes the Boolean to True. I use the ' True/False Match-String ' function to do this. For some reason, I have problems to do this correctly configured function. This is how I currently:

    Y at - it something I'm doing wrong by linking all the nodes in the same string?

    Thanks for any help!

    SM

    To like to use the 'Game Plan' what comparison of received channels of instruments. In this way is there are spaces before or after (as a stream of return/line), it will always match the REAL deal.

  • Help, I'm controlling a flashing, sending him a value true or false within a box structure.

    Help, I'm controlling a flashing, sending him a value true or false within a box structure. The LED changed to resemble a specific indicator, so I can't just create a property node for LED and the value that flashes (unless someone can tell me how). I can see a number of ways to put my blinker indicator changed positions, but they all use while loops. What I am struggling with is controlling the while loop using a Boolean true or false.

    What I try to achieve is to create a virtual car dashboard and control using serial data. I built a VI as follows 3 bytes from the serial port and the data that I send to the VI will be in the form of a letter followed by 2 numbers. I uses the letter to settle the case structure then change numbers to different cases selected by the letter.

    I compare then 2 numbers and according to the ASCII values, I'm a true or false for the comparison.

    So once I set the indicator flashes, I need that it continues to Flash until he gets another command to stop.


  • How to use copy ONLY on black cartridge

    Hello!
    I have a HP Officejet 7410 all-in-one printer.

    I use a 344 color cartridge and a Black cartridge 339.

    While the color cartridge is empty, I am interested using the COPY function using ink ONLY the black cartridge.

    Even with the color cartridge, I'd still be interested in the same question:
    IS IT POSSIBLE to SELECT THE COPY FUNCTION to WORK ON BLACK INK (cartridge 399), AND IF SO - HOW?

    There is the 'Black' copy button on the front and the same option in the "HP Solution Center" software, but I think it prints black as a combination of the Tricolor cartridge inks, since when the empty color cartridge it does not print anything.

    Thank you.

    Hi Jet7410ALLinONE,

    The copy function uses a mixture of black cartridges and color when printing in black.   Please let me know the result of the new cartridges.

    Thank you.

  • True and false - combinations

    Hello

    I have three Boolean values in my code, and another part of the combination of their values (true or false) control code. Since there are three Boolean types, and they can be true or false, I have 8 possible combinations (2 ^ 3). What should I do, given that the three Boolean values, have a digital indicator that shows what combination I have? The digital indicator range is from 1 to 8.

    Thanks in advance

    Daniel

    Create a table, and then use the table of Boolean to the number.

  • Can I use my network wireless at home I don't have a problem, but when I use it at work I get the message window explorer cannot display the webpage

    Please help I can use my network wireless at home I don't have a problem, but when I use it at work I get the message window explorer cannot display the webpage and the worl tour plan has a red cross on it can you help me solve this problem

    Hi susanearle,

    You can try the steps in your previous thread about this problem?

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-networking/have-wireless-connection-can-only-connect-from/12a7163c-A54D-4894-81F7-bd4fb92b2da4

    Please let us know, thanks!

  • TouchEvent only will not work properly with two mobile fingers

    Hello

    I'm not quite sure what the problem. My code running, sometimes, this mobile finger 1 causes actions that could only be triggered by moving the finger 2. When mobile fingers 2, then, further actions are triggered, which could be invoked by the 2 finger, so it seems to be a bit strange. It's also a little messy to debug. Anyone ideas? Is this a case for the Issue Tracker?

    
        private int lastX1;
        private int lastY1;
        private int lastX2;
        private int lastY2;
        private int lastAngle;
        private boolean fingerOne = false;
        private boolean fingerTwo = false;
    
        boolean touchEvent(TouchEvent message) {
    
            switch(message.getEvent()) {
    
            case TouchEvent.DOWN:
                if(message.getX(1) > -1) {
                    lastX1 = message.getX(1);
                    lastY1 = message.getY(1);
                    fingerOne = true;
                }
                if(message.getX(2) > -1) {
                    lastX2 = message.getX(2);
                    lastY2 = message.getY(2);
                    lastAngle = Fixed32.atand2(lastX1 - lastX2, lastY1 - lastY2);
                    fingerTwo = true;
                }
                return false;
    
            case TouchEvent.MOVE:
                if(message.getX(1) > -1 &&
                        (lastX1 != message.getX(1) || lastY1 != message.getY(1))) {
                    //do some action here
                    lastX1 = message.getX(1);
                    lastY1 = message.getY(1);
                    if(fingerTwo) {
                        lastAngle = Fixed32.atand2(lastX1 - lastX2, lastY1 - lastY2);
                    }
                }
                if(message.getX(2) > -1 &&
                        (lastX2 != message.getX(2) || lastY2 != message.getY(2))) {
                    lastX2 = message.getX(2);
                    lastY2 = message.getY(2);
                    final int lastAngle = this.lastAngle;
                    this.lastAngle = Fixed32.atand2(lastX1 - lastX2, lastY1 - lastY2);
                    final int rotation = Fixed32.toRoundedInt(this.lastAngle - lastAngle);
                    //do other action with rotation here
                }
                return false;
    
            case TouchEvent.UP:
                if(message.getX(1) > -1)fingerOne = false;
                if(message.getX(2) > -1)fingerTwo = false;
            }
    
            return false;
        }
    

    I'm not sure what the problem is that you meet, but there is a problem with the TouchEvent return incorrect values if the two points of contact Cross (IE if you touch the left and right of the screen and then move your fingers together, once they cross the X 1 value will now follow the finger instead of finger 1 2).

Maybe you are looking for