Hello to all,
It's quite curious, Paolo. :-) Just one thing to note: since jQuery is already available in AB apps, we no need to include jQuery to our apps. You can remove the jQuery Javascript file from the app's files manager and can see the app working like before. :-)
Thanks! I got your latest email now! Let me to take a look, Paolo. :-)
It's quite rare, because I did not receive nothing... but when I say nothing is nothing... nor the email nor a warning from GMail... Maybe you include a zip file attached or something like that? If so... look if you can place that zip file in your server, and then send to me an URL to download the zip file...
Thanks Paolo. :-)
So you already sent to me the sample app that you mentioned? I did not receive nothing yet...
Yes; of course, I want to take a look if possible. :-)
Always thanks you Peter! Thanks for your kindly words!
Hello Paolo,
Maybe this is because the posts do not have an "updated" field? That is, only the threads have an "updated" field right now... I need sometime in order to take a look at this... in fact, maybe the "latest posts" have not too much sense... only the latest threads... and here yes, maybe a list for the latest posted threads and other list for the latest updated threads... again, some attention to this must needed... may I have some free time to do it!!
Hello again,
Just a couple of notes... if JSON is available, this is preferible to XML: we can parse XML, for example, using jQuery (which is included by default in our apps), however, JSON is more friendly. In fact, we can access JSON data like objects in a way than the below:
In other words, we can use the "ObjectGetProp" action if we wanted, but, also can access to simple objects like above.
Hello Peter,
Apparently "HttpSetData" did not work for GET requests. In this case we can use the URL itself by something like the below:
Or may you can / want to change to HTTP POST... then yes, you can use teh "HttpSetData" action.
Hello Paolo,
I know that I miss something... however we can't do something like that, since, certainly we have the HTML of a view in an external file, so, in principle, we can access to it if needed, but, that HTML template of the view is not processed, so, probably we can't work with it.
May you can use a Javascript variable? Then yes... you can access to that variable from one or another view...
Hello Paolo,
Humm... I think so... that is, the "update time" is set to "now" and include the seconds... May you see something rare?
Hello Paolo,
Yes; you can use the below Javascript instead of the "ShowView" action:
Hello Peter,
Please, sorry the delay. And don't worry: this is completely related with AB, to say like that. Please, when possible, try to do the following additions to the below XML:
In the above XML "param-value", add the following: Cache-Control, If-Modified-Since. So, the above XML part must be like the below one:
At this point, save the changes and try the sample app... if you continue having problems, please, change the below XML part too:
You must add again the referred new headers, so the above XML must be like the below one:
Again, save the changes and try the sample app. Then please, post here if that is working for you or not, Peter.
Hello Peter,
You see? For that I place the above link... too many servers, languages... I know how to proceed in some of them, but, for example, don't know how to proceed talking about Tomcat! If you finally got it, please, refer here what you do, so others can get it working too if needed!
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.