How to put a button beside a selectOneChoice, mantaining the alignement

Hi all,
I am using Jdev 11.1.1.0.2.
I have a panelFormLayout containing some selectOneChoice components.
I'd like to put a a commandButton beside every selectOneChoice.
I have tried to surrond the selectOneChoiceComponent and their associated button with a panelGroupLayout, but the selectOneChoice components are not aligned.
Any ideas?
Thanks
Andry

so what about this possibility:
<?xml version='1.0' encoding='windows-1250'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <jsp:directive.page contentType="text/html;charset=windows-1250"/>
  <f:view>
    <af:document id="d1">
      <af:form id="f1">
        <af:panelGroupLayout id="pgl1" layout="horizontal">
          <af:panelFormLayout id="pfl1">
            <f:facet name="footer"/>
            <af:selectOneChoice label="Label 1thdfhfh" id="soc1">
              <af:selectItem label="one" value="oneeeeeeeeeeeeeeee" id="si2"/>
              <af:selectItem label="two" value="twooooo" id="si1"/>
            </af:selectOneChoice>
            <af:selectOneChoice label="Label 1" id="selectOneChoice1">
              <af:selectItem label="one"
                             value="oneeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" id="selectItem1"/>
              <af:selectItem label="two" value="twioooooooooooooooooooooo" id="selectItem2"/>
            </af:selectOneChoice>
            <af:selectOneChoice label="Label 1555555555555555555555555555555555555" id="selectOneChoice2">
              <af:selectItem label="oneeeeeeeeeeeeeeeeeeeeeeeeeeeee"
                             value="oneeeeeeeeeeeeeeeeeeeeeeee" id="selectItem3"/>
              <af:selectItem label="twooooooooooo" value="twio" id="selectItem4"/>
            </af:selectOneChoice>
          </af:panelFormLayout>
          <af:panelFormLayout id="pfl2">
            <f:facet name="footer"/>
            <af:commandButton text="commandButton 1" id="cb1"/>
            <af:commandButton text="commandButton 2" id="cb2"/>
            <af:commandButton text="commandButton 3" id="cb3"/>
          </af:panelFormLayout>
        </af:panelGroupLayout>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>

