ADF 10.1.3 Programatically committing changes and refreshing the list page.

Hello,
I have a requirement where on list page i select a recrod and than modifies it on next page. I am using different database views for list and update purpose. So when i save the changes, control comes back to REFRESHED list page.
Pls let me know how can i commit and refresh the changes programatically. I hav added a method on managed bean as part of action binding.
Thanks
Manish

public String beanMethod() {
//obtain a reference to your bindingcontainer. chances are you have the "bindings" member variable of the mangaged bean and you have the getBindings() function already built by the wizard for you.
DCBindingContainer bc = (DCBindingContainer)getBindings();
//Make sure you have the "Commit" action binding on your pageDef. If not ob will return a Null reference. If you have drag and dropped the Commit operation on your ApplicationModule found on the Data Control Pallete on your page, the "Commit" operation should be there on your pageDef
OperationBinding ob = (OperationBinding)bc.get("Commit");
ob.execute();
return "navigationToListPage";
I think when you go back the listPage, the ADF framework will execute the query automatically.
When you go to the update page, are you just updating the current row or creating a new row and then filling out the attribute values?

Similar Messages

  • URL encoded and refreshing the current page

    Hello, I am redirecting to a page using response.sendRedirect(encodedPage). In the page which I redirect to, I have some code that checks if certain session variables are set. Upon redirection, all the session variables are set. However, if I hit the refresh button on my browser, the session check code tells me the variables are no longer set. Is this supposed to happen?
    Any help would be appreciated.
    jason

    My suggestion probably has nothing to do with the
    problem, but when you encode the URL for your
    sendRedirect() call, are you using encodeURL()?
    Because you should be using
    encodeRedirectURL().
    I am using encodeRedirectURL :) .... thanks for the suggestion though.

  • All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default s

    I don't know what happened. All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default search engine. I click the box 'do not ask me again' and it comes up EVERY TIME. I change things like I don't want history remembered, and when I reload FireFox again, it's back to the way it was BEFORE. EVERY SINGLE TIME. I don't know why this is happening, or how to fix it. What do I do??

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway inst

    I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway installing PSE-10 or uninstalling it. If I send the  PDF file that has been automatically converted to a PSE-10 the person I send the file to can not open it because they do not have PSE-10. What can I do to stop PSE-10 from converting my PDF files? Don't tell me to upgrade PSE-10 I tried their on-line program and  it is too advance for a hobby photographer like myself and their Help Desk is impossible to reach.

    Hi,
    Can you please share the logs?
    You can use the Adobe  Log Collector tool (Log Collector Tool) and share the corresponding zip file @ [email protected]
    Thanks,
    Shikha

  • I keep getting a warnin that my pages document could not be auto saved. The file has been changed by another application. Click save anyway to keep your changes and save the changes made by the other application as a version, or click revert to keep the c

    I keep getting a warning stating that the document could not be auto saved in pages. The file has been changed by another application. Then it says click save any way to keep your changes and save the changes made by the other application as a version, or click revert to keep the changes from the other application and save your changes to a version.
    What in the heck does all that mean, and why are they trying to behave like a Windows product or a Microsoft office product. I just don't get it.
    Why is another application changing my documents? It's like they've created a virus within their own programs. It's a pain in the neck and makes no sense.

    I am also having the issue of a warning saying "could not be auto-saved in Pages. The file has been changed in another application. I then hit "save anyway", the warning will go away for a time, sometimes minutes, sometimes hourr, but then the warming reapprears saying the same thing. This is not the case with all Pages documents but it is the case with many.
    Working with a Retina Macbook Pro and current software
    These are newly created documents

  • I cannot sync,back up or add songs to my iPod Touch 5th generation 32 GB-whenever i make changes and click the apply/sync button it takes hours but still it doesn't sync and i can't add songs to my iPod

    i cannot sync,back up or add songs to my iPod Touch 5th generation 32 GB-whenever i make changes and click the apply/sync button it takes hours but still it doesn't sync or add music to my ipod............i thought there was a problem with itunes so i uninstalled it and downloaded the latest version but still the problem continued....the picture below shows how it looks after 28 minutes of syncing........
    The picture below shows all the apple software that i have installed

    - Reboot computer
    - Try another cable and USB port
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

  • Html template change and refresh on ITS Admin

    hi all,
    I need to change the HTML templates sent via email to the users. I found the files on the ITS server and changed them but when I view the same templates in ITS Admin then it is still showing the previous version.
    The mentioned HTML templates are only present in the ITS server not as an internet service in SE80 so I cannot change and publish them from SAP.
    Please advise that how can they be changed and refreshed so the changes to the layout appear.
    Thanks,
    FS

    Hello FS,
    ITSAdmin and local files - so you are using an external ITS 6.20?
    If you did not start up the ITS in debug mode with ~adminenabled you will need to restart the ITS to apply the changes (that will be preparsed and cached in the ITS for performance reasons).
    With best regards,
      TJ

  • Fife days App Store not give it to me the verify code, I made I lot email adress, changed and create the new, still the same problem, and this is second one iPad that I bought this month, if not help me I don't know how to deal, thank you in advance

    Fife days App Store not give it to me the verify code, I made I lot email adress, changed and created the new, still the same problem, and this is second  iPad that I bought this month, if not help me I don't know how to deal, thank you in advance, maybe I will go to shop and want my money back

    Do you have a technical question for us volunteer users?

  • When I play games in Mozilla on fb..some setting changed and now the pop up window that appears to send gifts to my friends only lists 3 ppl at a time some games i have a scroll down button others i dont..can u help m fix this please?

    When I play games in Mozilla on fb..some setting changed and now the pop up window that appears to send gifts to my friends only lists 3 ppl at a time some games i have a scroll down button others i dont..can u help m fix this please?

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • A1145 imac g5 isight, freezes after 2-5 mins and then there no power from keyboard and mouse. Changed HDD and no luck and on the install page it freezes. You have to force it to shutdown and leave it for 5-10 minutes and try to turn it on again AHT Passed

    A1145 imac g5 isight 2.1GHz
    , freezes after 2-5 mins and then there no power from keyboard and mouse. Changed HDD and no luck and on the install page it freezes.
    You have to force it to shutdown and leave it for 5-10 minutes and try to turn it on again
    Apple HardWare Test Passed
    10.5.11
    Orginal DVD's 9.2

    Could be a heat problem.
    Also, try these:
    Resetting the SMU on a G5 iMac:
    http://support.apple.com/kb/HT1767
    and on resetting the PMU on a Power Mac G5, G4 and G3 :
    http://support.apple.com/kb/HT1939?viewlocale=en_US
    http://support.apple.com/kb/HT1436

  • I accidently "x" off the download of firefox 4 before it had finished and now the home page doesn't work, i tried redownloading firefox but that didn't work is there a way i can resume the download?

    I accidently "x" off the download of firefox 4 before it had finished and now the home page doesn't work. it loads but then wont let me search from it? i tried redownloading firefox but that didn't work is there a way i can resume the previous download?

    Your More system details list show that you run the latest Firefox 4.0.1 version.<br />
    You can check that via Help > About Firefox and on the Help > Troubleshooting Information page.
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * https://support.mozilla.com/kb/Server+not+found
    * https://support.mozilla.com/kb/Firewalls
    If you posted from another computer then download the full version and uninstall the currently installed version.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • ALV OO and refreshing the ALV grid

    Hi,
    i have some problems with my ALV 00 program.
    On screen 1 i have to fill in a material number.
    For that material i'm getting some data and show in screen 2 in a ALV grid.
    Via BACK-button i'm getting back to screen 1 and can fill in another material number.
    But the 2nd (and 3rd, etc) time i fill a material, the ALV grid data from material 1 is shown. Even if the internal table I_ALV where the data is, is changed.
    What should i do ?
    I have initialized the customer container and the grid, but that didn't solved the problem.
    regards,
    Hans

    Hi,
    Try clearing and refreshing the alv grid data table in screen 2.
    Check with this code. this code is working fine. If we go back and change the input, it is showing the output corresponding to the second input only.
    Have you use this method?
    <b> GR_ALVGRID->REFRESH_TABLE_DISPLAY</b>
    TYPE-POOLS : SLIS.
    * Tables                                                              *
    TABLES:
      VBRK,
      VBRP.
    * Parameters and select options OR SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
                S_VBELN FOR VBRK-VBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    * Internal Tables                                                     *
    * work areas
    DATA: BEGIN OF IT_VBRP OCCURS 0,
           VBELN LIKE VBRK-VBELN,
           POSNR LIKE VBRP-POSNR,
           UEPOS LIKE VBRP-UEPOS,
           FKIMG LIKE VBRP-FKIMG,
           NETWR LIKE VBRP-NETWR,
           MEINS LIKE VBRP-MEINS.
    DATA : END OF IT_VBRP.
    * Variables                                                           *
    DATA : GR_ALVGRID TYPE REF TO CL_GUI_ALV_GRID,
           GC_CUSTOM_CONTROL_NAME TYPE SCRFNAME VALUE 'CC_ALV',
           GR_CCONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
           GT_FIELDCAT TYPE LVC_T_FCAT,
           GS_LAYOUT TYPE LVC_S_LAYO,
           V_FLAG VALUE 'X'.
    * Start of Program                                                    *
    *       INITIALIZATION.                                               *
    INITIALIZATION.
      S_VBELN-LOW = 1.
      S_VBELN-HIGH = 1000000000.
      S_VBELN-OPTION = 'EQ'.
      S_VBELN-SIGN = 'I'.
      APPEND S_VBELN.
    *       SELECTION-SCREEN                                              *
    AT SELECTION-SCREEN.
      PERFORM VALIDATION.
    *       START-OF-SELECTION                                            *
    START-OF-SELECTION.
      PERFORM GET_DATA.
      CALL SCREEN 0100.
    *       END-OF-SELECTION                                              *
    END-OF-SELECTION.
    *       TOP-OF-PAGE                                                   *
    TOP-OF-PAGE.
    *       END-OF-PAGE                                                   *
    END-OF-PAGE.
    *       AT USER-COMMAND                                               *
    *&      Form  VALIDATION
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM VALIDATION .
      SELECT SINGLE VBELN
      FROM VBRK
      INTO VBRK-VBELN
      WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no billing documents found'.
      ENDIF.
    ENDFORM.                    " VALIDATION
    *&      Form  GET_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_DATA .
      SELECT VBELN
             POSNR
             UEPOS
             FKIMG
             NETWR
             MEINS
      FROM VBRP
      INTO TABLE IT_VBRP
      WHERE VBELN IN S_VBELN.
    ENDFORM.                    " GET_DATA
    *&      Module  DISPLAY_ALV  OUTPUT
    *       text
    MODULE DISPLAY_ALV OUTPUT.
      IF V_FLAG = 'X'.
        PERFORM DISPLAY_ALV.
        PERFORM PREPARE_FIELD_CATALOG CHANGING GT_FIELDCAT.
        PERFORM PREPARE_LAYOUT CHANGING GS_LAYOUT.
       CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
            EXPORTING
    *      I_BUFFER_ACTIVE               =
    *      I_BYPASSING_BUFFER            =
    *      I_CONSISTENCY_CHECK           =
    *      I_STRUCTURE_NAME              = 'VBRP'
    *      IS_VARIANT                    =
    *      I_SAVE                        =
    *      I_DEFAULT                     = 'X'
              IS_LAYOUT                     = GS_LAYOUT
    *      IS_PRINT                      =
    *      IT_SPECIAL_GROUPS             =
    *      IT_TOOLBAR_EXCLUDING          =
    *      IT_HYPERLINK                  =
    *      IT_ALV_GRAPHICS               =
    *      IT_EXCEPT_QINFO               =
            CHANGING
              IT_OUTTAB                     = IT_VBRP[]
              IT_FIELDCATALOG               = GT_FIELDCAT
    *      IT_SORT                       =
    *      IT_FILTER                     =
            EXCEPTIONS
              INVALID_PARAMETER_COMBINATION = 1
              PROGRAM_ERROR                 = 2
              TOO_MANY_LINES                = 3
              OTHERS                        = 4
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          CALL METHOD GR_ALVGRID->SET_READY_FOR_INPUT
            EXPORTING
              I_READY_FOR_INPUT = 1.
        ELSE.
          <b>CALL METHOD GR_ALVGRID->REFRESH_TABLE_DISPLAY
    *    EXPORTING
    *      IS_STABLE      =
    *      I_SOFT_REFRESH =
            EXCEPTIONS
              FINISHED       = 1
              OTHERS         = 2
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.</b>
        ENDIF.
        CLEAR V_FLAG.
      ENDIF.
    ENDMODULE.                 " DISPLAY_ALV  OUTPUT
    *&      Form  DISPLAY_ALV
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM DISPLAY_ALV .
      IF GR_ALVGRID IS INITIAL.
        CREATE OBJECT GR_ALVGRID
          EXPORTING
    *    I_SHELLSTYLE      = 0
    *    I_LIFETIME        =
            I_PARENT          = GR_CCONTAINER
    *    I_APPL_EVENTS     = space
    *    I_PARENTDBG       =
    *    I_APPLOGPARENT    =
    *    I_GRAPHICSPARENT  =
    *    I_NAME            =
          EXCEPTIONS
            ERROR_CNTL_CREATE = 1
            ERROR_CNTL_INIT   = 2
            ERROR_CNTL_LINK   = 3
            ERROR_DP_CREATE   = 4
            OTHERS            = 5
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV
    *&      Form  PREPARE_FIELD_CATALOG
    *       text
    *      <--P_GT_FIELDCAT  text
    FORM PREPARE_FIELD_CATALOG  CHANGING P_GT_FIELDCAT TYPE LVC_T_FCAT.
      DATA : LS_FCAT TYPE LVC_S_FCAT,
             L_POS TYPE I.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'VBELN'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Billing Document'.
      LS_FCAT-OUTPUTLEN = '10'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'POSNR'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Billing Item'.
      LS_FCAT-OUTPUTLEN = '6'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'UEPOS'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Higher Level Item'.
      LS_FCAT-OUTPUTLEN = '6'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'FKIMG'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Invoice Quantity'.
      LS_FCAT-OUTPUTLEN = '13'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'NETWR'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Net Value'.
      LS_FCAT-OUTPUTLEN = '15'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
      LS_FCAT-FIELDNAME = 'MEINS'.
      LS_FCAT-TABNAME = 'IT_VBRP'.
      LS_FCAT-COL_POS = L_POS.
      LS_FCAT-SCRTEXT_M = 'Unit of Measure'.
      LS_FCAT-OUTPUTLEN = '3'.
      APPEND LS_FCAT TO P_GT_FIELDCAT.
      CLEAR LS_FCAT.
      L_POS = L_POS + 1.
    ENDFORM.                    " PREPARE_FIELD_CATALOG
    *&      Form  PREPARE_LAYOUT
    *       text
    *      <--P_GS_LAYOUT  text
    FORM PREPARE_LAYOUT  CHANGING P_GS_LAYOUT TYPE LVC_S_LAYO.
      P_GS_LAYOUT-ZEBRA = 'X'.
      P_GS_LAYOUT-GRID_TITLE = 'INVOICE DETAILS'.
      P_GS_LAYOUT-SMALLTITLE = 'X'.
      P_GS_LAYOUT-EDIT = 'X'.
    ENDFORM.                    " PREPARE_LAYOUT
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'CANCEL'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'CANCEL'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          CALL TRANSACTION 'SE38'.
        WHEN 'CHANGE'.
          IF GR_ALVGRID->IS_READY_FOR_INPUT( ) = 0.
            CALL METHOD GR_ALVGRID->SET_READY_FOR_INPUT
              EXPORTING
                I_READY_FOR_INPUT = 1.
          ELSE.
            CALL METHOD GR_ALVGRID->SET_READY_FOR_INPUT
              EXPORTING
                I_READY_FOR_INPUT = 0.
          ENDIF.
      ENDCASE.
    Regards,
    Aswin

  • Blobs and refreshing the schema

    Hi all,
    I have two questions about Kodo 3.3.3.
    1) About blobs. A blob is the serialization fof an object. Does Kodo store
    the hashCode of the class (ir the serialVersionUID of the class) that was
    used to serialize the object ? Will I have a problem if I want to get back
    that blob with a recompiled version of that class, with a different
    serialVersionUID ?
    2) About the XML descriptors of the schema. I configured my mappingtool to
    write the XML descriptor of the my schema in the base, it works very fine.
    I can get these descriptor, class by class, with the command mappingtool
    -a export -f dump.xml package.jdo, it's very handy. From the
    documentation, I red that one can export this XML, edit it, import it back
    in the base, and refresh the schema
    (http://www.solarmetric.com/jdo/Documentation/3.3.3/docs/ref_guide_mapping_factory.html).
    My problem is : I cant find the command to perform this refresh, the
    schema is just not "synchronized" with the XML. Any hint ? :)
    Btw, I came across a bug using SQL Server : a field named "index"
    generated a column named "index", SQL Server was quite angry at that.
    Sorry if this one is know already.
    Thanks for your answers,
    Jos__

    1) About blobs. A blob is the serialization fof an object. Does Kodo store
    the hashCode of the class (ir the serialVersionUID of the class) that was
    used to serialize the object ? Will I have a problem if I want to get back
    that blob with a recompiled version of that class, with a different
    serialVersionUID ?Kodo just serializes the field value to a byte array using standard Java
    serialization. So yes, you will have problems if the serialVersionUID of the
    class changes. If you want more control over this process, you can create a
    custom DBDictionary that overrides the serialize() method. Or you can use a
    field of type byte[] and a byte-array mapping rather than a blob mapping, so
    that Kodo doesn't do any serialization.
    My problem is : I cant find the command to perform this refresh, the
    schema is just not "synchronized" with the XML. Any hint ? :)Use the schema tool to synchronize the schema with the XML. See:
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_schema_schematool.html
    Btw, I came across a bug using SQL Server : a field named "index"
    generated a column named "index", SQL Server was quite angry at that.
    Sorry if this one is know already.Thanks. We'll make sure this is fixed in Kodo 3.3.4.

  • NSArrayController and refreshing the associated TableView

    Hello,
    I'm a Cocoa rank newbie and I'm probably trying to do something too complicated for my current abilities but here goes. I've been using Hillegass' book and am building an App that uses the NSArrayController to manage an NSTableView. I can add and delete objects and all that stuff. My problem comes when the data in the objects that are bound to the TableView changes "behind the Controller's back". The values in the objects are clock-based and I need to cause the TableView to refresh it's view of the bound data every second. I have scoured the web for how to cause a refresh and the answer seems to be either use the KVO method (which I can't really do (I think) because I'm not changing the data) or "send a -fetch" to the ArrayController.
    Sending the fetch seems like what I want to do but I can't find any information on how to do it. In the end, I don't really understand how to get a reference to the ArrayController object sitting in the Doc window that has all the bindings. I basically don't understand any of the objects in the Doc window. I dutifully drag them in and make connections to them but I don't really understand why.
    Any help on refreshing the NSArrayController would be much appreciated.
    Tom

    OK, incase anyone else is struggling with this, I got this working. From various posting, it seemed that I needed to create an IBOutlet and connect it to my ArrayController. I was having a tough time getting my head around that since all I'd ever done till now was connect IBOutlets to visual things such as TextFields. I finally found a hint that said I needed to connect the outlet from File's Owner to the ArrayController. So, I created an IBOutlet in my myDocument file;
    @interface MyDocument : NSDocument
    NSMutableArray *myObject;
    IBOutlet NSArrayController *arController;
    Then, in IB, I right-clicked File's Owner and dragged from the arController Outlet to the ArrayController object in the Doc window.
    Then, in myDocument.m, in the place that I wanted to refresh the list, I did this;
    (bracket)arController rearrangeObjects(bracket);
    (how do you post code snippets in these forums without it being "interpreted"?)
    Simple enough now that I've done it but it took me awhile to connect the dots.
    Anyway, I hope this helps someone else in the same boat.

  • I just ran the 9.1 update for CF and now the adminastrator page will not load

    I just ran the 9.1 update for CF and now the administrator page will not load, the site runs but that is it I know I'm missing something. I have rebooted the server. No change and all the services are running. I am on the server not trying remotely .
    Message was edited by: Norman Rothwell

    Hi Norman,
    Can you please confirm if you ran the Update 9.1 or any patch.
    Regards,
    Priyank

