Enable/Disable a radio button

Hi All,
We have a requirement as below:
Freezing the radio buttons:Ex: Q.No.6 has 2 radio buttons as "Yes" and "No" and has a sub question say Q.NO# 6A.
Q.NO# 6A also has 2 radio button as "Yes" and "No" and these should be freezed when ans---"NO" is selected for Q.No.6 and should get unfreezed when ans--> "YES" is selected for Q.No.6.
For this I am created a VO with a transient variable of type Boolean.
and using SPEL approach to disable radio buttons of Q.NO# 6A.
Setting FirePartialAction on radio buttons of Q.NO# 6.
I am facing some problem in coding:
My CO is as below:
In PR:
DisableradBtnVOImpl vo_radio =(DisableradBtnVOImpl)am.findViewObject("DisableradBtnVO1");
//vo_radio.executeQuery(); getting NUll pointer exception here as there is no query
// Row requestRow_radio = vo.createRow();
// vo.insertRow(requestRow_radio);
requestRow_radio.setNewRowState(Row.STATUS_INITIALIZED);
requestRow_radio.setAttribute("disableRadioButton5",Boolean.TRUE);
OAMessageRadioButtonBean radio6= (OAMessageRadioButtonBean)pageContext.getPageLayoutBean ().findChildRecursive("rad61");
oracle.cabo.ui.action.FirePartialAction FireAction_radio = new oracle.cabo.ui.action.FirePartialAction ();
FireAction_radio.setEvent("enable6");
FireAction_radio.setUnvalidated(true);
radio6.setPrimaryClientAction(FireAction_radio);
how will I use setAttribute().
please guide me.
Akshata

