Re: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Jens,
Thanks .. this seems to work:





@JsType(isNative = true, name = "Checkbox", namespace = "checkbox")
public class SUICheckbox extends JQueryContext {
...
   
 @JsType(isNative = true, name = "Object", namespace = GLOBAL)
public static class SettingsClass {
@JsProperty public Functions.Func onChecked;
}
}



On Wednesday, April 20, 2016 at 3:16:31 PM UTC-7, Jens wrote:
>
> I think your Settings class should have @JsType(isNative = true, 
> namespace = GLOBAL, name = "Object") to make it a JavaScript object 
> literal. 
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Jens,
So how do I create an instance of it?

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Jens
I think your Settings class should have @JsType(isNative = true, namespace 
= GLOBAL, name = "Object") to make it a JavaScript object literal. 

-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Hi all,

I need to interface with JQuery API that looks like this:

http://semantic-ui.com/modules/checkbox.html#/examples

$('.callback.example .checkbox') .checkbox() .first()
.checkbox({ onChecked: function() {...}, onUnchecked: function() {...}, 
onEnable: function() {...}, onDisable: function() {...}, onDeterminate: 
function() {..}, onIndeterminate: function() {...}, onChange: function() 
{...} });
===

I am trying to use JsInterop and getting a weird JS error, because the 
jQuery API above does not like the SUICheckbox.Settings class, which I 
thought would be just a map of callbacks. *Any hints? How do you do tackle 
this with JsInterop?*

