How can we have a column having text and radio button in the same line?

Hi,
I have a column which needs to have data with a radio button. Was able to achieve this by using <trh:tableLayout>. But when i select the radio button it shifts to the next line. Want to stop this behavior of radio button of shifting to the next line. This column also includes a hyperlink.So the text and hyperlink are made visible invisible based on radio button action.
Adding one more doubt. Can a particular columns horizontalgrid can be made invisible?
Any help would be appreciated.
sample code:
<trh:cellFormat id="cf8" halign="start">
<af:activeOutputText value="#{row.Actions}" id="aot2"/>
<af:goLink text="#{row.Actions}" id="gl1"
clientComponent="true" visible="false"
targetFrame="_blank" destination="http:// + #{row.BUTTON_URL}">
</af:goLink>
<af:selectBooleanRadio text="" id="sbr1">
<af:clientListener method="selectCheckBox" type="click"/>
</af:selectBooleanRadio>
</trh:cellFormat>
Thanks,
Nita

Remove the <trh:> components. Put the other components as direct children of the PanelGroupLayout:
<af:column id="c2" headerText="Actions">
  <af:panelGroupLayout id="pgl6" layout="horizontal">
    <af:activeOutputText value="#{row.Actions}" id="aot2"/>
    <af:goLink text="#{row.Actions}" id="gl1"
               clientComponent="true" visible="false"
               targetFrame="_blank" destination="http:// + #{row.BUTTON_URL}">
    </af:goLink>
    <af:selectBooleanRadio text="" id="sbr1">
      <af:clientListener method="selectCheckBox" type="click"/>
    </af:selectBooleanRadio>
  </af:panelGroupLayout>
</af:column>If you need to add some horizontan space between the components, you can put <af:spacer>(s) between the components.
Dimitar

