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
0
votes
2 answers

Hide a div using GwtQuery

This is my code to hide a given DIV using GwtQuery: $("#historySection").hide(); However, it does not hide at all. This is the actual HTML div:
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
2 answers

How to get content of iframe using GWT Query?

I trying to do like this: $("iframe.cke_dialog_ui_input_file").contents() but it returns: < #document(gquery, error getting the element string representation: (TypeError)…
ruslanys
  • 1,183
  • 2
  • 13
  • 25
0
votes
1 answer

Handle DIV add child node event with GWT

Is there such a thing in GWT to handle event when elements are added to a specific DIV? From this answer there is jQuery solution: Fire jQuery event on div change $('body').on('DOMNodeInserted', '#common-parent', function(e) { if…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Bind to DOM event with GwtQuery

How to do this similar function with GwtQuery: $(document).ready(function(){ $('#test_div').bind('DOMNodeInserted DOMSubtreeModified DOMNodeRemoved', function(event) { alert('Changed'); }) }) I think the question here would be the…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

GwtQuery - empty() Widget after fadeOut()

Out of my frustration in wrapping Bootstrap alert / notification libraries to GWT I've decided to make one using GwtQuery: public static void showErrorNotification(String message){ List allNotifications = $(".notification").widgets(); …
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

GwtQuery - Call a function from external js file

We use GWT 2.3.0 for our web applications. We have started to use gwtquery for some of our features. I would like to know if it is possible to call a jquery function within a js file from gwtquery.
0
votes
1 answer

GWTQuery Drag Drop - Drag between nodes in cell tree

I am using the wonderful GWTQuery library to add drag drop support to my GWT cell widgets. I have a CellTable, and a CellTree both in different modules of my application (I am using GWTP, so everything is decoupled). Neither of these widgets are…
Casey Jordan
  • 1,204
  • 1
  • 20
  • 39
0
votes
2 answers

How to communicate two modules in GWT

I have created two module name module1 and module2 in gwt application. I want to pass message from module1 to module2 and module2 to module1 simultaneously after some seconds. I write the following code, but it gives me error unable to find…
Malav Soni
  • 23
  • 6
0
votes
3 answers

GwtQuery click function not working

I'm trying to figures out why this GwtQuery doesn't work, even how much I click on the label element it doesn't budge: final Element deleteTD = DOM.createTD(); deleteTD.addClassName("center"); Element…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
2 answers

benefits of gwtQuery

Can somebody tell me what are the benefits of using gwt query .Is it just for css effects. and how we can use it to create ui elemnts like gwt. What I understand is just use the gwt components like label,textbox,buton in project and then gwt query…
pbhle
  • 2,856
  • 13
  • 33
  • 40
0
votes
2 answers

How would you add maven to an existing GWT project in Eclipse with m2e installed?

The project has GWTQuery included. I'd like to have the pom.xml generated in the existing project so I can configure the build.
EternallyCurious
  • 2,345
  • 7
  • 47
  • 78
0
votes
1 answer

Gwtquery: set an int value to a sliderbar

I've a slider-bar created by gwtquery in the following manner: slider = $(panelPpal).as(Ui).slider(sliderOptions); I'm trying to set programmatically an int value to that slider. Then I'm issuing:…
user743489
0
votes
1 answer

In-place editing with GwtQuery

How to I do in-place editing with GwtQuery? Are there any plugins available? Something similar to XEditable: http://vitalets.github.io/x-editable/demo.html Where there is Jquery-UI plugin for it.
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
0 answers

How to drag&drop row from one CellTable to another using GWTquery?

I'm following the example about DragAndDropCellTable in GWTQuery example where the drop target is a CellList. What i need to do is Drag a CellTable row and Drop it in another CellTable. Is it possible? Any Pointers? I'm using GWT2.4
amrfaissal
  • 1,060
  • 1
  • 7
  • 18
0
votes
1 answer

How do you get event details in GWTQuery?

I'm trying to create a program where I need to fire events whenever the text in a text box is changed. Here's the code written for it: $("#text_box").change(new Function(){ public void f(){ .... } }); But I need to…
EternallyCurious
  • 2,345
  • 7
  • 47
  • 78