Results 1 to 4 of 4

Thread: Problem with Binding Child Session with rest proxy

  1. #1
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    902
    Answers
    15

    Default Problem with Binding Child Session with rest proxy

    I have created a working KitchenSink Bind Child Session with rest proxy and have some issues.

    Take a look : https://fiddle.sencha.com/#fiddle/11p5

    This example shows a complete crud with association (Customer x Orders) and some features.
    • use of data child session
    • save in batch
    • clientIdProperty propagation
    • negative identifier
    • searching feature
    I think many people are trying to do this example using server proxy for real applications and having some issues, because Session feature is new and bad document.

    In my case I have theses problems. Could someone help me?
    1. The Orders store (Child session of customer orders grid ) doesn't refresh the grid while searhing new data. You can see the returned JSON is changed but grid doesn't show the new found data.(Maybe a Ext.data.Session bug? )
    2. If you edit an existing customer and add new orders and click "Save and close", the order_id column is not updated with the new order_id value generated from server response. You can see the clientIdProperty is configured and also return from json responses the negative clientId (What is missing to get it work?)
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

  2. #2
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    902
    Answers
    15

    Default

    Any advice please?
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

  3. #3
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,257
    Answers
    759

    Default

    I'd suggest you cut down your test case to the essentials. There's a lot going on there.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  4. #4
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    902
    Answers
    15

    Default

    Still having problem
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

Similar Threads

  1. Replies: 2
    Last Post: 1 Jul 2015, 5:53 PM
  2. Problem using rest proxy. Please help
    By PrashanthSiemens in forum Ext: Q&A
    Replies: 5
    Last Post: 24 Feb 2012, 8:17 AM
  3. Rest proxy - problem with Google Chrome
    By medley in forum Ext: Q&A
    Replies: 4
    Last Post: 26 Aug 2011, 4:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •