Is it possible to mix extjs and GWT components? - gwt

I am working with GWT2.3 version.I also found ExtJs4 framework very good and want to club the some of component of ExtJs4 in my application(GWT2.3).So I just want to know it is possible to club components of ExtJs4 with GWT application
Thanks in Adcance

Yes it is. Just add .js source to your public folder in /src. Then you can write custom JavaScript as native methods via JSNI. See more in the docs.

Why not use the GWT compatible project? http://www.sencha.com/products/extgwt/
It has the same widget library (afaik) and integrates quite nicely w/ GWT

Related

GWT IndexedDB available or any update on this?

is there any update on GWT IndexedDB?
Here are two projects of GWT IndexedDB but i dont know if this is usefull because these two projects seem to be dead?!
http://code.google.com/p/indexeddb-gwt/
http://code.google.com/p/gwt-indexeddb/
IS it possible to use GWT IndexedDB by JSNI? Has anybody experience with it?
Would like to learn and to use IndexedDB but dont know because iam using only GWT and not JavaScript.
Please help!
You can use any pure javascript/browser functaonlity from GWT using JSNI.
If youu look at the above linked Indexdb gwt libraries they do just that. They define JSO Overlay wrappers for the corresponding javascript objects. (see here as an example).
Alternatively you could also look into the Elemental library. I am not 100% sure but it might contain wrappers for IndexDB.
So you have 4 choices:
Manually call the indexdb javascript functons using JSNI.
Write your own wrapper using JSO and JSNI
Use on of the indexdb GWT wrappers
Use Elemental library.
I used java Maps (TreeMap) package to emulate indexedDB searching functions and GWT built-in html5 storage wrapper to store data offline in browser.

GWT & Angular JS Integration

For Normal JavaScript It is possible to integrate with GWT with JSNI (JavaScript Native Interface).
Is it possible to integrate AngularJS with GWT ?
Technically, yes. No one said it was easy though.
See https://github.com/cromwellian/angulargwt, announced in https://plus.google.com/110412141990454266397/posts/AYmRTDHeAZT and https://plus.google.com/110412141990454266397/posts/G1v6j6Pri5u
Take a look at https://github.com/FinamTrade/angulargwt
It's a fork of Ray Cromwell's angulargwt with some things fixed
Update: I updated README and uploaded library to maven central

Tutorial on setting up GWT-Validation Framework for a simple app?

I'm looking to setup the GWT-Validation Framework (client side for now) in our application, but I'm not clear from the docs what pieces I need and what goes where?
We are using GWT 2.1 and MVP. I have the inherits entry for Validation in the gwt.xml, but what goes actually goes into the View, Activity, etc... I'm not aware of any tutorials available.
Any help would be appreciated!
Aftermath:
At the time when I was trying to use it, GWT 2.1 wasn't compatible with the GWT-Validation framework. After doing more reading I found this out. I don't know if that is still the case.
I assume you are referring to the validation framework in GWT and not the gwt-validation library? If that's the case, here is a page that describes how you can do bean validation: http://code.google.com/p/google-web-toolkit/wiki/BeanValidation. If you are actually referring to the gwt-validation library, here is a page that describes how to use it:
http://code.google.com/p/gwt-validation/wiki/ConceptOfOperations
Here is a link that gives some information about the GWT Validation Framework, GWT-Validator and the authors solution, the GWT-Validation library. It is a good synopsis of the issues and why he wrote the new library with some code snippets.
The GWT Validation Library.

GWT Selectable Grid

Does anyone know of a good selectable grid for gwt google web toolkit? I need this functionality ported over for my application. Just for example I would like it work similar to pfselect for the jquery library.
Thanks,
It is on the way in GWT2.1. Currently milestone version is available. Probably you can give a try. I would suggest not to use smartgwt or ext-gwt. Because at initial page load it downloads lots of javascript.
Please have a look into this
You could look at
GWT Incubator ScrollTable (http://collectionofdemos.appspot.com/demo/index.html)
SmartGWT grid (http://code.google.com/p/smartgwt/)
Ext GWT (from Ext-JS)

GWT/java and javascript

can i design my web pages in html and css instead of java methods and use gwt only in parts of page that i need ajax? and which one is better gwt, extgwt, vaadin(it run apps in server-side.can i also use it in client-side?), etc...? do i also need to know javascript for using gwt?
thanks
can i design my web pages in html and
css instead of java methods and use
gwt only in parts of page that i need
ajax?
Yes, you can. You can create a div on your HTML page and insert your GWT widget there.
which one is better gwt, extgwt,
vaadin(it run apps in server-side.can
i also use it in client-side?)
I don't know about vaadin but Ext-GWT is a set of ready made components to use with GWT which make your life easier especially if you want to build an web app that looks and feels like a desktop application.
do i also need to know javascript for
using gwt?
No, it can be useful sometimes but is not necessary.