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
2
votes
1 answer

GWT listen to external custom Javascript event

I'm working on a GWT application and I would like to make that app listen for external custom Javascript events. Those events would be triggered from outside my module. Basically, just like what you would do in a basic web app with some jQuery…
Anthony Richir
  • 649
  • 2
  • 8
  • 31
2
votes
1 answer

Defining common handler for click elements in GWTQuery

In my GWTQuery project, I have a situation where there are 4 custom drop-down menus. Whenever a user changes any of the current menu choice, an AJAX request is made with the values of the 4 menus (one of which is the newly changed value of that…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
2
votes
2 answers

How do I convert GWT Query to widget?

I just started working with GWT Widgets. I am familiar with jQuery and GWT Query is similar and hence I'm comfortable with it. I need to make a custom widget in GWT which encompasses the functionality I made in GQuery. I know that GWT widgets need…
kisalaya
  • 101
  • 3
2
votes
1 answer

Gwt-query doesn't work for my MVP.

I dived to the gwt world a few monthes ago and now am trying to use the gwt-query library. I followed this tutorial: http://code.google.com/p/gwtquery/wiki/GettingStarted Because I am working in Modle-View-Presenter, I tried implementing the above…
Michael
  • 938
  • 2
  • 11
  • 18
1
vote
1 answer

gwtquery logs to console: RETTT. What does it mean?

Fairly frequently, I see this in my browser console: RETTT I couldn't find anything relevant in a Google search, and the only hint at what this might mean comes from: if (JsUtils.isDefaultPrevented(event)) in…
Sean Dawson
  • 232
  • 3
  • 13
1
vote
2 answers

Can't add a GwtQuery (1.0.6) DragAndDropCellTree in GWT (2.7) GWTP (1.5) project

I'm trying to add a GwtQuery DragAndDropCellTree to MyView.java in my GWTP project. But I can't GWT Compile it: Tracing compile failure path for type 'com.google.gwt.user.cellview.client.CellBasedWidgetImplStandard' [ERROR] Errors in…
cellepo
  • 4,001
  • 2
  • 38
  • 57
1
vote
1 answer

Is GwtQuery (gQuery)a cross browser library like jQuery?

Does GwtQuery offer the same browser compatibility as jQuery? If not, what browsers has it been tested with?
1
vote
1 answer

How to bind Touch Events with GWTQuery?

To bind events like click with GQuery you can do something like: @UiField Element myButton; ... $(myButton).on("click", new Function() { @Override public void f() { // event is triggered } } What I need is support for touch events…
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
1 answer

GWT Super Dev Mode doesn't work with GQuery

I used maven dependency to get GQuery lib: com.googlecode.gwtquery gwtquery 1.4.2 Added inheritance to project.gwt.xml file, namely:
Dragon
  • 2,431
  • 11
  • 42
  • 68
1
vote
1 answer

GWTQuery load() replaces element

I am just getting started with GWTQuery, and am trying to wrap my head around the load() function. Consider: public void onModuleLoad() { SimplePanel sp = new SimplePanel(); sp.getElement().setId("stuff"); RootLayoutPanel root =…
Ken
  • 797
  • 1
  • 5
  • 11
1
vote
0 answers

Pass value to Bootstrap modal with GWT/GwtQuery

How to pass a value with a modal using GWT/GwtQuery This is what I have tried but did not work: DOM.setEventListener(editTD, new…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

Is it possible to eliminate the need to hardcode in CSS and HTML with GQuery compile time selectors

I am developing a web app with GWT. I'd strongly prefer to code everything in Java instead of hardcoding anything in HTML and CSS. I'm also using GQuery (or GWTQuery) and I'm wondering if using compile time selectors with GWTQuery completely…
EternallyCurious
  • 2,345
  • 7
  • 47
  • 78
1
vote
1 answer

Can't compile GWT project with GWTQuery in Eclipse

I'm trying to start using GWTQuery in a GWT project. I've created sample GWT project in Eclipse Added gwtquery-1.3.2.jar into war/WEB-INF/lib Edited Myproject.gwt.xml (added ) When I compile the…
Artsiom
  • 99
  • 3
  • 11
1
vote
1 answer

How to consume 3party json services in GWT

I'm looking for the best way in GWT to access a 3party json rest service and parse its response quickly. The rest service offers the callback parameter, and the example they gave us is using jQuery.jsonp: $.ajax({ type: 'GET', url:…
user2116390
1
vote
2 answers

Change Select value using GWT Uniform.js

I'm using uniform.js in my GWT app. I need to change the values of the select item diagrammatically. But, the widget seems does not get updated. I know this can be updated using $.uniform.update(); But, how can I do it in GWT?
Sree
  • 921
  • 2
  • 12
  • 31