Re: Store data temporarily
Hi; I'm not sure if this is what you need: http://yuilibrary.com/yui/docs/cache/ it support offline cache and use of html5 localstorage when possible. This is an example using YUIGWT library:
http://cancerbero.mbarreneche.com/yuigwt/gallery/?test=cache1
final Cache cache1 = Y.newCache(CacheConfig.create().max(5).expires(3600000)); Y.newButton(ButtonConfig.create().label("Save").render(parent).on("click", new EventCallback() { @Override public void call(EventFacade e) { cache1.add(cacheKey1, p.get("value")); } })); Y.newButton(ButtonConfig.create().label("Load").render(parent).on("click", new EventCallback() { @Override public void call(EventFacade e) { p.set("value", cache1.retrieve(cacheKey1).responseString()); } }));
On Wednesday, September 12, 2012 7:27:46 PM UTC-3, More Programmer wrote:
Dear All:--Please can you help me, I need store data temporarily, I'm using GWT 2.4 to store data on a master- detail, ie from 1 to n, once introduced all newly detailed data will be stored for a single master.Best RegardsJacobo
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/hKqyF8akVG0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home