Similar Messages

  • APEX:How to put dynamic buttons in a Report.

    Hello all,
    I am creating one application in which i want two buttons in every record. I can't put it manually because it should change according to records in a table So Can anyone tell me how to put dynamic buttons in a report.
    Thanks & Regards,
    Jiten Pansara

    Hi Jiten,
    you cannot create buttons in the report, but you can always create link columns with some css class to show it as button.
    So in the both link column report attributes you will have class="button1" and class="button2"
    And in dynamic actions you need to bind the events based on your link column's jquery selector like:
    .button1
    .button2Thanks

  • How to put Skype button in adobe flash website

    how to put Skype button in adobe flash website. I got the code from "http://www.skype.com/intl/en-us/tell-a-friend/wiza​rd/" but unfortunately it can generate codes for only html websites and emails but my site is in flash and these codes are not working. Pls help me to put the Skype button on my flash website.

    Hi,
    Please refer to the following link Shopping Carts
    Regards,
    Aish

  • How to put a button on this class?

    hello
    i had a problem and i saw the comment of  Kevininstructor,and
    i tested and i think this might help me
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/d14a09e9-9f12-48fd-bef5-914d976de7b9/save-a-file-automatically-by-code?forum=vbgeneral
    does somebody know how to put a button on that class to execute it?
    thank you

    you are right armin
    here is the code posted by Kevinisnstructor
    '****************************** Module Header ******************************'
    ' Module Name: Solution2.vb
    ' Project: VBAutomateWord
    ' Copyright (c) Microsoft Corporation.
    ' Solution2.AutomateWord demonstrates automating Microsoft Word application
    ' by using Microsoft Word Primary Interop Assembly (PIA) and forcing a
    ' garbage collection as soon as the automation function is off the stack (at
    ' which point the Runtime Callable Wrapper (RCW) objects are no longer
    ' rooted) to clean up RCWs and release COM objects.
    ' This source is subject to the Microsoft Public License.
    ' See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
    ' All other rights reserved.
    ' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
    ' EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
    ' WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
    #Region "Import directives"
    Imports System.Reflection
    Imports System.IO
    Imports Word = Microsoft.Office.Interop.Word
    #End Region
    Class Solution2
    Public Shared Sub AutomateWord()
    AutomateWordImpl()
    ' Clean up the unmanaged Word COM resources by forcing a garbage
    ' collection as soon as the calling function is off the stack (at
    ' which point these objects are no longer rooted).
    GC.Collect()
    GC.WaitForPendingFinalizers()
    ' GC needs to be called twice in order to get the Finalizers called
    ' - the first time in, it simply makes a list of what is to be
    ' finalized, the second time in, it actually the finalizing. Only
    ' then will the object do its automatic ReleaseComObject.
    GC.Collect()
    GC.WaitForPendingFinalizers()
    End Sub
    Private Shared Sub AutomateWordImpl()
    Try
    ' Create an instance of Microsoft Word and make it invisible.
    Dim oWord As New Word.Application
    oWord.Visible = False
    Console.WriteLine("Word.Application is started")
    ' Create a new Document.
    Dim oDoc As Word.Document = oWord.Documents.Add()
    Console.WriteLine("A new document is created")
    ' Insert a paragraph.
    Console.WriteLine("Insert a paragraph")
    Dim oPara As Word.Paragraph = oDoc.Paragraphs.Add()
    oPara.Range.Text = "Heading 1"
    oPara.Range.Font.Bold = 1
    oPara.Range.InsertParagraphAfter()
    ' Insert a table.
    Console.WriteLine("Insert a table")
    Dim oBookmarkRng As Word.Range = oDoc.Bookmarks.Item("\endofdoc").Range
    Dim oTable As Word.Table = oDoc.Tables.Add(oBookmarkRng, 5, 2)
    oTable.Range.ParagraphFormat.SpaceAfter = 6
    For r As Integer = 1 To 5
    For c As Integer = 1 To 2
    oTable.Cell(r, c).Range.Text = "r" & r & "c" & c
    Next
    Next
    ' Change width of columns 1 & 2
    oTable.Columns(1).Width = oWord.InchesToPoints(2)
    oTable.Columns(2).Width = oWord.InchesToPoints(3)
    ' Save the document as a docx file and close it.
    Console.WriteLine("Save and close the document")
    Dim fileName As String = Path.GetDirectoryName( _
    Assembly.GetExecutingAssembly().Location) & "\Sample2.docx"
    oDoc.SaveAs(fileName, Word.WdSaveFormat.wdFormatXMLDocument)
    oDoc.Close()
    ' Quit the Word application.
    Console.WriteLine("Quit the Word application")
    oWord.Quit(False)
    Catch ex As Exception
    Console.WriteLine("Solution2.AutomateWord throws the error: {0}", _
    ex.Message)
    End Try
    End Sub
    End Class

  • I forgot my password for my apple ID. Any ideas on how to put in a new one without knowing the old one?

    I forgot my password for my Apple ID. Anyone have a solution on how to put in a new one without knowing the old one?
    Thanks

    Welcome to Apple Support Communities
    You have to reset your password. You can do this in this site > http://iforgot.apple.com

  • Using iMovie-does anyone knows how to put two videos side by side in the same screen/

    Using iMovie-Does anyone knows how to put two videos side by side in the same screen?

    See iMovie Help here.
    http://help.apple.com/imovie/mac/10.0/#movb8c659f55

  • How I put photos / images at facebook page? The files do not open.

    How I put photos / images at facebook page? The files do not open.

    The crash happens on setting up the audio hardware. Either you have a broken driver or your preferences is damaged. You can try deleting the MainStage preferences.

  • How to assign a button for attachment and send the data through browser ?

    Hi friends,
    How to convert to browser ?
    how to assign a button for attachment and send the data through browser ?
    Thanking you.
    Regards
    Subash.

    Refer to
    How to create a text box in ascreen painter?
    where another user (venkateshwar reddy) has asked a very similar question...
    Jonathan

  • How to remove calender button beside date prompt in infoview

    Post Author: Durga
    CA Forum: Desktop Intelligence Reporting
    Hi ,
    We have developed one deski report which will run through infoview.
    while opening in the infoview in the beside the date prompt calender button is appearing.
    But we dont need the calender button beside the date prompt.we want to select from LOV's only.
    Please advice how to remove the calender button in infoview which is developed in Deski.
    Regards,
    Durga.

    Changing the data of the date to char will get ride of the calendar control.

  • How to put safari full screen without click/drag the sides and without going in to fullscreen mode??

    How to put safari full screen without clicking and dragging the sides and without going in to fullscreen mode?
    Thanks
    EG

    Hi, e8god.  
    Thank you for visiting Apple Support Communities.  
    The option to take apps full screen is still available.  Here are the steps on this feature in Yosemite.  
    Take apps full screen
    In many apps, you can expand the window to fill your entire screen. While in full-screen view, swipe to see another app’s full-screen window, to see your desktop, or to see a space you created.
    Expand to full-screen view: Click the green full-screen button in the top-left corner of an app window, or press Control-Command (⌘)-F.
    Move between windows in full-screen view: Swipe left or right on a trackpad or Magic Mouse. For more information, see Learn trackpad and mouse gestures.
    Return to standard view: Move the pointer to the top-left corner of the screen, then click the green full-screen button again, or press Control-Command (⌘)-F.
    Take apps full screen
    Cheers, 
    Jason H.  

  • How to put data into a array element in the BPEL

    Hi,
    I have a element in the WSDL which is of type Array. (i.e accepts unlimited data for the same element). How should i put a data into a array in the BPEL.
    Example:
    The below Example gives u an idea about wht iam asking:pasting a piece of my requirement:
    <s:element minOccurs="0" maxOccurs="1" name="parameters" type="tns:ArrayOfCSParameters" />
    <s:complexType name="ArrayOfCSParameters">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded"
    name="CSParameters" nillable="true" type="tns:CSParameters" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="CSParameters">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="RevenueItem" type="tns:RevenueItem" />
    <s:element minOccurs="0" maxOccurs="1" name="AccountURIs" type="tns:ArrayOfString" />
    <s:element minOccurs="0" maxOccurs="1" name="GroupURIs" type="tns:ArrayOfString" />
    <s:element minOccurs="1" maxOccurs="1" name="Percentage" nillable="true" type="s:decimal" />
    </s:sequence>
    <s:attribute name="Version" type="s:decimal" use="required" />
    <s:attribute name="URI" type="s:string" />
    </s:complexType>
    Any suggestion is appreciated.
    Regards
    pavan

    You have 2 options i guess.
    Use the transformation and the for-each to construct the array-list
    or like Richard said, use a loop in bpel, assign in the loop an variable of element type="CSParameters" and append this variable to your variable with accepts the arraylist.

  • How to put iconic button in forms 10g?

    Hi All,
    I've created a button with iconic property set to yes and icon file set to open. in forms 10g
    But when I run the form, the button appeared without the open icon show!

    In webforms, you have to put your icons in a jar file and put the jar file in a directory where Java can read from. the easiest place to put the jar file is the %ORACLE_HOME%/forms/java directory found in your Oracle installation directory
    for instance if you have your devsuite installed in C:\devsuite10g put the jar file in C:\devsuite\forms\java.
    check out [url http://www.oracle.com/technology/products/forms/pdf/webicons.pdf]Webicons it has both detailed steps to deploy icons in webforms and an easy and fast way to do it.
    Tony

  • How to put three button into one borders

    Hello:
    Please tell me how to set up a borders for multiple buttons.
    For example, I got six JButtons, their name are bOne, bTwo,bThree, bFour, bFive, bSix. I want a borders for
    bOne, bTwo,bThree, and another borders for bFour, bFive, bSix.
    Thanks
    *This program for add six Buttons on the JFrame
    import javax.swing.*;
    import java.awt.*;
    public class TestButton extends JFrame{
         private static TestButton tB;
         private static JButton jB;
         public static void main(String [] args){
              tB=new TestButton();
              tB.pack();
              tB.setVisible(true);
         public TestButton(){
              Container c=getContentPane();
              c.setLayout(new GridLayout(1,6));
              //add six buttons to frame
              jB=new JButton("Bone  ");
              jB.setBorder(null);
              c.add(jB);
              jB=new JButton("Btwo  ");
              jB.setBorder(null);
              c.add(jB);
              jB=new JButton("Btree  ");
              jB.setBorder(null);
              c.add(jB);
              jB=new JButton("Bfour  ");
              jB.setBorder(null);
              c.add(jB);
             jB=new JButton("Bfive  ");
             jB.setBorder(null);
              c.add(jB);
              jB=new JButton("Bsix");
              jB.setBorder(null);
              c.add(jB);
    }

    In case anybody cares.
    This individual asked this same question about tables 6 times
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421727
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421789
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421568
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421525
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421476
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421283
    then a question about buttons was asked 6 times
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421036
    http://forum.java.sun.com/thread.jsp?forum=57&thread=421013
    http://forum.java.sun.com/thread.jsp?forum=57&thread=420798
    http://forum.java.sun.com/thread.jsp?forum=57&thread=417624
    http://forum.java.sun.com/thread.jsp?forum=57&thread=417621
    http://forum.java.sun.com/thread.jsp?forum=57&thread=416510
    then a few miscellaneous question where asked:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=419990
    http://forum.java.sun.com/thread.jsp?forum=57&thread=419264
    http://forum.java.sun.com/thread.jsp?forum=57&thread=418945
    http://forum.java.sun.com/thread.jsp?forum=57&thread=418993
    http://forum.java.sun.com/thread.jsp?forum=57&thread=418418
    http://forum.java.sun.com/thread.jsp?forum=57&thread=416047
    Not once have they responded to thank the poster for their help. Not once have they even asked for claraification. All they do is start new threads asking the same question over and over and over.
    I know I'm not going to waste any more time answering these questions until the individual learns the proper use of a the forum. I hope others will do the same.

  • How to put radio buttons horizontally?

    Hi All,
       I am using RadioButtonGroupByKey.But its coming vertically.I want this to be displayed horizontally.Please help me soon.
    thanx
    anirudh

    Bind the RadioButtonGroupByKey.<i>selectedKey </i>property to a context attribute of type "string" (or DDIC simple type with valueset).
    You can either use the static valueset from the DDIC type or modify the valueset at runtime.
    To modify it, use code like
    IWDAttributeInfo info = wdContext.getNodeInfo().getAttribute("<name-of-attribute>");
    IModifiableSimpleValueSet valueSet = info.getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
    valueSet.clear();
    valueSet.put("<key1>", "<value1>");
    valueSet.put("<key2>", "<value2>");
    valueSet.put("<key3>", "<value3>");
    Then you will get 3 radio buttons displaying "value1", "value2", "value3". Selecting a button will set the context attribute to the corresponding key.
    Set RadioButtonGroupByKey.<i>colCount </i>= 3 to get them in one row.
    Armin

  • How to put Download  button on Webdynpro ALV

    Hi,
    I used SELECT_OPTIONS     WDR_SELECT_OPTIONS as webdynrpo components  in my ALV report.I also need download option on the output.I am using just one main view to display the results.
    Also ,Output is always defaulting to 5 rows only.. Where can I change this default?
    Rgds
    Vara

    I'm a little confused because you talk about both Select-Options and ALV.  Which are you wanting to download and which is only dispaying 5 rows.  I'm going to assume that you mean the ALV and the mention of Select-Options is actually inmaterial.
    The ALV Component already has an export button built into it standard.  Were you looking for something else - and if so what kind of functionality did you want.
    To adjust the number of visible rows in the ALV use the configuration model interface that is exposed by the component usage: cl_salv_wd_config_table.. Here is an example. You will need to adjust the name of the component usage for the name you actually used.  I used ALV - then wd_this->wd_cpuse_alv. You would need to adjust this to wd_this->wd_cpuse_<your name> and wd_this->wd_cpifc_<your name>.
    DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_alv( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA l_salv_wd_table TYPE REF TO iwci_salv_wd_table.
      l_salv_wd_table = wd_this->wd_cpifc_alv( ).
      DATA l_table TYPE REF TO cl_salv_wd_config_table.
      l_table = l_salv_wd_table->get_model( ).
      l_table->if_salv_wd_table_settings~SET_VISIBLE_ROW_COUNT( 20 ).

Maybe you are looking for