gquery

How to begin working with GwtQuery?

Hi, I've dived into the GWT world a couple of months ago and find it quite interesting. I'm currently developing a web application which is to be used internally and so we need to resize the browser window, which can only be done by JSNI. After hitting some problems regarding the JSNI I was advised to look into jquery and I found that i...

Find an element by CSS selector in GWT

I'm trying to grab an arbitrary element using a CSS selector (eg. "#someId .className a") in GWT. I'm building a JS widget that can live on a 3rd party website and want to be able to interact with elements on the page. Searching through the JavaDocs I don't see anything that can find an element by selector. I did come across GQuery, but...

Problem in slideDown() functtion of Gquery

I want to show popupPanel when i click on slideDown button ,but at the start my popupPanel is hidden using popupPanel.getElement().setAttribute("style", "display:none"); but when i click on slideDown button it slide down very fast & my onClick code is @Override public void onClick(ClickEvent arg0) { if (arg0.getS...

HTML 5 canvas element with GWT Query

Is it possible to use GWT-Query to use the HTML 5 canvas? I searched and found libraries to create charts easily with jQuery but since my app is using GWT I'm a bit in trouble. This is what I found for jQuery: http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/ I don't want to p...

jQuery vs GQuery Benchmark

I remember stumbling upon a benchmark comparing jQuery vs GQuery (run time selectors) vs GQuery (compile time selectors). Once the site was loaded one could click "Start" and the benchmark (mostly CSS selectors) would run for all three versions and present the results (overall time spent) after finishing. Unfortunately, I cannot find it ...

Minimize subqueries with IN queries on AppEngine (python)

Is there any clever way to avoid making a costly query with an IN clause in cases like the following one? I'm using Google App Engine to build a Facebook application and at some point I (obviously) need to query the datastore to get all the entities that belong to any of the facebook friends of the given user. Suppose I have a couple o...