Questions tagged [gquery]

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.

38 questions
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
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

Gquery - live method, how to use it properly

I'm experiencing with Gquery and find something difficult to work with live() method. As far as I'm concerned, it is plenty useful when you want to define some behavior for "future" elements. for example, I would like to change background color to…
user743489
0
votes
2 answers

How to wrap an element as parent of a known element using GQuery

Say I have a div as:
I have a GQuery object which I got using GQuery mydiv = GQuery.$("#myDiv"); Using this, I want to create a new parent which wraps this div element inside it. For example, if the parent is another div,…
Saurabh Agarwal
  • 507
  • 2
  • 5
  • 16
0
votes
2 answers

"Sticky" panel on a Gwt application

I have a GWT app that have a HorizontalPanel that span across the width of the page, that serves as the "top bar" of the app. However I want to make it "sticky" that is when the page content grows, and when scrollbar appears, when scrolled I want…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Assigning ID to a widget using GQuery

I need to wrap a widget with an ID, so I used GQuery to do that, like so: GQuery g = $(signupButton); g.id("signupButton"); Now I need to get the instance of the actual Button or Widget using the GQuery object, is that possible? Will the g.get(0)…
quarks
  • 33,478
  • 73
  • 290
  • 513
-1
votes
1 answer

GWT RPC - Parallel asynchronous calls

I have a list of promises that needs to be executed in parallel and in an asynchronous manner.Say,i have, List> list; Once all the parallel request completes, i need to make another request say "Y". Here is my GWT…
Karthik207
  • 493
  • 9
  • 27
-1
votes
2 answers

How do you use the $(document).ready(function) in GWTQuery?

I have been coding a project with GWTQuery but I can't find a GWTQuery equivalent of $(document).ready(function). I tried doing a: $(new Function(){ /* Function comes here */ }); and although this does not produce a syntactical error, any code…
EternallyCurious
  • 2,345
  • 7
  • 47
  • 78
1 2
3