MethodBinding from commandLink not being called

Hello,
I am building a dynamic datatable and everything is being rendered fine. However, now I want to implement row selection on the table and am doing so by rendering a commandLink on each row that the user can click to select the row. I would like to bind this to an action method in my bean and have so far been unable to invoke the action method when I click on the link. Here is my code:
UICommand comm = new UICommand();
MethodBinding mbButton = app.createMethodBinding("#{myBB.buildModel}", null);
comm.setAction(mbButton);
code]
And my backing bean is defined in faces-config as myBB.  In that backing bean, I have:      public String buildModel() {
     logger.info("BuildModel invoked");
     return "stay";
But buildModel is not being called at all when I click the link on the page. What am I missing?

Figured it out.
You need to set an ID for each comm, also. Adding a call to comm.setId(<unique ID>) fixed the problem.

Similar Messages

  • Purchase order ME_PROCESS_PO_CUST  not being called

    Hello,
    I've created an implementation of  ME_PROCESS_PO_CUST, which is automatically migrated to Enhancement (I'm in Netweaver 2004s).
    Then I go to ME21n and the badi is not being called. It is active, I have breakpoints inside the various methods, and I can create a PO from start to finished without opening debug mode.
    Is there any problem with ME_PROCESS_PO_CUST in ECC 6.0?

    hi,
    goto se18 and give definition name and click display button.
    if "multiple use" check box is  not checked means  it is a single use.
    that means for the standard badi definition can any number of implementations,
    but only one will be in active state others in inactive mode.
    u can check all the detail by goingin se18 -> implentation menu->overview
    if implementation is active it will glow in yellow color.all other inactive in blue color (description color).if u want u code to execute go to  others and press(shiftf8) to make others inactive then come to ur code and make it active ctrlf3.
    then it will work.this is for single use.
    for multiple use system will predict its sequences. we abaper no need to worry of the sequences.because if it is multiple use all implementation are in  active stage .so all the code will work in some sort of order.
    thanx
    zenthil

  • BUG: Return listener not being called for manually launched dialog

    Hello all,
    I have found a bug in the dialog framework. To set the stage, I have a ADF Faces page with a command button on it. The partial submit property is set to "true" and the use window property is also set to "true." I also have the returnListener property set to a method in the backing bean. When I set the Action property of the command button to a global navigation rule that launches a dialog, the return listener is being called correctly when I dismiss the dialog.
    However, when I launch the dialog from an action listener, the return listener is not being called. Here is my action listener code:
      public void al (ActionEvent ae)
        FacesContext context = FacesContext.getCurrentInstance();
        ViewHandler vh = context.getApplication().getViewHandler();
        UIViewRoot dialog = vh.createView(context, "/infrastructure/ICConfirmDelete.jspx");
        HashMap properties = new HashMap();
        properties.put("width", new Integer(300));
        properties.put("height", new Integer(300));
        AdfFacesContext.getCurrentInstance().launchDialog(dialog, null, ae.getComponent(), true, properties);
      }and here is my return listener:
      public void rl(ReturnEvent re)
        System.out.println("in return");
        System.out.println((String) re.getReturnValue());
      }OK - here's an update. If the command button is in the Actions facet of the page, everything works as expected. However, if the button is in the selection facet of a table (inside of afTableSelectOne) - it does not work properly as documented here. It also works correctly if the button is in the actions facet of the table. I think that this is a bug and needs to work - my use case (as you might tell from my code) is to do a delete confirmation dialog. My short-term workaround is to use the Action instead of ActionListener property on the command button, but the issue I have is that the pop-up dialog is just a tad too small, and is showing scrollbars.
    Regards,
    John
    Message was edited by:
    John Stegeman
    Added additional information about tableSelectOne

    Gabrielle,
    Sorry for the confusion.
    What does not work:
    Initiating a dialog from the ActionListener attached to a command button (where the command button is inside an afSelectTableOne) will not fire the returnListener when the dialog is closed.
    What does work:
    Initiating a dialog by returning a dialog-based navigation rule (e.g. a string starting with "dialog:") from the Action attached to a command button (even if the command button is inside an afSelectTableOne) - the return listener is called when the dialog is closed
    What also does work:
    Initiating a dialog with either method (Action or ActionListener) when the command button is elsewhere on the Page (e.g. in the Actions facet)
    Hope this clarifies the bug. I could send a test case if desired.
    Kind regards,
    John

  • JSF: Method not being called

    Hi i've a problem that is grieving me. A method reference by a commandButton is not being called. Here's the code:
    JSP:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@page contentType="application/xhtml+xml"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title></title>
    </head>
    <body bgcolor="white">
    <f:view>
            <f:loadBundle basename="sisard.maqueta.web.resources.ApplicationMessages" var="messages"/>
         <h:form id="newBookForm">
                <h2><h:outputText value="#{messages.welcomeMessage}" />:</h2>
                <h3><h:outputText value="#{messages.insertnewbook}" />:</h3>
                    <table>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.code}" />:
                            </td>
                            <td>
                                <h:inputText id="code" value="#{GestionLibros.code}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.example}" />:
                            </td>
                            <td>
                                <h:inputText id="example" value="#{GestionLibros.example}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.title}" />:
                            </td>
                            <td>
                                <h:inputText id="title" value="#{GestionLibros.title}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.yearpublication}" />:
                            </td>
                            <td>
                                <h:inputText id="datePublication" value="#{GestionLibros.datePublication}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.isbn}" />:
                            </td>
                            <td>
                                <h:inputText id="isbn" value="#{GestionLibros.isbn}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.cifeditorial}" />:
                            </td>
                            <td>
                                <h:inputText id="cifeditorial" value="#{GestionLibros.cifEditorial}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.nifautor}" />:
                            </td>
                            <td>
                                <h:inputText id="nifautor" value="#{GestionLibros.nifAutor}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>                       
                        </tr>
                    </table>
                    <h:commandButton id="submit" action="#{GestionLibros.insertNewBook}" value="Inserir"/>               
            </h:form>
    </f:view>
    </body>
    </html>The backing bean:
    package sisard.maqueta.web.cases.case01.view;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import sisard.maqueta.sgl.model.exception.SGLException;
    import sisard.maqueta.sgs.model.exception.StockException;
    import sisard.maqueta.web.com.SGLManagedBean;
    import sisard.maqueta.web.com.ExceptionUtil;
    import sisard.maqueta.web.factory.DelegateFactory;
    public class GestionLibroManagedBean extends SGLManagedBean{
        private String code;
        private Long example;
        private String title;
        private Calendar datePublication;
        private String isbn;
        private String cifEditorial;
        private String nifAutor;
        public GestionLibroManagedBean() {
        public String insertNewBook() throws SGLException, StockException,
                                             Exception {
            DelegateFactory.getInstance().getLibroDelegate().insertarLibro(
                code,
                example,
                datePublication,
                isbn,
                title,
                cifEditorial,
                nifAutor);
                return "showBooksFound";
        public void setCode(String code) {
            this.code = code;
        public String getCode() {
            return code;
        public void setExample(Long example) {
            this.example = example;
        public Long getExample() {
            return example;
        public void setTitle(String title) {
            this.title = title;
        public String getTitle() {
            return title;
        public void setDatePublication(Date datePublication) {
            Calendar gregorianCalendar = new GregorianCalendar();
            gregorianCalendar.setTimeInMillis(datePublication.getTime());
            this.datePublication = gregorianCalendar;
        public Date getDatePublication() {
            return datePublication != null ? datePublication.getTime() : null;
        public void setIsbn(String isbn) {
            this.isbn = isbn;
        public String getIsbn() {
            return isbn;
        public void setCifEditorial(String cifEditorial) {
            this.cifEditorial = cifEditorial;
        public String getCifEditorial() {
            return cifEditorial;
        public void setNifAutor(String nifAutor) {
            this.nifAutor = nifAutor;
        public String getNifAutor() {
            return nifAutor;
    }faces-config.xml
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
      "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
      <!-- ##################################################### -->
      <!-- MANAGED BEANS CASO DE USO 01- LIBROS -->
      <!-- ##################################################### -->
      <managed-bean>
        <managed-bean-name>BuscarLibros</managed-bean-name>
        <managed-bean-class>sisard.maqueta.web.cases.case01.view.BuscarLibroManagedBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
      <managed-bean>
        <managed-bean-name>GestionLibros</managed-bean-name>
        <managed-bean-class>sisard.maqueta.web.cases.case01.view.GestionLibroManagedBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
        <!-- ######################################## -->
        <!-- NAVIGATION RULES CASO DE USO A01-DATOS ADMINISTRATIVOS DE USUARIO -->
        <!-- ####################################################### -->
        <navigation-rule>
            <from-view-id>/searchBooks.jsp</from-view-id>
            <navigation-case>
                <from-outcome>showBooksFound</from-outcome>
                <to-view-id>/searchBooks.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>insertNewBook</from-outcome>
                <to-view-id>/insertNewBook.jsp</to-view-id>
            </navigation-case>       
        </navigation-rule>
        <navigation-rule>
            <from-view-id>/insertNewBook.jsp</from-view-id>
            <navigation-case>
                <from-outcome>showBooksFound</from-outcome>
                <to-view-id>/searchBooks.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>   
    </faces-config>Thanks in advance.

    Thanks for your reply. The problem was with Date datePublicacion. It was missing a converter.
    java.util.Date is deprecated. Is there a chance to use java.util.Calendar?

  • Module Function not being called by the planning function

    Hi all,
    I am having a problem with the MF assigned to the planning function of my planning level. It's not being called when executing the layout using Planning Folder. This action is suppose to be taken when saving the entries of the layout (I have made the proper setting in planning folder)
    When I execute the planning folder and manually introduce data in the layout and save, the MF is not executed but data is loaded in the infocube anyway. I have put a breakpoint in the MF but never stops, as never has been called.
    Please, could anyway let me know his comments?
    Best Regards!
    José.-

    Hi Jose,
    There could be two reasons why the FM might not work.
    1. The level selections for which the FM runs and the Layout gets executed might different and the FM is not getting the Requisite Data set to read data from .
    The solution could be check the level selections and execute the FM .Also after you save the Data ,please do an F9 to check the display message.Chekc if oyu Function module is reading any data set at all(ifit says 0 read ,0 changed statement i mean).
    2. The second reason could be that the FM is not initialised at all.To initialise the FM you need to write an initialisation FM and place it in the INIT part of the Exit function.This creates dummy records if your data set is initially empty which is the case here.Here is a sample code you might get reference from .
    Create one dummy combination
    If we don't do this, the upload won't work since the second function
    will not be executed at all in case no transaction data exists so far.
    The combination must be a subset of the planning level!
    " >>> BEGIN INSERT
      IF l_count = 1.
        EXIT.
      ELSE.
        CLEAR ls_chas.
        CLEAR: ls_chasel.
        LOOP AT ito_chasel INTO ls_chasel.
          CLEAR: ls_charng.
          READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
          IF sy-subrc = 0.
            ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_chas TO <f>.
            IF sy-subrc = 0.
              <f> = ls_charng-low.
            ENDIF.
          ENDIF.
          CLEAR: ls_chasel.
        ENDLOOP.
      ENDIF.
      " <<< END INSERT
      COLLECT ls_chas INTO lto_chas.
      eto_chas = lto_chas.
    ENDFUNCTION.
    Hope this helps.
    regards
    Sai Vishnubhatla

  • NotifyCB notification procedure not being called.

    Hi.
    I'm running on an 11g (11.2.0.2.0) database and trying to get my notification procedure called in advanced queues.
    I followed the example by asktom here:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8760267539329
    I completed the same steps except for the creation of the table he inserts his de-queued message into (instead I redirected the insert to another pre-existing table).
    Everything works fine upto a point. The message is placed into the queue ( and I can query on it to confirm it's there)
    However the dequeue routine ins't being called.
    I've included logging code into it and confirmed it's not being called.
    Is there an extra step that needs to be performed to enable the de-queue routine to be called ?
    Regards,
    Greg.

    Hi Paul.
    Thanks for staying with me on this.
    Currently, my job_queue_processes is set as:
    select value from v$parameter where name='job_queue_processes';
    14The sql queries you have are slightly different from the doc id, so hadn't run them before.
    The first returned no result, so I checked entries in dba_scheduler_jobs and found no lower(job_actions) records that were like '%register_driver%'.
    Should an entry be there at least? If so, is that part of a normal install of the database where AQ is concerned ?
    As for the second query, no results either.
    With that in mind, I checked entries in sys.aq_srvntfn_table_1 to look for the msgid of the message that was enqueued.
    I can confirm my message is listed in my app_queue_tablename (which in my code is AQ_MESSAGE_QTAB) however,
    it's not listed at all iin sys.aq_srvntfn_table_1 (I checked by outputing the msgid parameter of the dbms_aq.enqueue call and looked for that)
    Would the %register_driver% dba_scheduler_jobs entry have created that record in sys.aq_srvntfn_table_1 if it was there and running?
    Regards,
    Greg.
    EDIT: I can't see any trace files being generated nor any items in the alert log when a message is enqueued.
    As for the emon process, sorry I'm not sure what that is. I see it mentioned on the metalink site but wasn't sure what it was.
    EDIT2: I'll be away for the next 2 weeks so thank you for your help albeit I wont be able to respond until then.
    Edited by: Greg Block on 27/06/2012 14:55

  • Listeners keyDown are not being called when keyDown in an popup l

    For some reason the listeners titleWindow_keyDown are not being called when keyDown in an popup like so:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SkinnablePopUpContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"  keyDown="titleWindow_keyDown(event);" >
        <s:TitleWindow title="Edit Complaint" close="close()">
    private function titleWindow_keyDown(evt:KeyboardEvent):void {
                        if (evt.charCode == Keyboard.ESCAPE) {
                            close();
    Any ideas friends??

    But in my code it is a child inside SkinnablePopUpContainer:
    <s:SkinnablePopUpContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"  keyDown="titleWindow_keyDown(event);" >
        <s:TitleWindow title="Edit Complaint" close="close()">

  • Why is FmsDestroyFileAdaptor not being called when FMSCore exits

    I'm developing a file-io plug-in and the FmsDestroyFileAdaptor or FmsDestroyFileAdaptor2 functions are not being called for my dll when the FMSCore process exits. I built the and tested the sample plug-in that comes with FMIS 3.5 and the same problem exists with it as well.
    Any clues? Is this a bug?
    Thanks,
    George

    This issue has been fixed in 3.5.2 release. See http://www.adobe.com/support/documentation/en/flashmediaserver/releasenotes.html

  • What is the reason of window not being called

    Hello,
    I am working with a copied form YY_MEDRUCK. This form is to produce purchase order details ouput. there are about 9 windows on First page which are in following orders.
    1MAIN
    2 ADDRESS
    3 CONSGNE
    4 DELDATE
    5 FOOTER
    6 HEADER
    7 INFO
    8 INFO1
    9 LOGO
    Problem is that window CONSGNE is not called. I know it because first of all it was not showing the address on the desired position on the first page, then for the confirmation I debugged the form when ME23N was called and when I tried to see the print preview.
    I found the while debugging the form, all the windows got called off but CONSGNE window was not called.
    Could someone let me know if window is defined in a form the the page then why window is not called. Any suggestion for this ?
    Thanks,
    Mark

    I am really kind of getting confused over here. Previously changes were done by some other guy. Now though the form is a copied form but the same form is working in productive system and values are coming when I debugged in productive system there CONSGNE window was getting called.
    print program for this is SAPFM06P for ouput type Y009, same output type is also used in productive system.
    Now I donot know as this is a standard print program and even if I debug the print program i do not know where to put the break point so that I can actually see why window is not being called. The problem is i am not supposed to make changes in the standard program and only in YY_MEDRUCK form.
    Can you give me some suggestion to go in a right direction to fix up this problem.
    Thanks,
    Mark

  • Smartforms : Second Page Main Window not being called

    Hi All,
    The smartform has 2 different pages, with totally different layout.
    This also include that the Main window of both pages are different, having 2 different tables to fetch data.
    The main window width sizes are the same on both the pages.
    I have already used the Command node to call the second page, which it does.
    The problem I am facing now is that the Secondary windows on page2 gets displayed, but the main window does not get displayed.
    I have put a break-point in the code of main window of Page2. When executing this, it does not get triggered at all.
    Now if I change the attribute of this main main window to secondary window and then I execute it then it gets triggered and gets displayed.
    I have to keep this window as the main window as there might be chances of data overflow which should then continue printing on the next pages, therefore I cannot make it as the secondary window.
    Please tell why the Main Window is not being called? (Note: Size of Main Windowin Page2  is same as main window in Page1)
    I have searched the SDN already and did not find a solution to resolve this problem.
    Thanks in Advance.
    Regards,
    Darpana.A

    Hi All,
    I have got the solution to this probelm.
    In Page1 Main Window I have Table1 and a command node to Goto Page2.
    Just after this command node I have added Table2 which earlier was the table in Main window of Page2.
    So currently the Main window in Page2 has nothing included in it.
    Anything after Command gets printed into the next page. Table2 is a part of Main Window in Page1 which gets printed into Main window of Page2.
    Thanks for all your replies.
    Regards,
    Darpana.A
    Edited by: Darpana Ahire on Aug 21, 2009 9:59 AM

  • IF_EX_HRPAD00INFTY~IN_UPDATE not being called

    Hi,
    I am trying to capture the employee information (InfoType 0002) during new hire action and send the information to an external system. IF_EX_HRPAD00INFTYIN_UPDATE not being called while maintaining InfoType 0002. However, IF_EX_HRPAD00INFTYIN_UPDATE is being called for other info types such as 0000, 0001, 0008 etc.
    Is there any other BAdi we use to archive the same functionality?
    Thanks,
    Vimalan

    Hi Vimalam
    This BADi Sud be called.
    Anyways U can use UserExit PBAS0001 to meet ur requirement.
    Award points if helpful.

  • BUG??? Overridden prepareModel not being called all the time

    I have an ADF/struts application that was originally developed with Jdev 10.1.2. I then migrated it to 10.1.3 and have been maintaining it with that for that past two months. Recently, I added some new pages and in those new pages I need to do some preprocessing. I was hoping to do this in the prepareModel of this page, however it is not being called when I come to the page via a submit button that is named "event_Calendar". If I click the search button on the Calendar page though, the prepareModel does fire, and the preprocessing takes place.
    Hyperlinks do work though. If I use a html:link with page "browseCalendar.do" it does get called an the preprocessing goes perfectly. I am guessing that this does not use the framework as extensively as the above example though.
    Is this a bug?? Or am I doing something wrong??
    Let me know if you need more info.
    Thanks,
    Chris

    public class BrowseCalendarPageController extends PageController {
        public void prepareModel(LifecycleContext context)
            super.prepareModel(context);
            System.out.println("Inside prepareModel");
            StrutsPageLifecycleContext actionContext = (StrutsPageLifecycleContext)context;
            DCIteratorBinding it = actionContext.getBindingContext().findBindingContainer("browseCalendarPageDef").findIteratorBinding("BS_CalendarFindViewIterator");
            Row row = it.getViewCriteria().getCurrentRow();
            if(row.getAttribute("StartTime") == null) {
                System.out.println("StartTime is null");
                Date date = new Date();
                SimpleDateFormat df = new SimpleDateFormat("MM-dd-yyyy hh:mm:ss a");
                row.setAttribute("StartTime",df.format(date));
            if(row.getAttribute("EndTime") == null) {
                System.out.println("EndTime is null");
                String start = row.getAttribute("StartTime").toString();
                SimpleDateFormat df = new SimpleDateFormat("MM-dd-yyyy hh:mm:ss a");
                try{
                    Date date = df.parse(start);
                    Calendar ca = Calendar.getInstance();
                    ca.setTime(date);
                    ca.add(Calendar.DAY_OF_MONTH,7);
                    Date newDate = ca.getTime();
                    row.setAttribute("EndTime",df.format(newDate));
                catch(Exception e) {
                    e.printStackTrace();
            it.getViewObject().applyViewCriteria(it.getViewCriteria());
            it.executeQuery();
    }

  • ShouldStartLoadWithRequest callback not being called in UIWebView

    Hey--
    First post ever on here, I'm having this bizarre issue with shouldStartLoadWithRequest not being called when clicking a link inside a UIWebView.  Now for some base info, I do have <UIWebViewDelegate> in the .h and and have labelTextWebField.delegate = self; in viewDidLoad.  I also setup (for testing) webViewDidStartLoad and that callback is hit perfectly every time.
    This is how I'm setting up my webView:
    labelTextField.text = [NSString stringWithFormat:@"%@\n%s", labelTextField.text, "<a href=\"http://www.google.com\"><b>test<br></a>"  ];
    [labelTextWebField loadHTMLString:labelTextField.text baseURL:nil ];
    Clicking a link then calls the webViewDidStartLoad but never hits shouldStartLoadWithRequest.  I'm sure whatever I'm doing wrong is pretty dumb, but being somewhat of a beginner at this I haven't the foggiest idea why only one would work but not the other.  Thanks

    that was it, I had a typo, doh!    Thanks so much!

  • Classic BADi not being called

    Hello Experts... Your kind and expert advice is deeply appreciated...
    We had implemented a BADi in CRM4.0 and that is being called and working alright.
    We are now upgrading CRM4.0 to CRM7.0. With this change classic BADis is not being called.
    Difference I noticed in calling program is that in CRM 4.0 BADIs were pulled/instantiated by factory method. However in CRM 7.0 it uses "GET BADI" command. But since "GET BADI" does not fetch implemented BADi, it throws BADI not found exception.
    - I searched and learnt that "Get BADI" can fetch classic BADIs and there is no need to migrate classic BADIs to new BADIs ...(if I am not wrong)..
    - Also that I re-activated classic BADi in CRM 7.0 but still "Get BADI" does not pulled/instantiate BADi.
    - Also I search to have report "ENH_BADI_ADD_MIGR_INFO" run to create link between Classic and new BADi. Will this work?
    Kindly advice to call classic BADi in CRM 7.0? Appreciate it. Thanks!
    Warm Regards,
    Kalpit

    Hi,
    Check if this BADI is migrated to enhancement spot (In attributes TAB). If yes, you need create an enhancement implementation for
    this BADI.
    Thanks,
    SKJ

  • Newbie question: dataOfType not being called

    Hi, I'm new to Cocoa and GUI programming. I'm working my way through the Hillegass book, and I'm trying to do the challenge at the end of chapter 18. It involves saving, which was covered earlier in the book, but for some reason I can't get "dataOfType" to work. I've put in a NSLog line at the beginning, so I know the method is not being called when I save. I have it as a method of the MyDocument class, but I haven't done anything special to it. Can anyone tell me what I need to do to get it to be called? Did I miss a link in interface builder?

    I see you haven't gotten any responses, and I don't know enough to help you with this, but I just wanted to recommend that it might help if you posted the code that you're dealing with (or at least the relevant parts of it) -- I think that will often help the devs around here get an idea of how to help. You can post the code between two {code} tags and it will format it nicely for you.

Maybe you are looking for