Adding UIElement only when a certain rabiobutton is selected

Hi,
I would like to know if its possible to add a new Group UIElement with checkboxes inside it, if a certain radiobutton is selected and when another radio button is selected this group will disappear ...
I will have to play with the method action onSelect...
Thanks !

Hi Benjman,
Hi Benjman,
U can do this., first create check box ui element also and bind visibility to an attribute.. then in onSelect of radio button show tat else hide tat..
[Show/Hide UI Elements|http://wiki.sdn.sap.com/wiki/display/WDABAP/SimpleapplicationtochangepropertiesofUIElementsduringruntimeinWebDynpro+ABAP]... refer this link
Reply if u need some more clarifications.,
Thanks & Regards
Kiran

Similar Messages

  • How to enable a button only when a tilelist item is selected

    Simple question but it seems quite awkward to me. How do I enable a button only when an item within a tilelist is currently selected?
    For example lets say if I have a button called button1 that is disabled by default and a tilelist called tilelist1 what would I have to add into the brackets of the following code (enabled property of the button) to ensure that the button is only enabled when an item in the tilelist is currently selected but disabled when no items are selected:-
    enabled="{}"

    enabled="{tilelist1.selectedItem}"
    that should do it, it's making an implicit comparision with null (tilelist1.selectedItem == null) which will result in a boolean.
    SelectedItem is null when nothing is selected , not null when something is.

  • Making checkboxes checked only when a certain value is true

    I am trying to make a checkbox dynamically check itself. I only want the checkbox to be marked if a value is true. I am using JSP
    here is what my code looks like.
    <input type="checkbox" name = "Full1" value ="0">
    <input type="checkbox" name = "ReadWrite1" value ="1">
    <input type="checkbox" name = "Read1" value ="2">
    <input type="checkbox" name = "Delete" value ="0">
    say that my variable is
    var = 0;
    I want to to do something like this
    if(var=0)
    <input type="checkbox" checked name = "Full1" value ="0">
    else
    <input type="checkbox" name = "Full1" value ="0">

    Guys, he said he was using jsp.
    So Scooter, assuming that's what you meant (and not client-side javascript), you could achieve this effect with:
    <% if (var == 0) { %>
    <input type="checkbox" checked name="Full1" value="0">
    <% } else { %>
    <input type="checkbox" name="Full1" value ="0">
    <% } %>

  • Firefox crashes only when entering certain websites, e.g., Bank of America, American Express, Smilebox (unstable) but not others. There are no crash reports. All software is current. Any suggestions? Thanks!

    Once I enter the log-in information the problem occurs, quickly. Gone.

    See also:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

  • Text entered into a text box is visible only when the text box is selected (highlighted) How do I get the text in all the text boxes to show up?

    I use a Mac.  I sent out a pdf form for signatures to 6 recipients.  Two of the 6 forms came back and visually are perfect.  Signature and date fields show the signature on my screen and when printed.  The other 4 forms however only show the signatures/date text when I click on the individual field and the text does not appear when printed or on screen.

    Are the users using a Mac as well? If so, are they actually using Adobe Reader or are they using Mac Preview. If the latter, it will break the pdf form.
    Here's some info and a possible fix: Correcting PDF Form Field Appearances after Saving with Preview on the Mac

  • How to execute custom code only when a specific node is selected in infoset

    Hi,
    We have written a piece of custom code under a node (P1045). Not all users will have access to this Infotype as it is related to Appraisals. So, when users (w/no access to 1045) try to run a Query for other info types data, they are getting error message 'Can not access 1045'. Custom code is getting generated whenever user runs a query. Tried to control custom code with simple IF condition by giving user name. Still generating 1045 code.
    All users use same infoset, where a group of users has access to 1045 and another group does not have access to 1045.
    Appreciate your inputs to get this resolved.
    Thanks,
    Swapna.

    Why don't you try another aproach, instead of adding the infotype to the infoset, create a new table as an alias (with the fields you want to show in regards to infotype 1045) and fill it in the node depending on the authorization check for that infotype in the code ?
    I think that adding the infotype as a node will always get the data from the infotype regardless, that is why it's showing the error.

  • How to change the commands from a Form when a certain item is selected???

    Hello,
    I'm developing a J2ME application and I'm having some problems. I have more items on a form and I when i"m moving from an item to another I want that the commands of the form to change. Is that possible? How can it be done? I've tried some ways but without success. Please help.
    Thanks

    There is no focusListener and there ain't any focus events in j2me,
    if you want to have this effect you need to have only one command per item
    so that it won't appear in 'options' menu

  • Execute subroutine only when selection parameter changes

    Hi ABAP workers,
    I have a block of selection parameters, and I created the event AT SELECTION SCREEN ON BLOCK bl1 with a subroutine. I want that subroutine to be executed only when a parameter in the selection block is changed by the user. But the behaviour right now is that it executes every time I press Enter, even if no parameter changes.
    Is there any way to chieve this (like in the module pool case, with the extension "ON REQUEST")?
    Thank you very much
    Ivson
    Code involved:
    SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
    PARAMETERS: p_bukrs LIKE csks-bukrs MEMORY ID buk OBLIGATORY,
                             p_ryear LIKE glpct-ryear OBLIGATORY.
    SELECT-OPTIONS: s_poper  FOR glpct-rpmax,
                                  s_racct  FOR glpct-racct,
                                  s_kunnr  FOR glpca-kunnr,
                                  s_lifnr  FOR glpca-lifnr,
                    s_sprctr FOR glpct-sprctr.
    SELECTION-SCREEN END OF BLOCK bl1.
    AT SELECTION-SCREEN ON BLOCK bl1.
      PERFORM preselect.

    Hi,
    You could try this.
    Use the FM "DYNP_VALUES_READ" to get the contents of that screen parameter and then check for the parameter value inside the subroutine using a IF statement.
    PNAME is a paramter name here.
    a  dynpfields-fieldname  = 'PNAME'.
      append dynpfields.
      repid = sy-repid.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname     = repid
                dynumb     = sy-dynnr
           tables
                dynpfields = dynpfields
           exceptions
                others.
      read table dynpfields index 1.
      pname = dynpfields-fieldvalue.
    Process the subroutine if needed based on the check condition.
    Hope this helps you.
    Regards,
    Subbu

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Display a particular column only when certain criteria is satisfied

    Hi Experts,
    I have a requirement from a user with which i am struggling. The person wants to see an entire report but see a particular column only when certain criteria is satisfied. I am not talking about filtering the entire Query but just a certain column.
    Ex.
    Data in Cube
    Req | Candidate | Candidate Status | Grade
    1 | C01 | Draft | A
    1 | C02 | Withdrawn | B
    2 | C03 | Hired | B
    3 | C04 | In Process | A
    3 | C05 | Hired | C
    Result in Query
    Req | Candidate | Grade
    1 | <Blank> | A
    1 | <blank> | B
    2 | C03 | B
    3 | <blank> | A
    3 | C05 | C
    Basically, user wants to see candidate information only when Status is Hired. Rest of the time, it should be blank.
    Is this possible ?

    Hi,
    From My view this is not possible in Query.
    You can do this in Backend or
    You can create 2 Query
    1.Query whith candidate name who is hired.
    2.Query without candidate name whose status is not hired.
    3.Merge these these report using Excel Macro.
    Thanks and Regads,
    MuraliManohar

  • When I plug in my Lacie Firewire 800 drive it causes certain apps to crash. Chrome will immediately crash when I open it, so will DVD player. It's only when I plug in my Firewire 800 drive, USB does not cause issues. What's the deal?

    When I plug in my Lacie Firewire 800 drive into my Mid-2009 Macbook Pro running Mountain Lion - 10.8.2,  it causes certain apps to crash. Chrome will immediately crash when I open it, so will DVD player. It's only when I plug in my Firewire 800 drive, USB does not cause issues. What's the deal?
    I've restarted, verfied the disk, repaired permissions, smc reset.. don't know what else to do..

    Contact Lacie since it's their product you are having issues with. 

  • Apply certain css styles only when JS is enabled?

    I'm wondering if there's a relatively simple way to apply certain CSS styles only when JavaScript is enabled in the browser (and thus, not applied when JS is disabled)... I've created a jQuery-based image gallery, and I'd like to modify how it degrades by selectively disabling certain CSS styles...
    thanks for any direction here.

    Hi
    As your jQuery image gallery would not work correctly if javascript was disabled,. The better approach would be to enable the required css styles using jQuery, (the title says this, but your post says the opposite).
    To do this see the jQuery documentation regarding css, at -http://api.jquery.com/css/.
    PZ

  • How do i set drive to update changes only when same name files are added

    I Want to set up an external drive to update changes only when same name files are dragged from desktop can any one help?

    That's still a little ambiguous. What recording software are you using?
    Usually the individual sound files in a music project file are included in a separate folder. For example, GarageBand normally hides these files inside a single Project file in the Finder, but you can right-click and Show Package Contents to see the individual audio files.
    Any of those backup utilities I mentioned will be smart enough to copy the new and changed files within the project file. In the Terminal these .band files are actually directories, just like .app Applications in the Finder are actually directories. I think Finder may actually handle it properly also, but I'm not really sure what the Finder will do when you re-copy a GarageBand project folder to an existing backup copy and only some of the audio files have changed.

  • Why is How I Met Your Mother Season 3 "Episode Only" when every other season has the option to buy the entire season?

    Why is How I Met Your Mother Season 3 "Episode Only" when every other season has the option to buy the entire season?
    Seems rather unfair to pay nearly £40 for each individual episode when each other season has the option to buy the entire season for £9.99 (including seasons after season 3)

    Just recieved this from iTunes Store Support:
    Missy here. I am a Senior Advisor from the iTunes Store. Your request has been escalated to me by Irish.
    I understand you have some concerns regarding the numbering of the episodes for "How I Met Your Mother, Season 3". I can certainly appreciate your concerns and I'm happy to offer some additional information about this.
    Episode 17, is a music video that accompanies the episode "Sandcastles In the Sand" however it is not available on the UK iTunes Store. This is why 17 has been omitted.
    Apple is constantly expanding the iTunes Store's catalog of music, audiobooks, videos, and movies. To ensure that your request is considered, please submit it through the Request page at:
    http://www.apple.com/feedback/itunes.html
    This solves the issue. I have filed a request to get the music video added to the iTunes which hopefully it does, completing Season 3 of How I Met Your Mother.

  • Serv. Desk: Action: send an email only when a value in a field has changed

    Hello,
    In Soution Manager 4.0, Sevice Desk, I would like to create an action which creates an email only when a value of a certain field has changed.
    - only in change mode relevant
    - only when a value of one field has changed (e.g. Message Processort has changed from Buss. Partner 4 to 5. Than a mail should be sent to BP 5).
    - it should only send this kind of email when the field value has changed in change mode. In other words: it should not sent the email e.g. when the status has changed.
    I tried all kinds of things but I do not know on how to define the COnditions for an Action, so I can compare e.g.
    if <old value> <> <new value>
    Any ideas or experience on how to implement this without major modifications ?
    Thanks
    Christian

    Hi Christian,
    check out my question on SDN.
    Email on Status Change
    it has details on how to send an email when the status changes. I believe you are going to have to do something like this for each of the fields you want to create an Action Starting Condition for.
    regards,
    Jason

Maybe you are looking for

  • I am moving my US iMac and macbook pro to Ireland.  Where can I get the right power cords

    I am moving to Ireland.  I have several mac products.  I have 2 iMac, and 3 laptops, plus all the other "fun" apple stuff.  Apple TV, iPad, iPods, phones) I need to get a power supply for both the iMacs and MacBooks.  Any suggestions, I can't seem to

  • Streaming Audio on webpages

    How can I hear streaming audio from webpages?  Is there a special software that I need to use? I have a BlackBerry 8703e.

  • How can NI FBUS Monitor display very large recorded files

    NI FBUS Monitor version 3.0.1 outputs an error message "Out of memory", if I try to load a large recorded file of size 272 MB. Is there any combination of operating system (possible Vista32 or Vista64) and/or physical memory size, where NI FBUS Monit

  • Oracle 8i outer join

    Hi we are using oracle 8i, I am writing left outer join but i am getting error AND      to_char(A.SHORT_PROD_CD||A.PROD_MOD_CD) = ltrim('to_char(B.PFDR_PROD_CD)','0') (+) and A.MFG_CO_CD=B.PFDR_MFG_CO_CD These are the conditions. I know i am using le

  • User-exit in sem-bps

    In SEM-BPS, I have a layout for manually entering data. The purpose is to enter values for a list of cost centers. This list of cost centers should change according to a SKF (statistical key figure) entered in the layout's header. The list of cost ce