Disable the radio in a table button

Hi all

I develop application in Oracle Application Express 5.0.0.00.31.

In my page, I created a tabular form by using the query

SELECT

"ROWID",.

'EMP_ID,'

"EMP_NAME,"

"EMP_STATUS."

OF ' #OWNER # '. " EMPLOYEE. "

Here Emp_status is of type radio button with a static query as

STATIC: new; N, active; A inactive; I relived; R, have ended. T

My requirement is

1. that the status (Emp_status) in I, R, T must be updated capable (Enable) to update

2 disable the State N, has

How is tabular.

Thank you

Su.GI

Su.GI wrote:

By clicking on apply changes, it reveals an error in my application...

https://Apex.Oracle.com/pls/Apex/f?p=9067:1

error report:

ORA-20001: Error recovering the value of the column: ORA-01403: no data found

ORA-06510: PL/SQL: not supported by the user-defined exception

This is because all radio buttons are disabled in a few lines of the form. Use a dynamic action before submitting to re - activate the boxes option disabled before the page is sent.

Event: Before the Page is sent

Real Action

Action: Enable

Fire on Page load: Yes

Selection type: jQuery Selector

jQuery Selector : td [headers = 'Emp_status'] input [disabled]

A requirement more

I need to activate only Relived and Terminated radio button for recording that inactive status I.

For other files, all buttons are disabled.

Change the dynamic action after Refresh for:

Event: After refresh

Selection type: Region

Region:

Real Actions

Action: Disable

Fire on Page load: Yes

Selection type: jQuery Selector

jQuery Selector : td [headers = 'Emp_status'] [type = "radio"]

Action: Enable

Fire on Page load: Yes

Selection type: jQuery Selector

jQuery Selector : td [headers = 'Emp_status'] input [value = 'I'] [checked] ~ input [value = "O"], td [headers = 'Emp_status'] input [value = 'I'] [checked] ~ [value = "T"] entry

Tags: Database