Here is the JS error:
===
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot 
convert undefined or null to object at Unknown.hasOwnProperty(Unknown@-1) 
at 
Unknown.jQuery.extend.isPlainObject(http://127.0.0.1:8080/xxx/jquery.js@13:289)


Here is the GWT usage code:
===
SUICheckbox.Settings settings = new SUICheckbox.Settings(); 
settings.onChecked = ()->Console.log("Checked: "+this.toString()); 
settings.onUnchecked = ()->Console.log("Unchecked: "+this.toString()); 
settings.onEnabled = ()->Console.log("Unchecked: "+this.toString()); String 
checkboxSelector = "#"+planChoices.getElement().getId()+" .checkbox"; 
SUICheckbox checkBoxContext = 
JQuery
.$(checkboxSelector) //This is fine!
.checkbox(settings); //BOOM error!!!


Here is the GWT JSInertop wrapper code:
======
@JsType(isNative = true) public class JQuery { @JsMethod(namespace = 
JsPackage.GLOBAL) public static native JQueryContext $(String selector);
}

@JsType(name = "jQuery", isNative = true, namespace = JsPackage.GLOBAL) 
public class JQueryContext { public native SUICheckbox 
checkbox(SUICheckbox.Settings setings); }
public interface Functions {
@FunctionalInterface  @JsFunction // No Return Type
interface Func {void call();}
}
@JsType(isNative = true, name = "Checkbox", namespace = "checkbox") public 
class SUICheckbox extends JQueryContext{ @JsType public static class 
Settings { @JsProperty public Functions.Func onChecked; @JsProperty public 
Functions.Func onEnabled; @JsProperty public Functions.Func onUnchecked; } }




-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to move left and right arrows on usage of jquery mask input plugin

2015-05-29 Thread Yogish Nayak
I need masking for Datebox field. GWT is not providing masking feature. So 
I included jquery masked input plugin. and using mask feature. Is GWT 
providing masking feature??
Is there any better way for having mask feature in gwt  input widgets??

On Thursday, May 28, 2015 at 6:22:54 PM UTC+5:30, Juan Pablo Gardella wrote:

 Check 
 http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/datepicker/client/DateBox.html.
  
 You can use an out-of-box component to pick dates.

 On 28 May 2015 at 09:33, Yogish Nayak yogishna...@gmail.com javascript:
  wrote:

 I am using GWT in my application. Currently I am using GWT textbox for 
 date field. For masking input field, jquery masked plugin is been used. 
 Masking is working fine. But after entering the data, I am not able to move 
 the cursor using left and right arrows keys inside textbox.

 Any ideas?? Please suggest.

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-web-toolkit+unsubscr...@googlegroups.com javascript:.
 To post to this group, send email to google-we...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to move left and right arrows on usage of jquery mask input plugin

2015-05-29 Thread Yogish Nayak
And that too this happens only in Firefox browser. I am using Firefox 25. 
In IE and chrome browser works fine.

On Friday, May 29, 2015 at 11:49:39 AM UTC+5:30, Yogish Nayak wrote:

 I need masking for Datebox field. GWT is not providing masking feature. So 
 I included jquery masked input plugin. and using mask feature. Is GWT 
 providing masking feature??
 Is there any better way for having mask feature in gwt  input widgets??

 On Thursday, May 28, 2015 at 6:22:54 PM UTC+5:30, Juan Pablo Gardella 
 wrote:

 Check 
 http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/datepicker/client/DateBox.html.
  
 You can use an out-of-box component to pick dates.

 On 28 May 2015 at 09:33, Yogish Nayak yogishna...@gmail.com wrote:

 I am using GWT in my application. Currently I am using GWT textbox for 
 date field. For masking input field, jquery masked plugin is been used. 
 Masking is working fine. But after entering the data, I am not able to move 
 the cursor using left and right arrows keys inside textbox.

 Any ideas?? Please suggest.

 -- 
 You received this message because you are subscribed to the Google 
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-we...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Validate date using jquery masked input plugin

2015-05-28 Thread Yogish Nayak
I am using jquery masked input plugin for masking of input fields. I am 
using `GWT` and using jquery mask input function using `JSNI`.

 For date field having mask like `MM/dd/`, 

how can I restrict user not to enter `month 12 or day 31`... 

My implementation is as follows: 

 $wnd.$.mask.definitions['y'] = '[12]';
$wnd.$.mask.definitions['m'] = '[01]';
$wnd.$.mask.definitions['d'] = '[0-3]';

if (pattern== 'MM/DD/') {
$wnd.$(id).mask(m9/d9/y999, {
placeholder : p
});

Here in month field, there are `2 digits(MM)`, 

 - first digit can be restricted to 0 to 1
 - second digit not able to control

I tried with conditional regex, not working fine.

Anything with conditional regex is also fine.

Basically I want user to enter only valid dates.

Please suggest.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Not able to move left and right arrows on usage of jquery mask input plugin

2015-05-28 Thread Yogish Nayak


I am using GWT in my application. Currently I am using GWT textbox for date 
field. For masking input field, jquery masked plugin is been used. Masking 
is working fine. But after entering the data, I am not able to move the 
cursor using left and right arrows keys inside textbox.

Any ideas?? Please suggest.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to move left and right arrows on usage of jquery mask input plugin

2015-05-28 Thread Yogish Nayak
I am already GWT Datebox component.

On Thursday, May 28, 2015 at 6:22:54 PM UTC+5:30, Juan Pablo Gardella wrote:

 Check 
 http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/datepicker/client/DateBox.html.
  
 You can use an out-of-box component to pick dates.

 On 28 May 2015 at 09:33, Yogish Nayak yogishna...@gmail.com javascript:
  wrote:

 I am using GWT in my application. Currently I am using GWT textbox for 
 date field. For masking input field, jquery masked plugin is been used. 
 Masking is working fine. But after entering the data, I am not able to move 
 the cursor using left and right arrows keys inside textbox.

 Any ideas?? Please suggest.

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-web-toolkit+unsubscr...@googlegroups.com javascript:.
 To post to this group, send email to google-we...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to move left and right arrows on usage of jquery mask input plugin

2015-05-28 Thread Juan Pablo Gardella
Check
http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/datepicker/client/DateBox.html.
You can use an out-of-box component to pick dates.

On 28 May 2015 at 09:33, Yogish Nayak yogishnayak26...@gmail.com wrote:

 I am using GWT in my application. Currently I am using GWT textbox for
 date field. For masking input field, jquery masked plugin is been used.
 Masking is working fine. But after entering the data, I am not able to move
 the cursor using left and right arrows keys inside textbox.

 Any ideas?? Please suggest.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to move left and right arrows on usage of jquery mask input plugin

2015-05-28 Thread Yogish Nayak
I am using GWT Datebox for the date field in the form.

On Thursday, May 28, 2015 at 6:22:54 PM UTC+5:30, Juan Pablo Gardella wrote:

 Check 
 http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/datepicker/client/DateBox.html.
  
 You can use an out-of-box component to pick dates.

 On 28 May 2015 at 09:33, Yogish Nayak yogishna...@gmail.com javascript:
  wrote:

 I am using GWT in my application. Currently I am using GWT textbox for 
 date field. For masking input field, jquery masked plugin is been used. 
 Masking is working fine. But after entering the data, I am not able to move 
 the cursor using left and right arrows keys inside textbox.

 Any ideas?? Please suggest.

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-web-toolkit+unsubscr...@googlegroups.com javascript:.
 To post to this group, send email to google-we...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


How to implement jquery rotatable with gwtquery ?

2014-07-31 Thread Lee ViDemantay


So I'm trying to implement this 
https://raw.githubusercontent.com/trev/Rotatable/master/js/rotatable.js 
jquery plugin into a gwtquery one.

I'm using the Draggable 
https://code.google.com/p/gwtquery-plugins/wiki/DraggablePluginGettingStarted
. Most of the code is easily implemented in Gwtquery but I see have two 
problem area 1. with how events are handled: in jquery events are just 
passed to the function here is where they declare the draggable: 
   _rotator.draggable({
helper: 'clone',
revert: false,
start: function (e) {
  e.stopPropagation();
  e.stopImmediatePropagation();


  // Element Width  Height()
  dims = {
'w': _this.width(),
'h': _this.height()
  };

  // Center Coords
  center_coords = {
'x': _this.offset().left + _this.width() * 0.5,
'y': _this.offset().top + _this.height() * 0.5
  };
},
drag: function (e) {
  var mouse_coords, angle;

  e.stopPropagation();
  e.stopImmediatePropagation();

  _this.rotating = true;

  // Mouse Coords
  mouse_coords = {
'x': e.pageX,
'y': e.pageY
  };



Things to note here too is the dims??? for what was it declared still can't 
figure that out. But the code clearly stops propagation must be important 
The same code can't really be implement this way because access to the event 
isn't there

Here's my code 


 DraggableOptions dragOpts = new DraggableOptions();
dragOpts.setHelper(HelperType.CLONE);
   dragOpts.setRevert(RevertOption.NEVER);
   dragOpts.setOnDragStart(new DragFunction(){
@Override
public void f(DragContext context) {

   centerCoords.setX(context.getDraggable().getOffsetLeft()+
context.getDraggable().getOffsetWidth());
centerCoords.setY(context.getDraggable().getOffsetTop() + 
context.getDraggable().getOffsetTop());
}});
dragOpts.setOnDrag(new DragFunction(){

@Override
public void f(DragContext context) {
final  Coordinate mouseCoords = GWT.create(Coordinate.class);
Double angle;
$(_this).mousemove(new Function(){
@Override
public boolean f(Event e){

mouseCoords.setX(e.getClientX());
mouseCoords.setY( e.getClientY());

return true;
}
});

angle = radToDeg(getAngle(mouseCoords, centerCoords)) - 90;

rotate(angle);

}});
dragOpts.setOnDragStop(new DragFunction(){

@Override
public void f(DragContext context) {
_this.rotating = false;

}});


$(rotator).as(Draggable).draggable(dragOpts );



DragContext doesn't give access to the event. If I implement the 
HandlerManager it won't have access to local variables. So my answer was to 
hack a mousemove function where I do have access to events. again this code 
only fires once in chrome and not at all in ie an ff

So how should I go about implementing this?
Enter code here...



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Inject jquery for a wrapper

2014-05-16 Thread Telmo Alves
Hello Raphael, did you solve your problem with GWT and jQuery? If you did, 
could you help me out? I've been struggling with pretty much the same 
problem, tried all those alternatives and still can't make it work. In my 
case, if I hit F5 or Ctrl+F5 and refresh the page it just works and I can't 
figure out why.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Inject jquery for a wrapper

2013-12-10 Thread Raphael Garnier
Hi all,

I'd like to write a wrapper for the javascript library mobiscroll.
I want a stand alone library with all the css and javascript files embedded.

It works fine when the scripts are included in the host page but when I try 
to inject them, I always get the same error : jQuery is not defined.

I can't declare my scripts in the gwt.xml because I use xsi linker.

I tried ScriptInjector and more recently JsniBundle from Gquery.

It seems that Jquery is not loaded when the other scripts are injected...

After several days, I find no solution, so I ask for your help !


Here's my code : 

public class GwtMobiscroll implements EntryPoint {

interface JqueryResource extends JsniBundle {
JqueryResource INSTANCE = GWT.create(JqueryResource.class);

@LibrarySource(js/jquery-2.0.3.min.js)
public void jquery();
}

interface MobiscrollJsniResource extends JsniBundle {
MobiscrollJsniResource INSTANCE = GWT.create(MobiscrollJsniResource.class);

@LibrarySource(js/mobiscroll.core.js)
public void mobiscrollCore();

@LibrarySource(js/mobiscroll.datetime.js)
public void mobiscrollDateTime();

@LibrarySource(js/mobiscroll.scroller.js)
public void mobiscrollScroller();

@LibrarySource(js/mobiscroll.scroller.ios7.js)
public void mobiscrollScrollerIos7();

@LibrarySource(js/i18n/mobiscroll.i18n.fr.js)
public void mobiscrollI18nFr();

@LibrarySource(js/i18n/mobiscroll.i18n.de.js)
public void mobiscrollI18nDe();
}

interface MobiscrollCssResource extends ClientBundle {
MobiscrollCssResource INSTANCE = GWT.create(MobiscrollCssResource.class);

@Source(css/mobiscroll.scroller.css)
CssResource mobiscrollCss();

@Source(css/mobiscroll.scroller.ios7.css)
CssResource mobiscrollIos7Css();
}

@Override
public void onModuleLoad() {
JqueryResource.INSTANCE.jquery();

MobiscrollJsniResource.INSTANCE.mobiscrollCore();
MobiscrollJsniResource.INSTANCE.mobiscrollScroller();
MobiscrollJsniResource.INSTANCE.mobiscrollScrollerIos7();
MobiscrollJsniResource.INSTANCE.mobiscrollDateTime();
MobiscrollJsniResource.INSTANCE.mobiscrollI18nFr();
MobiscrollJsniResource.INSTANCE.mobiscrollI18nDe();

MobiscrollCssResource.INSTANCE.mobiscrollCss().ensureInjected();
MobiscrollCssResource.INSTANCE.mobiscrollIos7Css().ensureInjected();
}
}


Thank for your help ! 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


replacing jquery with GWT features in demo:: for web Designers

2013-05-16 Thread Clarissa G
[UI/UEX web designer question]
Is there a way for a UI designer (myself) to still use clean HTML/CSS while 
pulling in GWT features/elements (that may use UIBINDER) instead of having 
to find/customize/use throw away jquery to demo functionality?

Thanks all!

-- 


This communication, along with any attachments, may include confidential 
TouchCommerce Inc. information. Any distribution or copying of this 
material is strictly prohibited. If you are not the intended recipient of 
this transmission, please contact the sender immediately

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: replacing jquery with GWT features in demo:: for web Designers

2013-05-16 Thread Jens
Hmm if I dont get the question right feel free to give some more 
information.

In general you can add behavior to existing static HTML/CSS UI 
designs/mockups using GWT but you have to be aware that you probably slow 
down your workflow a bit compared to what you are used to as a Web/Ui 
Designer using JQuery. Thats because in GWT you program Java and you need 
either a browser plugin for live editing (which is a bit slower because the 
plugin needs to translate between Java - JavaScript) or you have to 
compile your GWT code into JavaScript before seeing changes in the browser. 
Using SuperDevMode this compilation can be quite fast but it will still be 
slower then just reloading the HTML in the browser like you would do it as 
web designer/UI designer.
Beside that GWT can of course directly manipulate DOM elements and there is 
even a project called GWTQuery which mimics JQuery in the GWT land.

But maybe you should look at AngularJS (as an alternative to JQuery) before 
considering GWT. AngularJS is really nice if you want to enhance a static 
HTML design/mockup with some interaction functionalities. Take a look at 
the AngularJS examples on their homepage and give this video a shot (from 
Google IO 2013): http://www.youtube.com/watch?v=HCR7i5F5L8c

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




How to call gwt api from jquery/javascript ?

2013-01-29 Thread vaibhav bhalke
Hi All,
I want to know is there any way to call gwt's api from javascript/jquery.

-- 
Best Regards,
Vaibhav

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to call gwt api from jquery/javascript ?

2013-01-29 Thread Alain Ekambi
Have a look at GWT-Exporter


2013/1/29 vaibhav bhalke bhalke.vaib...@gmail.com

 Hi All,
 I want to know is there any way to call gwt's api from javascript/jquery.

 --
 Best Regards,
 Vaibhav

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




GWT :: How to Commit Cancel GWT's EditText cell using javascript/jquery?

2013-01-26 Thread vaibhav bhalke
I am using GWT2.3 celltable

GWT :: How to Commit  Cancel GWT's EditText cell using javascript/jquery ?

Following is cancel() of EdittextCell-GWT

Any alternative to do this in javascript ?

/**
   * Commit the current value.
   *
   * @param context the context of the cell
   * @param parent the parent Element
   * @param viewData the {@link ViewData} object
   * @param valueUpdater the {@link ValueUpdater}
   */
  private void commit(Context context, Element parent, ViewData viewData,
  ValueUpdaterString valueUpdater) {
String value = updateViewData(parent, viewData, false);
clearInput(getInputElement(parent));
setValue(context, parent, viewData.getOriginal());
if (valueUpdater != null) {
  valueUpdater.update(value);
}
  }

--

Following is cancel() of EdittextCell-GWT

Any alternative to do this in javascript

/**
   * Convert the cell to non-edit mode.
   *
   * @param context the context of the cell
   * @param parent the parent Element
   * @param value the value associated with the cell
   */
  private void cancel(Context context, Element parent, String value) {
clearInput(getInputElement(parent));
setValue(context, parent, value);
  }

Using javascript I want to update new value to selected cell  covert it to
non-edit mode How to this using javascript/jquery?

Please provide me solution or any pointer to this case

Thanks in advance.


-- 
Best Regards,
Vaibhav

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: jquery jqGrid with GWT

2012-10-10 Thread Munendra Sharma
Hi, I am also looking for the same, if somebody has done this please post, 
many thanks in advance.

On Wednesday, 16 March 2011 10:12:27 UTC+5:30, ajaxDeveloper wrote:

 I want to use jgQrid as my GWT widget. If anyone has done this please 
 do help me with example code. 

 I will be very grateful... coz i m in urgent need of that integration

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/n-hC2Z8PhfgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jQuery sortable list with GWT

2012-08-09 Thread David


On Sunday, August 5, 2012 6:40:13 PM UTC-4, CSchulz wrote:

 GWT doesn't have any native support for this sort of thing, that's why 
 I'm trying to drop in some basic jquery code.

 gwt-dnd ( http://code.google.com/p/gwt-dnd/) works pretty well for this 
 sort of thing.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/DgbiY4DS_pkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jQuery sortable list with GWT

2012-08-07 Thread CSchulz
Really, there's nothing on this?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/bH1kk2hxcTgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



jQuery sortable list with GWT

2012-08-05 Thread CSchulz


I'm building a GWT web app and would like to implement some jquery code for 
a sortable list similar to this one: http://jqueryui.com/demos/sortable/ but 
the actual implementation is a little more complex. It seems GWT doesn't 
have any native support for this sort of thing, that's why I'm trying to 
drop in some basic jquery code.

The issue is that it seems jquery events don't trigger from the dynamically 
generated list items in GWT. Is there any way around this? I've tried using 
the gwt-jquery plugin but haven't had any luck with that.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/zEtvabuiwvcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jQuery and GQuery - any bad interactions?

2012-06-07 Thread David Amend
A gwt implementation of backbone.js would be a fun idea.

Probably I should give it a try.

Thanks for your statement.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/JYUnGTz3KnYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Free JavaScript, Dojo, jQuery, Ajax, Comet, DWR, JSON daily webinar series

2012-04-18 Thread sangshin
Free JavaScript, Dojo, jQuery, Ajax, Comet, DWR, JSON daily webinar
series
starts from April 16th.

18 one-hour sessions during the 3 week period (April 16th - May 5th,
2012)
9PM-10PM EDT New York time, 5:30AM-6:30AM (next day) India Time

Single registration below lets you register for all 18 sessions.

https://www3.gotomeeting.com/register/113100910

Topics and dates are as following

April 16th: JavaScript Basics
April 17th: JavaScript DOM APIs
April 18th: JavaScript Advanced
April 19th: JavaScript Frameworks and Toolkits Overview
April 20th: Ajax Basics
April 21st: JSON
April 23rd: Prototype.js
April 24th: Dojo Basics I
April 25th: Dojo Basics II
April 26th: Dojo Ajax (Remoting)
April 27th: Dojo Widgets (digit)
April 28th: Dojo Advanced (dojox)
April 30th: Dojo Utilities and Tools
May 1st: jQuery Basics
May 2nd: jQuery Advanced
May 3rd: DWR
May 4th: CSS
May 5th: Comet

For other free Webinar series from JPassion.com, please see

  http://www.javapassion.com/webinars

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT, JQuery, Tipsy

2012-02-08 Thread kellizer
Hi All,

I need to get tipsy ( http://onehackoranother.com/projects/jquery/tipsy/ ) 
working with GWT as the designers have introduced this in along with GWT 
and I can't face to telling them tipsy can't be supported!

From analysis - it it works with JQUERY to traverse through the DOM and 
looks for the title attribute on an element and if it finds this 
attribute it adds a mouse over/mouse out to that element. I can get this 
working without GWT and in the host page (by importing the js files 
required) but when I bring back in the GWT js bootstrap it stops working? 

I need to populate the tipsy tooltips for both elements in the host page  
also elements that are defined in the ui.xml files  what I have been 
thinking/researching is that if it would be feasible to call the tipsy JS 
traverse command directly from GWT via the JSNI when the DOM has been built 
in GWT? Does that sound feasible? anyone got any suggestions/advice on how 
to crack this one?


Thanks in advance..

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/mBJME9gMRS4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT, JQuery, Tipsy

2012-02-08 Thread Sebastian Gurin
I don't see why not. This is what I would do:

1) create a folder named public at the same level of your project's *.gwt.xml 
file

2) In your project's *.gwt.xml file include the required javascripts, 
In your case jquery.js and tipsy.js or whatever, like this:

inherits name=com.google.gwt.user.User /
...
script src='jquery.js' /
script src='tipsy.js' /

3) create a method for invoking tipsy natively:

public static native void tipsy(String id)/*-{
$wnd.$('#'+id).tipsy();
}-*/;


A tip, you can use GWT dom classes for accessing the DOM elements directly and 
safely.

Good look, tell us about your results!




On Wed, 8 Feb 2012 02:27:28 -0800 (PST)
kellizer kelli...@gmail.com wrote:

 Hi All,
 
 I need to get tipsy ( http://onehackoranother.com/projects/jquery/tipsy/ ) 
 working with GWT as the designers have introduced this in along with GWT 
 and I can't face to telling them tipsy can't be supported!
 
 From analysis - it it works with JQUERY to traverse through the DOM and 
 looks for the title attribute on an element and if it finds this 
 attribute it adds a mouse over/mouse out to that element. I can get this 
 working without GWT and in the host page (by importing the js files 
 required) but when I bring back in the GWT js bootstrap it stops working? 
 
 I need to populate the tipsy tooltips for both elements in the host page  
 also elements that are defined in the ui.xml files  what I have been 
 thinking/researching is that if it would be feasible to call the tipsy JS 
 traverse command directly from GWT via the JSNI when the DOM has been built 
 in GWT? Does that sound feasible? anyone got any suggestions/advice on how 
 to crack this one?
 
 
 Thanks in advance..
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/mBJME9gMRS4J.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 


-- 
Sebastian Gurin sgu...@softpoint.org

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT, JQuery, Tipsy

2012-02-08 Thread kellizer
Works a treat - thank you very much

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/a7aSczHMxSMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT, JQuery, Tipsy

2012-02-08 Thread Sebastian Gurin
Glad to help. That is one side of developing a porting of an existing 
javascript toolkit to GWT. The other side of the work 
is to let the user to manipulate javascript native objects in your java code. 
You can use gwt overlay types for that. Explanation, for example, consider this 
tipsy javascript code:

$('#foo').tipsy({gravity: 'n'})

you can present the argument object {gravity: 'n'} using gwt overlay types like 
this:

public class TipsyConfig extends JavaScriptObject {
public final native String getGravity()/*-{
this.gravity;
}-*/;
public final native void setGravity(String g)/*-{
this[gravity]=g;
}-*/;
}


public class TipsyUtil {

//tipsy main method
public static native void tipsy(String id, TipsyConfig cfg) /*-{
$wnd.$('#'+id).tipsy(cfg);
}-*/;

//and create the native TipsyConfig in some method:
public static native TipsyConfig createConfig() /*-{
return {};
}-*/;
}

So now in your java client programs you can do all the job 100% in java like 
this:

TipsyConfig cfg = createConfig();
cfg.setGravity(w);
TipsyUtil.tipsy(div1, cfg);
TipsyUtil.tipsy(div2, cfg2);
etc

hope that helps too


On Wed, 8 Feb 2012 11:21:22 -0800 (PST)
kellizer kelli...@gmail.com wrote:

 Works a treat - thank you very much
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/a7aSczHMxSMJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 


-- 
Sebastian Gurin sgu...@softpoint.org

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT DialogBox Jquery DatePicker

2012-01-23 Thread Bruno MT
Hola Daniel,
Supongo que al final lo que haré será crear un componente que tenga la
misma estructura y los mismos estilos que el datePicker de Jquery. Yo
soy un mandado, no tengo ningun poder de decisión :(
Muchas gracias por contestar.
Saludos!
Bruno.


On 19 ene, 23:13, Daniel Mauricio Patino León ceo.lion@gmail.com
wrote:
 convence a tu cliente de usar el Date picker del GWT. No tiene sentido
 reemplazarlo por el de jQuery.

 2012/1/19 Bruno MT bruno.martine...@gmail.com



  Hello,

  I'm spanish java developer, like u can read(horrible english...)

  I'm a little newbie in GWT development. I enter in a maintence
  project, and it's the worst code I had ever seen...
  Client told that he wants to use Jquery DatePicker in a GWT dialogBox.
  In Internet Explorer everything is all right, but in FF the calendar
  showed by Jquery is not responding to click events, is like jquery z-
  index were less than dialgobox z-index, but its not true.

  GWT 1 - Bruno 0

  Please Elders From Internet, Help Me!!

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 ISC. Daniel Mauricio Patiño León.
 Director ejecutivo
 Liondev S.A. de C.V.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT DialogBox Jquery DatePicker

2012-01-19 Thread Bruno MT
Hello,

I'm spanish java developer, like u can read(horrible english...)

I'm a little newbie in GWT development. I enter in a maintence
project, and it's the worst code I had ever seen...
Client told that he wants to use Jquery DatePicker in a GWT dialogBox.
In Internet Explorer everything is all right, but in FF the calendar
showed by Jquery is not responding to click events, is like jquery z-
index were less than dialgobox z-index, but its not true.

GWT 1 - Bruno 0

Please Elders From Internet, Help Me!!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT DialogBox Jquery DatePicker

2012-01-19 Thread Daniel Mauricio Patino León
convence a tu cliente de usar el Date picker del GWT. No tiene sentido
reemplazarlo por el de jQuery.


2012/1/19 Bruno MT bruno.martine...@gmail.com

 Hello,

 I'm spanish java developer, like u can read(horrible english...)

 I'm a little newbie in GWT development. I enter in a maintence
 project, and it's the worst code I had ever seen...
 Client told that he wants to use Jquery DatePicker in a GWT dialogBox.
 In Internet Explorer everything is all right, but in FF the calendar
 showed by Jquery is not responding to click events, is like jquery z-
 index were less than dialgobox z-index, but its not true.

 GWT 1 - Bruno 0

 Please Elders From Internet, Help Me!!

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-27 Thread Andrei
I wrote complex apps in both JQuery and GWT. My experience boils down
to two key points:

(1) 2-3,000 lines of code or less, you can do it much faster in JQuery
than GWT, and the resulting JavaScript will be much smaller. More code
- go with GWT.

(2) If you plan to use widgets like DataGrid or trees, GWT is much
more convenient.

This is not a religion kind of question: these frameworks are very
different, and each has very distinct advantages in certain
situations.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-27 Thread Roger Studner
There are many (many) jQuery based live grid implementations.  They are far 
easier to style, implement and customize than CellTable

A massive strength of GWT, is the ability to model your domain objects on the 
client. Sure, you can do this in javascript using Backbone and other 
techniques, but that is beyond the technical realm of 'using jquery'

Roger

On Oct 27, 2011, at 7:04 PM, Andrei wrote:

 I wrote complex apps in both JQuery and GWT. My experience boils down
 to two key points:
 
 (1) 2-3,000 lines of code or less, you can do it much faster in JQuery
 than GWT, and the resulting JavaScript will be much smaller. More code
 - go with GWT.
 
 (2) If you plan to use widgets like DataGrid or trees, GWT is much
 more convenient.
 
 This is not a religion kind of question: these frameworks are very
 different, and each has very distinct advantages in certain
 situations.
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-26 Thread t.dave
my $.02 would be that it all depends on what kind of project/app/
website you're building.  if you want to have a true web application
where the page seldom if ever does a full refresh and you want to have
a lot of fancy and super awesome functionality, then GWT is the way to
go.  i've heard that there are ways with javascript to manage your
project well, but my experience with JS is somewhat limited.  i think
it's better for a large web app to be able to work one level of
abstraction higher by coding in java and taking advantage of
everything that brings.

however, if you're building what's really a website and you want to
have just a sprinkling of ajax or a little cool functionality, then by
all means go with jquery.  it's much more lightweight and for simple
things, way simpler.  but from what i've seen i would definitely not
want to do anything of significant size with that.

most likely building a website will be faster, but a web app has a lot
of advantages.  with a web app you can push your state down into the
client and have a stateless server side which helps bigtime with
scalability.  but, depending on your project there may be security
concerns around doing that.

as always, pros and cons both ways but by asking on a GWT list the
answer of which to go with is most likely going to be GWT.  :)



On Oct 25, 12:53 pm, Luis Montes monte...@gmail.com wrote:
 Maintaining JS doesn't have to become a nightmare on large projects.  Other
 toolkits besides jquery have taken things like modularity,dependency
 management, and modularity into account.

 Write in GWT if you want to write in Java.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



jquery?

2011-10-25 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi there,

a coworker told me that jquery has a bunch of advantages over gwt and
that gwt offers pretty much nothing that jquery doesn't - and is going
to infest our source code if i can't stop him.
has anyone here experience with both? the last time some expert told
me to use technology X because it was 10x better than Y it turned out
that X had problems that were just not obvious at the beginning but
messed up everything once it was deeply integrated.

my question is: what would i loose if i switched from GWT to jquery?
i'd just use both since they don't exclude each other and use whatever
seems to be better on a case by case basis.




-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOpvz7AAoJENRtux+h35aGDHgQAK1OqSXIYPtRB3Bzl4+iWhje
KjnLNxHq/J/5AaMp88IOviyS0cIKb2rWsLpC1nJ2O/PDYCpds698eMabqSthXdIW
S8bMlq/menighftxl6KAxwE8NU2yjTi0i2ACAHcStxs8njuj76EveRJZEEneNc9H
q1HEw2zgFCMgPiBN1teo1OX+6cNVuhza9C8Gobt1hf7pLnWQNWJJm9qdAgpDEAUh
MqLYvSfzQ2i9ntRn8LDIzn2ylsxNBwGkJit1XxFL9XaLVFAcW0QRQMRV7Ulza5sU
VsT7Yx3WFcb9qIGA8rAt0p/4c6CtkjNdtQcZckj10aeOWTEGfEuPCoqIRl9ow83M
dSNHWm3z7lER/KdPBElICKKoCSO/e70BmBgjz9pJK49QywSh4sc+1K86gZcEojyz
ashfI563/qez1aNJY2MD1LW/tZaRjG6NhsqsS3ar3VcZCp2gmsSfhIzqxvClPUfL
CprIwuelNQfZgA7dKee1ntI7gWxdRKCrAN8Ls/aMTbQWzdslCekV3JBvl9B24TQL
gEFjog95lCmP3P+tacW2NK5NEPcxfJ31BL+pIOF18rrZyNK4+51mGAfBo6vAIuHN
jlo7aOuvwrLBt3eIUgW/Os486zv+4JQeF3RXb8Mc1Q+A8on7kOb1Ntm2lBNe59lX
WK1oC9arKyZBE/GJrG8w
=K3m8
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-25 Thread Tomasz Gawel
hi,

main gwt strong point is maintainability, team work support, and
refactoring support which comes from java and java tools (and are not
specific to gwt) and are not available in javascript and not possible
be available in javascript.

javascript is extremely flexible and powerful scripting language - but
it is scripting language and becomes a nightmare to maintain large
scale application or written by team especially by team with big
rotation.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-25 Thread Jeff Chimene
On 10/25/2011 11:16 AM, Dennis Haupt wrote:
 hi there,
 
 a coworker told me that jquery has a bunch of advantages over gwt and
 that gwt offers pretty much nothing that jquery doesn't - and is going
 to infest our source code if i can't stop him.

1) There's always the port of jQuery to GWT called GQuery. It does add
some value, and seems to work well for the limited use I've made of it.

2) GWT is much more than just widgets (as is jQuery). Does your
co-worker know that GWT provides the benefits of type-safe code, code
optimization, leveraging IDEs for Java?

3) jQuery is a fine library. At the end of the day, you're still writing
and debugging pure JavaScript. As some Italians say, I'd rather pound
on 'it' with large rocks.

4) There's probably a happy medium here, somewhere. But, in my IMNSHO,
if your team hasn't settled on a set of technology solutions, and
management hasn't supported that decision, then you have other, more
substantial issues.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-25 Thread András Csányi
On 25 October 2011 20:57, Jeff Chimene jchim...@gmail.com wrote:
 On 10/25/2011 11:16 AM, Dennis Haupt wrote:
 hi there,

 a coworker told me that jquery has a bunch of advantages over gwt and
 that gwt offers pretty much nothing that jquery doesn't - and is going
 to infest our source code if i can't stop him.

This is a typical first moment of a flame war. :)

 1) There's always the port of jQuery to GWT called GQuery. It does add
 some value, and seems to work well for the limited use I've made of it.

 2) GWT is much more than just widgets (as is jQuery). Does your
 co-worker know that GWT provides the benefits of type-safe code, code
 optimization, leveraging IDEs for Java?

 3) jQuery is a fine library. At the end of the day, you're still writing
 and debugging pure JavaScript. As some Italians say, I'd rather pound
 on 'it' with large rocks.

 4) There's probably a happy medium here, somewhere. But, in my IMNSHO,
 if your team hasn't settled on a set of technology solutions, and
 management hasn't supported that decision, then you have other, more
 substantial issues.

