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

Similar Messages

  • I updated my browser to the last versoin of firefox (31). But I have a problem with mozilla. why tha toolbar of alexa does not work on it?

    Hello...
    I updated my browser to the last versoin of firefox (31). But I have a problem with mozilla. why tha toolbar of alexa does not work on it?

    After a quick search in the addon.mozilla.org page, it looks like that add on is still compatible with version 31. Please try to [[Re-enable add-ons that were disabled when updating Firefox]] or make a back up of the add on folder in the profile folder and reinstall the add on. [[Back up and restore information in Firefox profiles]]

  • Problem with checkbox on table component

    Hello i am having a problem with checkbox in table component
    i am developing something like a shopping cart app and i have a checkbox in my table component , i want users to select items from the checkbox to add to thier cart, They can select the items from cartegory combobox , my problem is when they select the items from the checkbox if they select another category the alread selected once do not display in my collection opbject please how can i maintain the state of the already selected items in my collection object

    Hi,
    Please go through the tutorial "Understanding scope and managed beans". This is available at:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/scopes.html
    The details of the selected items need to be stored in an object that is in session scope.
    Hope this helps
    Cheers
    Girish

  • Disabled new entries button in Table Maintenance

    Hi Guru,
    I want to disabled new entries button in table maintenance (sm30) due to authorization. could u tell me how  can we do it.
    I want give authorize to user only see table maintenace entries
    not able to give new entries.
    <REMOVED BY MODERATOR>
    Thanks
    Ramakrishna
    Edited by: Alvaro Tejada Galindo on Apr 8, 2008 4:24 PM

    hi krishna,
    It is used for updating tables.i.e deleting,updating and inserting data into tables.
    check these threads and links
    Re: Regarding Table Mainantance Generator
    Re: table maintenance
    For further help look into these links
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21eb6e446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    Table
    Table maintanence generator is nothing but making a table available for adding records and deleting records.
    The transaction code used is SM30.
    follow below steps
    1) go to se11 check table maintanance check box under
    attributes tab
    2) utilities-table maintanance Generator->
    create function group and assign it under
    function group input box.
    also assign authorization group default &NC& .
    3)
    select standard recording routine radio in table
    table mainitainence generator to move table
    contents to quality and production by assigning
    it to request.
    4) select maintaience type as single step.
    5) maintainence screen as system generated numbers
    this dialog box appears when you click on create
    button
    6) save and activate table
    using sm30 you can create entries manually.
    check these links
    Table Maintainance generator
    Table Maintainance Generator!!
    Re: STANDARD RECORDING ROUTINE IN TABLE MAINTENANCE SCREEN
    <REMOVED BY MODERATOR>
    karthik
    Edited by: Alvaro Tejada Galindo on Apr 8, 2008 5:11 PM

  • One view with button an table ui

    Hi
    I have a view with button and table ui element...whenever i press the button i have defined an acrtion...
    and in the action method i am calling a component contrller method..( this method is created automatically by create->service call bapi)
    i have also defined context mapping between view and component controller contexrt.
    Still when i click the button..the table ui element does not show the records

    Hi Tarang,
    Do you mean to say that, on click of the button, service is called and the results of the service should be populated into the table?
    If yes, plesase check the following points.
    1.)Make sure if the method is called and check the results obtained.
    2.) Also make sure if you are binding the obtained data to the context.(and check the context 's data in debugging)
    3.) Check if you have defined mapping between component controller context and view context.
    This is all I can think of as of now..
    Thanks,
    Aditya.

  • I have problems with buttons and Forms in my trial proof of Indesign CC, how can I fix it?

    I have problems with buttons and Forms in my trial proof of Indesign CC, how can I fix it?

    Moved to InDesign forum.
    You can start by telling us what the problem is.

  • 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

  • Problems with getting a custom toolbar button to work...

    Hi all,
    I'm using the 7.0.1 eval version of GroupWise, patched to 7.0.2 HP 6/6/2007.
    The server is the same version.
    I'm trying to put a new button on the toolbar in C# (with the
    GW.CLIENT.WINDOW.BROWSER context) - the button shows up as expected. It also
    gets validate events - quite frequently and my code always returns 0 from
    Validate() and the button is always enabled. However, no matter what I do, I
    never get an Exectute() call on the command object I create for this button
    when I click it. I also tried the GW.CLIENT context, in which case the
    button shows up in the same place (main GW client toolbar), and it behaves
    the same.
    If I try to create the button with the GW.MESSAGE.MAIL context and I
    double-click emails, the button shows up on the toolbar of the message
    window. When I click this button, I properly get Execute() calls. I also
    have no problem getting context menu items working.
    Is there anything special I need to do to get callbacks for buttons on the
    main toolbar?
    Thanks,
    Gyorgy Bozoki

    These instructions from Mediacom differ slightly from what you have:
    http://mediacomcable.com/CustomerSupport/troubleshooting/email%20getting%20started/HowdoIsetupmyAndroidSmartphonetouseMediacome-mail.html

  • OA Framework Enable/disable  columns conditionally in a table.

    Hi
    I have a requirement to enable / disalbe multiple coulmns of a row in a table.
    For ex: A table in which user can enter items with a add row button. The table has item name and three othere columns new price, amount off and discount off. If user enter enters new price then other two columns should be disabled and vice versa.
    I tried following:
    I added a CO to the table and I registered PartialFireAction event for each of columns.
    Each column is mapped to a PVO attribute ${oa.SpecialPricingPVO1.NewPriceEnable}, ${oa.SpecialPricingPVO1.amountEnable}, ${oa.SpecialPricingPVO1.percentOffEnable} etc.,
    In the Event method code and PVO init method I'm setting the Boolean value for above PVO attributes. In the init of PVO I'm always getting the first row.
    The problem I have is that the columns of all rows are getting the same boolean values based on latest row values. So if I enter values for AmountOff column then New Price and Percent Off are getting disabled for the latest row and for all other previous rows.
    Can some body suggest how can I over come this problem? is there a way I can refer row number in SEPL attribute references?
    Or suggestions on any other approach that works to enable / disable column in multiple rows would be great

    In order to capture row level PPR events you need to trap the row which triggered the PPR event, pass the row reference and modify the value of the row accordingly.
    if ("<ItemPPREventName>").equals(event))
    // Get the identifier of the PPR event source row
    String rowReference =
    pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] parameters = { rowReference };
    // Pass the rowReference to a "handler" method in the application module.
    am.invokeMethod("<handleSomeEvent>", parameters);
    You need to do this in addition to the databinding which Tapash has specified in his last reply. For details on how to databind properties to a viewAttribute check the dev guide.

  • Problem with Sections and Table of Contents

    I have just purchased pages. Both my iMac and MacBook have Lion. I do not have the "sections" button on the toolbar. When I open the "inspector" and try to insert a Table of Contents, the "paragraph styles" pane is empty. How can I correct these problems as I would like to use pages for a family story

    You have started your document with a Page Layout template. TOC doesn't work with text boxes. You need to use a Word Processing document and have the text in the main text layer.
    In the New from Template Chooser you can see the types in the left side bar.

  • Problem with buttons in Content Viewer iPad app

    Hi,
    I'm having a problem with my navigation once my app is viewed on the iPad. All pages in all of my articles are using the same master page for a menu button, and they all work when I view the app through the Content Viewer on my desktop. Once I log in to the Content Viewer on my iPad, however, the menu button on the first page of every article doesn't work. I did a test of swapping the first page with the second page in one of the articles, and the original page's menu button then worked while the second page's (now located at the beginning) wasn't being read. Other buttons on the first page work (which are also from the master page), it's just the menu button that makes my table of contents box appear. I have eleven articles in my folio and it's happening on the first page of every single one. Not too sure what's going on here, any help is appreciated.
    Thanks.

    I also figured out after playing around with it a bit more that this only happens when "Horizontal swipe only" is checked in the properties.

  • Problems with calculation in table footer

    I’m working on a 'dynamic form’ with an expandable table (i.e. the user presses a button to add a new row), there are cells in each row for beginning month & ending month, plus an autocalc total field containing the formula: “ending – beginning +1” (which accurately calculates total months e.g. Jan-Dec = 12 months). There is also a ‘total months’ field in the footer which sums the row ‘total’ cells. The problem I have is that the user could add a blank row throwing off the total cell in the footer. Any suggestions to accomplish my goal of presenting accurate total in footer while ‘idiot proofing’ the form?

    A link to the your live test page would be much more productive here. 
    It's much easier for us to diagnose problems when we can see your page & images in our browsers.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Enable/Disable Problem?

    In the last few weeks, I kept experiencing problems while
    watching certain movies, specifically at IGN. Half-way though a
    problem would pop up, and end up shutting down the movie and my
    browser. It said there was a problem with something to do with
    Flash 9, and I clicked 'Advanced' and wound up in this
    disable/enable screen and I disabled the thing that seemed to be
    the problem but it must have been the wrong thing to do.
    Now I can't play any movie anywhere. All I need to do is find
    the folder or place where I was earlier and enable it but I have no
    idea how to get back to that options screen for Flash.

    In Internet Explorer, Tools ==> Manage Add-ons

  • Problem with saving duplicated tables in interactive form

    Hi,
    I have an interactive form that contain a table with a row that contain "insert remove move " object .
    when i press the add button, it duplicate the table, but if i save the PDF and then open it again, the extra table does not appear,
    it seems like it never been save.
    do you knoe what is the problem? why the tables are not saved properly?
    thanks, Noa

    Hi,
    Try doing the following
    try using the simple 'Button'. In the button's object properties, in the tab named 'field', select 'Control Type: submit'.
    Then, in the 'submit' tab in the object properties, choose PDF in the 'submit format' dropdown field.
    In the 'submit to URL field' type:
    mailto:nameataddress.com?subject=mySubject&body=Done
    You may need to adjust the e-mail address, subject and body text.
    Regards
    Ayyapparaj

  • 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

Maybe you are looking for

  • Help in jtfeditor in swing

    can someone show me a code which shows the working of rtfeditor in jeditorpane.i want to have the multiple text format effect that u have in yahoo chat room.u can have multiple coloured text and multi script letters in the same text field at the same

  • EPM 11.1.2 Installation error

    Hi, I am getting following error while trying to launch EPM configurator....please let me know if any one has any idea about it Parsed 417 manifests Total jars and classpath entries encountered: 417 Total not-existing referenced classpath entries cou

  • Setting session variables in application context using OpenJPA

    Hi! I am using openjpa 1.2 with EJB 3.0. I am connecting to Oracle 11g database and need to use the oracle virtual private database for security and data segregation. For this purpose, I need to set some custom variables at the session level of the a

  • Development Plan not transporting

    Hi there, I'm having a problem when transporting my Development Plan from DEV to QAS. It shows in PHAP_CATALOG under TMC Talent Development Plan, but it doesn´t show on the Portal. I checked my IMG config, its all the same but the first step. Anyone

  • Viewing Idoc Error Message

    Hi, We have Idocs where the correct error message is obtained after going to WE02, clicking on the icon next to 51 status and then on the next screen clicking on the application log button. We have hundreds of Idocs in failed status and want to view