Trigger AppCache Download - updatesourcetrigger

Is there a way to trigger an application cache download? I've seen several webapps which provide a download for offline storage button, but it seems there's no event for this.
Dynamically changing the manifest file in the tag doesn't work too.
Does anyone has a solution for this?
Thanks in advance.

Yes there it is: window.applicationCache.update()

Related

Read File in SAP UI 5

I am looking for a possibility to read a file in SAP UI 5.
I tried it with the fileuploader, but I see no possibility to get the content of the selected file locally.
Does anyone know how to achieve this?
Thanks
Found the solution a few minutes later in this thread:
https://scn.sap.com/thread/3782341
To achieve the solution, check this JsBin:
http://jsbin.com/fenexuqule/edit?html,output

Are there content "triggers" in Liferay CMS?

This could be a newbie question regarding Liferay - sorry for that:
Is there any chance to hook up the saving process in Liferay CMS?
E.g. we'd like to send content to a CDN and a separate NoSQL-database once it was stored in Liferay.
How can we achieve that? Any hint is highly appreciated.
I think a hook, either a ModelListener-hook for JournalArticle or a ServiceWrapper-hook on the methods that would save the web-content, should do the trick for you.
Or else if you don't want a real-time update you can always create a cron-job in liferay which would look in the specific database tables using Liferay API and do the work for you.

how to get image-reflection in joomla?

i found one plugin, i installed in my joomla site. but can't get reflection eventhough i put the relative path in between tags. please give appropriate solution and be greatfull by giving an answer!! thanx in advance!!
in html5 there is already define tags for shadow of image..but html5 is not supported by all browsers.. you have to wait till all browser support html5..
you need to change to type of the image from gif to png.

Form file upload

I am building some forms in qooxdoo and need to add a file upload section.
Curious to know if anyone has an elegant solution to this before I get hacky with it?
Thanks!
Not sure whether you consider it elegant, but there is the UploadWidget contrib.

iPhone UIView element similar to the lock screen

Does anyone know if there is an open source project for an UIView element that acts in a similar way to the lock screen for the iPhone.
I am working on an app that has some sensitive data, and I want to add another layer of comfort for users, to be able to setup a 4 digit pin number on the app.
I've seen apps like LoseIt and Weightbot that have similar functionality.
There isn't any element for this in the UI Library from what I've been able to find, and was hoping some kind soul might have open sourced something similar to this.
Thanks in advance!!!
Thanks to Andiih above for the answer, because I found an open source version on GitHub based on the name of the one he found.
http://github.com/haroldthehungry/CPLockController
Its not a free component, but check out http://www.drobnik.com/touch/parts-store/ the DTPinLockController - I think this does what you want.
And another open source one (BSD license) is at:
https://github.com/Krishna/Lock-Screen