I have experience at both side. In my thesis I made a small php
framework which generate jQuery source code to avoid writing
javascript. If you do something like this ever you know this is could
be a hard way. This was a hell itself for me. Debugging javascript
It's a terrible thing even you have such a good application as
firebug. I like jQuery because it's easy to use and fancy and etc,
etc, etc. But, this is only a javascript library. By the way, my job
is testing a huge website based on .NET technology and I hear every
day they cursing my developer colleagues because they have to write
javascript, html and C# code. And they have to debug it. Not to
mention the fact you can't write junit tests for javascript. In my
opinion here is the biggest advantage of gwt. You have to write only
java code! From here you have all of advantage of using only one
programming language, in this case java. For example, debugging, type
safe, OOP and not to mention the IDEs. And top of that if you use
other java technologies you have deal with only one programming
language and as a consequence you can find employers easier, for
example.

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-25 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i' not interested in a flamewar like this, there are much better
topics (religion a vs religion b)

just wanted to gather some intel.

Am 25.10.2011 21:15, schrieb András Csányi:
 On 25 October 2011 20:57, Jeff Chimene jchim...@gmail.com wrote:
 On 10/25/2011 11:16 AM, Dennis Haupt wrote:
 hi there,
 
 a coworker told me that jquery has a bunch of advantages over
 gwt and that gwt offers pretty much nothing that jquery doesn't
 - and is going to infest our source code if i can't stop him.
 
 This is a typical first moment of a flame war. :)
 
 1) There's always the port of jQuery to GWT called GQuery. It
 does add some value, and seems to work well for the limited use
 I've made of it.
 
 2) GWT is much more than just widgets (as is jQuery). Does your 
 co-worker know that GWT provides the benefits of type-safe code,
 code optimization, leveraging IDEs for Java?
 
 3) jQuery is a fine library. At the end of the day, you're still
 writing and debugging pure JavaScript. As some Italians say, I'd
 rather pound on 'it' with large rocks.
 
 4) There's probably a happy medium here, somewhere. But, in my
 IMNSHO, if your team hasn't settled on a set of technology
 solutions, and management hasn't supported that decision, then
 you have other, more substantial issues.
 
 I have experience at both side. In my thesis I made a small php 
 framework which generate jQuery source code to avoid writing 
 javascript. If you do something like this ever you know this is
 could be a hard way. This was a hell itself for me. Debugging
 javascript It's a terrible thing even you have such a good
 application as firebug. I like jQuery because it's easy to use and
 fancy and etc, etc, etc. But, this is only a javascript library. By
 the way, my job is testing a huge website based on .NET technology
 and I hear every day they cursing my developer colleagues because
 they have to write javascript, html and C# code. And they have to
 debug it. Not to mention the fact you can't write junit tests for
 javascript. In my opinion here is the biggest advantage of gwt. You
 have to write only java code! From here you have all of advantage
 of using only one programming language, in this case java. For
 example, debugging, type safe, OOP and not to mention the IDEs. And
 top of that if you use other java technologies you have deal with
 only one programming language and as a consequence you can find
 employers easier, for example.
 


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOpxFFAAoJENRtux+h35aGQz8P/0VXdUkfpsx+C1IaJuUc4Spq
ke5saoznTWQDai8KljPWohqXtjL34duJv4dRFEVvjccqWCCAE9uH3rdzod/gNrh7
+PHeHglYscRy1+Qyz3b7x3KQSIDC8Cr5fKq/drV24mWpbVUejfpCjVT+Q83Z7Qt+
snMDRTdchWNZJDbpNNDvEKDcHFQvK2sE6NpZed46cRNpuzG65yx1AHc4EA3aqAIe
ktbIdmZ4eQsas1+8nHJVz1V0/EK9Btd9otdAFdoUnzOP+tfN/R17smFOk99XKTIc
BEujNpFXZRPGv3wTgtuqs81x5FIo22qOmFMZZhhNRjH08dMVP+CoDPLzU/lL4X+O
gth/dXZt8j23dy/ZR9DUm7aiCJMwMDUUKD8jDmh8/ivwz75PX0iLvlV8d98bDRMB
lLZYPhfZIRNuBzo0RvZkRrcnaIXrIOTi4pr9WWUUK3vppC3d7T2X2sgUjl8gMJ+w
6kuPTx4mtSHFZuvqcOjuVUVq4iIUeHK7uEttSdRH2RfjTxwYiL+SBp8FSqjMWL4h
S6VbJ/ZIlRaJYndZbA5IZRUNIR7V/h8Vp5lwsysCIGWfvrBEYNzoCdZxMyNTw8os
yABfo2tIsSCYLEpZAlzeTCd7TjSLMlmFBsR+8l6Bn4Bv4BPXXTq59gd0G3DQPUUz
wIBF/roe/nfsfzgT9rE9
=9UAA
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-25 Thread Manuel Carrasco Moñino
On Tue, Oct 25, 2011 at 8:16 PM, Dennis Haupt d.haup...@googlemail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 hi there,

 a coworker told me that jquery has a bunch of advantages over gwt and
 that gwt offers pretty much nothing that jquery doesn't - and is going
 to infest our source code if i can't stop him.
 has anyone here experience with both? the last time some expert told
 me to use technology X because it was 10x better than Y it turned out
 that X had problems that were just not obvious at the beginning but
 messed up everything once it was deeply integrated.