Hi Prince,
My PR code is below:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
System.out.println("****Wel come Page 2******");
boolean isLoggingEnabled = pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT);
String custName = pageContext.getParameter("customerName");
String custNumber = pageContext.getParameter("customerNumber");
String custId = pageContext.getParameter("customerId");
Number numValue=null;
try
numValue = new Number(custId);
catch(SQLException e)
e.printStackTrace();
OAApplicationModule am = pageContext.getApplicationModule(webBean);
checkListVOImpl vo =(checkListVOImpl)am.findViewObject("checkListVO1");
if(!vo.isPreparedForExecution())
vo.executeQuery();
// DisableradBtnVOImpl vo_radio =(DisableradBtnVOImpl)am.findViewObject("DisableradBtnVO1");
OAMessageRadioButtonBean radio6= (OAMessageRadioButtonBean)pageContext.getPageLayoutBean().findChildRecursive("rad61");
oracle.cabo.ui.action.FirePartialAction FireAction_radio = new oracle.cabo.ui.action.FirePartialAction ();
FireAction_radio.setEvent("enable6");
FireAction_radio.setUnvalidated(true);
radio6.setPrimaryClientAction(FireAction_radio);
String pageSave=pageContext.getParameter("OnClickSave");
if((pageSave== null)|| "".equals(pageSave))
Row requestRow = vo.createRow();
vo.insertRow(requestRow);
requestRow.setNewRowState(Row.STATUS_INITIALIZED);
requestRow.setAttribute("CustomerName", custName);
requestRow.setAttribute("CustomerNumber", custNumber);
requestRow.setAttribute("CustomerId", numValue);
requestRow.setAttribute("EnableRadio6",Boolean.TRUE);
System.out.println("**************r1**********************");
OAMessageRadioButtonBean yesRadio1 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad11");
yesRadio1.setName("Resp1");
yesRadio1.setValue("Y");
OAMessageRadioButtonBean noRadio1 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad12");
noRadio1.setName("Resp1");
noRadio1.setValue("N");
noRadio1.setSelected(true);
System.out.println("**************r2**********************");
OAMessageRadioButtonBean yesRadio2 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad21");
yesRadio2.setName("Resp2");
yesRadio2.setValue("Y");
OAMessageRadioButtonBean noRadio2 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad22");
noRadio2.setName("Resp2");
noRadio2.setValue("N");
noRadio2.setSelected(true);
System.out.println("**************r3**********************");
OAMessageRadioButtonBean yesRadio3 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad31");
yesRadio3.setName("Resp3");
yesRadio3.setValue("Y");
OAMessageRadioButtonBean noRadio3 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad32");
noRadio3.setName("Resp3");
noRadio3.setValue("N");
noRadio3.setSelected(true);
System.out.println("**************r4**********************");
OAMessageRadioButtonBean yesRadio4 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad41");
yesRadio4.setName("Resp4");
yesRadio4.setValue("Y");
OAMessageRadioButtonBean noRadio4 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad42");
noRadio4.setName("Resp4");
noRadio4.setValue("N");
noRadio4.setSelected(true);
System.out.println("**************r5**********************");
OAMessageRadioButtonBean yesRadio5 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad51");
yesRadio5.setName("Resp5");
yesRadio5.setValue("Y");
OAMessageRadioButtonBean noRadio5 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad52");
noRadio5.setName("Resp5");
noRadio5.setValue("N");
noRadio5.setSelected(true);
OAMessageRadioButtonBean yesRadio5A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5A1");
yesRadio5A.setName("Resp5A");
yesRadio5A.setValue("Y");
OAMessageRadioButtonBean noRadio5A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5A2");
noRadio5A.setName("Resp5A");
noRadio5A.setValue("N");
noRadio5A.setSelected(true);
OAMessageRadioButtonBean yesRadio5B = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5B1");
yesRadio5B.setName("Resp5B");
yesRadio5B.setValue("Y");
OAMessageRadioButtonBean noRadio5B = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5B2");
noRadio5B.setName("Resp5B");
noRadio5B.setValue("N");
noRadio5B.setSelected(true);
OAMessageRadioButtonBean yesRadio5C = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5C1");
yesRadio5C.setName("Resp5C");
yesRadio5C.setValue("Y");
OAMessageRadioButtonBean noRadio5C = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5C2");
noRadio5C.setName("Resp5C");
noRadio5C.setValue("N");
noRadio5C.setSelected(true);
OAMessageRadioButtonBean yesRadio5D = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5D1");
yesRadio5D.setName("Resp5D");
yesRadio5D.setValue("Y");
OAMessageRadioButtonBean noRadio5D = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad5D2");
noRadio5D.setName("Resp5D");
noRadio5D.setValue("N");
noRadio5D.setSelected(true);
// requestRow_radio.setAttribute("disableRadioButton5",Boolean.TRUE);
System.out.println("**************r6**********************");
OAMessageRadioButtonBean yesRadio6 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad61");
yesRadio6.setName("Resp6");
yesRadio6.setValue("Y");
OAMessageRadioButtonBean noRadio6 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad62");
noRadio6.setName("Resp6");
noRadio6.setValue("N");
noRadio6.setSelected(true);
OAMessageRadioButtonBean yesRadio6A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad6A1");
yesRadio6A.setName("Resp6A");
yesRadio6A.setValue("Y");
OAMessageRadioButtonBean noRadio6A = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad6A2");
noRadio6A.setName("Resp6A");
noRadio6A.setValue("N");
noRadio6A.setSelected(true);
System.out.println("**************r7**********************");
OAMessageRadioButtonBean yesRadio7 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad71");
yesRadio7.setName("Resp7");
yesRadio7.setValue("Y");
OAMessageRadioButtonBean noRadio7 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad72");
noRadio7.setName("Resp7");
noRadio7.setValue("N");
noRadio7.setSelected(true);
System.out.println("**************r8**********************");
OAMessageRadioButtonBean yesRadio8 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad81");
yesRadio8.setName("Resp8");
yesRadio8.setValue("Y");
OAMessageRadioButtonBean noRadio8 = (OAMessageRadioButtonBean)webBean.findChildRecursive("rad82");
noRadio8.setName("Resp8");
noRadio8.setValue("N");
noRadio8.setSelected(true);
if (isLoggingEnabled)
pageContext.writeDiagnostics(numValue, "customerId", OAFwkConstants.STATEMENT);
if (isLoggingEnabled)
pageContext.writeDiagnostics(custName, "customerName", OAFwkConstants.STATEMENT);
if (isLoggingEnabled)
pageContext.writeDiagnostics(custNumber, "customerNumber", OAFwkConstants.STATEMENT);
}

