Questions tagged [gwtquery]

GwtQuery a.k.a. gQuery is a jQuery-like API written in GWT. It offers the possibility to use the jquery api in gwt projects.

gQuery offers a set of plugins to enhance your gwt projects, and it also allows to easily rewrite (port) jquery-code and jquery-plugins for gwt.

gQuery additionally's plenty of features like its Type safe system, its Ajax api, and its data-binding handling, which make that to consume 3party services were much easier than using RequestBuilder.

96 questions
1
vote
1 answer

How to use GWTQuery-UI

I am trying to unserstand how GWTQuery works, for that I am trying out a simple demo with the slider. As per the documentation at Google (the slider tab is on the bottom left), and using the class AbstractSliderDemo from here, which in turn, is…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
1
vote
1 answer

GWTQuery live blur not working

The following code attaches a new element with every subsequent click on the 2nd div. With each adding, the focus is set to the added element, so that it is ready for blur methods (I am setting the tabIndex attribute just for this purpose).…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
1
vote
1 answer

Can't use GWTquery in GWT

I am trying to use GWTQuery in my GWT project. For that, i downloaded the jar file from the official source. Then I added it to the lib folder within the WEB-INF folder, and configured the build path to include that. After that, i did all the…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
1
vote
2 answers

gwtquery--missing removeClass() method?

I'm using gwtquery to manipulate the pages, i found in jQuery i can use: $('body').removeClass().addClass(myClass); But seem gwtquery does not provide the same removeClass() method, it only has removeClass(String... classes). It is not quite useful…
Mike
  • 3,515
  • 10
  • 44
  • 67
1
vote
2 answers

gwt-query: resize event

I was wondering if there is some kind of workaround for catching resize event completion on GWT-query. I've tryied to do it by $().resize() but it was no good. I've also thaught about catching mouseout event, but it doesn't work at leaving resize…
user743489
1
vote
1 answer

GWT - Wrapping widgets written in jQuery

I want to use in GWT a menu widget (tutorial and code is here: http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/) that has the javascript code written with jQuery. The jQuery code seems simple, but i do not have experience with this…
Andrei F
  • 4,205
  • 9
  • 35
  • 66
1
vote
1 answer

Does GWTQuery support the CSS Selector [attr*="some_val"]?

I have been using GQuery for a while now. I recently came across some unexpected behaviour. I have 2 different scenarios: a) I want to select an element say Link I used…
Saurabh Agarwal
  • 507
  • 2
  • 5
  • 16
1
vote
2 answers

Using gwtquery, how can we select elements with attributes having values containing more than one word?

Say I want to select an element such as
InnerHTML
While this may be done easily using CSS selectors with [class="my class"], gwtquery has a difference in the sense that it doesn't take the quotation marks in the input.…
Saurabh Agarwal
  • 507
  • 2
  • 5
  • 16
0
votes
1 answer

ghost, border dragg effect on gwt , gwtquery

I'm trying to implement ghost effect on drag operation on gwt, i'm using gwtquery, maybe it also known as border drag effect.. does anyone has an idea to implement it? note: i know it can be implemented easyly with jquery but i want to stick with…
ojak
  • 3
  • 1
0
votes
1 answer

Need help catching GwtQuery Datepicker select event

I want to execute some code when a date is selected using the Datepicker widget that is packaged with the GWT Query UI plug-in. My attempt is below. The widget appears on the screen, and is apparently operational; but the callback function does not…
David
  • 5,184
  • 3
  • 41
  • 67
0
votes
1 answer

Using GWTQuery to call Bootstrap JS collapse method

I want to replicate this jQuery call in gQuery to open all closed Accordion panels at once: $('.panel-collapse:not(".in")').collapse('show'); I have tested this on my app and it works, however I am unable to successfully implement the same logic…
coderwurst
  • 161
  • 3
  • 14
0
votes
1 answer

How to enable text highlighting on a page using gquery gestures plugin?

I have a complex GWT application that is designed for mobile and has this gwtquery-gestures-plugin code in its (root) ApplicationPresenter: $(RootPanel.get()) .as(Gesture.Gesture) .on("tap", new Function() { …
slugmandrew
  • 1,776
  • 2
  • 25
  • 45
0
votes
1 answer

GWT (2.7) Compile fails when declaring a GwtQuery (1.0.6) Widget in UiBinder in GWTP (1.5.1) project

When I simply just declare a GwtQuery DragAndDropCellTree in my MyView.ui.xml UiBinder in my GWTP project, I cannot GWT Compile it: [3] xmlns:gq="urn:import:gwtquery.plugins.droppable.client.gwt" ... [59] …
cellepo
  • 4,001
  • 2
  • 38
  • 57
0
votes
1 answer

Get table id dynamically in gwtquery/jquery

I'm having some difficulty in getting the id of a table dynamically in gwtquery. I've 3 tabbed table each with different table id and I need the id of the table to proceed. I tried $(tableData).closest("table").attr("id")); …
newBee
  • 13
  • 1
  • 1
  • 4
0
votes
1 answer

Using GwtQuery to handle JS events

I have this JSNI code that I want to basically migrate to use plain Java, i.e usign GwtQuery: public static native void handleModalEvent(Element el)/*-{ $wnd.$(el).on({ 'show.uk.modal': function(){ …
quarks
  • 33,478
  • 73
  • 290
  • 513