You could introduce GQuery in your projects and you will have many of
the advantages of jquery.

Take a look to this presentation to see what gquery adds to the gwt world:
http://www.slideshare.net/dodotis/gquery-a-jquery-clone-for-gwt-rivieradev-2011

- Manolo



 my question is: what would i loose if i switched from GWT to jquery?
 i'd just use both since they don't exclude each other and use whatever
 seems to be better on a case by case basis.




 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.14 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQIcBAEBAgAGBQJOpvz7AAoJENRtux+h35aGDHgQAK1OqSXIYPtRB3Bzl4+iWhje
 KjnLNxHq/J/5AaMp88IOviyS0cIKb2rWsLpC1nJ2O/PDYCpds698eMabqSthXdIW
 S8bMlq/menighftxl6KAxwE8NU2yjTi0i2ACAHcStxs8njuj76EveRJZEEneNc9H
 q1HEw2zgFCMgPiBN1teo1OX+6cNVuhza9C8Gobt1hf7pLnWQNWJJm9qdAgpDEAUh
 MqLYvSfzQ2i9ntRn8LDIzn2ylsxNBwGkJit1XxFL9XaLVFAcW0QRQMRV7Ulza5sU
 VsT7Yx3WFcb9qIGA8rAt0p/4c6CtkjNdtQcZckj10aeOWTEGfEuPCoqIRl9ow83M
 dSNHWm3z7lER/KdPBElICKKoCSO/e70BmBgjz9pJK49QywSh4sc+1K86gZcEojyz
 ashfI563/qez1aNJY2MD1LW/tZaRjG6NhsqsS3ar3VcZCp2gmsSfhIzqxvClPUfL
 CprIwuelNQfZgA7dKee1ntI7gWxdRKCrAN8Ls/aMTbQWzdslCekV3JBvl9B24TQL
 gEFjog95lCmP3P+tacW2NK5NEPcxfJ31BL+pIOF18rrZyNK4+51mGAfBo6vAIuHN
 jlo7aOuvwrLBt3eIUgW/Os486zv+4JQeF3RXb8Mc1Q+A8on7kOb1Ntm2lBNe59lX
 WK1oC9arKyZBE/GJrG8w
 =K3m8
 -END PGP SIGNATURE-

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery?

2011-10-25 Thread Luis Montes
Maintaining JS doesn't have to become a nightmare on large projects.  Other
toolkits besides jquery have taken things like modularity,dependency
management, and modularity into account.

Write in GWT if you want to write in Java.




On Tue, Oct 25, 2011 at 11:33 AM, Tomasz Gawel tomaszga...@op.pl wrote:

 hi,

 main gwt strong point is maintainability, team work support, and
 refactoring support which comes from java and java tools (and are not
 specific to gwt) and are not available in javascript and not possible
 be available in javascript.

 javascript is extremely flexible and powerful scripting language - but
 it is scripting language and becomes a nightmare to maintain large
 scale application or written by team especially by team with big
 rotation.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



jQuery plugins

2011-09-07 Thread Darnok
I've developed a jQuery widget that makes use of jQuery plugins, which
works fine standalone.  However, once plugged into GWT, it seems not
to wait for the jQuery plugins... I load the plugins with:

module
script src=js/hcView/jquery.min.js/
script src=js/hcView/jquery-ui.min.js/
script src=js/hcView/jquery.scroll.events.js/
script src=js/hcView/jquery.json-2.2.min.js/
.
.
.
script src=js/hcView/lazy-table.js/
/module

Firebug shows them both .js files as loaded.  The GWT code makes use
of onLoad() - which should ensure all is loaded...?  Also tried jQuery
ready() function.  Any other suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



jQuery and GQuery - any bad interactions?

2011-08-28 Thread Tom Carchrae
Hi All,

I'm still checking out ways to integrate my GWT code with JS libraries.

I recently discovered JQM4GWT (a GWT wrapper for JQueryMobile) - which seems
great but is still half baked.  I'm also a little unsure if I agree with the
level of abstraction taken in JQM4GWT - I think perhaps it is wrapping too
much.

I (think) my primary needs in using a JS library (eg, JQueryMobile)  are
pretty simple.

1) I want to be able to bind events to the JS code so that event handlers
are are written in GWT.
2) I want to be able to create elements in the DOM, add JS markup (eg,
data-rel=dialog),
3) I want to call JS methods (eg, listview('refresh'); )

To achieve 1, is it reasonable to use GQuery to do the event binding - could
there be any bad interactions when using jQuery as well?   I've been
checking out GQuery.  It seems like a great way to do 2.  JSNI makes 3
pretty simple, albeit, with the caveat of keeping track of the elements in
GWT.

In some respects, I feel like what I am looking for is a really light-weight
GWT library that makes wrapping JS libraries easy.  Pretty much something
like Backbone.js but for GWT.  Any gems out there?  Should I make one?  Is
this folly?

Tom

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-23 Thread Manuel Carrasco Moñino
Here:
http://gwtquery.googlecode.com/svn/trunk/demos/gwtquery.samples.GwtQueryBench/GwtQueryBench.html?ask=false

On Mon, Aug 22, 2011 at 10:27 PM, Christian Goudreau
goudreau.christ...@gmail.com wrote:
 I remember seeing a race between Gwt-Query and jQuery with animations where
 Gwt-Query run that race, does anyone has de link to that video somewhere?

 2011/8/22 Dimitrijević Ivan dim...@gmail.com

 You can include jQuery fraework in your application and use JSNI to invoke
 jQuery's animation function.
 public class Animation {
 public static int SPEED_SLOW = 1300;
 public static int SPEED_NORMAL = 800;
 public static int SPEED_FAST = 400;
 public static native void doFadeInAnimation(Element e, int speed)/*-{
    $wnd.jQuery(e).fadeIn(speed);
 }-*/;
 }
 In order to animate some GWT UI element you should write:
 Animation.doFadeInAnimation(yourGWTUIElement.getElement(),
 Animation.SPEED_SLOW);

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/JZojg4ekSM4J.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



 --
 Christian Goudreau
 www.arcbees.com

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-23 Thread Manuel Carrasco Moñino
With gquery the syntax is the same, except that you get advance of the
gwt compiler including in your final js just the stuff you need, you
do not need to import any external library like jquery.js, and you do
not have to write any jsni method.

- Your example passing a gwt UI component
import static com.google.gwt.query.client.GQuery.$;
$(yourGWTUIElement).fadeIn(1300);

- More examples using selectors and type-safe constants
$(.gwt-label).fadeIn(Speed.SLOW);
$(.gwt-label).css(vertical-align, middle).delay(1000).fadeIn(Speed.FAST);
$(.gwt-button).css(CSS.VERTICAL_ALIGN.with(VerticalAlign.MIDDLE));


Enjoy gquery :-)
- Manolo

2011/8/22 Dimitrijević Ivan dim...@gmail.com:
 You can include jQuery fraework in your application and use JSNI to invoke
 jQuery's animation function.
 public class Animation {
 public static int SPEED_SLOW = 1300;
 public static int SPEED_NORMAL = 800;
 public static int SPEED_FAST = 400;
 public static native void doFadeInAnimation(Element e, int speed)/*-{
    $wnd.jQuery(e).fadeIn(speed);
 }-*/;
 }
 In order to animate some GWT UI element you should write:
 Animation.doFadeInAnimation(yourGWTUIElement.getElement(),
 Animation.SPEED_SLOW);

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/JZojg4ekSM4J.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-23 Thread VisualFox
Almost shameless promotion - disclaimer I am the author of both
visualfox-fx and visualfox-fx-gwtquery

Gwtquery will works well. But if you are looking for just an animation
library you may want to check:

a) visualfox-fx which is an animation and effect library using both
css3 animation type and javascript. Actually the library can run in an
hybrid mode.
http://code.google.com/p/visualfox-fx/

b) visualfox-fx-gwtquery which is a plugin for gwtquery using
visualfox-fx. This plugin have some limitation as you can only apply
the animation effect to the first element and not to the whole
collection returned by gwtquery.
http://code.google.com/p/visualfox-fx-gwtquery/

I am currently working on improving the documentation but things can
be a little bumpy, Don't hesitate to contact me if you have any
problem

On Jul 3, 5:58 pm, Guy Nirpaz g...@totango.com wrote:
 Hey,

 Any idea how to get functionality similar to JQuery:
 $(p.neat).addClass(ohmy).*show(slow);*
 *
 *
 *
 *
 I'm referring to the { .show(slow) } part.

 I'm looking to find an extensive set of animation capabilities which can be
 used with GWT (not ext-GWT or other non native GWT libraries)

 Any tips will help
 Guy

 *
 *

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-23 Thread Christian Goudreau
would be cool if the bench on Gwt-Query demos would use the latest jQuery
and other library :D

On Tue, Aug 23, 2011 at 6:02 PM, VisualFox mecha...@gmail.com wrote:

 Almost shameless promotion - disclaimer I am the author of both
 visualfox-fx and visualfox-fx-gwtquery

 Gwtquery will works well. But if you are looking for just an animation
 library you may want to check:

 a) visualfox-fx which is an animation and effect library using both
 css3 animation type and javascript. Actually the library can run in an
 hybrid mode.
 http://code.google.com/p/visualfox-fx/

 b) visualfox-fx-gwtquery which is a plugin for gwtquery using
 visualfox-fx. This plugin have some limitation as you can only apply
 the animation effect to the first element and not to the whole
 collection returned by gwtquery.
 http://code.google.com/p/visualfox-fx-gwtquery/

 I am currently working on improving the documentation but things can
 be a little bumpy, Don't hesitate to contact me if you have any
 problem

 On Jul 3, 5:58 pm, Guy Nirpaz g...@totango.com wrote:
  Hey,
 
  Any idea how to get functionality similar to JQuery:
  $(p.neat).addClass(ohmy).*show(slow);*
  *
  *
  *
  *
  I'm referring to the { .show(slow) } part.
 
  I'm looking to find an extensive set of animation capabilities which can
 be
  used with GWT (not ext-GWT or other non native GWT libraries)
 
  Any tips will help
  Guy
 
  *
  *

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-22 Thread Dimitrijević Ivan
You can include jQuery fraework in your application and use JSNI to invoke 
jQuery's animation function.