Maybe you are looking for

  • Disable or Hide Online Support menu option from: Reader, Acrobat Standard and Pro XI 11.0.2

    Hi, I'm trying to make a custom installation for 3 applications: Adobe Reader XI 11.0.2, Acrobat Std. and Pro XI 11.0.2  and most of the options that I wanted to hide are done with the Customization Wizard but I can't hide Online Support. I didn't fo

  • Can't Apply Hotfix?

    I'm trying to apply the cumulative hotfix 3 (chf7020003.jar) to my instance of Coldfusion MX 7. I've uploaded it through the admin screen, submitted, and then restarted all of the ColdFusion services, but the update level in coldfusion's administrato

  • Skype has stopped working error

    I reviewed some FAQ but can't find the anwer. The genius answer is highly appreciated! the following is the log: Faulting application name: Skype.exe, version: 6.22.64.106, time stamp: 0x546b294c Faulting module name: Skype.exe, version: 6.22.64.106,

  • JComboBox Strange Problem

    Hi, I am writting a program involving a JComboBox. My Question is: How can jComboBox1.getSelectedIndex() return 1 if the previous line was jComboBox1.setSelectedIndex(0). My code: File f=null; int at=0; boolean dontdoit=false;     @SuppressWarnings("

  • What can I do when I can use the the back button, bookmarks, and it does not remember my history of sites?

    My disk on my computer said there was no more space. It wanted me to force quit what I was using. When I did that, firefox lost all my history in sites and bookmarks. I can't make bookmarks when I press the star. It won't let me. It won't save my his