Hi All,

I am using the Polymer starter kit to prototype a line of business app 
using jaydata and an IIS oData feed.

In the starter kit I have created some new routes in routing.html such as 
this:

  page('/orders', function () {
        app.route = 'orders';
    });

and added them to my index.html as so:

  <section data-route="orders">
                  <paper-material elevation="1">
                      <h2 class="paper-font-display2">Orders</h2>
                      <p>This is the orders section</p>
             
                  </paper-material>
              </section>

My question is as I navigate between these different routes my data is not 
refreshing as my oData feed loads on the ready:function() which is only 
called when the initial home page is loaded . How can I hook into a route 
load callback so I know when data needs to be refreshed?

Thanks!

Daniel

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/33b02312-d723-47c9-bb55-4b43efe44f0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to