public class Animation {
public static int SPEED_SLOW = 1300;
public static int SPEED_NORMAL = 800;
public static int SPEED_FAST = 400;
 public static native void doFadeInAnimation(Element e, int speed)/*-{
$wnd.jQuery(e).fadeIn(speed);
}-*/;
}

In order to animate some GWT UI element you should write:

Animation.doFadeInAnimation(*yourGWTUIElement*.getElement(), 
Animation.SPEED_SLOW);

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/JZojg4ekSM4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-22 Thread Christian Goudreau
I remember seeing a race between Gwt-Query and jQuery with animations where
Gwt-Query run that race, does anyone has de link to that video somewhere?

2011/8/22 Dimitrijević Ivan dim...@gmail.com

 You can include jQuery fraework in your application and use JSNI to invoke
 jQuery's animation function.

 public class Animation {
 public static int SPEED_SLOW = 1300;
 public static int SPEED_NORMAL = 800;
 public static int SPEED_FAST = 400;
  public static native void doFadeInAnimation(Element e, int speed)/*-{
 $wnd.jQuery(e).fadeIn(speed);
 }-*/;
 }

 In order to animate some GWT UI element you should write:

 Animation.doFadeInAnimation(*yourGWTUIElement*.getElement(),
 Animation.SPEED_SLOW);

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/JZojg4ekSM4J.

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-21 Thread Manuel Carrasco Moñino
On Fri, Aug 19, 2011 at 12:42 PM, Tomasz Gawel tomaszga...@op.pl wrote:
 1. But Animation class in gwt seems to be quite handy. All you need is
 bunch of custom interpolation functions. But these are easy to be
 taken from MooTools (i did take se below :)) - (easing functions in
 jquery behave slightly different so simple rewriting it in java drops
 off).

Gwtquery (GQuery) is NOT JQuery nor needs to import it to work, they
only share the API (syntax and name of methods), so GQuery has been
entirely rewritten taking advance of GWT and reusing as much stuff as
possible from gwt.
So animate() in GQuery has nothing in common with animate in jquery()
(except the name and parameters), the implementation based in the gwt
class Animate, and Easing function has only one method interpolate()
which is used directly by Animation. Take a look to the Easing
interface in gquery which is exactly the same that your Interpolation
interface, in fact we could incorporate these bunch of interpolations
to the project if you authorise it.
http://code.google.com/p/gwtquery/source/browse/trunk/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java#37


 2. Manuel - great respect for GWT-Query - actually the biggest thing i
 find missing in gwt is support for dom-programming and lack of built-
 in selector engine. But I agree with Guy that jquery-like syntax is
 not necessarily an advantage :)

gwtquery is a gwt library, it basically introduces many nice things to
the gwt world: css selectors, a lot of useful methods for dom
manipulation, animations, light collections, etc, and the jquery
popular syntax (method chaining).
So if you only need GQuery selectors, you can use them without forcing
your programmers to use jquery syntax, nor any reference to the GQuery
class.
  Element context = anyWidget.getElement();
  SelectorEngine sel = new SelectorEngine();
  NodeListElement nodes = sel.select(.mycontainer .gwt-label, context);
The same if you wanted to use Selectors optimized at compile time, etc.

