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

Form submit event in GWT (and GQuery) is causing IncompatibleRemoteServiceException

A form submit event in GWT and GQuery is causing an IncompatibleRemoteServiceException. This project includes GQuery (GWT version of JQuery) which is used to call the form submit. Here's the code for it. The event is inserted in onmoduleload…
EternallyCurious
  • 2,345
  • 7
  • 47
  • 78
0
votes
2 answers

Drag and drop in SplitLayoutPanel not working properly

I'm trying to drag row from cell table, to my other widget. To do this i created DragAndDropCellTable and DroppableWidget. While they were in same container it was working fine. But since i put them to SplitLayoutPanel, it is not working properly. I…
user902383
  • 8,420
  • 8
  • 43
  • 63
0
votes
1 answer

How to get the value of a textbox adjoining a button with gwt query

I have a custom widget like this, it's basically a couple of text boxes and buttons along with them. Lower Limit
nikhil
  • 8,925
  • 21
  • 62
  • 102
0
votes
1 answer

GWT Query DropEvent: can I get the drop coordinates?

I'm using GWT and GWT Query plugin for my web application. I have a draggable image and a GWT Canvas wrapped in a Droppable. My code looks like this: final Canvas canvas = Canvas.createIfSupported(); canvas.setHeight("340px"); …
mdzh
  • 1,030
  • 2
  • 17
  • 34
0
votes
1 answer

Possible bug with GWT gwtquery .live() method

I'm trying to do the following: I want to add a specific handler for some links, denoted by a class. $("a.link_list").live("click", new ListLinkHandler()); I need .live() instead of .bind() because new such links will be generated. (I know jQuery's…
Steven Roose
  • 2,731
  • 4
  • 29
  • 46
0
votes
0 answers

GWT timer throwing exception while in a standalone class

I am using GWTQuery to detect paste event on a textbox, then setting a small timer after which it is supposed to get the value pasted in it. Something like this: $("#paste").live("paste",new Function() { public boolean f(Event e)…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
0
votes
1 answer

GWTquery event listeners not working

I am trying to add a simple click listener to an element like this: $(".choice_span").bind(Event.ONMOUSEUP, new Function() { public boolean f(Event E) { Window.alert("foo"); return true; } …
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
0
votes
1 answer

Mimicking jQuery event.which in GWT

The GwtQuery documentation provides the following example as a starting point for fiddling with events: $("h1").bind(Event.ONMOUSEOVER | Event.ONMOUSEOUT, new Function() { public boolean f(Event e) { $(e).toggleClass("highlight"); return…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
0
votes
1 answer

No GWTquery function is working

I am trying to use GWTquery in my project. I have successfully added the jar file, added it to the class-path, imported all classes, but still nothing is working. Can anyone tell me what I am missing? Here is the code: import static…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
0
votes
1 answer

GWT CSS syntax not working properly

In the GWT tutorial page here, it clearly says near the bottom of the page that the user is not restricted to the type safe declarations, he can use jQuery syntax also. I have a textbox defined in my GWT, to which I add a class foo after generation…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
0
votes
4 answers

GwtQuery - fadeIn one after another

I want to add fade-in animation for couple of widgets one after another. I reviewed the doc, but it only does first fade-in. $(myWidget1).fadeIn(new Function(){ public boolean f(Event e){ //tried to add the second fade-in for…
sura2k
  • 7,365
  • 13
  • 61
  • 80
0
votes
2 answers

How to add GWTQuery to an existing Vaadin Project?

I am new to Vaadin and GWT but i'm an advanced javascript Programmer. Now im working on a Vaadin existing Project and want to use the great possibilities of jQuery into my Project... how can i add GWTQuery into an existing Vaadin Project?
3logy
  • 2,634
  • 8
  • 46
  • 99
0
votes
1 answer

GWT: I am using jScrollPane with jquery, is it messing with my ClickHandlers?

I implemented the JScrollPane for a cleaner look inside my Page. function scrollPane() { $(".gwt-content").jScrollPane(); } A custom Widget gets added: $(".jspPane").append($(new Content()); works $(html).click(new Function() { public boolean…
Beig
  • 403
  • 1
  • 4
  • 19
0
votes
1 answer

On mouse over surround element with additional elements without moving it

i need some pointers here because i don't really know what to look for. The project is in gwt and is using gwtquery. I have this page with some elements and when the mouse overs an element it changes showing additional infos, let's call it header.…
lepre
  • 13
  • 4
0
votes
1 answer

gwt-query / jquery - option tag inline styling

I've been trying to style html option tags, unsuccessfully. The code I've issued is the following: String htmlString = ; $("#nombreFuenteLB > option[value^='" + "Helvetica" + "']").replaceWith(htmlString); But there was no…
user743489