Horizontal layout for radio options

Hi Forum,
we currently extend a components dialog with some options to let the authors choose from some predefined styles. So far this works pretty good.
Each fieldset contains one widget that is rendered as xtype=selection,type=radio.
Now we want these radio options to be layed out horizontally to save some space. We already experimented with the columns- and vertical-property. But none of these worked.
Does anyone know the trick how to display the radio options side by side?

See
this
link
Ken

Similar Messages

  • UIX: horizontal layout for messageRadioGroup

    Hello,
    We use UIX 2.1.7.
    In our application we have a few UIX xml pages that create a (dynamic) list of screen items based on database
    content. These screen items can be text items, date items, choise fields, checkboxes or radio groups, depending on what got queried from the database. In the UIX xml, we have implemented this by a table iterating over a DataObjectList with fields, and a switcher bean to render the corresponding UI widget for each field in the list.
    This all works very well, there is only one layout shortcoming we can't seem to fix. When rendering a field as a radio group, we use the messageRadioGroup tag, and use the childdata attribute to create the individial radio buttons. Unfortunately, these buttons are stacked vertically, while we would really like to have them horizontally because of the huge amount of screen space this would save (we sometimes have dozens of radio groups, all with 4 radio buttons. There does not seem to be a way to do that using the messageRadioGroup.
    I am aware of the possibility using the radioButton tag, but due to some issues with our (already very complex, conditional and nested) databinding and the code responsible for handling the screen when the user presses 'save', we REALLY prefer having just a single UI widget in the UIX page for a radio group, just as for all the other widget types as described above.
    Is there anything we overlooked in the messageRadioGroup tag, and if not will it be possible to include this functionality in a future release?
    Thanks!

    Peter -
    We would much prefer to avoid introducing new layout behaviors into the radioGroup - and encourage clients that require different types of layouts to use the radioButton component. In your case, it sounds like you might benefit from putting your "horizontal" radioGroup layout into a UIX template, so that it can be easily accessed from your uiXML pages. For example, here is a sample template which implements a horizontal layout for radio buttons:
    <?xml version="1.0" encoding="UTF-8"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.example.org/demo/templates"
    localName="horizontalMessageRadioGroup">
    <!-- define the template's type information -->
    <type base="ui:inlineMessage">
    <attribute name="childData" javaType="oracle.cabo.ui.data.DataObjectList"/>
    </type>
    <!-- define the content of the page -->
    <content>
    <inlineMessage data:prompt="prompt@ui:rootAttr">
    <contents>
    <flowLayout>
    <contents data:childData="childData@ui:rootAttr">
    <radioButton data:name="name@ui:rootAttr"
    data:text="txt"
    data:selected="selected"
    data:value="val"/>
    </contents>
    </flowLayout>
    </contents>
    </inlineMessage>
    </content>
    </templateDefinition>
    And here is a sample UIX page which uses both a standard messageRadioGroup as well as a horizontalMessageRadioGroup to render the same set of inline data:
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:demoTmps="http://www.example.org/demo/templates">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="horizontalMessageRadioGroup.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <data name="RGData">
    <inline>
    <btn txt="Longer name" val="Val0"/>
    <btn txt="Name2" val="Val1" selected="true"/>
    <btn txt="Name3" val="Val2"/>
    </inline>
    </data>
    </provider>
    <contents>
    <labeledFieldLayout>
    <contents>
    <!-- First, a vertical group of radio buttons -->
    <messageRadioGroup name="group1"
    data:text="txt"
    data:value="val"
    selectedValue="Val2"
    type="radio"
    prompt="Verical Group"
    data:childData="btn@RGData"/>
    <!-- Now, a horizontal group -->
    <demoTmps:horizontalMessageRadioGroup name="group2"
    prompt="Horizontal Group"
    data:childData="btn@RGData"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </dataScope>
    </content>
    </page>
    Please give this solution a try and let us know the results.
    Andy

  • Horizontal layout for images or video

    Hi, Sir
    May Check with you how coldfusion can layout for images or
    video in horizontal way? the default is vertical when we use
    cfoutput. what founction and tag support, or we had to design a
    horizontal looper for the purpose?
    The example web page horizontal layout is the youtube.com,
    like URL:
    http://youtube.com/browse?s=mp,
    All the video were layout in horizontal.
    Thanks and Regards
    David

    See
    this
    link
    Ken

  • N8: no horizontal layout for calls?

    I have a horizontal mounting for my N8 in the car. I like OVI maps much more in horizontal layout. But incoming calls seems to be displayed always in vertikal layout !?
    Same for the dialing field if you click on "Make call" on the main window. There seems to be no horizonzal version.
    Greetings,
    HaPe
    N8-00 with orange case, loving it
    If my post was helpfull, click on the white star and give me an KuDo ;-)

    Yes it is very hard to turn it around if it is mounted in a car kit in landscape view to be able to use OVI maps in landscape, which is great and much more better in landscape.
    And it is a big lack that it is not possible to see the caller number and picture in  a correct way. 
    And it is quite impossible to dial a number because the digit buttons are arranged in portrait mode.
    (Nokia N8 is used with bluetooth car kit)
    N8-00 with orange case, loving it
    If my post was helpfull, click on the white star and give me an KuDo ;-)

  • How to switch display of label for SelectOneRadio in horizontal layout

    Using selectOneRadio with the horizontal layout and it displays the label and then the radio buttons to the right of the label.
    LABEL RADIO1 RADIO2 RADIO 3
    Is there a way to display the radio buttons to the LEFT of the label instead?
    RADIO1 RADIO2 RADIO3 LABEL
    Another question .... instead of radio buttons, we'd like to use check boxes instead, with the same functionality as the selectOneRadio ... just checkboxes instead of radio buttons.
    Can't find anything like selectOneCheckbox though, just a SelectBooleanCheckbox or SelectManyCheckbox, which won't work.
    Thanks for any help.

    Hi,
    you can use combination of selectOneRadio and outputLabel so in selectOneRadio leave label blank and put this text in outputLabel component, which you store to the right of selectOneRadio
            <af:panelGroupLayout id="pgl1" layout="horizontal">
              <af:selectOneRadio id="sor1" layout="horizontal">
                <af:selectItem label="label1" value="1" id="si1"/>
                <af:selectItem label="label2" value="2" id="si2"/>
              </af:selectOneRadio>
              <af:outputLabel value="outputLabel1" id="ol1"/>
            </af:panelGroupLayout>regards,
    Branislav

  • On iPhoto, I can no longer access the 'Classic' option which would lay out my photos on the page. It will send them as attachments only. I need the page layout for my work. Any thoughts as to why this has changed?

    On iPhoto, I can no longer access the 'Classic' option which would lay out my photos on the page. It will send them as attachments only. I need the page layout for my work. Any thoughts as to why this has changed? It used to fully lay out the photos so I could add notes and detailed information before I sent them. I am thinking it is something simple that I have just missed...

    The "Photos" view has been replaced by the Media Browser.
    Most applications will show you the Photos icon in the Sidebar, when you need to select photos in a file chooser dialoge. Mail, Safari, the iWork apps. See Terence Devlin's User Tip: How to Access Files in iPhoto
    For example, in the File > Open dialogue in Preview I am seeing this in the sidebar.

  • Default radio option (for Rating selection) from HAP_MAIN_DOCUMENT

    We have a requirement to remove 'select a value' default radio option (for Rating selection) from HAP_MAIN_DOCUMENT. Can you please let me know is there any BADIs available to acheive this requirement ?

    The normal way to do this is to set the option to "commit selected value immediately" and to place the code in the Keystroke event of the combo box. And instead of the first two lines that you have, you'd use something like:
    if (!event.willCommit && event.changeEx !== "none") {
        // Your other code goes here
    The changeEx property will return the export value, if any, of the selected item.

  • HT204266 When in setting's on display list is option for radio how do you get it to work or is this not possible. When i press centre button it puts a tick beside it

    When in settings on display list is option for radio how do you get it to work or is it possible. When centre button is pressed a tick appears beside it.

    The Palm Desktop is available to download from the Palm site:
    http://www.palm.com/us/support/macintosh/mac_desktop.html
    though this doesn't list the Clie devices and you may need to check which version you should be using. The Desktop will run on 10.4.
    The 'Apple' key is the Command key.
    You may need USB Overdrive - a useful program - unless the mouse comes with a Mac driver (some Miscrosoft mice do). Apple's Might Mouse will work fine.
    USB overdrive usefully allows you to assign the same mouse click to do different things in different programs.

  • Custom Layout for FBL1N (Open Vendor Items)

    Hi All,
    I would like to create a custom layout for the List Output.  Currently there is only options as to display the Standard Local currency, I would like to include the value for the Document Currency (Transaction Currency) as well.  Does anyone have come across this before?  Thanks.
    Thanks.

    Hi,
    Creating a layout for any report is very easy.
    Go to TCODE FBL1N, in the output screen, below the menu options, you will find few buttons. you will find the button select layout, click on any one layout, and then click on the button select fields and copy the hidden fields from the select fields option,  add the fields you wish to add and then save the layout with a new name. Or you can also go through menu options - Settings ==> Special Fields - Include your special fields from the available tables. (This is cross client configuraiton)
    hope this helps
    regards,
    radhika

  • F-54 - Layout for Processing Down Payment

    How can I change the layout for the fields displayed on clicking "Process Down Payments ". I need to display more fields for processing the Vendor clearing.

    Hello,
    I tried the Editing Options but that does not change the layout. There must be some layout change option in Customizing - but I am not able to find it out...
    Regds
    Ankita

  • LAYOUT FOR FBL1N

    HI EXPERTS !
    The transaction code for the report we generate is FBL1N - vendor ledger.
    we require the vendor's bank detail in this report at the header i.e. vendor bank name , account no..(change layout of report for output )
    this detail can be seen by transaction code FK03 - view vendor data base.
    can anybody solve this .
    thanks

    Hi,
    Creating a layout for any report is very easy.
    Go to TCODE FBL1N, in the output screen, below the menu options, you will find few buttons. you will find the button select layout, click on any one layout, and then click on the button select fields and copy the hidden fields from the select fields option,  add the fields you wish to add and then save the layout with a new name. Or you can also go through menu options - Settings ==> Special Fields - Include your special fields from the available tables. (This is cross client configuraiton)
    hope this helps
    regards,
    radhika

  • How to get calender in f4 help for select options in module pool (URGENT)

    Hi All,
    how to get calender in f4 help for select options in module pool
    Please help .
    Thanx in advance,
    amruta

    Hi Amruta,
    First of all, you can not create select-options directly in module pool.
    For creating <b>select-option is dialog prog</b> follow these steps:
    1. create your selection screen model as subscreen by:
    SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.
    PARAMETRS: P_MATNR LIKE MARA-MATNR.
    SELECT-OPTIONS: S_BISMAT FOR MARA-BISMAT.
    SELECTION-SCREEN END OF SCREEN 2000.
    2. create a screen ( example 100 ) in your module-pool dedicated for selection-screen. on this screen layout sketch a sub-screen name like subscree_2000.
    3. write this bit of code in PBO and PAI of the screen 100;
    CALL SUBSCREEN SUBSCREEN_2000.
    4. include this code in PBO:
    INCLUDING SY-REPID '2000'
    6. write user_command of PAI, call screen which is going to executable after selection-screen.
    5. create a transcation for this dialog module pool with screen 100.
    6. execute this transaction and you can see it's behaving like cool with select-options.
    After that in [bprocee on value-request]</b>, use F4_DATE for both from and to option field.
    Hope it will solve the problem.
    Regards
    Krishnendu

  • How to attach PLD layout for my custom form.

    How to attach PLD layout for my custom form.
    Or
    How to enable print functinality for my custorm form - purchase indent etc
    Is the only option is Query print layout or any other option?

    Hi,
    Unfortunately, you cannot create your own PLD layouts for your addons. Instead, most developers opt for a third party report writer such as Crystal Reports or SQL Reporting Services to provide reports.
    If you search this forum you'll find a lot of useful information on how to integrate Crystal with your addon.
    Kind Regards,
    Owen

  • Change layout for text email to landscape instead of potrait

    I success send the text report to email. But how can I change layout for my text email to landscape instead of potrait. I am using FM SO_DOCUMENT_SEND_API1 to send an emails.

    I believe it is restricted by the length of the line which is about 70 characters or something like that. so there is no portrait or landscape option.
    I put my form instead of text in the printspool convert that to a pdf file and send that as an attachment automaticaly to the recipient.

  • How can i pull alv layouts for selection screen ?

    hello ,
    i search way to give the user option to choose his layout,
    i sow here examples that look good , but 
    all of tham talk about function :
    "REUSE_ALV_VARIANT_DEFAULT_GET"
    i run it in 'se37' and no data is pull ,
    i know that there is layouts for my alv report ,
    i use it like this in my report and in 'se37' :
    CLEAR ls_variant.
      ls_variant-report = sy-repid.
      ls_variant-handle = 'LIST'.
       MOVE ls_variant TO def_variante.
       MOVE vari TO def_variante-variant.
    CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save     = 'A'
        CHANGING
          cs_variant = def_variante
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 0.
        p_vari = def_variante-variant.
      ENDIF.
    thanks

    Hi,
    Try this.
    INITIALIZATION.
    Get Default display variant
      PERFORM f200_display_default_variants.
    Enable variant saving
    data   w_variant TYPE disvariant.
    FORM f200_display_default_variants.
    *initialize to default layout if one exist.
      w_variant-report   = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save        = 'A'
           CHANGING
                cs_variant    = w_variant
           EXCEPTIONS
                wrong_input   = 1
                not_found     = 2
                program_error = 3
                OTHERS        = 4.
      IF sy-subrc EQ 0.
        p_layout = w_variant-variant.
      ENDIF.
    ENDFORM.
    Try this and reward points by clicking the star on the left of reply,if it helps.

Maybe you are looking for

  • Issue with Insert in SP

    Gurus, I have an issue with inserting rows into temp table through SP. Here is my proc. its running fine. After the execution completed when i try to select the rows from srini_temp table its showing 0 rows. Whats wrong here. CREATE PROCEDURE BO_HR_R

  • An error occurred in the persistence; contact your system administrator

    HI,   when i am going to create user in user administration , it showing this error message      An error occurred in the persistence; contact your system administrator. Post installtion steps i mean visual j2ee admin tool , sld  i configured. every

  • International Buyers trying to pay with PayPal

    I've had a number of customers contact me that they are having problems purchasing. The common factors seem to be that they are International and trying to use PayPal to pay. One person I was able to get working by having her sign in to Adobe using t

  • Dynamic url access in weblogic

    Hi All, I am currently working on moving my application from oc4j to weblogic92. On oc4j I keep all my xsd file in Apache/htdocs as a best practice and whenver I add a newly created xsd to this folder it can be accessable on the fly. Now, on weblogic

  • Should I get a fully upgraded MacBook air or should I compromise the thinness for a MacBook pro retina

    Hi I need to get a Mac for high school should I get a MacBook air with i7 and 8gb of ram or should I get a MacBook pro retina I make music surf the web and check emails and play games on my Mac should I compromise the portability of the air for the p