Summarizing take from gquery just what you need, and do not feel
forced to use jquery-like syntax nor any programming pattern. Like
with any other library, the gwt compiler will do its work not
including in your javascript anything you do not use.


 /** from mootools **/
    public static interface Interpolation {

        public static class Power implements Interpolation {
            protected double power;
            public Power(double power){
                this.power = power;
            }
            @Override public double interpolate(double progress) {
                return Math.pow(progress, power);
            }
        }

        public static class Back implements Interpolation {
            protected double mute = 1.618;
            public Back(double mute){
                this.mute = mute;
            }
            @Override public double interpolate(double progress) {
                return Math.pow(progress, 2) * ((mute + 1) * progress
 - mute);
            }
        }

        public static class Elastic implements Interpolation {
            protected double mute = 1;
            public Elastic(double mute) {
                this.mute = mute;
            }
            @Override public double interpolate(double progress) {
                return Math.pow(2, 10 * --progress) * Math.cos(20 *
 progress * Math.PI * mute / 3);
            }
        }

        public static final Interpolation ELASTIC = new Elastic(1);

        public static final Interpolation BACK = new Back(1.618);

        public static final Interpolation QUAD = new Power(2);

        public static final Interpolation CUBIC = new Power(3);

        public static final Interpolation QUART = new Power(4);

        public static final Interpolation QUINT = new Power(5);

        public static final Interpolation LINEAR = new Interpolation()
 {
            @Override public double interpolate(double progress) {
                return progress;
            }
        };

        public static final Interpolation EXPO = new Interpolation() {
            @Override public double interpolate(double progress) {
                return Math.pow(2, 8 * (progress - 1));
            }
        };

        public static final Interpolation CIRC = new Interpolation() {
            @Override public double interpolate(double progress) {
                return 1 - Math.sin(Math.acos(progress));
            }
        };

        public static final Interpolation SINE = new Interpolation() {
            @Override public double interpolate(double progress) {
                return 1 - Math.cos(progress * Math.PI / 2);
            }
        };

        public static final Interpolation BOUNCE = new Interpolation()
 {
            @Override public double interpolate(double progress) {
                double value;
                for (double a = 0, b = 1; true; a += b, b /= 2){
                    if (progress = (7 - 4 * a) / 11

Re: JQuery like animation

2011-08-21 Thread Nicolas Antoniazzi
We use gwt-fx in our project. It is only focused on FX and it does it well.
http://code.google.com/p/gwt-fx/

2011/8/21 Manuel Carrasco Moñino man...@apache.org

 On Fri, Aug 19, 2011 at 12:42 PM, Tomasz Gawel tomaszga...@op.pl wrote:
  1. But Animation class in gwt seems to be quite handy. All you need is
  bunch of custom interpolation functions. But these are easy to be
  taken from MooTools (i did take se below :)) - (easing functions in
  jquery behave slightly different so simple rewriting it in java drops
  off).

 Gwtquery (GQuery) is NOT JQuery nor needs to import it to work, they
 only share the API (syntax and name of methods), so GQuery has been
 entirely rewritten taking advance of GWT and reusing as much stuff as
 possible from gwt.
 So animate() in GQuery has nothing in common with animate in jquery()
 (except the name and parameters), the implementation based in the gwt
 class Animate, and Easing function has only one method interpolate()
 which is used directly by Animation. Take a look to the Easing
 interface in gquery which is exactly the same that your Interpolation
 interface, in fact we could incorporate these bunch of interpolations
 to the project if you authorise it.

 http://code.google.com/p/gwtquery/source/browse/trunk/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java#37

 
  2. Manuel - great respect for GWT-Query - actually the biggest thing i
  find missing in gwt is support for dom-programming and lack of built-
  in selector engine. But I agree with Guy that jquery-like syntax is
  not necessarily an advantage :)

 gwtquery is a gwt library, it basically introduces many nice things to
 the gwt world: css selectors, a lot of useful methods for dom
 manipulation, animations, light collections, etc, and the jquery
 popular syntax (method chaining).
 So if you only need GQuery selectors, you can use them without forcing
 your programmers to use jquery syntax, nor any reference to the GQuery
 class.
  Element context = anyWidget.getElement();
  SelectorEngine sel = new SelectorEngine();
  NodeListElement nodes = sel.select(.mycontainer .gwt-label, context);
 The same if you wanted to use Selectors optimized at compile time, etc.

 Summarizing take from gquery just what you need, and do not feel
 forced to use jquery-like syntax nor any programming pattern. Like
 with any other library, the gwt compiler will do its work not
 including in your javascript anything you do not use.

 
  /** from mootools **/
 public static interface Interpolation {
 
 public static class Power implements Interpolation {
 protected double power;
 public Power(double power){
 this.power = power;
 }
 @Override public double interpolate(double progress) {
 return Math.pow(progress, power);
 }
 }
 
 public static class Back implements Interpolation {
 protected double mute = 1.618;
 public Back(double mute){
 this.mute = mute;
 }
 @Override public double interpolate(double progress) {
 return Math.pow(progress, 2) * ((mute + 1) * progress
  - mute);
 }
 }
 
 public static class Elastic implements Interpolation {
 protected double mute = 1;
 public Elastic(double mute) {
 this.mute = mute;
 }
 @Override public double interpolate(double progress) {
 return Math.pow(2, 10 * --progress) * Math.cos(20 *
  progress * Math.PI * mute / 3);
 }
 }
 
 public static final Interpolation ELASTIC = new Elastic(1);
 
 public static final Interpolation BACK = new Back(1.618);
 
 public static final Interpolation QUAD = new Power(2);
 
 public static final Interpolation CUBIC = new Power(3);
 
 public static final Interpolation QUART = new Power(4);
 
 public static final Interpolation QUINT = new Power(5);
 
 public static final Interpolation LINEAR = new Interpolation()
  {
 @Override public double interpolate(double progress) {
 return progress;
 }
 };
 
 public static final Interpolation EXPO = new Interpolation() {
 @Override public double interpolate(double progress) {
 return Math.pow(2, 8 * (progress - 1));
 }
 };
 
 public static final Interpolation CIRC = new Interpolation() {
 @Override public double interpolate(double progress) {
 return 1 - Math.sin(Math.acos(progress));
 }
 };
 
 public static final Interpolation SINE = new Interpolation() {
 @Override public double interpolate(double progress) {
 return 1 - Math.cos(progress * Math.PI / 2);
 }
 };
 
 public static

Re: JQuery like animation

2011-08-19 Thread Manuel Carrasco Moñino
On Tue, Jul 5, 2011 at 9:01 PM, Guy Nirpaz g...@totango.com wrote:
 Thanks Christian,

 I am well familiar with GWT-Query, however, I feel it doesn't match well GWT
 (MVP) programming model and design.

It is not true, gquery can be used in different contexts and does not
break the MVP pattern if you do not want. It is a helper library not a
programming pattern.
In a MVP app you can use it in different ways:
1. you can put any animation, decoration or enhancement in your view
so as the presenter does not matter since you implement correctly the
view interface. For instance you can have a view with just only
text-boxes, then you could enhance those components with the
gquery-enhance plugin changing boxes by slider, color pickers etc, or
you could add gquery animations overriding onAttach, etc.
2. Gquery also helps in a MVP context since you can use it to decouple
parts, and get widget instances anywhere
MyWidget w = $(.gwt-mywidget_class).widget();

- Manolo


 Guy

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/yNJ60daUk_sJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-08-19 Thread Tomasz Gawel
1. But Animation class in gwt seems to be quite handy. All you need is
bunch of custom interpolation functions. But these are easy to be
taken from MooTools (i did take se below :)) - (easing functions in
jquery behave slightly different so simple rewriting it in java drops
off).

2. Manuel - great respect for GWT-Query - actually the biggest thing i
find missing in gwt is support for dom-programming and lack of built-
in selector engine. But I agree with Guy that jquery-like syntax is
not necessarily an advantage :)

/** from mootools **/
public static interface Interpolation {

public static class Power implements Interpolation {
protected double power;
public Power(double power){
this.power = power;
}
@Override public double interpolate(double progress) {
return Math.pow(progress, power);
}
}

public static class Back implements Interpolation {
protected double mute = 1.618;
public Back(double mute){
this.mute = mute;
}
@Override public double interpolate(double progress) {
return Math.pow(progress, 2) * ((mute + 1) * progress
- mute);
}
}

public static class Elastic implements Interpolation {
protected double mute = 1;
public Elastic(double mute) {
this.mute = mute;
}
@Override public double interpolate(double progress) {
return Math.pow(2, 10 * --progress) * Math.cos(20 *
progress * Math.PI * mute / 3);
}
}

public static final Interpolation ELASTIC = new Elastic(1);

public static final Interpolation BACK = new Back(1.618);

public static final Interpolation QUAD = new Power(2);

public static final Interpolation CUBIC = new Power(3);

public static final Interpolation QUART = new Power(4);

public static final Interpolation QUINT = new Power(5);

public static final Interpolation LINEAR = new Interpolation()
{
@Override public double interpolate(double progress) {
return progress;
}
};

public static final Interpolation EXPO = new Interpolation() {
@Override public double interpolate(double progress) {
return Math.pow(2, 8 * (progress - 1));
}
};

public static final Interpolation CIRC = new Interpolation() {
@Override public double interpolate(double progress) {
return 1 - Math.sin(Math.acos(progress));
}
};

public static final Interpolation SINE = new Interpolation() {
@Override public double interpolate(double progress) {
return 1 - Math.cos(progress * Math.PI / 2);
}
};

public static final Interpolation BOUNCE = new Interpolation()
{
@Override public double interpolate(double progress) {
double value;
for (double a = 0, b = 1; true; a += b, b /= 2){
if (progress = (7 - 4 * a) / 11){
value = b * b - Math.pow((11 - 6 * a - 11 *
progress) / 4, 2);
break;
}
}
return value;
}
};


double interpolate(double progress);
}

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-07-06 Thread dindeman
Yes this progress bar looks really neat indeed, nice.

What about gwt-fx ? I have used it in the past and found it pretty good 
then.
I remember that I had to switch to it (coming from using GQuery) because I 
needed a way to intercept the process of a fading effect in the middle and 
reverse it. And, at the time, that wasn't possible with GQuery.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/SR7nPNIXu9IJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-07-05 Thread Guy Nirpaz
Thanks Christian,

I am well familiar with GWT-Query, however, I feel it doesn't match well GWT 
(MVP) programming model and design.

Guy

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/yNJ60daUk_sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-07-05 Thread Christian Goudreau
Well it does. But you have to trigger the animation from the presenter. The
actual animation that take care of the GQuery stuff can be in the view or in
another class. If the animation in the view isn't triggered from the view
itself, but from the presenter, it matches the MVP pattern.

Pattern are half-baked, meaning that you always have to finish them off in
the oven of your own project

Cheers,


On Tue, Jul 5, 2011 at 3:01 PM, Guy Nirpaz g...@totango.com wrote:

 Thanks Christian,

 I am well familiar with GWT-Query, however, I feel it doesn't match well
 GWT (MVP) programming model and design.


 Guy

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/yNJ60daUk_sJ.

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-07-04 Thread Christian Goudreau
Have you ever heard of Gwt-Query ? :D

http://code.google.com/p/gwtquery/

Cheers,

On Sun, Jul 3, 2011 at 11:58 AM, Guy Nirpaz g...@totango.com wrote:

 Hey,

 Any idea how to get functionality similar to JQuery:
 $(p.neat).addClass(ohmy).*show(slow);*
 *
 *
 *
 *
 I'm referring to the { .show(slow) } part.

 I'm looking to find an extensive set of animation capabilities which can be
 used with GWT (not ext-GWT or other non native GWT libraries)

 Any tips will help
 Guy

 *
 *

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/miIqFHgBEjMJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery like animation

2011-07-04 Thread Uemit
If you don't care much about old browsers you can also use CSS3 
transitions/animations for simple stuff. 
I used it in a GWT project (i.e. ProgressBar) and it works really well. 
i.e.: http://aatiis.me/demos/pure-css-progress-bar



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/pc9_H6dESdsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



JQuery like animation

2011-07-03 Thread Guy Nirpaz
Hey,

Any idea how to get functionality similar to JQuery:
$(p.neat).addClass(ohmy).*show(slow);*
*
*
*
*
I'm referring to the { .show(slow) } part.

I'm looking to find an extensive set of animation capabilities which can be 
used with GWT (not ext-GWT or other non native GWT libraries)

Any tips will help
Guy

*
*

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/miIqFHgBEjMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery slider alternate

2011-06-15 Thread Deepak Singh
Hi All,

Any idea is greatly welcome.

On Sat, Jun 11, 2011 at 4:44 PM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi All,

 I am using gwtquery just because of JQuery two way slider component. I need
 to know that is there any similar kind of component available in GWT/3rd
 part widgets?

 Regards
 Deepak


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery slider alternate

2011-06-15 Thread Alain Ekambi
Maybe you could just wrap that with a GWT API ?

2011/6/15 Deepak Singh deepaksingh...@gmail.com

 Hi All,

 Any idea is greatly welcome.

 On Sat, Jun 11, 2011 at 4:44 PM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi All,

 I am using gwtquery just because of JQuery two way slider component. I
 need to know that is there any similar kind of component available in
 GWT/3rd part widgets?

 Regards
 Deepak


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

GWT API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JQuery slider alternate

2011-06-15 Thread Deepak Singh
I am wrapping it currently with gwtquery and working fine. But i dont want
to use JQuery at all. Thus i am looking for similar component in gwt.
Any idea ?

Thanks


On Wed, Jun 15, 2011 at 3:59 PM, Alain Ekambi
jazzmatad...@googlemail.comwrote:

 Maybe you could just wrap that with a GWT API ?

 2011/6/15 Deepak Singh deepaksingh...@gmail.com

 Hi All,

 Any idea is greatly welcome.

 On Sat, Jun 11, 2011 at 4:44 PM, Deepak Singh 
 deepaksingh...@gmail.comwrote:

 Hi All,

 I am using gwtquery just because of JQuery two way slider component. I
 need to know that is there any similar kind of component available in
 GWT/3rd part widgets?

 Regards
 Deepak


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




 --

 GWT API for  non Java based platforms
 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



JQuery slider alternate

2011-06-11 Thread Deepak Singh
Hi All,

I am using gwtquery just because of JQuery two way slider component. I need
to know that is there any similar kind of component available in GWT/3rd
part widgets?

Regards
Deepak

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



When jquery meets gwt : GwtQuery 1.0.0 was released !

2011-05-03 Thread Julien Dramaix
On behalf of the GwtQuery team, it is my pleasure to annonce the first
release of GwtQuery, after a long snapshot period.

GwtQuery is a GWT port of jQuery and offers plenty of cool features
like css type-safe, gwt
widgets interaction, complete jquery api support, and optimised css
selector engines.

More info on : http://code.google.com/p/gwtquery/
Getting started guide : http://code.google.com/p/gwtquery/wiki/GettingStarted

Julien

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: When jquery meets gwt : GwtQuery 1.0.0 was released !

2011-05-03 Thread Gal Dolber
Really nice to hear news about GwtQuery!
thank for the release

On Tue, May 3, 2011 at 12:41 PM, Julien Dramaix julien.dram...@gmail.comwrote:

 On behalf of the GwtQuery team, it is my pleasure to annonce the first
 release of GwtQuery, after a long snapshot period.

 GwtQuery is a GWT port of jQuery and offers plenty of cool features
 like css type-safe, gwt
 widgets interaction, complete jquery api support, and optimised css
 selector engines.

 More info on : http://code.google.com/p/gwtquery/
 Getting started guide :
 http://code.google.com/p/gwtquery/wiki/GettingStarted

 Julien

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: EXTGWT vs JQUERY

2011-05-01 Thread chris
For a gwt jquery implentation check out 
gwtQueryhttp://code.google.com/p/gwtquery/


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery validation in GWT

2011-04-15 Thread scorp
Show your code.

On Apr 14, 4:21 pm, Aman sachdeva amancr...@gmail.com wrote:
 i am trying to make validation using Jquery in GWT but the text box
 value is not getting the value in jquery native method.

 Any example for Jquery in gwt will be appreciated.

 Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jquery validation in GWT

2011-04-15 Thread Julien Dramaix
If you want to use jQuery in GWT, have a look at GwtQuery
project(http://code.google.com/p/gwtquery/), it is a gwt port of
jQuery totally written in gwt.

Julien

On Apr 14, 3:21 pm, Aman sachdeva amancr...@gmail.com wrote:
 i am trying to make validation using Jquery in GWT but the text box
 value is not getting the value in jquery native method.

 Any example for Jquery in gwt will be appreciated.

 Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



jquery validation in GWT

2011-04-14 Thread Aman sachdeva
i am trying to make validation using Jquery in GWT but the text box
value is not getting the value in jquery native method.

Any example for Jquery in gwt will be appreciated.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



jquery jqGrid with GWT

2011-03-15 Thread ajaxDeveloper
I want to use jgQrid as my GWT widget. If anyone has done this please
do help me with example code.

I will be very grateful... coz i m in urgent need of that integration

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



jQuery based FishEye Menu bar with GWT

2011-03-07 Thread ajaxDeveloper
I am working on integrating jquery based FishEye Menu bar with my GWT
application like gwtphp has done. But my all effort in vain. I
successfully added jqueryui components with GWT.

I need urgent help to create FishEye Menubar in GWT or integrate
jQuery based FishEye Component. I am looking for jqDock.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jQuery based FishEye Menu bar with GWT

2011-03-07 Thread nino ekambi
I  ve done this once  with  jqDock. All you have to do  is to include the js
File in your  hosted Page and call the jqDock funcitions with JSNI.
Mayve i hav the code  somewhere. I ll have a look.

Greets,

Alain

2011/3/8 ajaxDeveloper madihaan...@gmail.com

 I am working on integrating jquery based FishEye Menu bar with my GWT
 application like gwtphp has done. But my all effort in vain. I
 successfully added jqueryui components with GWT.

 I need urgent help to create FishEye Menubar in GWT or integrate
 jQuery based FishEye Component. I am looking for jqDock.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: jQuery based FishEye Menu bar with GWT

2011-03-07 Thread ajaxDeveloper
HI nino ekambi,

Yes please if u can provide me the code. it will be great help for me.

Regards

On Mar 8, 2:15 pm, nino ekambi jazzmatad...@googlemail.com wrote:
 I  ve done this once  with  jqDock. All you have to do  is to include the js
 File in your  hosted Page and call the jqDock funcitions with JSNI.
 Mayve i hav the code  somewhere. I ll have a look.

 Greets,

 Alain

 2011/3/8 ajaxDeveloper madihaan...@gmail.com







  I am working on integrating jquery based FishEye Menu bar with my GWT
  application like gwtphp has done. But my all effort in vain. I
  successfully added jqueryui components with GWT.

  I need urgent help to create FishEye Menubar in GWT or integrate
  jQuery based FishEye Component. I am looking for jqDock.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



newbie: wrap a an input radio button modified by jquery

2010-12-12 Thread Ray Tayek
hi, my html person wants to use jquery. the html starts looking like: 
input type=radio name=radio-group-1 id=poweron 
value=choice-1 checked=checked /.


this gets turned into some kind of JavaScript$ obect. i can wrap get 
this by id and wrap it in a simple radio button:


Element on = Element.as(RootPanel.get(poweron).getElement());
SimpleRadioButton poweron = SimpleRadioButton.wrap(on);

i can add a click handler to this radio button and get the clicks.

but i can not seem to change the style or enable and disable.

firebug says it's:

div class=ui-radio ui-disabledinput type=radio 
checked=checked value=choice-1 id=poweron name=radio-group-1 
class=-disabled style=color: green; background-color: 
green;label for=poweron data-theme=c class=ui-btn 
ui-corner-left ui-btn-active ui-btn-up-cspan class=ui-btn-inner 
ui-corner-leftspan class=ui-btn-textPower On/span/span/label/div


looks like he fools around with putting disabled into the class 
into the div and input.


i would like to disable the button for a while and then re-enable it.

how does one deal with this kind of thing?

is there a way to navigate down to the elements that you want to fool 
around with?


thanks





---
co-chair http://ocjug.org/

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



gwt using jquery effect possible?

2010-11-23 Thread asianCoolz
 @UiHandler(buttonfire)
  void addNewWidget(ClickEvent event) {


 htmlPanelHolder.add(new MyCustomWidget(),placeholder);

 }

how to use jquery so that when the MyCustomWidget() show on screen it
is using jquery fadein effect

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt using jquery effect possible?

2010-11-23 Thread ciosbel
There is a clone of JQuery for gwt http://code.google.com/p/gwtquery/
Check it out, could be really helpful.

On 23 Nov, 13:59, asianCoolz second.co...@gmail.com wrote:
 �...@uihandler(buttonfire)
   void addNewWidget(ClickEvent event) {

      htmlPanelHolder.add(new MyCustomWidget(),placeholder);

  }

 how to use jquery so that when the MyCustomWidget() show on screen it
 is using jquery fadein effect

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



a quick question about using GWT and jquery

2010-11-23 Thread stewie
hello guys,

i'm a long time c++ programmer having very little experience with web
development. my limited web developing experience can date back to my
college time when i wrote some forum sites with php. i didn't quite
like working with javascript, as i didn't know any javascript debugger
that allows me to set break points and watch values at anytime. but
now, i'm about to work on a web project. i want to learn the new web
kick-ass techs and abandon php and the old way i wrote javascript. so
i'm looking at the scala and the lift framework and also GWT. I like
the idea of compiling java to javascript. the only issue i'm
concerning now is customizing my web application. customizing isn't
always as simple as replacing css style sheet. sometimes i need to use
some javascript effects. i found good jquery libraries that i should
use, but i don't if know it's possible to use them with the GWT
widgets. i know that since GWT compiles everything to javascript,
modifying the code at a html level should be possible. but i'm not
sure if this is the right way to do this and if the javascript
compiled by GWT is readable. i also couldn't find any tutorial and
example on using jquery libraries with GWT.

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt using jquery effect possible?

2010-11-23 Thread bufferings
hi asianCoolz

You can use jsni like following:

  /**
   * Starts the showing animation.
   *
   * @param id
   *  The element id.
   */
  private native void showAnimation(String id)/*-{
  var options = {}
  var callback =
th...@bufferings.ktr.wjr.client.ui.wjrpopuppanel::showCallback()();
  $wnd.$(# + id).show('slide', options, 500, callback);
  }-*/;

  /**
   * Start showing the panel.
   */
  public void show() {
if (isVisible() || isShowing) {
  return;
}
isShowing = true;
adjustPosition();
showAnimation(getElement().getId());
  }

  /**
   * The callback method of the showing jsni.
   */
  protected void showCallback() {
isShowing = false;
  }

Here is the whole code of the class.
http://code.google.com/p/ktrwjr/source/browse/trunk/ktrwjr/src/bufferings/ktr/wjr/client/ui/WjrPopupPanel.java

hope this helps :).

--
bufferings

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: a quick question about using GWT and jquery

2010-11-23 Thread Xinyin
You'd better have a look at GQuery.
http://code.google.com/p/gwtquery/

On Nov 23, 9:25 am, stewie billco...@gmail.com wrote:
 hello guys,

 i'm a long time c++ programmer having very little experience with web
 development. my limited web developing experience can date back to my
 college time when i wrote some forum sites with php. i didn't quite
 like working with javascript, as i didn't know any javascript debugger
 that allows me to set break points and watch values at anytime. but
 now, i'm about to work on a web project. i want to learn the new web
 kick-ass techs and abandon php and the old way i wrote javascript. so
 i'm looking at the scala and the lift framework and also GWT. I like
 the idea of compiling java to javascript. the only issue i'm
 concerning now is customizing my web application. customizing isn't
 always as simple as replacing css style sheet. sometimes i need to use
 some javascript effects. i found good jquery libraries that i should
 use, but i don't if know it's possible to use them with the GWT
 widgets. i know that since GWT compiles everything to javascript,
 modifying the code at a html level should be possible. but i'm not
 sure if this is the right way to do this and if the javascript
 compiled by GWT is readable. i also couldn't find any tutorial and
 example on using jquery libraries with GWT.

 thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread kachaloo
Hi,
I am currently deciding in which technology should I put more time in
and learn . I have been working with drupal and wordpress since 4
months and I like the platforms.

As for the browser side work I am a bit confused whether I should put
more time in

google web toolkit + drupal  / word press


or

jquery + drupal / wordress


Thank you in advance for sharing your views,
Kachaloo

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread Jeff Schwartz
IMO both.

On Thu, Nov 18, 2010 at 12:48 PM, kachaloo vishal.khial...@gmail.comwrote:

 Hi,
 I am currently deciding in which technology should I put more time in
 and learn . I have been working with drupal and wordpress since 4
 months and I like the platforms.

 As for the browser side work I am a bit confused whether I should put
 more time in

 google web toolkit + drupal  / word press


 or

 jquery + drupal / wordress


 Thank you in advance for sharing your views,
 Kachaloo

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
*Jeff Schwartz*

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread massimo malvestio
In my opionion it depends on the complexity of your project.
If you have to write a webapp / site with a complex interface that it has to
be feeded with a large amount of data, or you want to reserve the capability
to scale, and you have a couple of weeks to study gwt, choose gwt.
If you have not time enough to learn gwt, or, you don't need to manage
complex data exchange between client and server but you want an eye candy
web gui, learn jquery, it's quite easy to learn and use and you got tons of
plugins ready to be used.
I use both of them anyway, because, in my opinion, they are complementary,
use the weapon more suitable for the size of your target :-P

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread Didier Durand
Hi,

My 2 cents:

a) learning curve for GWT higher than JQuery
b) You can't work efficiently with GWT if you don't master html, http,
javascript anyway...
c) GWT is great because you come back to compile mode: your code is
correct much faster and you don't have to write lots of unit test to
confirm that nothing wrong happens at run time when you change your
app in the more risk env of an interpreted language (js)
d) GWT is also great because you can leverage the best equipped
language in terms of tooling: Java for unit tests (Junit), quality
measurement (findbugs, pmd), code coverage (cobertura), profiling,
etc
e) with GWT, you don't deal with the broswer type at all (at least in
theory...) so you code faster
f) if back-end is java also, you face a single technology for the
client and the server side - more manageable and simpler to handle by
a single person.