Similar Questions

  • Is it possible to disable the radio button group?

    Hello.

    I want to know is - it possible to temporarily disable the radio button group? Because IM planning group temporarily disable the radio button in my project so that the timer to pause. Can someone help me?

    No you have to use the names of buttons, for example:

    Btn1. Enabled = btn2.enabled = btn3.enabled = false;

  • Disable the first/previous/next/last buttons when the user clicks on the button "create".

    Hello

    I have a requirement to disable the first/previous/next/last buttons when the user clicks on the button "create". The must be enabled after the user clicks on the submit, and then the button "validate".

    Is this possible please?

    Thank you.

    Hello

    Using BC4J in the model layer? If so, you might use an EL to the property of disabled button. Something like

    
    

    Replace in the binding attribute on your page (preferably the primary key of your form attribute).

    Arun-

    Edit: Check out this blog for more information on this EL: https://blogs.oracle.com/adf/entry/highlighting_new_rows_in_adf

  • Disable the single column of Table

    Hi all

    It's perhaps something very stupid to ask.

    Would have a Table control in which two first column will not be editable by the user and remaining user.

    How can I go about disabling the two columns of the table control?

    Thanks in advance.

    The attached code turns off the first two rows, but to change it to columns simply change the value to unbundle to column.

  • How to disable the adf with advanced search button

    Hello

    How to disable the advanced search button or Basic in adf af:query

    -sevanan

    User, please tell us your jdev version!

    To do this, you use the property modeChangeVisible of the af:query component.

    Timo

  • Disable the column in a table.

    Hello

    How can I disable column in a table.
    in collaboration with 4.1 and I Assistant founded in table form.

    If I entered the value in a column second column must disable and vice versa?



    How can I do this?



    Thanks and greetings
    CORINE

    CORINE wrote:
    Hello
    Could you help me to write the code. My column in a table are 13,14,15,16

    If I type in field 13 then 14 and 16th column should turn off and
    If I go should disable the value in field 14 and 13 and 15 column.

    How can I do this?

    Thank you & best regards
    CORINE

    I have not tested this code; but the following may be your approach:
    In the field 'Attributes of the element' of column 13, you can call a javascript function:

    onblur = "javascript:updateCols(this);"
    

    In your browser, right click on each of your columns (one at a time) and select "inspect element" to check the attributes of the HTML element. Assuming that column in the form of your table 13 is rendered in the HTML like f13, 14th column as f14, 15 columns as f15 and 16th as f16, write this JS function in the HTML page header:

    
    

    The JS function above is triggered when the user moves out of column 13. The function then checks the length of the value entered by the user in column 13. If the length is greater than 0, it disables the columns 14th and 15th. Otherwise, it allows them.

    The code above is for your first scenario:

    If I get home should disable the value in the field column 13 then 14 and 16

    You can do the same for the other scenario.

    Hope this is clear. Or otherwise, give me access to your workspace and I try the here above.

  • How to disable the radio button to the page

    Hi all
    We have a requirement to disable or hide a button on the standard page Noritifacation reassign in R12.
    The page is/oracle/apps/fnd/wf/worklist/webui/NotifReassignPG.
    When I went to 'Customize Page', I see a "messageComponentLayout", when I put the property "Rendering" to "false".
    He hides the complete available, but I want to just hide only a single radio button in this provision.
    Can someone please?

    Thank you
    Dilip

    Dilip salvation,

    When you click on the link of customization on the OPS page, you can click on full view to display all possible customizations
    This can be done.

    Expand the full view and see if you can find the option button that you want to hide.

    If you are not able to find it, then you can try using controller extension (extension of CO)

    Enter the bean of your controller class processRequest() radio button and hide.

    The extension of controller code-sharing:

    {
    OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean) webBean.findChildRecursive ("RadioBttn1"); RadioBttn1 is the ID of RadioButton
    testButton .setDisabled (true);

    }

    Kind regards
    Had

  • Disable the Radio button under condition does not work well

    Hi friends,

    I have three radio buttons

    < li > cottages
    < li > New rental
    < li > in the name of


    I'll show this option button conditional according to the user who connects to the application.

    Suppose that, assume that if a person 'A' concludes the application means that it will be shown only these radio button options---NH---,---OB---,---Self---

    Assume that, if a person 'B' concludes the application means that it will be shown only these radio button options - NH-, - free-

    If a person "C" concludes the application means that it will be shown that these radio button options - Self-


    I limited the boxes according to the users who enter the application using their roles.

    But my challenge here is once the user and if it someone at - it means radio button, select

    Example if he chooses - NH - means, then - OB - and - holiday - radio button must disable and if he chooses - OB - means then NH - and - to
    Disable (vice versa).

    I have also done the same with the DA.

    With the real action like: javascript Expression I gave the following encodings (I wrote the below DA for the three cases, if the request_class_code is equal to)
    (NH, O, S)
    var enabled=$v('P22_REQUEST_CLASS_CODE');
    if (!$u_SubString(enabled,'S')) $('#P22_REQUEST_CLASS_CODE_2').attr("disabled","disabled");
    if (!$u_SubString(enabled,'NH')) $('#P22_REQUEST_CLASS_CODE_0').attr("disabled","disabled");
    if (!$u_SubString(enabled,'OB')) $('#P22_REQUEST_CLASS_CODE_1').attr("disabled","disabled");
    The DA above works great only for the user who has the possibility to view the three radio buttons in my form (i.e)(NH,OB,S).

    For the user who has the ability to view two or one option button, it does not work properly (i.e.)(NH,S) or(OB,S) or (S).

    Why it does not work for the user with two options or with a radio button medium, the source of this property of radio button option is changing. Given that I took
    the source of my radio button in my DA only when the three options are present.

    How I can solve this problem for the user who is having this option two or radio.

    We hope to hear you clearly on the issue.


    Brgds,
    Mini

    Hello

    If I did not understand what you have that might work

    var lVal = $v('P22_REQUEST_CLASS_CODE');
    $('#P22_REQUEST_CLASS_CODE input:not([value="' + lVal + '"])').attr("disabled","disabled");
    

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home

  • How to disable the boxes created by table multiplesection.

    Hello

    I created a table and I added a multiple selection which creates checkboxes in default.i used the "SelectFlag" as a transitional attribute in the VO.
    Now, in the t, I have a column name 'Status' which has two values
    1 error
    2. success.
    I showed this column in the table after that the checkbox "select..."

    So, my requirement is that when the status is 'Success', then the boxes must be disabled...

    Can anyone suggest me the things I need to add in the Page or the controller Code to implement this?

    Please its Urgent...//

    If his classic table, you can use bean to switch to achieve this.
    See exercise to delete in the tutorials of Toolbox, he got the step by step procedure to do this.

    Prasanna-

  • How can I disable the way Windows 7 organizes buttons in the taskbar?

    Windows 7 is not organize programs according to the order that you run them, he orders them according to the type of programs, but I do like it. How can I have the same old way as Windows XP?

    For example, if I'm under 10 programs and I run Windows Media Player, the Windows Media Player button appears at the beginning the buttons on the taskbar which is what I don't want.

    Thanks for any help.

    On Friday, January 21, 2011 20:23:25 + 0000, Morteza Lotfi wrote:

    Windows 7 is not organize programs according to the order that you run them, he orders them according to the type of programs, but I do like it. How can I have the same old way as Windows XP?

    For example, if now I'm under 10 programs and I run Windows Media Player, Windows Media button player appears in the beginning
    the buttons on the taskbar, which is what I don't want.

    Two points:

    1. you can rearrange the buttons in the order you want by simply dragging
    the where you want.

    2. If you pin a shortcut to the taskbar, it will stay in this
    position (except if you drag it elsewhere). This is a very good
    thing to do, because it maintains the button in the same place all the time.
    If the program is already running. This is the reason why I
    prefer the way Windows 7 t - it instead of using a quick launch bar
    like previous versions of Windows.

    Ken Blake (MS-MVP)

  • EliteBook 8440p: how to disable the internal Bluetooth Radio and use USB Dongle

    I use a laptop HP Elitebook 8440p who has an internal Bluetooth radio, but it is not the latest version.  How can I disable the radio and use a USB Bluetooth Dongle?  In addition, any thoughts on how to increase the Bluetooth range of the Elitebook my Creative Sound Blaster E5?   The E5 is Bluetooth 4.0 and the radio in the Elitebook 2.1 + EDR.  A range extender would be beneficial?
    Thank you
    Dave

    @ABQDave

    Go into the BIOS under the System Configuration.

    Then integrated device Options.

    You can disable it.

    REO

  • How to link or to disable the button submit virtual keyboard in blackberry 10 webworks?

    Hi all

    I developed Blackberry 10 Web application using Ripple emulator and Blackberry Webworks SDK 1.0.4.11.In that I am faced with the question of the connection... While the virtual keyboard-click submit button... it will not validate the credentials and without validating it goes to the actual page... So, how to validate or disable the virual submit button 10. Please Blackberry keyboard me... Thanks in advance.

    Kind regards

    Marimuthu_P

    Hi Mc Donald,

    You are using a

    element in your application with a built-in element
  • Turn off the radio

    Anyone know how to disable the radio on the Defy? After listening to the radio, the only way I found to turn it off is to completely disable the phone and restart.

    Thank you

    First of all, I hope you guys talk app FM Radio which is available under "Music" app on the phone.

    To only stop FM Radio, you can do 2 things

    1. simply pull on the helmet. This will automatically stop FM Radio application. The headphones are essential for FM Radio because they act as anenna. Without headphones, FM Radio does not work.

    2. you can press the "Helmet" icon in the middle in black and white the '+' and '-' search buttons. Agree that this is not very intuitive. This will also stop the FM Radio app.

    Come back home and go to the app, I don't see the application initializes as it has been mentioned in this thread. Let us know if that works. Thank you.

  • BlackBerry Smartphones can visit the web page when the radio is off

    I installed NetworkAcc on my BlackBerry Storm 9530 with OS c. 5
    and now I can't use my web browser. I get the error message:
    "Cannot see the web page when the radio is off, please turn radio".
    on and try again. »

    I don't have any idea how to enable or disable the radio. What is the problem and
    How should I do?

    I'm not familiar with "NetworkAcc" but to turn on your wireless radio, you need to go to 'Manage connections' and check the Mobile network (and also wifi or bluetooth if you want to use wifi or bluetooth.)

  • Deactivation of the column in a table based on the setting in the search box

    Hi all

    I use Oracle Apex 4.1. I have two region

    1. search box

    2. in the form of a table

    In the search box, I have a LOV field where the user can select the value. Based on this LOV in the search box, tabular column f06 must disable or read-only.

    For example if I select THREE in LOV then only column f06 is expected on the other it must disable. How to get there.

    Thanks in advance

    Ravi

    Hi Bobo,

    Hope link below will solve your query.

    Disable the column in a table.

    BR,

    Patrick

Maybe you are looking for