Similar Messages

  • Automatic disabling of Radio Button

    Hi All
    I have radio buttons and also Input feilds in same form. Is there any way that radio buttons are disabled or cleared when I focus my cursor in Input feilds? Also is there any way to clear radiobuttons or Input feilds I user clicks on submit button?

    Hi,
    in VC there is no getFocus event, which you know from other development tools like the MS Visual Basic and so on. So I would say there is no way at the moment to disable the radio buttons, when you click into the input fields.
    Best Regards,
    marcel

  • How to enable /disable a command Button based on a table's selectOne choice

    Hi everyone.
    I am using JDeveloper 10.1.3.3 and wish to enable / disable a commandButton based on the user's selection of the selectOne radio button.
    The idea is that a row of a table may have an associated document so I want to enable or disable the button that downloads it based n the current row selected.
    I have followed the advice on problem with table I defined my selectOne component as follows :
    <af:tableSelectOne text="#{res['tables.selectionFacet.title']}"
        autoSubmit="true"
        attributeChangeListener="#{backing_browseCVs.onSelectionChange}">The function inside the backing bean looks like this
        public void onSelectionChange(AttributeChangeEvent attributeChangeEvent)
            // access the faces context
            FacesContext fc = FacesContext.getCurrentInstance();
            // get value of the expression #{row.hasCVDocument} that indicates
            // if a document has been added
            ValueBinding vb =
                fc.getApplication().createValueBinding("#{row.hasCVDocument}");
            Boolean hasDoc = (Boolean)vb.getValue(fc);
            // enable the doownload button accordingly
            downloadCVDocBtn.setDisabled(!hasDoc);
        }My problem is that the method never fires. I have placed a breakpoint at the first line but it is never reached.
    Any advice will be most welcome.
    Thanassis

    Hi,
    You might need to add 'dataProvider' part in the expression language in your selectionListener:
    #{bindings.CVList.currentRow.[b]dataProvider.hasCVDocument}
    #{bindings.CVList.currentRow} returns an instance of ViewRowImpl which does not have 'getHasCVDocument()' method, but does have:
    Object getCurrentRow()
    method, which returns objects from your CVList list, which do have getHasCVDocument() method...
    Expression language is resolved through reflection, so when you write:
    #{processScope.someClass.someReferencedClass.someAttribute} it is something like:
    Get someClass from processScope map, then:
    someClass.getSomeReferencedClass().getSomeAttribute()
    It's a bit more complex but you get the idea.
    Vladimir

  • How can I control the enable/disable of command buttons in ADF JSF

    I have been having a great deal of trouble trying to work out how to control the command button such that if the rowset is null then the button is disabled. The trick is that the rowset is not defined by the view where the command button is located. The rowset is defined by a view which has a "view" command button which displays the specific row selected, then this view has a command button that will display the detail rowset of the selected master row, but if there are no detail records I want the button to be disabled. How can I do this in ADF JSF? If I use a backing bean to make the determination prior to the page rendering then how does the backing mean method set the parameter necessary to disable the command button? Any advice or tutorial that I can use is most appreciated. My goal with using ADF JSF effort was to demonstrate that a complex app could be generated with minimum coding, I would like to keep to this concept if possible. Thanks,
    Michael

    Hi Michael,
    You can probably set the Enabled property of the command button using an EL that would evaluate and return true or false based on your requirement.
    Check out these links for more information on using the EL.
    http://radio.weblogs.com/0118231/2006/11/10.html
    http://database.in2p3.fr/doc/oracle/Oracle_Application_Server_10_Release_3/web.1013/b25947/web_dcp006.htm
    -Arun

  • How to disable the radio buttons in alv lsit .

    hi experts ,
    i created one alv list using oops alv . in list three radio buttons . i used code for that in fieldcat-icon = 'x' .
    then in internal table i passed radiobutton icon . using this code i get a radio buttons on list correct .
    but when iam displaying the alv list . i some rows i want radio buttons in disable mode .
    can any one explain

    Tiberiu,
    I think you need to change the webdynpro for java code using NWDI
    Thanks
    Bala Duvvuri

  • Enable/disable problem with button on table toolbar

    Hello *,
    In my WD (ABAP) application, on a view I have a table, a toolbar within it and buttons on the toolbar. I am trying to control 'enable' property of one button, binding it to an attribute in view's context.
    When I do this trick just for any button on the view which is not on the toolbar, it works just fine. But when the button is placed on table's toolbar - it just stays disabled all the time.
    Normally I bind enable property to an attribute in the <b>root</b> node. When I change attribute value, the 'normal' button responds correctly (getting enabled or disabled), but the <u>table toolbar button</u> <b>does not</b>. I start wondering if table controls (like toolbar and its buttons) has something to do with a node the table is bound to?
    Any comments about special features of toolbar and its buttons being placed in a table?
    Thanks!

    Looks like a bug to me. There is nothing special with toolbar buttons vs. "normal" buttons (at least not in Web Dynpro Java).
    Armin

  • Enabling/Disabling of stop button for Tomcat in MyEclipse in Run mode.

    Hi,
    I am very perplexed by the behavior of the Server option in MyEclipse 4.1.1 over Eclipse 3.1.2 using Tomcat 5.5.17.
    When I start the server in Debug mode, the behavior is just fine. i.e. the stop button/option gets enabled and the Start button/option gets disabled when I start the Tomcat server.
    But in the Run mode, the Start option does not get disabled and the Stop option does not get enabled when I start the server, so I have to guess/rely on the console to see if an instance is already running.
    If anyone is having the same issue/behavior, and did something to correct it, please respond or point me in the right direction.
    I have already:
    1) Downloaded a new instance of both Eclipse and MyEclipse
    2) Created the whole workspace again after deleting the .metadata
    3) Tomcat is a part of our configuration management software so everyone uses the same version.
    Edited by: nimraj on Apr 3, 2008 7:17 AM

    Hi Sumit,
    just add one more attribute of type wdy_boolean, and bind this attribute to readonly property of button by coding.
    then as per your cell value set the attribute value, below is the some sample code.
    METHOD wddoinit .
      DATA: lv_node TYPE REF TO if_wd_context_node,
            lt_mara TYPE ig_componentcontroller=>elements_mara,
            wa_mara TYPE ig_componentcontroller=>element_mara.
      SELECT matnr
             ersda
             ernam
             mtart
             matkl
             meins FROM mara INTO CORRESPONDING FIELDS OF TABLE lt_mara
                                     WHERE meins = 'GM' OR meins = 'CCM'.
      SORT lt_mara BY meins.
      lv_node = wd_context->get_child_node( name = wd_this->wdctx_mara ).
      LOOP AT lt_mara INTO wa_mara.
        IF wa_mara-meins = 'GM'.
          wa_mara-readonly = 'X'.
        ELSE.
          wa_mara-readonly = ' '.
        ENDIF.
        MODIFY lt_mara FROM wa_mara TRANSPORTING readonly.
        lv_node->bind_structure(  SET_INITIAL_ELEMENTS = ABAP_FALSE
                                  new_item = wa_mara ).
      ENDLOOP.
      lv_node->bind_table( new_items = lt_mara ).
    ENDMETHOD.
    Regards
    Srinivas

  • How to Disable the radio button on page

    Hi All,
    We have a requirement to disable or hide a radio button on the standard Noritifacation Reassign page in R12.
    The page is /oracle/apps/fnd/wf/worklist/webui/NotifReassignPG.
    When I went to 'Personalize Page', I can see a 'messageComponentLayout', when I set the 'Rendered' property to 'false'.
    It is hiding out the complete Layout, but I just want to hide only one radio button from that layout.
    Can someone please help?
    Thanks,
    Dilip

    Thanks Sandeep and Keerthi,
    I got that point but I am facing one more problem, as you said, its creating radio groups dynamically in CO.
    Now I am trying to extend the CO and disable the radio butto, But I am getting Null Pointer exception, I guess, I am not able to get the proper handle to that radio button.
    Can you please help?
    Here is the Controller code where it created buttons dynamically.
    ==========================================
    OAViewObject localOAViewObject = (OAViewObject)localOAApplicationModule.findViewObject("ReassignTypeVO");
    localOAViewObject.executeQuery();
    OARow localOARow = null;
    int j = localOAViewObject.getRowCount();
    switch (i)
    case 1:
    localObject5 = null;
    for (int k = 0; k < j; k++)
    localOARow = (OARow)localOAViewObject.next();
    localObject5 = (OAMessageRadioButtonBean)createWebBean(paramOAPageContext, "MESSAGE_RADIO_BUTTON");
    ((OAMessageRadioButtonBean)localObject5).setText(paramOAPageContext, (String)localOARow.getAttribute("Meaning"));
    ((OAMessageRadioButtonBean)localObject5).setValue(((Number)localOARow.getAttribute("LookupCode")).toString());
    ((OAMessageRadioButtonBean)localObject5).setID("" + k);
    ((OAMessageRadioButtonBean)localObject5).setName("NtfReassignType");
    ((OAMessageRadioButtonBean)localObject5).setShortDesc((String)localOARow.getAttribute("Meaning"));
    if (k == 0)
    ((OAMessageRadioButtonBean)localObject5).setSelected(true);
    ((OAMessageComponentLayoutBean)localObject1).addIndexedChild((UINode)localObject5);
    ==========================================
    Here is the code I have written, but its going into exception.
    ===========================================
    try
    OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("0");
    testButton.setDisabled(true);
    pageContext.writeDiagnostics(this,"expMsg: got the testButton",1);
    //i tried with OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("NtfReassignType");
    // and
    //OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("MESSAGE_RADIO_BUTTON");
    //but still its not working and going to exception block
    catch (Exception exception)
    throw new OAException("Error in NtfReassignFnCO button: "+exception, OAException.ERROR);
    ===========================================
    Please help.
    Thanks,
    Dilip

  • How to enable/disable an image button when one radio button is checked?

    The checked radio needs to equated with some value , if it returns true, then the Image button for submit should be disabled.otherwise, it needs to be disabled always.please help me to pass th' this requirement.
    Thanks in Advance

    look for a function like setActive or setDisable

  • How can i disable checkbox/radio button/popup/butt...

    In Xhtml, to disable a form element we use disabled="disabled". but how to disable form elements in mobile?.

    It actually does work. What you have to do is drag another icon down to the bottom left where the radio is defaulted. It will automatically kick up one of the other icons that is highlighted. For example, I dragged the Songs icon down and the Genius icon popped up to the top. Then I dragged the genius back down to the second spot and the Radio one goes to the right until it pops up. You just have to do it four times.
    It's kind of a pain, but it does work. Give it a try. This is what it ends up looking like.

  • Enable/disable/defaulting the radio button in tabular Form

    Hi friends,
    I have one radio button column in my tabular form with 3 values for it.
    <li>FC
    <li>BC
    <li>EC
    I need to enable/disable the radio buttons according to the position of the user.
    If the position of the user is CEO means,
    then FC radio button has to be checked defaultly and also for him he needs to have BC and EC radio buttons to be enabled.
    If the position of the user is between(1-4) grades means,
    then FC radio button has to be disabled, but BC radio button has to be checked defaultly and also for him he needs to have EC radio buttons to be enabled.
    If the position of the user is between(4-6) grades means,
    then FC, BC radio button has to be disabled, but EC radio button has to be checked defaultly.
    How i can achieve this radio button enabling/disabling and defaulting it dynamically according to the user.
    Where i need to specify this kind of restriction inorder to work for me in my application.
    Brgds,
    Mini

    Hi Bob,
    thanks for your reply first, and your suggestion too.
    I tried in the below manner on the lov definition of my radio button and it hide/shown according to the user who logs into the application.
    SELECT 'FC' d, 'FC' r FROM DUAL WHERE lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO')
    UNION ALL
    SELECT 'BC' d, 'BC' r FROM DUAL WHERE lower(:APP_USER) IN (select lower(user_name) from apps.xxhy_ams_details_v where grade_name
    BETWEEN 1 and 4 OR lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO'))
    UNION ALL
    SELECT 'EC' d, 'EC' r FROM DUALBut how i can check the radio button defaultly according to the user who logs in .
    <li> If the employee with the position CEO logs into the application means, he needs to have FC to be checked defaultly.
    <li> If the employee with the grade between(1-4) logs into the application means, he needs to have BC to be checked defaultly.
    <li> If the employee with the grade between(5-12) logs into the application means, he needs to have EC to be checked defaultly.
    Note:
    Instead of hide/show the radio buttons defaultly whether it is possible to enable/disable the radio button according to the user who logs into the application.
    Brgds,
    Mini...

  • How to disable a lead selected item in a radio button group ?

    Hi,
    I have a radio button group and there are entries to create radio buttons dynamically. means there is only one radio button group in the UI design and in runtime I will be having two radio buttons (For ex: Yes and No ) . Now If I want to disable either Yes or No radio button, I am unable to do so. because If I disable the radio button group it disables both.  So, I can have lead selected item for ex: Yes which I want to disable. I want to know specifically how this Yes button to be disabled by taking lead selected index item.
    Please help.
    Thanks
    Praveen

    Try setting the radio button value of the lead selected button to abap_false/space.

  • Enable/disable operation buttons according to the selected row in table?

    Hi,
    I used JDev 11.1.1.2.0
    On my main page, it has a query section and display search result to a table component, and also has some operation buttons like (update/delete) on the toolbar.
    I want to enable/disable the operation buttons according to some filed value of the selected row in the table, and I searched the OTN forum, found more questions like this but seemed no found one right solution.
    The table is single selection, and has a status column, its data type is Integer, and I want to enable buttons when the selected row's status field value is 0 or 1, disable buttons when status value is other values.
    Table code like:
    <af:table value="#{bindings.VO1.collectionModel}" var="row"
    rows="#{bindings.VO1.rangeSize}"
    emptyText="#{bindingsVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.VO1.rangeSize}"
    rowBandingInterval="0"
    filterModel="#{bindings.VOCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.VOCriteriaQuery.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.VO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.VO1.collectionModel.makeCurrent}"
    rowSelection="single" id="resId1">
    Operation buttons code like:
    <af:commandToolbarButton text="Update" id="ctb2" action="editDAF"/>
    Any suggestion will be great help.
    Thanks,
    zeroxin

    Hi,
    create an attribute binding in the PageDef file for the status field. Then setup the button PartialTriggers property to point to the table ID. The button's disabled property then points to the status attribute binding like
    #{bindings.statusField.inputValue=='value'}
    Frank

  • How to make buttons as disable based on radio button selection in .htm

    Hi
    I have two radio buttons. So i want that when i select one radio button other buttons should become disable in
    .htm in crm webui.
    Thanx,
    Nawal kishore.

    I am not sure why u need this .. but if you disable the radio button, user won't be able to change the radio buttons any more!!!
    You can do it in this way.
    1. go to the radio button attribute of the context node ..
    if get_p_xxxx method is present then modify that to include the below code. If not present create the method. see any standard method
    CASE iv_property.
       WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
          rv_value = 'selected'. "remember case
    endcase.
    2. create a event with the name 'selected'. "" case is important
    3. check in do_handle_event if the event is created or not..." if there is not event added in that method, you need to add your method name there...
    4. set some flag in the event method which you have to access from the get_i_XXX method(XXX is the radio button attribute).
    depending on the flag you make it disable.

  • Why does disabling radio buttons change my formatted text size?

    When I recycle through a multiple choice quiz i have created,
    disabling the radio buttons also makes the label of the radio
    button resort to a (circa) point 12 font. There doesn't seem to be
    a way to get around this. Any advice?

    I guess you, like me, are a poor typist. There is a bug, but it only really shows up when you use the mouse to repeatedly position the cursor, or move around with the arrow keys.
    My "work around" is to press enter about three times as soon as I get into the typing space. Then if I accidentally go "past the end of the formating" it does not turn to rubbish. I did not realise I was doing the pressing of enter, as I wanted to get my signature out of my face while composing, but it appear to have had side benefits I just was not aware of.
    The other formatting hell you can get into is with text pasted from Microsoft Office. Any office suite can make things unpleasant for a while, but but the Microsoft product just stands out with it's references to Microsoft specific data structures and it's magical ability to make the mail ring the anti virus bell..

Maybe you are looking for

  • Is it possible to do a clean install of 8.1?

    Numerous times over the past few months i have set off on a google hunt to figure out how to get an ISO of 8 or 8.1 so i can do a clean install on my PC... but i can never find anything that works for my situation. Often i find people discussing the

  • Can't copy .doc, .xls. pdf's

    Ok, I'm on OSX 10.4.7 connected to my windows xp home through my linksys wireless router... The problem I'm having is trying to transfer files over but I keep getting "The operation cannot be completed because you do not have sufficient privileges fo

  • Storage In Oracle 10g Express

    Hi Guys!XD Another problem is came: I am getting use the oracle statement "storage", cause I'm establishing how much all tables are big... but... the 10g version,maybe , doesn't support this statement? It seems to be like this... I'd like to know if

  • Encrypt/Decrypt passwords

    Hi... Another thread with that same, old subject... right? Perhaps yes!! But I am not able to move further without help. I am developing an application where user needs to login by entering the password. My requirement is to encrypt the password firs

  • Get the email and contact number of employee?

    Hi all, I want to get the contact number and the email of the employee. How can I get it, from which infotype it is mainatined?