But, I agree with what was said before: the ticket to entry is bigger.
So, probably not suited to a small app.

regards

didier

On Nov 19, 3:34 pm, massimo malvestio massimo.malves...@gmail.com
wrote:
 In my opionion it depends on the complexity of your project.
 If you have to write a webapp / site with a complex interface that it has to
 be feeded with a large amount of data, or you want to reserve the capability
 to scale, and you have a couple of weeks to study gwt, choose gwt.
 If you have not time enough to learn gwt, or, you don't need to manage
 complex data exchange between client and server but you want an eye candy
 web gui, learn jquery, it's quite easy to learn and use and you got tons of
 plugins ready to be used.
 I use both of them anyway, because, in my opinion, they are complementary,
 use the weapon more suitable for the size of your target :-P

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread ep
i guess jquery would be best for drupal / wordpress to achieve web2.0
effects. I mean GWT can be used just as a cross compiler, i.e. if you
want to build complex OOP driven masterpiece with no widgets and dont
want to pseudo OOP on javascript. so its all about the problem to
solve

wud be good to know your intention? p.s. as for CMS you can also try
vosao :)

On 18 Nov., 18:48, kachaloo vishal.khial...@gmail.com wrote:
 Hi,
 I am currently deciding in which technology should I put more time in
 and learn . I have been working with drupal and wordpress since 4
 months and I like the platforms.

 As for the browser side work I am a bit confused whether I should put
 more time in

 google web toolkit + drupal  / word press

 or

 jquery + drupal / wordress

 Thank you in advance for sharing your views,
 Kachaloo

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread Christian Goudreau
Personally, I use both with a little distinction, I use GQuery instead of
jQuery. GWT and jQuery are two different things to me and can be used in
conjunction while making great web application.

Cheers,

On Fri, Nov 19, 2010 at 10:30 AM, Didier Durand durand.did...@gmail.comwrote:

 Hi,

 My 2 cents:

 a) learning curve for GWT higher than JQuery
 b) You can't work efficiently with GWT if you don't master html, http,
 javascript anyway...
 c) GWT is great because you come back to compile mode: your code is
 correct much faster and you don't have to write lots of unit test to
 confirm that nothing wrong happens at run time when you change your
 app in the more risk env of an interpreted language (js)
 d) GWT is also great because you can leverage the best equipped
 language in terms of tooling: Java for unit tests (Junit), quality
 measurement (findbugs, pmd), code coverage (cobertura), profiling,
 etc
 e) with GWT, you don't deal with the broswer type at all (at least in
 theory...) so you code faster
 f) if back-end is java also, you face a single technology for the
 client and the server side - more manageable and simpler to handle by
 a single person.

 But, I agree with what was said before: the ticket to entry is bigger.
 So, probably not suited to a small app.

 regards

 didier

 On Nov 19, 3:34 pm, massimo malvestio massimo.malves...@gmail.com
 wrote:
  In my opionion it depends on the complexity of your project.
  If you have to write a webapp / site with a complex interface that it has
 to
  be feeded with a large amount of data, or you want to reserve the
 capability
  to scale, and you have a couple of weeks to study gwt, choose gwt.
  If you have not time enough to learn gwt, or, you don't need to manage
  complex data exchange between client and server but you want an eye candy
  web gui, learn jquery, it's quite easy to learn and use and you got tons
 of
  plugins ready to be used.
  I use both of them anyway, because, in my opinion, they are
 complementary,
  use the weapon more suitable for the size of your target :-P

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread ep
btw: how do you use jQuery's plugins with GQuery? I didnt found an API
so had to integrate jQuery for its plugins, GQuery for better API on
effects and wrapped the plugins via JSNI, but maybe GQuery is / going
to support jQueries plugins?

On 19 Nov., 16:41, Christian Goudreau goudreau.christ...@gmail.com
wrote:
 Personally, I use both with a little distinction, I use GQuery instead of
 jQuery. GWT and jQuery are two different things to me and can be used in
 conjunction while making great web application.

 Cheers,

 On Fri, Nov 19, 2010 at 10:30 AM, Didier Durand 
 durand.did...@gmail.comwrote:



  Hi,

  My 2 cents:

  a) learning curve for GWT higher than JQuery
  b) You can't work efficiently with GWT if you don't master html, http,
  javascript anyway...
  c) GWT is great because you come back to compile mode: your code is
  correct much faster and you don't have to write lots of unit test to
  confirm that nothing wrong happens at run time when you change your
  app in the more risk env of an interpreted language (js)
  d) GWT is also great because you can leverage the best equipped
  language in terms of tooling: Java for unit tests (Junit), quality
  measurement (findbugs, pmd), code coverage (cobertura), profiling,
  etc
  e) with GWT, you don't deal with the broswer type at all (at least in
  theory...) so you code faster
  f) if back-end is java also, you face a single technology for the
  client and the server side - more manageable and simpler to handle by
  a single person.

  But, I agree with what was said before: the ticket to entry is bigger.
  So, probably not suited to a small app.

  regards

  didier

  On Nov 19, 3:34 pm, massimo malvestio massimo.malves...@gmail.com
  wrote:
   In my opionion it depends on the complexity of your project.
   If you have to write a webapp / site with a complex interface that it has
  to
   be feeded with a large amount of data, or you want to reserve the
  capability
   to scale, and you have a couple of weeks to study gwt, choose gwt.
   If you have not time enough to learn gwt, or, you don't need to manage
   complex data exchange between client and server but you want an eye candy
   web gui, learn jquery, it's quite easy to learn and use and you got tons
  of
   plugins ready to be used.
   I use both of them anyway, because, in my opinion, they are
  complementary,
   use the weapon more suitable for the size of your target :-P

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Christian Goudreauwww.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread Christian Goudreau
I don't really use any jQuery plugins, but you can find some GQuery plugin
here:
http://code.google.com/p/gwtquery-plugins/

but maybe GQuery is / going to support jQueries plugins?

I don't know, but I'm not a big fan of wrapping javascript. It makes my code
harder to test with pure JUnit test. Also, there's plenty of open source gwt
project out there that can do almost anything you're searching for.

Cheers,

On Fri, Nov 19, 2010 at 10:46 AM, ep eplisc...@googlemail.com wrote:

 btw: how do you use jQuery's plugins with GQuery? I didnt found an API
 so had to integrate jQuery for its plugins, GQuery for better API on
 effects and wrapped the plugins via JSNI, but maybe GQuery is / going
 to support jQueries plugins?

 On 19 Nov., 16:41, Christian Goudreau goudreau.christ...@gmail.com
 wrote:
  Personally, I use both with a little distinction, I use GQuery instead of
  jQuery. GWT and jQuery are two different things to me and can be used in
  conjunction while making great web application.
 
  Cheers,
 
  On Fri, Nov 19, 2010 at 10:30 AM, Didier Durand durand.did...@gmail.com
 wrote:
 
 
 
   Hi,
 
   My 2 cents:
 
   a) learning curve for GWT higher than JQuery
   b) You can't work efficiently with GWT if you don't master html, http,
   javascript anyway...
   c) GWT is great because you come back to compile mode: your code is
   correct much faster and you don't have to write lots of unit test to
   confirm that nothing wrong happens at run time when you change your
   app in the more risk env of an interpreted language (js)
   d) GWT is also great because you can leverage the best equipped
   language in terms of tooling: Java for unit tests (Junit), quality
   measurement (findbugs, pmd), code coverage (cobertura), profiling,
   etc
   e) with GWT, you don't deal with the broswer type at all (at least in
   theory...) so you code faster
   f) if back-end is java also, you face a single technology for the
   client and the server side - more manageable and simpler to handle by
   a single person.
 
   But, I agree with what was said before: the ticket to entry is bigger.
   So, probably not suited to a small app.
 
   regards
 
   didier
 
   On Nov 19, 3:34 pm, massimo malvestio massimo.malves...@gmail.com
   wrote:
