Disable certain value in the Radio button group

Hello

Is it possible to have a group of radio buttons but have certain values with disabilities while they are displayed but cannot be selected while other values in the Group of radio buttons are selectable.

I know that I could have two groups of radio next to each one showing the selectable values and another next to it showing disabled values but I'd rather have a radio group so that the values are in order.

We currently use apex 4.2.5.00.08

Thanks in advance

where to enjoy a group of radio buttons with three values

Yes, no, both

so it's the two of us, without deactivation function

-on your condition

real action in dynamic action

run javascript

$("#P2_CHOOSE_STATUS_"+0).attr ("disabled", true);

$("#P2_CHOOSE_STATUS_"+1).attr ("disabled", true);

P2_CHOOSE_STATUS IS THE NAME OF THE ELEMENT

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;

  • Change the value of the radio button using Java Script

    Hi I have a radio button "Process_mode" with two 'ONLINE' and 'Offline' values.
    based on the selection criteria, I will call the process_mode() function and if the user presses the ok button I want to change the proces_mode offline.
    Here's my java script.
    but it does not change the value of the variable.
    Please suggest how to proceed.

    function process_mode()
    {
    confirm_msg = confirm ("your search criteria is complex.") It is proposed to submit the application in offline mode. do you want offline? ») ;
    If (confirm_msg is true)
    {
    $x('p2_process_mode').value = "out of the CONNECTION";
    $x('P2_HIDDEN_PROCESS_MODE').value = "offline";
    }
    }
    doSubmit ('BTN_FINAL_COUNT');
    Alert ("your application has been submitted. Please wait until the system processes your request.') ;

    Thanks and greetings

    Ashok Salimath

    Published by: user644340 on July 19, 2009 23:11

    Hey Ashok,

    A Radio element generates actually individual boxes within a radiogroup (this is done by giving the same "name" attribute to each key). Each button has its own attribute 'ID', which will be the name of the option page more "_n" - where n is a number from 0 (zero) - so the first button will be, say, "P1_RADIO_0", then the second will be "P1_RADIO_1" and so on.

    To set the value of the radiogroup and, therefore, article, you need to 'check' one of the buttons - this is done by setting its 'checked' true value. For example, if "Offline" is the second radio button to the P2_PROCESS_MODE element:

    $x('P2_PROCESS_MODE_1').checked = true;
    

    Andy

  • How to get the display of the radio button value

    Hi I have a situation where I need to display the value of the radio button, for example I store A value in db, but I view Active in my radio button how do I do

    my radio button is

    < af:selectOneRadio id = "sor3" layout = "horizontal".

    value = "#{pageFlowScope.InternalBean.Status} '"

    autoSubmit = 'true '.

    valueChangeListener = "#{RadiobuttonPopupBean.activationChangedListener}" >

    < af:selectItem label = 'Active' value = 'A' id = "si10" / >

    < af:selectItem label = 'Inactive' value = 'I' id = "si9" / >

    < / af:selectOneRadio >

    I have what it takes to display the value in the outputtext

    < af:outputText value = "reason: #{bindings." Reason.inputValue}"id ="ot9 ".

    partialTriggers = "d1" inlineStyle = "height: 100px;" / >

    am in jdeveloper 11.1.1.6.0

    I've updated the ticket to show how to do this. You can find the blog at http://wp.me/pcBZk-ye

    Please download the workspace updated using the link to the blog post.

    Timo

  • code to select the radio button according to requirement

    I need a code that selects a certain radio button according to requirement...
    also how disable the option button using codes...

    Hello

    To select a particular option button, assign the value of this radio button in the Radio button group.

    And to disable a particular option button, write,

    SET_RADIO_BUTTON_PROPERTY('', '', ENABLED, PROPERTY_FALSE);
    

    Kind regards

    Manu.

    If my answer or the answer to another person has been useful or appropriate, please mark accordingly

  • APEX_ITEM - Radio button group does not work

    Hi all

    I have a classic report in my application

    Report query:

    SELECT APEX_ITEM.DISPLAY_AND_SAVE(8,B.PRIMARY_DLR_NUM||'-'||B.PRIMARY_DLR_NAME)||
    APEX_ITEM.HIDDEN(9,A.ARM_EMPLID)||
    APEX_ITEM.HIDDEN(10,A.AE_EMPLID)||APEX_ITEM.HIDDEN(11,B.PRIMARY_DLR_NUM)||
    APEX_ITEM.HIDDEN(13,B.PRIMARY_DLR_NAME)||
    APEX_ITEM.HIDDEN(12,B.DLR_TYPE_CD) "Dealer",
    C.DLR_STATUS "DLR_OPT_IN",
    C.ARM_STATUS "ARM_OPT_IN",
    C.AE_STATUS "AE_OPT_IN",
    C.ALT_ARM_MAIL_ID "ARM_EMAIL_ALT",
    C.ALT_AE_MAIL_ID "AE_EMAIL_ALT",
    C.ARM_STATUS "STATUS",
    C.APPROVED_DATE "APPVR_DATE" 
    FROM EMPLOYEE_DEALER_RELATION A, DEALER B , EV_DR_ARM_AE_OVERRIDE C
    WHERE  ((A.ARM_EMPLID= :P1_ARM
    AND A.AE_EMPLID = :P1_AE ) OR (B.DLR_TYPE_CD = :P1_DEALER_TYPE_CODE))
    AND A.PRIMARY_DLR_NUM = B.PRIMARY_DLR_NUM
    AND A.PRIMARY_DLR_NUM = C.DEALER_ID 
    AND A.ARM_EMPLID = C.ARM_ID 
    AND A.AE_EMPLID = C.AE_ID 
    

    C.DLR_STATUS "DLR_OPT_IN"

    C.ARM_STATUS "ARM_OPT_IN"

    C.AE_STATUS "AE_OPT_IN"

    These three columns are displayed in the Radio button group.

    I have a process in the page that will insert a new record and update the existing record.

    In the report, the user can change any column and press the submit call said above.

    The process code:

    DECLARE
    V_EXISTS NUMBER:=0;
    V_ERRMSG VARCHAR2(4000);
    V_ERRCODE VARCHAR2(100);
    BEGIN
    FOR I in 1..APEX_APPLICATION.G_F01.COUNT 
    LOOP
     BEGIN
          BEGIN
          SELECT 1 INTO V_EXISTS FROM EV_DR_ARM_AE_OVERRIDE
          WHERE ARM_ID = APEX_APPLICATION.G_F09(I)
           AND  AE_ID  = APEX_APPLICATION.G_F10(I)
           AND  DEALER_ID = APEX_APPLICATION.G_F11(I);
          EXCEPTION WHEN OTHERS THEN
          V_EXISTS:=0;
          END;
    
    
    IF V_EXISTS = 0 THEN
          INSERT INTO EV_DR_ARM_AE_OVERRIDE(ARM_ID,AE_ID,DEALER_ID,DEALER_NAME,DLR_STATUS,ARM_STATUS,
          AE_STATUS,ALT_ARM_MAIL_ID,ALT_AE_MAIL_ID,UPDATED_BY,UPDATED_DATE,APPROVAL_STATUS,APPROVED_BY,
          APPROVED_DATE,DEALER_TYPE_CODE) VALUES(apex_application.G_f09(I),apex_application.G_f10(I),apex_application.G_f11(I),
          apex_application.G_f13(I),
          APEX_APPLICATION.G_F01(I),APEX_APPLICATION.G_F02(I),APEX_APPLICATION.G_F03(I),      APEX_APPLICATION.G_F04(I),APEX_APPLICATION.G_F05(I),:APP_USER,SYSDATE,APEX_APPLICATION.G_F06(I),
          :APP_USER,APEX_APPLICATION.G_F07(I),apex_application.G_f12(I));
          COMMIT;
    ELSE
         UPDATE EV_DR_ARM_AE_OVERRIDE
         SET DLR_STATUS = APEX_APPLICATION.G_F02(I),
             ARM_STATUS = APEX_APPLICATION.G_F03(I),
             AE_STATUS  = APEX_APPLICATION.G_F03(I),
             ALT_ARM_MAIL_ID = APEX_APPLICATION.G_F04(I),
             ALT_AE_MAIL_ID =  APEX_APPLICATION.G_F05(I),
             UPDATED_BY     = :APP_USER,
             UPDATED_DATE   = SYSDATE,
             APPROVAL_STATUS = APEX_APPLICATION.G_F06(I),
             APPROVED_BY   = :APP_USER
          WHERE ARM_ID = APEX_APPLICATION.G_F09(I)
           AND  AE_ID  = APEX_APPLICATION.G_F10(I)
           AND  DEALER_ID = APEX_APPLICATION.G_F11(I);
      COMMIT;
    END IF;
    EXCEPTION WHEN OTHERS THEN
    V_ERRMSG:=SQLERRM;
    V_ERRCODE:=SQLCODE;
    INSERT INTO EVANTAGE_ERROR_LOG VALUES(APEX_APPLICATION.G_F09(I)||'-'||APEX_APPLICATION.G_F10(I)
    ||'-'||APEX_APPLICATION.G_F11(I),V_ERRMSG,V_ERRCODE,:APP_USER,SYSDATE);
    COMMIT;
    END;
    END LOOP;
    EXCEPTION WHEN OTHERS THEN
    V_ERRMSG:=SQLERRM;
    V_ERRCODE:=SQLCODE;
    INSERT INTO EVANTAGE_ERROR_LOG VALUES(NULL,V_ERRMSG,V_ERRCODE,:APP_USER,SYSDATE);
    COMMIT;
    END;
    

    Now my problem is when I select radio group value and press on submit I get my process performing perfectly 404 page not found, its not even call my process, without radio button (if am not choose any NULL - value).

    Could you get it someone please let me know how I can solve or what I missed here?

    Thanks in advance.

    See you soon,.

    San.

    Groups of radio in the reports are evil - this is inherent in the HTML format, like checkboxes in tabular form.

    Vincent Deelen: Using radio buttons in a report of the APEX

    My suggestion is to try a different design of the user interface, or generate buttons to replicate radio groups.

  • Label for the radio button question

    Hello

    I use a group of radio buttons in my Vbox container and generating radio buttons for this group at run time according to certain conditions.

    I am able to get the list of all radio buttons in execution, but the problem here is that I put the label property for each of the option button in the radio button group, but I can't see the label on my user interface with the exception of the small circle of option button. I tried I tried different ways of setting the labelPlacement and modification of the container for these components button radio etc etc, but in vein.

    If someone met a similar situation or know something about this issue, please let me know.

    See you soon,.

    G1

    What happens if you call the method addChild as follows: -.

    callLater(listWrappers.addChild,[newRadioButton])
    

    I think that maybe the components are added until they are ready...

  • Radio button groups

    I created components in loops several times today, but the method does not work with the Radio button groups.

    Even if at each iteration, I create a new group, subsequently all buttons are in a single group as you can see:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' xmlns = "" * "creationComplete ="initApp()">"
    < mx:Script >
    <! [CDATA]
    Import mx.containers.HBox;
    Import mx.controls.RadioButton;
    Import mx.controls.RadioButtonGroup;

    public function initApp (): void {}
    var hb:HBox;
    var rbg:RadioButtonGroup;
    var rb: RadioButton;
    var j: uint;
    var label: String;
    var rbarray:Array;

    for (var i: uint = 0; i < 4; i ++) {}
    HB = new HBox();
    page.addChild (hb);
    RBG = new RadioButtonGroup();
    for (j = 0; j < 2; j ++) {}
    RB = new RadioButton();
    rb.groupName = "rbg".
    {if (Boolean (j))}
    label = "No";
    } else {}
    label = "Yes";
    }
    RB.label = label;
    rb.labelPlacement = 'left ';
    RB. Value = label;
    rbarray.push (RB);
    hb.addChild (rb);
    }
    RB = new RadioButton();
    rb.groupName = "rbg".
    RB.label = "no preference";
    rb.labelPlacement = 'left ';
    RB. Selected = true;
    hb.addChild (rb);
    }
    }
    []] >
    < / mx:Script >

    < mx:Panel id = "page" width = "300" height = "150" / >

    < / mx:Application >

    Also, I like to keep the Radio button instance names in a table as I did before, but if you uncomment the line commented on this occasion you get an error.

    Is it possible to build Radio button groups using a method of the loop?

    And why can't I store the names of the buttons?

    Doug

    RadioButton.groupName setting only works if you give it the name of a group that is a child of the MXML document covering (ie. which means usually it is declared in the MXML). If you create the group dynamically, you need to assign the group directly. for example:

    RB. Group = RGB;

    And you get an error with the table because you don't instantiate rbarray (it is always set to null).

  • How to make the Radio buttons switch automatically?

    Hello

    I have this code, all I want to do is make each JRadioButton be verified every time that the expiry of the timer.
    can you please take a look at my actionPerformed and tell me what I'm missing?

    Thank you.
    package kash;
    
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.border.BevelBorder;
    import javax.swing.border.Border;
    import javax.swing.border.TitledBorder;
    import org.jvnet.substance.skin.SubstanceRavenLookAndFeel;
    
    public class ModulesInnerPanel extends JPanel implements ActionListener {
        
      protected ButtonGroup appChoserGroup;
      protected JRadioButton payRollRB;
      protected JRadioButton scRb;
      protected JRadioButton cashNbanksRb;
      protected JRadioButton outSourcingRB;
      private JButton enterButton;
      private Timer t;
      
      
        public ModulesInnerPanel() 
       {
         setLayout(null);
         setBackground(Color.RED);
         setOpaque(true);
         //BORDER
         Border bevel = BorderFactory.createBevelBorder(BevelBorder.RAISED);
         Border b = BorderFactory.createTitledBorder
                 (bevel, 
                  "User's Modules",
                 TitledBorder.DEFAULT_JUSTIFICATION,
                 TitledBorder.DEFAULT_POSITION,
                 new Font("Helvetica", Font.BOLD,  16),
                 Color.white);
         setBorder(b);
         //END BORDER
         
         //RADIO BUTTONS
         appChoserGroup = new ButtonGroup();
         
         payRollRB = new JRadioButton();
         payRollRB.setText("Payroll");
         payRollRB.setBackground(Color.DARK_GRAY);
         payRollRB.setForeground(Color.white);
         payRollRB.setSelected(true);
    
         scRb = new JRadioButton();
         scRb.setText("Stock control");
         scRb.setBackground(Color.DARK_GRAY);
         scRb.setForeground(Color.white);
    
         cashNbanksRb = new JRadioButton();
         cashNbanksRb.setText("Cash and Banks");
         cashNbanksRb.setBackground(Color.DARK_GRAY);
         cashNbanksRb.setForeground(Color.white);
    
         outSourcingRB = new JRadioButton();
         outSourcingRB.setText("Outsourcing");
         outSourcingRB.setBackground(Color.DARK_GRAY);
         outSourcingRB.setForeground(Color.white);
    
         enterButton = new JButton("Enter");
         enterButton.addActionListener(new ActionListener()
         {
             public void actionPerformed(ActionEvent e)
             {
                if (payRollRB.isSelected())
                {
                  JOptionPane.showMessageDialog(null,"Application under construction", "Info", JOptionPane.INFORMATION_MESSAGE);
                }
                else if (scRb.isSelected())
         JOptionPane.showMessageDialog(null,"Application under construction", "Info", JOptionPane.INFORMATION_MESSAGE);
                else if (cashNbanksRb.isSelected())
         JOptionPane.showMessageDialog(null,"Not available", "Info", JOptionPane.INFORMATION_MESSAGE);
             }
         });
    
         //adding Radio Buttons to the Radio Button group
         appChoserGroup.add(payRollRB);
         appChoserGroup.add(cashNbanksRb);
         appChoserGroup.add(scRb);
         appChoserGroup.add(outSourcingRB);
         //END RADIO BUTTONS
         
         //SETTING LAYOUT
         Dimension d1 = new Dimension();
         d1 = payRollRB.getPreferredSize();
         
          Dimension d2 = new Dimension();
          d2 = scRb.getPreferredSize();
          
          Dimension d3 = new Dimension();
          d3 = cashNbanksRb.getPreferredSize();
          
          Dimension d4 = new Dimension();
          d4 = outSourcingRB.getPreferredSize();
          
          Dimension d5 = new Dimension();
          d5 = enterButton.getPreferredSize();
          
         payRollRB.setBounds(20, 20, d1.width, d1.height);
         scRb.setBounds(20, 40, d2.width, d2.height);
         cashNbanksRb.setBounds(20 , 60, d3.width, d3.height);
         outSourcingRB.setBounds(20, 80, d4.width, d4.height);
         enterButton.setBounds(20, 150, d5.width, d5.height);
         //END SETTING LAYOUT
         
            //ADDING ITEMS TO THE PANEL
            add(payRollRB);
            add(scRb);
            add(cashNbanksRb);
            add(outSourcingRB);
            add(enterButton);
            
            t = new Timer(500,this);
            t.start();
       }
        
        public void actionPerformed(ActionEvent event)
        {
               
              if (payRollRB.isSelected())
              {
                
                scRb.setSelected(true);
              }
              
            if (scRb.isSelected())
            {
              cashNbanksRb.setSelected(true);
            }
              
            if (cashNbanksRb.isSelected())
            {
              outSourcingRB.setSelected(true);
            }
            
            if (outSourcingRB.isSelected())
            {
              payRollRB.setSelected(true);
             
            }
        } 
    }

    I want the option buttons to change the selection one after the other (...)

    Ok. So, use the block if/then/else, as suggested in my previous answer (I added that, in your NBS and it worked).

    When the user presses enter switching must stop and it should have control over the Group of radio buttons.

    Then, you should stop the timer in this button actionPerformed.

    Kind regards

    J.

  • How can I count the number of filled Radio button groups?

    Hello

    I am working on a form that some calculations. The form contains ten groups of option buttons. Part of the necessary calculations is to multiply the number of times 10 filled radio button groups. I need the form to add groups of how the user is finished. So if the user has ticked a box in 7 groups, but not in the other 3, then the value could be set to 7, then later multiplied by ten. I have no problem with the multiply by ten party. I need help to find a way to get the total number of groups done button.

    I think I could get by if I could test if a field group includes a box ticked or not. I could work with this base script:

    var v1 = + getField("Section_1").value;

    If (v1 < 0) {}

    Event.Value = "rubbish";

    } else {}

    Event.Value = v1;

    }

    But it does not work. Does anyone know how to test if a button group has a value? Or how to test if it is "NaN"? Or if not how to calculate the total number of groups button? Any help would be greatly appreciated. I did some research for it on other forums but have not yet found a thread for this topic. Apologies if I forgot the advice in this topic.

    The following code works. I don't know if it's the easiest or most efficient way, but it does the trick:

    var T1 = 0;

    var v1 = + getField("Section_1").value;

    var v2 = + getField("Section_2").value;

    var v3 = + getField("Section_3").value;

    var v4 = + getField("Section_4").value;

    V5 var = + getField("Section_5").value;

    var V6 = + getField("Section_6").value;

    v7 var = + getField("Section_7").value;

    var V8 = + getField("Section_8").value;

    var = v9 + getField("Section_9").value;

    V10 var = + getField("Section_10").value;

    If (v1 > = 0 & v1)<= 5="" )="">

    T1 = t1 = 1;

    }

    If (v2 > = 0 & v2)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v3 > = 0 & v3)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v4 > = 0 & v4)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v5 > = 0 & v5)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v6 > = 0 & v6)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v7 > = 0 & v7)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v8 > = 0 & v8)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v9 > = 0 & v9)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v10 > = 0 & v10)<= 5="" )="">

    T1 = t1 + 1;

    }

    Event.Value = t1;

  • To access the Radio button values

    I have such a problem to the value of the option button selected in a group. Help!

    I put 5 radio buttons on the stage and gave them all the 'Question1' groupName in the components Inspector. They each have their own names for the instance and value which is also defined in the components Inspector.

    When I go to access the Group (via test movie) and check the value that is selected, I get this error:

    "Access of undefined property Question1.

    Here is the code I use:

    var Radio1:String = new String();
    Radio1 = Question1.selection.value;

    SubmitBtn.addEventListener (MouseEvent.CLICK, clickHandler);

    function clickHandler(eventObj:MouseEvent):void {}
    trace ("clicked");
    trace (Radio1);
    }

    Other problems that I have with this code is the flash player does not believe the value of the object of the radio is a channel... so what is the data type of the property value?

    Struggeling powerfully,

    -Sage

    I edited this post and the line that has been fixed:

    trace (rbObject)

    which should have been

    trace (rbObject ())

    retry code.

  • Could someone explain Radio button groups and how to identity, the individual borders in the name of the Group?

    I guess that there is a way to declare the name of the Group and then to identify the boxes of individual option within the group that way out put or "choice radio button: text that has been entered and is different from all the other within the same radio button group...»

    If you could point right to a tutorial that can help would be nice...

    Yes, myRadio is the name of the group. To get the correct number, which is determined by the order in which the individual radio buttons have been created (which can be different from their position, ordered on the page), you may need to use a bit of trial and error. The first is number 0 and you would increment from one to refer to the following.

  • How to dynamically set the filter IR APEX of the value of a radio button column?

    Hello

    I built a simple APEX 4.2 IR report that includes column, namely "Source_Data" and a separate user to input radio button namly "P33_SOURCE_DATA" with two possible values in 'X' or 'Y '.

    I would like the report filter source_data = 'X' or source_data = "Y" is applied, after each time the user clicks on the radio button P33_SOURCE_DATA. "

    So my question is, how to set the value of the IR filter using the value of P33_SOURCE_DATA to the dynamic action and javascript?

    Thanks in advance.

    Concerning

    Susanna

    In this case, you can pull an onchange dynamic action on the radio, or at the click of a button.

    This dynamic action update your IR region

    And your IR region would have an appropriate where clause, with "Page to go" set on your radio.

  • How to show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • Text in the radio button field triggers?

    I'm sure it is a simple and I just have a moment on Monday, but I can't seem to find it by searching on the forum...

    I have created a pdf form and I want an option button to automatically check when someone types the text in a certain area - how can I do this?

    I would be put in place so that none of the fields in each section can be filled-in unless one of the radio buttons is selected. If space fields are displayed if this option button is selected and the same thing with the hull of the Pre-Built program fields. You can do it in show/hide fields, and you would also want to reset the fields when they are shown/hidden. Coding can be greatly simplified if you use a field hierarchical naming system for the two groups. For example, fso.width, fso.depth, fso.area, fso.a$, etc. and pss.width, pss, depth, etc.

    You can then hide all fields selection of pre-designed Shell Scheme programs and reset and display all the fields only area and reset them with the following:

    Hide all fields selection of pre-designed Shell Scheme programs and reset the

    getField("pss").display = display.hidden;

    resetForm (["SSP"];

    Hide all fields only space floor and to reset

    getField("fso").display = display.visible;

    resetForm (["Fos"];

    This is not complete, but should help you get started. Note that you can set up A$ fields so that they are automatically calculated according to the value of the Total m2 field, so that the user doesn't have to come in and maybe make a mistake. You can also configure the computed fields to display a value only if the width and depth fields are completed.

Maybe you are looking for

  • How to create the recovery partition

    How to create a recovery for OSX on an existing SSD partition?

  • Help... cannot start the iMac...

    More old iMac 21 "Yosemite running and have never had problems before and not real techy so need someone to guide me to get this machine running. I was online earlier, and all of a sudden my computer froze. Could not move at all. Pressed the button t

  • My Satellite M30 304 and these buttons that never work!

    Hey, I can't get my multimedia buttons on the front of my laptop to work.As far as I know, everything is up-to-date with Windows XP Home Edition, and I downloaded the driver from the Web site and tried again and again. Any ideas?

  • Recover lost File_Access backup system

    XP Home Edition: I don't have to re-record a word file I did hours of changes to, but even since I took my computer in for repairs that I got this message that floats to the top and told me I did a backup system. I can't understand how access only. S

  • my ata optiarc dvd rw ad-7560 will work with dvd - r?

    I bought the bad of the shop and don't want not to open the pack incase of its bad, im running windows vista basic and not sure how recent the laptop im using, think know if dvd - r will work though even it says + r on the disk, I know after 2004, it