Reorganization of the RadioButton in RadioGroup

Hi all

I created a RadioGroup.It has 3 buttons. The names of these 3 buttons come from FND_NEW_MESSAGES.

Followign are the things that I configured in RadioGroup definition:

Lookup view definition: xxx.oracle.apps.asn.common.customer.poplist.server.xxCtctCreatePGRadioVO

Choice list view instance: xxVO

Drop-down list Display attribute: message_text

List drop down attribute value: message_name

The values for this VO database looks like this in the Toad (Database)

Select message_name,
MESSAGE_TEXT
of fnd_new_messages
where message_name as "XXCONT % ADDR %.
message_name order


RAdiobutton1 value1
RadioButton2 value_2
RadioButton3 value3

But when the Page is loaded, the VO is executed and option buttons are displayed in the following order

RadioButton2 value2
RadioButton3 value 3
RadioButton1 value1


I want the buttons to display in the way that watching ln database. I don't know why the order of the values are changed when I have loaded





VO Code:

<? XML version = "1.0" encoding = "windows-1252'?" " >
<! DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd" >

<!-$Header: PaymentTermsVO.xml 120.8 03/07/2006 16:02:57 atgops1 noship $-->

< ViewObject
Name = "XXXVO".
OrderBy = "CSA 2.
BindingStyle = 'Oracle '.
CustomQuery = 'true '.
RowClass = "oracle.apps.fnd.framework.toolbox.poplist.server.XXXVORowImpl"
ComponentClass = "oracle.apps.fnd.framework.server.OAViewObjectImpl"
FetchMode = "FETCH_AS_NEEDED."
Passivation = 'None '.
UseGlueCode = "false" >
< SQLQuery > <! [CDATA]
Select message_name,
MESSAGE_TEXT
of fnd_new_messages
where message_name as "XXCONT % ADDR %.
message_name order
[]] > < / SQLQuery >
< DesignTime >
< name Attr = "_isCodegen" Value = "true" / >
< name Attr = "_isExpertMode" Value = "true" / >
< name Attr = "_version" Value = "10.1.3.41.57" / >
< name Attr = "_codeGenFlag2" Value = "Access" / >
< / DesignTime >
< ViewAttribute
Name = "message_name.
IsQueriable = "false".
IsPersistent = "false".
IsNotNull = 'true '.
Precision = "30".
Type = "Java.lang.String"
ColumnType = "VARCHAR2".
AliasName = 'message_name.
Expression = "message_name.
SQLType = 'VARCHAR' >
< DesignTime >
< name Attr = "_DisplaySize" Value = "30" / >
< / DesignTime >
< / ViewAttribute >
< ViewAttribute
Name = "message_text.
IsQueriable = "false".
IsPersistent = "false".
IsNotNull = 'true '.
Precision = "80".
Type = "Java.lang.String"
ColumnType = "VARCHAR2".
AliasName = 'message_text.
Expression = "message_text.
SQLType = 'VARCHAR' >
< DesignTime >
< name Attr = "_DisplaySize" Value = "80" / >
< / DesignTime >
< / ViewAttribute >
< / ViewObject >

Double wire

Redordering of RadioButton in a RadioGroup

Thank you
AJ

Tags: Oracle Applications