In my opionion it depends on the complexity of your project.
If you have to write a webapp / site with a complex interface that it
 has
   to
be feeded with a large amount of data, or you want to reserve the
   capability
to scale, and you have a couple of weeks to study gwt, choose gwt.
If you have not time enough to learn gwt, or, you don't need to
 manage
complex data exchange between client and server but you want an eye
 candy
web gui, learn jquery, it's quite easy to learn and use and you got
 tons
   of
plugins ready to be used.
I use both of them anyway, because, in my opinion, they are
   complementary,
use the weapon more suitable for the size of your target :-P
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  Christian Goudreauwww.arcbees.com

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread András Csányi
On 19 November 2010 14:31, Jeff Schwartz jefftschwa...@gmail.com wrote:
 IMO both.

+1

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What should I learn , Google Web Toolkit or Jquery ?

2010-11-19 Thread Brett Thomas
Well, have you programmed in java before? If not, learning GWT could be a
nightmare...

Are you planning to combine GWT/jQuery with a drupal/wordpress backend? If
that's the case, I'd say definitely jQuery. GWT is best with single-page
apps like GMail, where you switch between views without a page refresh.
Drupal and Wordpress are not.

Also keep in mind Drupal 7 is already integrated with jQuery and jQuery UI,
and many of the drupal plugins (best part about drupal IMO) use them.

That said, 6 months in, I love GWT, and I'm extremely glad I chose it for my
site.

On Fri, Nov 19, 2010 at 11:41 AM, András Csányi sayusi.a...@gmail.comwrote:

 On 19 November 2010 14:31, Jeff Schwartz jefftschwa...@gmail.com wrote:
  IMO both.

 +1

 --
 - -
 --  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
 http://facebook.com/andras.csanyi
 --  Trust in God and keep your gunpowder dry! - Cromwell

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Including jQuery in GWT

2010-11-09 Thread ciosbel
I don't know if it's helpful or (given your already coded js) usable,
but there is a clone of jquery for gwt. It's called GQuery.
Take a look http://code.google.com/p/gwtquery/

On 9 Nov, 21:58, Yaakov yaakov.chai...@gmail.com wrote:
 Hi,

 I have a page that a web designer produced and now I need to add GWT
 into it.

 I placed the contents of the HTML between body (not including it)
 into a uiBinder g:HTMLPanel/g:HTMLPanel.

 In the host page, I have some headers that refer to jQuery and
 javascript that the designer wrote, like this:
   head
     link rel=stylesheet type=text/css href=resources/css/
 styles.css /
     script type=text/javascript src=resources/js/
 jquery.tools.min.js/script
     script type=text/javascript src=resources/js/application.js/
 script
     script type=text/javascript language=javascript
 src=keyImportActivity/keyImportActivity.nocache.js/script
     /head

 Some of the visual affects that the designer used are from jQuery and
 the way these get bound to some HTML elements are through a jQuery-
 specific window.onLoad function $(function(){ some bindings here});

 Here is the code from that application.js referred to above in the
 head:
 $(function() {

     setButtonClasses(buttonPlus);
     setButtonClasses(buttonMinus);
     setButtonClasses(buttonRefresh);
     setButtonClasses(buttonAdmin);
         setButtonClasses(buttonImports);
     setButtonClasses(buttonInventory);
     setButtonClasses(buttonSignOut);
         setButtonClasses(buttonNewer);
         setButtonClasses(buttonOlder);
         setButtonClasses(sortAscending);
         setButtonClasses(sortDescending);

     $(div.buttonPlus).click(leftNavigationHandler);
         $(a.lightbox).click(doPopup);

 });

 So, this doesn't work. My guess, this is because it gets called BEFORE
 GWT even builds those buttons, etc., so at the time it supposedly gets
 called, these elements don't exist yet or at least are not guaranteed
 to exist yet.

 So, I changed this onLoad function and made it a regular function
 like this:
 function bindjQuery() {
         alert(Inside JS bindjQuery);
     setButtonClasses(buttonPlus);
     setButtonClasses(buttonMinus);
     setButtonClasses(buttonRefresh);
     setButtonClasses(buttonAdmin);
         setButtonClasses(buttonImports);
     setButtonClasses(buttonInventory);
     setButtonClasses(buttonSignOut);
         setButtonClasses(buttonNewer);
         setButtonClasses(buttonOlder);
         setButtonClasses(sortAscending);
         setButtonClasses(sortDescending);

     $(div.buttonPlus).click(leftNavigationHandler);
         $(a.lightbox).click(doPopup);

 }

 Now, in my EntryPoint, I have this:
 public class KeyImportActivityEntryPoint implements EntryPoint {

         public void onModuleLoad() {
                 KeyImportWidget keyImportWidget = new KeyImportWidget();
                 RootLayoutPanel.get().add(keyImportWidget);

                 bindjQuery();
         }

         public native void bindjQuery() /*-{
             alert(Inside GWT bindjQuery);
                 $wnd.bindjQuery();
         }-*/;

 }

 So, this works... The problem is... I don't like it. :-) Is this the
 recommended way of importing things like that? I am uncomfortable with
 this as I have no clue what else JQuery might be doing in its other
 functions... For all I know, it uses its onLoad function somewhere
 else as well and it never gets called. So, just because this worked
 for whatever I am doing, it doesn't seem like this is the cleanest
 approach.

 Can someone please give me some tips on this?

 Much appreciated!

 -Yaakov.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT/jquery article...

2010-10-17 Thread golfdude


I definitely feel like jQuery is the leading framework these days,
said Matt Raible, Web architect. On my last three projects I've used
GWT and jQuery. While GWT is a lot easier for Java developers, jQuery
is loved by Web Developers.

http://searchsoa.techtarget.com/news/article/0,289142,sid26_gci1521947,00.html


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT + JQuery

2010-10-15 Thread Julien Dramaix
Use gwtquery for the reasons explain by Falcon. If you need
functionnalities present in jquery not yet implemented in gwtquery,
feel free to open an issue on gwtquery website (http://code.google.com/
p/gwtquery/) although almost the jQuery API is written.


On Oct 13, 4:53 pm, Falcon msu.fal...@gmail.com wrote:
 If you use gwtquery, you can do all of your code directly in Java and
 GWT will be able to compile it.

 If you use jQuery directly, you'll have to wrap the jQuery calls in
 JSNI (although you can wrap them in GWT Java functions and use those
 too in some cases), so GWT won't be able to optimize as well. However,
 jQuery has probably advanced quite a bit since the last version of
 gwtquery was released, plus gwtquery may not have had full feature
 parity at the time either. The latest version (due this weekend,
 October 16th) will have mobile web browser support (even for
 Blackberry OS 4.6) which GWT does not have built-in.

 So to recap: if you use gwtquery you'll get the GWT compilation, code-
 splitting, etc. benefits and the usual Java (e.g. debugging, etc.)
 benefits but you'll be missing features.

 If you use jQuery you'll get all of the features but will lose the
 compilation benefits (and won't be able to code-split the jQuery code,
 of course, although code-splitting should still work for everything
 else) and will need to make heavy use of JSNI to call the jQuery
 functions.

 On Oct 13, 5:03 am, Ignasi murf...@gmail.com wrote:



  Hi all,

  To develop a gwt application with jquery code embeded wich is the best
  option?  and why?

  a) Use gwtquery-1.0-SNAPSHOT.jar lib
  b) Use jquery.js directly

  Thanks a lot!
  Ignasi- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



RE: GWT + JQuery

2010-10-14 Thread Feldman, Nir (48Upper)
I would recommened on using jquery.js directly (did it in success before)

-Original Message-
From: google-web-toolkit@googlegroups.com 
[mailto:google-web-tool...@googlegroups.com] On Behalf Of Ignasi
Sent: Wednesday, October 13, 2010 12:03 PM
To: google-web-toolkit@googlegroups.com
Subject: GWT + JQuery

Hi all,

To develop a gwt application with jquery code embeded wich is the best
option?  and why?

a) Use gwtquery-1.0-SNAPSHOT.jar lib
b) Use jquery.js directly

Thanks a lot!
Ignasi

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Gwt + JQuery

2010-10-13 Thread null
Hi all,

To develop a gwt application with jquery code embeded wich is the best
option?  and why?

a) Use gwtquery-1.0-SNAPSHOT.jar lib
b) Use jquery.js directly

Thanks a lot!
Ignasi

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT + JQuery

2010-10-13 Thread Ignasi
Hi all,

To develop a gwt application with jquery code embeded wich is the best
option?  and why?

a) Use gwtquery-1.0-SNAPSHOT.jar lib
b) Use jquery.js directly

Thanks a lot!
Ignasi

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT + JQuery

2010-10-13 Thread Falcon
If you use gwtquery, you can do all of your code directly in Java and
GWT will be able to compile it.

If you use jQuery directly, you'll have to wrap the jQuery calls in
JSNI (although you can wrap them in GWT Java functions and use those
too in some cases), so GWT won't be able to optimize as well. However,
jQuery has probably advanced quite a bit since the last version of
gwtquery was released, plus gwtquery may not have had full feature
parity at the time either. The latest version (due this weekend,
October 16th) will have mobile web browser support (even for
Blackberry OS 4.6) which GWT does not have built-in.

So to recap: if you use gwtquery you'll get the GWT compilation, code-
splitting, etc. benefits and the usual Java (e.g. debugging, etc.)
benefits but you'll be missing features.

If you use jQuery you'll get all of the features but will lose the
compilation benefits (and won't be able to code-split the jQuery code,
of course, although code-splitting should still work for everything
else) and will need to make heavy use of JSNI to call the jQuery
functions.

On Oct 13, 5:03 am, Ignasi murf...@gmail.com wrote:
 Hi all,

 To develop a gwt application with jquery code embeded wich is the best
 option?  and why?

 a) Use gwtquery-1.0-SNAPSHOT.jar lib
 b) Use jquery.js directly

 Thanks a lot!
 Ignasi

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Gwt + JQuery

2010-10-13 Thread ams
You might want to look into GQuery.

Here is a video link:

http://www.youtube.com/watch?v=sl5em1UPuoI

http://code.google.com/p/gwtquery/

http://www.gwtsite.com/gwt-jquery-gquery/



On Oct 13, 4:35 am, null murf...@gmail.com wrote:
 Hi all,

 To develop a gwt application with jquery code embeded wich is the best
 option?  and why?

 a) Use gwtquery-1.0-SNAPSHOT.jar lib
 b) Use jquery.js directly

 Thanks a lot!
 Ignasi

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Gwt + JQuery

2010-10-13 Thread marius.andreiana
  Hi all,

  To develop a gwt application with jquery code embeded wich is the best
  option?  and why?

  a) Use gwtquery-1.0-SNAPSHOT.jar lib
  b) Use jquery.js directly

  Thanks a lot!
  Ignasi
I'm copy-pasting some related info from a larger GWT guide I'm doing
(work in progress), hope it helps. I just updated it based on your
questions and would like to see opinions from the rest of the group.

= Using native !JavaScript =

There are cases when you might want to use native !JavaScript rather
than pure GWT, such as the one above. See [http://code.google.com/
webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html JavaScript Native
Interface] and an example of  [http://www.zackgrossbart.com/hackito/
antiptrn-gwt2/ building custom GWT widgets which include native
JavaScript]. JSNI is a good choice when you want to reuse existing
larger !JavaScript functionality (e.g. jQuery plugins) with easy
upgrades to new versions, or sharing your code with other pure !
JavaScript users.

If you are looking for jQuery-like functionality in GWT, there's
[http://code.google.com/p/gwtquery/ gwtQuery] ([http://www.youtube.com/
watch?v=sl5em1UPuoI video introduction]). gwtQuery is a better choice
when you're writing functionality from scratch as it gives you all GWT
advantages over native !JavaScript.

Again, use the best tool for the job. Therefore an important criteria
selection for your tool set should be allowing easy inter-operating
with other tools.

(wiki markup included so you can see the links.)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



ajax, Jquery, technichal guidense

2010-09-28 Thread Asad Mehmood
please read all the topics in my blog
there are very usefull topics in my blog
http://scriptstreasure.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



  1   2   >