Similar Messages

  • How can i get my iPhone, ipad mini and mac to show the same  contacts calendar and notes

    how can i get my iPhone, ipad mini and mac to show the same  contacts calendar and notes

    Plug the phone and iPad into your computer and sync them.

  • Can you display a radio button on the same line as a selection field?

    I am fairly sure this can not be done but then I have never had a request like this.
    My users want me to change a screen to have radio buttons on the same liines as other fields.
    For example:
    From Order: ________   To Order: ________         @ First Radio Button
    From Loc:    ____            To Loc:    _____               @ Second Radio Button
    These are using selection screens in an SAP report program - no dynpro or web design.
    And the user would only be able to select one button as all are in the same group.
    I could define as a check box too and only permit one to be selected - I think.
    if this can be done i do not know anyway to codee it.

    Hi
    Please check the below code:
    TABLES: mara,
            vbak.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(15) v_mat.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECTION-SCREEN POSITION 60.
    SELECTION-SCREEN COMMENT 70(10) v_ma.
    PARAMETERS: r_m  RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(15) v_sal.
    SELECT-OPTIONS:  s_vbeln FOR vbak-vbeln.
    SELECTION-SCREEN POSITION 60.
    SELECTION-SCREEN COMMENT 70(10) v_sa.
    PARAMETERS:  r_s  RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      v_mat = 'Material number'.
      v_sal = 'Sales Order Number'.
      v_sa = 'Sales'.
      v_ma = 'Mat'.
    Shiva

  • How can I have two different windows up on one screen at the same time?

    How can I have to different windows open on my screen at one time? Kind of like a split or shared screen.

    If you want this split screen thingy for a single app, do like captfred suggests or see if the app itself supports some sort of splitting, like MS Excel.
    If you want to do this system-wide, maybe you can get what you want by activating and using Spaces: http://support.apple.com/kb/PH4313

  • Can we have both IFS 1.0 and 1.1 on the same machine? (eom)

    -

    Yes, with the following restrictions:
    1. iFS 1.0 can only access a 1.0 schema
    2. iFS 1.1 can only access a 1.1 schema
    (that is, the 1.0 and 1.1 software cannot access the same files/ifs schema; you must have two different iFS schemas created on the database)
    3. iFS 1.0 can be running at the same time as iFS 1.1 only if the iFS 1.0 protocol servers (including JWS and the JWS admin service) are configured to use different ports than the iFS 1.1 protocol servers.
    4. only ONE SMB server may run -- EITHER the iFS 1.0 SMB server OR the iFS 1.1 SMB server, because the SMB port is not configurable.
    5. you must have a lot of RAM :-)
    Note: you can use the same database for both iFS schemas. You can also install both versions of iFS in the same ORACLE_HOME. iFS 1.0 will be located in $ORACLE_HOME/ifs and iFS 1.1 will be located in $ORACLE_HOME/ifs1.1

  • Pages:  How can I sort one column of words and not have it affect the other columns?

    How can I sort one column of words and not have it affect the other columns?  I have opened the inspector to the edit columns and rows under Table.  It will sort the column, but then it changes the other colums as well.  I know that if I use Numbers, it will work, but I want to know how to do the same thing in Pages.

    Hi Peter,
    Numbers sorts full rows on values in selected column(s). The technique for sorting a single column is essentially the same as Jerry is describing for Pages tables—separate the (data in the) column to be sorted, sort it, return it to the table.
    In Numbers the actual column may be separated from the original table, sorted, then returned. In Pages, the data must be extracted, sorted, then pasted back in, overwriting the unsorted data (if it was left in the original table).
    iWork tables follow a database model in which each row is a Record, and each column holds a Field within the records.
    As evidenced by the current question (and several similar questions arising in the Numbers community) that model doesn't apply to the way some users, especially some who come in from the MS Excel world, use tables.
    With Excels model—islands of data on a single large table, the ability to sort one or a selected few columns of data makes sense. One 'island' may comprise only cells AA21:AH50. Sorting that small 'table' should be possible without disturbing the rest of rows 21-30, which are probably part of one or more other 'data islands' in the sea that is a MS Excel spreadsheet.
    In Numbers, each of those 'islands' would be a separate Table, and that Table would be sortable without disturbing other Tables in the document.
    Regards,
    Barry

  • My ipad imessages are coming up on my husband's iphone. Is that because we share an apple id account. How can we have separate apple id's and still share the same music library.

    my ipad imessages are coming up on my husband's iphone. Is that because we share an apple id account. How can we have separate apple id's and still share the same music library.

    The biggest problem I have is with cross texting. My friends send my a imessage on ipad to ipad and it comes up as message on my husband's phone as well as my ipad?
    My friends definitely do not want my husband seeing their texts. (and I dont really need him to see my responses either)
    Also, apple id is based on my email account, how do I create a new apple id without setting up a new email account?

  • How can I modify one column of current and next record depending of some criteria?

    Having DDL
    CREATE TABLE #ServiceChange(
    [ID] [int] identity(1,1),
    [SHCOMP] [char](2) NOT NULL,
    [SHCRTD] [numeric](8, 0) NOT NULL,
    [SHCUST] [numeric](7, 0) NOT NULL,
    [SHDESC] [char](35) NOT NULL,
    [SHTYPE] [char](1) NOT NULL,
    [SHAMT] [numeric](9, 2) NOT NULL,
    [CBLNAM] [char](30) NOT NULL,
    [GROUPID] [char](2) NULL
    And original and desire data in below link
    https://www.dropbox.com/sh/bpapxquaae9aa13/AADnan31ZASublDjN7sa2Vvza
    I would like to know how can I modify one column of current and next record depending of some criteria using SQL2012?
    The criteria is:
    Type should always flow F->T
    if current abs(amount)> next abs(amount) then groupid = 'PD'
    if current abs(amount)< next abs(amount) then groupid = 'PI'
    there is no case when those amounts will be equals
    where current(custid) = next(custid) and current(service) = next(service) and groupid is null
    Any help will be really apreciated.
    Thank you

    I tried that and got this error
    'LAG' is not a recognized built-in function name.
    You said you were using SQL 2012, but apparently you are not. The LAG function was added in SQL 2012. This solution works on SQL 2005 and SQL 2008:
    ; WITH numbering AS (
       SELECT groupid,
              rowno = row_number()  OVER (PARTITION BY custid, service ORDER BY date, id)
       FROM   #ServiceChange
    ), CTE AS (
       SELECT a.groupid,
              CASE WHEN abs(a.amount) < abs(b.amount) THEN 'PD'
                   WHEN abs(a.amount) > abs(b.amount) THEN 'PI'
              END AS newgroupid
       FROM  numbering a
       JOIN  numbering b ON b.custid  = a.custid
                        AND b.service = a.service
                        AND b.rowno   = a.rowno - 1
    UPDATE CTE
    SET   groupid = newgroupid
    Erland Sommarskog, SQL Server MVP, [email protected]

  • I have an iCloud email address on my iMac. How can I create an icloud email address for my wife on the same computer?

    I have an iCloud email address on my iMac. How can I create an icloud email address for my wife on the same computer?

    If all you want is an additional email address you can create up to three 'email aliases'  - these are additional addresses (not accounts) which deliver into the same inbox as the main account.
    You should be aware before you start that once you've created an alias you cannot turn that address into a full iCloud account, move it to another account, or reactivate it if you delete it.
    More information on aliases here:
    http://help.apple.com/icloud/#mm6b1a490a
    If you want to keep her email separate from yours she will need to create a new Apple ID, and use it to create a new iCloud account either on a separate computer or on a separate User Account on your Mac.

  • Hello i hav an ipad mini and i was in the middle of the ios 8 update and i held the sleep and home button at the same time to cancel the update and now it wants me to connect to itunes i dont no how to do that can someone pleaze help me

    hello i hav an ipad mini and i was in the middle of the ios 8 update and i held the sleep and home button at the same time to cancel the update and now it wants me to connect to itunes i dont no how to do that can someone pleaze help me?

    RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • I´ve made four Columns with text and an Image over the middle of two columns. How do I put a text u

    I´ve made four Columns with text and an Image over the middle of two columns. How do I put a text under the Image that spans over the Columns?

    Did you mean that?
    or
    Did you mean that?
    Let me know.

  • Can i have creative cloud package installed on 2 computers from the same account? if so how do i do it?

    Can i have creative cloud package installed on 2 computers from the same account? if so how do i do it?

    You can activate the subscription on two computers.
    To install the products refer
    Creative Cloud Help | Install, update, or uninstall apps

  • How can I combine a lot of text and images on the same screen?

    How can I combine a lot of text and images on the same screen?  I can get a couple of words on the screen with a graphic but not 10 lines.  I need 10 lines on the page with the image. 

    Priscilla,
    I routinely combine 10 lines of 36 pt bible or lecture text to a suitable background using Boris Title 3D.
    Many times the text is too long to fit the screen using Boris, so I devide it into 2 or more parts with no transition between sections.
    In my case, the text is on the screen as the speaker quotes them.
    David

  • HT204053 How do I have my  wife's iphone 4s upload pics to the same icloud used for my ipad and iphone?  Phone does not allow changing icloud ID once established.

    How do I have my wife's iphone 4s upload pics to the same icloud I use for with my 4s and ipad?  Can seem to change her icloud ID to match mine.

    I can tell you how to do this but first wanted to be sure that's what you want to do.  You would then be sharing the same iCloud account and any synced data (contacts, calendars, etc.) would then be merged and the merge data would appear on her phone and your iPad (i.e., you'll end up with each other's contacts on your phone). You would also both be backing up your devices to the same account, sharing the 5GB of free storage (assuming you're both backing up to iCloud).
    There's an alternative setup that would allow her to set up your iCloud account on her phone as her primary account and just turn on photo stream in that account (allowing your to share you photo stream), then set up a secondary iCloud account on her phone that would sync her Mail, Notes, Contacts, Calendars and Reminders.  She would still have to back up her phone to your account, as well as syncing Safari, Documents and Find My iPhone (all of which can only be done in the primary account).  Also, her mail would be fetch, not push as push email is only supported in the primary account.
    I suppose a third option is to leave things as they are and share you photos with each other using shared photo streams.
    Let me know what you want to do and I'll give you the steps.

  • I am having trouble with my iPad, i can start it, but the iPad does not work. i tried to use the power and home button at the same time, the apple logo appears, but the iPad does not work. What am I suppose to do?

    I am having trouble with my iPad, i can start it, but the iPad does not work. i tried to use the power and home button at the same time, the apple logo appears, but the iPad does not work. What am I suppose to do?

    After the Apple logo appears, what happens then? Can you hear any sounds or if you tap on the screen, does it seem like apps can open or are you just seeing a black screen? You might have a hardware problem, but you can try restoring the software and see what happens.
    Read this in its entirety before you do anything. Make sure you read the sections at the end about using recovery mode.
    iTunes: Restoring iOS software - Support - Apple

Maybe you are looking for