Similar Questions

  • Questions about the reorganization of the rows in the table by drag-and - drop feature

    I am referring to the demo: 106. Drag-and-drop the reorganization of the rows of the table in aCorner of Code DF to implement my case.

    I am facing some problems:

    1. the view object (bound to the table) is read only and it is created directly by very complex SQL queries, without entity objects. When it is run the code: dragRow.removeAndRetain () in the method: DnDAction processDrop (DropEvent dropEvent), it throws the error so that a guest view object is read-only. I want to know if there is another way to delete the moved collection line?

     public DnDAction processDrop(DropEvent dropEvent) {
    ...       
           CollectionModel collectionModel = (CollectionModel) table.getValue();        
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding departmentsIterator = treeBinding.getDCIteratorBinding();               
            RowSetIterator rsi = departmentsIterator.getRowSetIterator(); 
    
            int indexOfDropRow= rsi.getRangeIndexOf(dropRow);
           //get access to the oracle.jbo.Row instance represneting this table row
           Row dragRow = (ViewRowImpl)table.getRowData(draggedRowKey);
           //remove dragged row from collection so it can be added back
           dragRow.removeAndRetain();
           rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
          ...
    }
    

    2. When you click on a button, I need to save the command results in the database using the command update # of each rank. Here it is the handler method for the event of the action (in MB) button.

    I want to use RowSetIterator table for encode it from all ranks and update the value # order of each rank.   I call a data control method to run sql update. is it ok? any suggestion?

        public void processSaveOrder(ActionEvent actionEvent) {
            CollectionModel collectionModel = (CollectionModel) mytable.getValue();        
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding iterator = treeBinding.getDCIteratorBinding();               
            RowSetIterator rsi = iterator.getRowSetIterator();
            Row row =rsi.first();
            System.out.println(0+"="+ row);
            int i = 1;
            while(rsi.hasNext()){
                row = rsi.next();
                System.out.println(i+"="+ row.getKey());
                i++;
            }
    
        }
    

    A workaround solution was found:

    In ADF 12 c, it can be solved by changing Updatable "Always" in the details tab of each attributes to read-only view object without entity object.

  • Laber property of the RadioButton class

    I would like to learn use "Flash CS4 Professional 3.0 ActionScript Language Reference" and I beginning with this example, the question:

    Why the label property is not listed in the properties of the RadioButton class?

    The various components label property is inherited from the LabelButton class.  If you select "Show inherited public properties" in the beginning of this article, it will be included with the rest of the RadioButton and other inherited properties.

  • Reorganization of the JSON data

    Hi all

    I need help, reorganizing the data I receive from a JSON Unflatten.
    I have a JSON string of a call to API (JSON unflatten) that contains a name (String), a digital and a channel (also a string).
    The JSON Unflatten automatically directs the data it receives in order, the data is provided.  The data is information on the channels.  The problem arises when not all channels are provided.  If out of 12 channels, the JSON receives information on only 4 channels, he ordered the 1 to 4 in the table.  However, 1 may not correspond to channel 1 and can actually be channel 5 and 3 might not correspond to channel 3 so on and so forth.  I want to reorganize the JSON based on reading channel (a channel named canal).  So, if in the table that Channel 4 is actually 12 (based on the channel of the channel, i.e., channel-12), I would link data from Channel 4 to profile 12 in a new table, so that the order of the channels still dependent on chain channel and not according to the order of unflatten of JSON.

    Please help as I am running out of ideas on how to solve this problem.

    Thank you.

    That's what is lying to you?

    PS: Try to avoid the multiple index table - it is preferable to use arrays and loops

  • Problems of reorganization of the items pinned in the recent Articles from applications menu pinned to the taskbar

    Hello

    Recently I encountered the following problem, for which I can't understand a solution. I have some programs such as Excel and Word pinned to the taskbar, and my most frequently used documents are pinned on the list of recent items of each of these programs (so I mean not the newest items on the start menu menu, but those pinned applications).

    For more than a year, pinned reorganization points on the upper half has functioned well. In recent weeks, however, the reorganization has unexpected results: say there are, B and C and D made the pinned menu recent Articles of Word in that order. When I try to drag the C between A and B, C will be displayed before. Similarly, when you try to drag between C and D B, B will be the last element.

    You, guys, a tip on how work this autour? I guess some kind of "reset" of this feature would be useful, it seems that something was stuck that wouldn't have to be pasted. If it's a browser, I would say that to clean temporary files. Is there something like that, what could I do?

    What I tried:

    * Detach all the elements of the word, and then start again pinning. No change.

    * Menu set start to not maintain a list of recent items, then activated this option. No change.

    * Searched my docs of the user and the registry for a list of the added items. Thought to find a folder of links asc:\Users\Launch\User Pinned\ \AppData\Roaming\Microsoft\Internet Explorer\Quick , but I only found a registry key that looks like containing all these elements in a key chain with some additional data, so that I wasn't not dare delete this reg value enough.

    (Environment: Windows 7 Ultimate 64-bit, English version)

    Looking forward to your advice.

    EM

    In fact a solution has been found in http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/list-of-recent-documents-not-showing-up-in-task/8f63be2f-67b0-463e-995e-8274adefdcbe, and it works.

    For me, the name of the file to be deleted in the %AppData%\Microsoft\Windows\Recent\AutomaticDestinations was 9839aec31243a928.automaticDestinations - ms, but the name can be an id and opposed on various systems.

    The best is to find your file reorganize everything, PIN or detach a file in Excel, or just to open and close a file and then search for the file with the most recent date any time. All the operations described, I suppose, will modify the corresponding file, so all you need to do after this is to sort files by date, to find and remove the latest file, and you can start re-adding pinned items to Excel.

  • Problem with the dialog box displayed when the RadioButton is selected.

    It is an application with 3 buttons button1, radio 2 and output key that uses System.exit (0)
    The problem is with the dialogs first two buttons

    1. I open the application

    2 Select a radiobutton, I get a dialog box, I click 'ok', dialog will, that's fine.

    3. I choose an another radiobutton button1 or button2, I get the corresponding dialog, BUT know I have to click 'ok' twice to keep it alive.

    I don't know what could be the problem, here is the code:

    package com.thinkingblackberry;
    import net.rim.device.api.system.Display;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.DrawStyle;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.component.PasswordEditField;
    import net.rim.device.api.ui.component.RadioButtonField;
    import net.rim.device.api.ui.component.RadioButtonGroup;
    import net.rim.device.api.ui.component.RichTextField;
    import net.rim.device.api.ui.component.Status;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.container.VerticalFieldManager;
    import net.rim.device.api.ui.component.PasswordEditField;
    
    public class HelloWorldScreen1 extends MainScreen implements FieldChangeListener, DrawStyle {
    
        protected static final int RED = 0;
        MButtons fullscreen;
        //protected RadioButtonGroup rbGroup= new RadioButtonGroup();
        public HelloWorldScreen1() {
    
            final RadioButtonGroup rbGroup=new RadioButtonGroup();
    
            setTitle("Application");
    
            RadioButtonField rbField= new RadioButtonField("RadioB1"){
    
                protected void paint(Graphics g){
                    g.setColor(Color.ROSYBROWN);
                    super.paint(g);
                }
            };
            RadioButtonField rbField2= new RadioButtonField("RadioB2"){
                protected void paint(Graphics g){
                    g.setColor(Color.SIENNA);
                    super.paint(g);
                }
            };
            RadioButtonField rbExit=new RadioButtonField("Exit"){
                protected void paint(Graphics g){
                    g.setColor(Color.DARKSLATEBLUE);
                    super.paint(g);
                }
            };;
            rbGroup.add(rbField);
            rbGroup.add(rbField2);
            rbGroup.add(rbExit);
            add(rbField);
            add(rbField2);
            add(rbExit);
    
            rbGroup.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                if (rbGroup.getSelectedIndex() == 0) {
                    Dialog.inform( ""+rbGroup.getSelectedIndex());
    
                }
                else if (rbGroup.getSelectedIndex() == 1) {
                    Dialog.inform( ""+rbGroup.getSelectedIndex());
                }
                else if(rbGroup.getSelectedIndex()==2){
    
                    System.exit(0);
                }
    
                }
            });
    
        }
    
        public HelloWorldScreen1(long arg0) {
            super(arg0);
        }
    
        public void fieldChanged(Field field, int context) {
    
        }
    
    }
    

    I guess the event changed field is called twice, once deselection button1 and once to select button2. you pay your processing logic to account for this.

  • When we choose the radiobutton control should display the drop-down list of choices...

    Hello

    Can u help me pls how to get the drop-down list option when we choose control radiobutton in the same screen.

    When deselect us it, he must hide the drop on the with on screen no matter what accent...

    Thanks in advance...

    u r Correct.

    Acutally we work on popupscreen with transparency.

    I use the 4.3 sound support for setmargin(4.5 doesn't).

    I went through the doc 4.5 Finally I got the result.

    I need to set the drop down just below the dropdown list how can I without no hardcode... pls let me know...

    now iam using setmargin (encode);

    If you have any advice that can help me in pls reffer me programming skills.

    I wil get u was pushing for the next...

    Thank you for your way of orientation...

  • Reorganization of the files in a PDF portfolio

    I'm trying to create a portfolio using Adobe Acrobat 9 Pro. Although I have no problem to drag / drop the file I want to in the portfolio, I can't arrange them in the order I want - they appear in alphabetical order. When I try to drag in the order I want to get an icon "cannot do". Is it possible to rearrange the files in a portfolio?

    Any help would be appreciated

    Hi Dealbarta,

    Please see the below link mentioned the same thing:

    Conversion of PDF portfolio and reorganization

    I hope this helps.

    Kind regards

    Ana Maria

  • reorganization of the tabs on the dashboard in OBIEE 11 g

    In OBIEE 11g. I created a dashboard with three pages/tabs.
    Using the interface of the dashboard is a way to reorganize my pages?

    As now, I see on my page. Tab 1, Tab2, Tab3.This is the order in which I created it, but now I want to have my third tab in the first tab, tab 3, tab 2, tab 1. I don't see any option that I have administrator privileges...

    I remember in 10g, there is an option under Administartion and catalog management, but in 11 g, inder Administartion, I see no similar option.

    Thank you

    You can reorder pages within a dashboard in 11 g.
    (1) change the Dasbhoard and go to dashboard properties.
    (2) you will see the list of pages and reorder the pages to your list.

    -Bilodeau

  • Deselect the Radiobutton

    Hello

    We have a RadioButton group, no default value in our forms.

    The RadioButtonGroup is not mandatory.

    If someone chooses one of the radio buttons, it is not possible to deselect.

    Is there a possibility to deselect by coding?


    Thank you

    Matthias BR

    You can also use check boxes for this. If you need the selection circle can change this option.

    Alternatively, you can set a value in the group radio button 'OFF '.

    Turn off the radio button selection

    this.getField("Radio_Button_Group_Name").value = 'Off ';

  • How to see the font size larger for the radiobutton.

    Guys,

    I need to see the small larger font for the radiogroup.

    I tried to install this style = "" are-size: large "for"

    Attributes of HTML table cells

    but still not able to show the largest font size.

    Hello

    Add in the HTML page header

    
    

    Replace PX_YOUR_ITEM with your radio group element name

    BR, Jari

  • How to show/hide point based on the value of Radiogroup

    Hello

    I'm having a Radiogroup with a yes/no value.
    I have something else to say... P1_TEXT1

    I want to show / hide point P1_TEXT1 based on the value selected in the radiogroup.
    If I select Yes - agenda should be displayed
    If I select non - element should be hidden

    I don't want to send the page.


    Thank you
    Deepak

    on your page go to edit page under the attribute of the HTML body of the Page then you need to put the following text:

    onload="MyFunction;"
    

    You must have tobe your function name Myfunction. Pass the item to your function in your code?

    Could you post your code js here and we could have a look for you?

  • Reorganization of the text boxes so that they mix upwards or downwards

    Hello

    I'm not sure to understand what happens when the text inline boxes are dragged - I have 6 on a page that are the width of the page but different heights and I would like to re - order them so they mix it up or down depending on where I drag them, but at the moment they go to the bottom of the page or disappear completely I can't work on the behavior.

    I think there must be a way of formatting.

    Thank you

    James

    Select each text box and if you use v5 Pages, visit the reorder menu and text wrapping set to None. Now, the text box are not repellent, and you can position them as you please. If you always use the Pages ' 09 and then again, select each text box and the Wrap Inspector, deselect object causes wrap.

  • iTunes is the reorganization of the songs in the playlist

    Used to be able to make a playlist and songs would be in order as on the album, but now iTunes rearranges automatically randomly.  This happens on both iMacs.   What is going on?   Just to be clear, does not seek to rearrange the songs in a playlist simply maintain the order of song on CD

    I used to solve this problem by selecting "Edit Playlist" in the top right of the playlist "Sort by album."  I now get playlists out of order, or not to play all the songs on the album.

  • Apps to reorganize on the sieve grid

    Is there a plan to make the apps rearranges on grid screen iPhone?

    Apps on iPhone are arranged auto top-left to bottom-right.

    I was wondering if Apple has a plan to make applications possible rearrangement within the grid of sieve. (Similar to snap to grid on mac os)

    Xenomacx,

    They are 'rearrange' arranges apps on your iPhone - Apple Support

Maybe you are looking for