How to align output formatted and output text in the same line?

Hi All,
I want an output formatted label and a text on the same line,. I've surrounded these components wth a panel form layout and they automatically align one below the other. how do I kepe them in the same line?
Thanks.

Try as per the code snippet below:
<af:document title="TestPage.jspx" id="d1">
<af:messages id="m1" inline="true"/>
<af:form id="f1">
*<af:panelGroupLayout id="pgl1" layout="horizontal">*
*<af:outputFormatted value="outputFormatted1" id="of1"/>*
*<h:outputText value="outputText1" id="ot1"/>*
*</af:panelGroupLayout>*
</af:form>
</af:document>
Thanks,
Navaneeth

Similar Messages

  • SAPScript: How to combine two text in the same line?

    Dear Gurus,
    I have a case to combine hard code text and long text in the same line.
    For example, i need to display following line:
    'Project name:' <long_text>
    How to do it in SAPScript?
    Can we do it with following code?
    /: 'Project name: ' INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
    Thanks & Regards,
    Ari

    Hi,
        You can achieve that by this method,
    Goto Tcode SO10
    Give the Object Name 'Z_TEST' & Id
    See the Paragraph format for the Text,  you can do it from Menu
    Format>Line . If it is /: change it to =.  Save
    Now in the SAPScript Text editor in which you want to print
    P1 'Project Name :'
    /: INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
    the output will be
    Project name : Abc xyz
    Regards
    Bala Krishna.
    Edited by: Bala Krishna on Oct 17, 2008 7:11 PM

  • How to get the Hardcoded text and the Standard text in the same line

    Hi,
    I have an SAP Layout. In that, it should show the Consignee name as below.
         Consignee: SAP LABS
    In this, the text 'Consignee: ' should be hardcoded in the layout itself. and the customer has requested to create a standard text for 'SAP LABS' sothat if they want to change the value in future, they would go and change the Standard text. I have created the Standard Text for SAP LABS. I am not able to get both these texts on the same line. I wrote in the layout like below and AS is the Paragraph format.
    AS     Consignee:
    /:        INCLUDE ZVRU_CONSIGNEE OBJECT TEXT ID ST LANGUAGE EN PARAGRAPH 'AS'
    But, both are coming in dofferent lines. As /: is a command line, it is coming in the next line. Is there any way of getting these two texts in the same line..? While Inserting the Standard Texts, will there be any option/command to print it in the same line..?
    Please share your thoughts. Thanks in advance.
    Thanks & Regards,
    Paddu.

    Hi Paddu,
    I have had a similar requirement. I did not use any FM or anything, simply did the following:
    In  SO10, for your standard text where u have used the text SAP LABS.
    Instead of P1/ default para, change it to =. And then Save ur Standrd text.
    Now in the SAPScript Text editor in which you want to print
    P1 'Consignee :'
    /: INCLUDE TEST OBJECT TEXT ID ST LANGUAGE EN
    the output will be
    Consignee : SAP LABS
    I have tried and tested this method. It will surely work.
    With regards,
    Niharika.

  • Printing graph and other text in the same page

    Hi,
    I am aware that for providing graphs in ABAP report we have a FM which is called via a pushbutton in the output screen generally.
    Is there any way I can do away with the pushbutton and print the graph and other text in the same page at one go ? I think Smartforms will not allow graph printing.......any other method to achive this ?
    The user wants to print the graph and other text in the same page.
    Regards,
    Sandip.

    Hi ! no it is not related to smartforms
    search for custom container on google you idea about custom container.
    following code is for displaying alv on selection screen which is created using custom container
    and docking container.
    I hope you will get some idea about how to use custom container for your problem
    DATA DECLARATIONS
    DATA: CONT_DOCKING TYPE REF TO CL_GUI_DOCKING_CONTAINER,
    GRID TYPE REF TO CL_GUI_ALV_GRID,
    CUST_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
    IT_FIELDCAT TYPE LVC_T_FCAT,
    GS_LAYOUT TYPE LVC_S_LAYO.
    *ITAB TYPE TABLE OF SBOOK.
    *& SELECTION SCREEN PARAMETERS
    *PARAMETERS:P_TEST TYPE I .
    *& AT SELECTION SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
    IF EBELN[] IS NOT INITIAL.
    CREATE OBJECT CONT_DOCKING
    EXPORTING
    REPID = SY-REPID
    DYNNR = SY-DYNNR
    SIDE = CONT_DOCKING->DOCK_AT_BOTTOM
    EXTENSION = 100.
    IF CUST_CONTAINER IS INITIAL.
    *----Create the alv with docking container
    PERFORM CREATE_AND_INIT_ALV .
    ENDIF.
    ENDIF.
    *& Form BUILD_FIELDCAT
    FORM BUILD_FIELDCAT .
    DATA WA_FIELDCAT TYPE LVC_S_FCAT.
    WA_FIELDCAT-FIELDNAME = 'EBELN'.
    WA_FIELDCAT-REPTEXT = 'Airline Code'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    WA_FIELDCAT-FIELDNAME = 'EBELP'.
    WA_FIELDCAT-REPTEXT = 'Flight Connection Number'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    *WA_FIELDCAT-FIELDNAME = 'WUNIT'.
    *WA_FIELDCAT-REPTEXT = 'Weight Unit'.
    *APPEND WA_FIELDCAT TO IT_FIELDCAT.
    *LOOP AT IT_FIELDCAT INTO WA_FIELDCAT.
    *IF WA_FIELDCAT-FIELDNAME EQ 'WUNIT'.
    *WA_FIELDCAT-EDIT = 'X'.
    *WA_FIELDCAT-DRDN_HNDL = '1'.
    *WA_FIELDCAT-CHECKTABLE = '!'.
    *MODIFY IT_FIELDCAT FROM WA_FIELDCAT.
    *ENDIF.
    *ENDLOOP.
    ENDFORM. "build_fieldcat
    *& Form CREATE_AND_INIT_ALV
    FORM CREATE_AND_INIT_ALV .
    CREATE OBJECT GRID
    EXPORTING I_PARENT = CONT_DOCKING.
    *--perform build field catalog for alv display
    PERFORM BUILD_FIELDCAT .
    *--fill the drop down list values
    PERFORM fill_dropdown_table .
    *----fill final output table
    SELECT * FROM EKPO
    INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE EBELN IN EBELN.
    *UP TO 10 ROWS.
    *---display alv
    CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
    CHANGING
    IT_FIELDCATALOG = IT_FIELDCAT
    IT_OUTTAB = ITAB[].
    *---Set editable cells to ready for input initially
    CALL METHOD GRID->SET_READY_FOR_INPUT
    EXPORTING
    I_READY_FOR_INPUT = 1.
    ENDFORM. "create_and_init_alv
    *& Form set_drdn_table
    FORM fill_dropdown_table.
    DATA: LT_DROPDOWN TYPE LVC_T_DROP,
    LS_DROPDOWN TYPE LVC_S_DROP.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'KG'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'G'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'B'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    LS_DROPDOWN-HANDLE = '1'.
    LS_DROPDOWN-VALUE = 'T'.
    APPEND LS_DROPDOWN TO LT_DROPDOWN.
    CALL METHOD GRID->SET_DROP_DOWN_TABLE
    EXPORTING
    IT_DROP_DOWN = LT_DROPDOWN.
    ENDFORM. "set_drdn_table

  • How do i have landscape and portrait slides in the same keynote file?

    how do i create landscape and portrait slides in the same keynote file?

    You cant, its one or the other not both, the slide size setting is for the whole presentation, not for individual slides.
    The slide format is chosen to match the display the presentation is shown on. I have presentations showing on vertical, horizontal, square, circular and iregular shaped screens with rear projection, but a single format must still be set.

  • How to export an album and keep images in the same order in elements 11 mac

    I made an album of my trip to Australia (lots of pictures) and changed the order of the images (not the same as shooting order) and when I export the images in the album to a folder or memorystick, the images are copied to that place but I lost the album order of the images.
    How can I prevent that, without having to renumber al 500 images separatly?
    Gr Jos

    Thanks for the tip, Michel
    It worked like a charm…
    cheers Jos
    Op 28 okt. 2013, om 18:49 heeft MichelBParis <[email protected]> het volgende geschreven:
    Re: How to export an album and keep images in the same order in elements 11 mac
    created by MichelBParis in Photoshop Elements - View the full discussion
    JosU a écrit:
    I made an album of my trip to Australia (lots of pictures) and changed the order of the images (not the same as shooting order) and when I export the images in the album to a folder or memorystick, the images are copied to that place but I lost the album order of the images.
    How can I prevent that, without having to renumber al 500 images separatly?
    Gr Jos
    The order in album is only kept in the organizer database, so the only way not to lose that order is to rename files.
    If you are using the 'export' function, select your album in custom order, select all photos and in the dialog, choose to rename with a common base name.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5794538#5794538
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5794538#5794538
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5794538#5794538. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Elements at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How can I combine the nav bar and menu bar on the same line to save space?

    Firefox v29 seems to be a huge step backward in customization. I need to save space for content so previously I turned off tabs and combined the menu bar and nav bar on the same line. The url space is way too long anyway. Now with v29 all my customization is gone and I cannot get it back. I can no longer move items on the nav bar to combine it with the menu bar. Why was this done? It only limits my ability to customize my browser? I am very frustrated that you took a great browser and ruined it.

    I get it that Firefox has changed, but the change is for the worse. It makes it impossible to customize menus as I had before v.29.

  • Checkbox and 2 Textbox in the same line

    Hi,
    I am having a problem trying to show one checkbox and two textboxes at the same line,
    the problem is with the text (comment) I want to display for each item.
    when I try to activate or run  the report , I got this error message :
    Error when generating the selection screen "1000"
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN POSITION 1.
      parameters:
      ck1 AS CHECKBOX ,
      p_u  like rlgrap-filename  default 'C:\data\',
      p_ux(9) default '500'.
      "SELECTION-SCREEN COMMENT 4(10) text-c01 for FIELD ck1.
      "SELECTION-SCREEN COMMENT 17(10) text-c02 for FIELD p_u.
      "SELECTION-SCREEN COMMENT 30(10) text-c03 for FIELD p_ux.
       SELECTION-SCREEN end OF LINE.
    I think the problem is with the position of the comment ?
    how to fix this?
    Thanks
    Misbah

    Hi  Misbah ,
    i had faced a similar issue some months ago, following is the solution----->>>
    SELECTION-SCREEN BEGIN OF BLOCK F WITH FRAME TITLE TEXT-014.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(18) text-015.
    PARAMETERS : P_DNR(10) TYPE C.
    SELECTION-SCREEN COMMENT 35(14) text-016.
    PARAMETERS : P_ST  AS CHECKBOX.
    SELECTION-SCREEN COMMENT 56(8) text-017.
    PARAMETERS : P_IC  AS CHECKBOX.
    SELECTION-SCREEN COMMENT 72(14) text-018.
    PARAMETERS : P_CA  AS CHECKBOX.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK F.
    OUTPUT LOOK AS BELOW------>>>>>
    Debit Entry Number  ___________   Stock Transfer [ ]      IC Sales [ ]       Credit Allowed [ ].
    HERE,  Debit Entry Number, Stock Transfer, IC Sales, Credit Allowed are the text sysmbols saved at 015, 016,017 and 018.
    see the above code , the logic is the text stored in text 15 is of length 18.
    after which i print a blank input field i.e the parameter p_dnr which is of length 10.
    so now the next text or field has to be printed at 18 + 10 =  28.
    so 28 or any number more than 28 should be the starting position of the next text or parameter or checkbox  , etc.
    similarly u have to calculate the start position and end position  for all the selection screen variables ur printing in a line .
    if the calculation goes wrong and variables in a line get overlapped on each other , then u get an error message as u r getting now.....something like selection screen error.
    Regards,
    Akash Rana

  • How would I go about adding multiple rectangles using the same lines of code?

    How would I go about adding multiple rectangles using the same lines of code? I would prefer to just run through a set of code every time I need a polygon. If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.

    >>How would I go about adding multiple rectangles using the same lines of code?
    You could create a method that creates and returns x number of Rectangle elements:
    public IEnumerable<Rectangle> CreateRectangles(int numberOfRectsToCreate)
    for (int i = 0; i < numberOfRectsToCreate; ++i)
    Rectangle rect = new Rectangle();
    rect.Fill = Brushes.Blue;
    rect.Width = 100;
    rect.Height = 100;
    yield return rect;
    ..and then call this method from anywhere in your code:
    IEnumerable<Rectangle> rects = CreateRectangles(5);
    foreach (Rectangle rect in rects)
    //add to StackPanel or do whatever with the Rectangle elements:
    yourStackPanel.Children.Add(rect);
    >>If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.
    When adding Point objects to a Polygon you can only add one per call to the Add method but you could call the Add method inside a loop, e.g:
    for(int i = 0; i < 10; ++i)
    //add to StackPanel or do whatever with the Rectangle elements:
    Polygon p = new Polygon();
    p.Points.Add(new Point());
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread.

  • How do I put text on the same line in CSS?

    Ok, I am placed three images on the page, and I like to have before, during, after underneath each images, and on the same line, I did the text-align:right and all that, but it keeps on putting the text on line below. Here is my CSS and html.Thanks!
    #small-box-container #bottom1{
        width: 600px;
        height: 130px;
        background-image:  url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_before_sm.jpg);
        background-repeat: no-repeat;
        margin-top: 90px;
        margin-left: 50px;
    #textbox 1 {
        font-size: 14px;
        font-family: Arial, Helvetica, sans-serif;
        width: 200px;
        height: 100px;
    #small-box-container #bottom2{
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_during_sm.jpg);
        background-repeat: no-repeat;
        margin-left: 180px;
    #small-box-container #bottom3{
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_after_sm.jpg);
        background-repeat: no-repeat;
        margin-left: 180px;
    <div id="bottom1">
                     <div id="bottom2"> 
                    <div id="bottom3"></div>
                    <div id="textbox1"div style="clear: both;"></div>
                    <p style="text-align:left">Before</p>
                      <p style="text-align:center">During</p>
                      <p style="text-align:right">After</p> </div>
    </div>

    I might have mis-read this but do you want the three images in a row, next to one another? Then the text lined up under each image?
    If so the code below will do this. Just one point the images are wide 600px plus 2 x 439px.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    #small-box-container {
    width: 1478px;
    #small-box-container p {
    margin: 0;
    padding: 135px 0 0 0;
    #small-box-container #bottom1{
    float: left;
        width: 600px;
        height: 130px;
        background-image:  url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_be fore_sm.jpg);
        background-repeat: no-repeat;
    #small-box-container #bottom2{
    float: left;
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_du ring_sm.jpg);
        background-repeat: no-repeat;
    #small-box-container #bottom3{
    float: left;
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_af ter_sm.jpg);
        background-repeat: no-repeat;
    }</style>
    </head>
    <body>
    <div id="small-box-container">
    <div id="bottom1">
    <p>Before</p>
    </div>
    <div id="bottom2">
    <p>During</p>
    </div>
    <div id="bottom3">
    <p>After</p>
    </div>
    </div> <!-- end small-box-container -->
    </body>
    </html>

  • How do I make Organizer and Editor open at the same time?

    I'm new to PSE 10 and want to know how to make Organizer and Editor open at the same time. I can get the Organizer up, but have to pick out a photo and click on Fix: Full Photo Edit to get Editor to open. Is that the only way to do it?
    Thanks,
    K

    Create Desktop shortcuts for the Organizer and the Editor:
    The Editor's executable is:
    "C:\Program Files (x86)\Adobe\Photoshop Elements 10\PhotoshopElementsEditor.exe"
    The Organizer's executable is:
    "C:\Program Files (x86)\Adobe\Elements 10 Organizer\PhotoshopElementsOrganizer.exe"
    Ken

  • How to use Forms 5 and DevSuite 10g in the same machine

    Hello everybody,
    I have installed forms 5 and IDS 10g in one machine and both the versions of the forms were working simultaneously. Now I have un-installed both the versions of the forms and re-installed in the same machine. Installation was successful. but I am not able to connect to the database in forms 5. It shows TNS could not resolve service name. TNS is created in both the versions with same name as well as different name. The IDS is working fine. Please help.
    Thanks and regards
    Sukanta sarkar

    Sukanto,
    What error are you getting? One potential problem you will have with more than one version of Oracle Dev Suite installed is keeping the TNSNAMES.ORA synchronized. I've found the easiest solution to this problem is to add the TNS_ADMIN registry key to each Oracle Home so I can share a single copy of the TNSNAMES.ORA file. You can add this entry by starting the Window Registry editor (regedt32.exe or regedit.exe) and navigate to the following registry hive:
    HKEY_LOCAL_MACHINE => SOFTWARE => ORACLE => HOME? (where ? represents the number of the Oracle Home, eg., 0-9).
    In your example, Forms 5 should be in HOME0 and IDS 10g should be in HOME1. Open each home and add a new "String Value" and name it: TNS_ADMIN. After you have added the new String Value entry, edit the String Value and enter the path to the copy of your TNSNAMES.ORA that is working. Then do the same thing with HOME1 and exit the Registry. You should be able to connect to your database with Forms 5 and IDS 10g. Normally, changes to the registry do not require you to reboot your computer, but I have seen where this is necessary - though not very often.
    Note: Always ensure you have a BACKUP of the Windows Registry before you make any changes. If you uncomfortable modifying the Windows Regisitry, then I don't recommend you make this change.
    Hope this helps.
    Craig...

  • How do I customize the toolbars to put the Navigation and Menu toolbars on the SAME line? I want to maximize browser window space on my laptop.

    I want to keep my browser tools very minimalistic so as to maximize the browser window space on my small laptop screen. I only need the navigation and menu toolbars, plus a Google search window. I'd like to put them all on the same line on the toolbar. Right now the navigation toolbar defaults to sit below the menu bar.
    Is there any way to combine them on one line? Thanks.

    I want to keep my browser tools very minimalistic so as to maximize the browser window space on my small laptop screen. I only need the navigation and menu toolbars, plus a Google search window. I'd like to put them all on the same line on the toolbar. Right now the navigation toolbar defaults to sit below the menu bar.
    Is there any way to combine them on one line? Thanks.

  • How do I rescale artboard and content, but keep the same path width

    Hi,
    I have a project with a lot of artboards with content set-up inside each artboard - actually a series of icons.
    I'd like to resize all of the artboards and the content, keeping the same line widths.
    I can use the 'save for web' feature to scale the existing artboards/content, but I don't want the line widths to be scaled too.
    I have failed to find a script or feature that would allow me to do this and save me from manually resizing every artboard and the content.
    I'll immediately hold my hands up to having a minimalist knowledge of illustrator.
    Any thoughts? I'm surprised it's not a feature of 'save for web'.
    Currently using CS6.
    Thanks,
    Paul

    No, rescaling the paths inside illustrator keeps the path width the same. It's the 'export for web' dialog upscaling the content is also upscaling the path widths. I can understand why it does that, but surprised it it ignores the scaling strokes option and doesn't provide that option itself.
    Thanks for the suggestion, though.

  • 2 differently aligned sub regions on a region in the same line

    Hi!
    I would like to place 1 region aligned on left, 1 on the right of a parent region. I added style="float:left/right" to sub regions.
    <div>
    #SUB_REGION#
    </div>
    is added to parent region's sub regions template.
    If I leave this way, then They are eligned correctly, but not in the same "line", but under each other. If I add style="float:left/right" to sub regions template, than sub regions will aligned side by side, but I can't force to place in the same line one left, one right.
    What is strange, than if float added in region's sub regions template, (side by side), and change float of on of the sub regions in firebug, that appears good.
    How to do it correctly?

    selection-screen : begin of block B1 with frame title TEXT-001.
    selection-screen : begin of line.
    selection-screen : comment 1(23) TEXT-001.
    parameter        : P_01 radiobutton group R1.
    selection-screen : comment 30(8) TEXT-001.
    parameter        : P_02 radiobutton group R1.
    selection-screen : comment 42(10) TEXT-001.
    parameter        : P_C01 type rlgrap-filename obligatory.
    selection-screen : end of line.
    selection-screen : end of block B1.
    Change the text elements accordingly
    Regards
    - Gopi

Maybe you are looking for