<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for taking a look Dan!<div><br><div><div>On Apr 1, 2013, at 1:55 AM, Daniel Bevenius &lt;<a href="mailto:daniel.bevenius@gmail.com">daniel.bevenius@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hey Kris,<div><br></div><div>Just checked it now and ran the JS integration tests[1] and it's working. Perhaps the instance was "sleeping" due to inactivity and was starting up when you made the calls. Can you try again and verify that it is working now?</div></div></blockquote><div><br></div>It is working now so you are correct it must have been "sleeping". Thanks!<br><blockquote type="cite"><div dir="ltr">
<div><br></div><div>About the next link, you will always get a next link with the current impl. Previously we did not send a next link if there was no more data to be retrieved, but I think you brought up the case where new data might be added after the client's latest call. Without the next link the client will not have knowledge of the next page link. Instead, the result of call to the next page when no data exists will return an empty array.&nbsp;</div>
<div>Bug or no bug, let me know what you would like to see here and we'll make it so :)</div></div></blockquote><div><br></div>Hmmm. I think I do remember that conversation but don't remember being in favor of a next link when there was no data (but I could definitely be wrong :-P). It just makes it really hard to create an effective UI when you have broken (or empty result set) links.<br><blockquote type="cite"><div dir="ltr"><div><br></div><div>[1]&nbsp;<a href="http://aerogear.github.com/aerogear-js-integration/unit/pipeline/paging.html">http://aerogear.github.com/aerogear-js-integration/unit/pipeline/paging.html</a></div>
<div><br></div><div><br></div><div>Den måndagen den 1:e april 2013 skrev Kris Borchers:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hey all,<br>
<br>
Anyone know why I get a 404 from <a href="http://corscontroller-aerogear.rhcloud.com/" target="_blank">corscontroller-aerogear.rhcloud.com</a>? JS is using that for paging integration tests but now it fails.<br>
<br>
Also, I believe I may have found a bug in paging but not sure where I can test since that app is down. It appears I get a "next" link even where there isn't a next page so makes it hard to test if I should display a "next" link in the UI.<br>


_______________________________________________<br>
aerogear-dev mailing list<br>
<a>aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div>
</div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></div></body></html>