GWT UI component programming with Fluent Interface Pattern and attribute oriented programming.

2008-12-12 Thread jimmy6

Improve the GWT UI component programming with Fluent Interface Pattern
and attribute oriented programming.
Have a look at this blog to mention the issue and the way to solve it.
http://j6framework.blogspot.com/2008/12/gwt-ui-component-with-fluent-interface.html
Have you guy consider annotation to be work in runtime inorder to
solve it? It can be use together with Hibernate annotation validation
(nullable,length) in databinding. Thus, we do not have to code the
lenght,require... again and again...
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Blogger template using GWT

2008-12-12 Thread ArunDhaJ

Hi All,
Can we develop blogger template using GWT ??? If so how can we do
it???

Thanks in Advance!!!
ArunDhaJ
www.arundhaj.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: GWT JSON library with JAXB class reuse?

2008-12-12 Thread Shawn Pearce
On Fri, Dec 12, 2008 at 17:19, Gabor Szokoli  wrote:

>
> On Fri, Dec 12, 2008 at 9:08 PM, Shawn Pearce  wrote:
> > You might want to look at my still-under-development gwtjsonrpc:
> >
> >
> http://android.git.kernel.org/?p=tools/gwtjsonrpc.git;a=blob;f=README;hb=HEAD
> > I think it mostly does what you are looking for,
>
> It does a lot more (I'd prefer to leave the server side to Jersey and
> I'll make a RESTful service instead of RPC), but from what I
> understand, your RemoteJsonServiceProxyGenerator seems to do what I
> want.
>

Right.  My reason for offering it as an example was you can use the client
by itself, without touching the server at all.  Its meant to permit
implementation of the GWT server side in any system that has the ability to
create JSON text, which is anything that can create text.  :)

You just need to have the Java objects the client side is using have
property names which match up with the property names appearing in the JSON
data - but that's probably exactly what you would want to do if you were
interfacing with an existing JSON service, or were developing one from
scratch.

Let me learn about GWT generators before I can comprehend it :-)
>

You shouldn't need to know alot to use it.  Run "make", copy gwtjsonrpc.jar
into your CLASSPATH and inherit the module.  GWT's compiler automatically
calls RemoteJsonProxyGenerator when you declare an interface extending
RemoteJsonService and create an instance of it with GWT.create().

--~--~-~--~~~---~--~~
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 JSON library with JAXB class reuse?

2008-12-12 Thread Gabor Szokoli

On Fri, Dec 12, 2008 at 9:08 PM, Shawn Pearce  wrote:
> You might want to look at my still-under-development gwtjsonrpc:
>
>
> http://android.git.kernel.org/?p=tools/gwtjsonrpc.git;a=blob;f=README;hb=HEAD

Wow.
Looks impressive!
Thank you!

> I think it mostly does what you are looking for,

It does a lot more (I'd prefer to leave the server side to Jersey and
I'll make a RESTful service instead of RPC), but from what I
understand, your RemoteJsonServiceProxyGenerator seems to do what I
want.

Let me learn about GWT generators before I can comprehend it :-)

>  but it doesn't pay any
> attention to JAXB annotations.

That's probably OK for me, my entities are quite simple, mapped
without extra annotations. I might have to add support for the
@XmlTransient later at most.

Sounds like a good general purpose project for bored GWT pros though:
"JSO generator from JAXB for JSON"

(Or am I trying to do something unreasonable here? I mean how come I'm
the first to complain about this?)


Gabor Szokoli

Ps: Generators... This new learning amazes me. Next thing we know GWT
will be employed to prevent earthquakes.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Rate my gwt project.

2008-12-12 Thread thebuz...@gmail.com

Here is a quotation program that we are going to allow our customers
to use to get quotations.

http://www.ottocap.com:8080/workflow/onlinedemo.jsp

Technologies used:

UI: GWT
Backend: jsp,java, iText library, Batik library, Adaphie commons
Library

All coded by me which kind of sucks. Working at my dad's company and
being the only programmer while they won't hire other programmers
because it will be expensive. So a 23 year old right out of college
working by myself for a program that the company is using.

What you see here is just what the customers will see there is a whole
other gui and more pdfs for the employees to use.

This whole program calculates everything they need for a order. And
the formula for this is not that simple because everything such as
quantity of similer items, quantity  of logos, stitch count, etc all
changes the price.

So have fun looking at it and if you see some weird bug in the program
please tell me @ d...@ottocap.com

also you might want to download and upload some DST format files into
the program for some cool artwork options. Also choose overseas cap
for line art type drawing.

Also just wondering if they paid a company to make a product like
this. how much would they get charged.
--~--~-~--~~~---~--~~
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: Announcing GWT 1.5.3

2008-12-12 Thread Brad LaRonde

r3731 (merge of r3728) is the culprit:

--- user/src/com/google/gwt/user/client/impl/HTTPRequestImplIE6.java
+++ user/src/com/google/gwt/user/client/impl/HTTPRequestImplIE6.java
@@ -24,6 +24,14 @@

   @Override
   protected native JavaScriptObject doCreateXmlHTTPRequest() /*-{
-return new ActiveXObject("Microsoft.XMLHTTP");
+if ($wnd.XMLHttpRequest) {
+  return new XMLHttpRequest();
+} else {
+  try {
+return new ActiveXObject('MSXML2.XMLHTTP.3.0');
+  } catch (e) {
+return new ActiveXObject("Microsoft.XMLHTTP");
+  }
+}
   }-*/;
 }

Revert and rebuild gwt-user.jar. Would be cool if there was a way to
do it only for hosted mode.

On Oct 20, 9:15 am, Brian  wrote:
> I'm seeing a same-origin security restriction exception in 1.5.3 where
> I didn't see it in 1.5.2. That is, I  can switch my project back and
> forth between using 1.5.2 (no exception) and 1.5.3 (exception), with
> the same source code.
>
> I'm doing a RequestBuilder to "locahost:8080/url" in order to hit my
> server to POST some data.
>
> Means I'll be using 1.5.2 until I can figure out how to hit my local
> server from 1.5.3.
>
> Brian
>
> On Oct 20, 11:17 am, "nicolas.deloof" 
> wrote:
>
>
>
> > Hi,
>
> > for maven users, this release will be available via maven central
> > repository in few hours (after rsync does its job).
>
> > Nicolas
>
> > On 18 oct, 00:22, Ray Ryan  wrote:
>
> > > Hi, all.
>
> > > We have just deprecated GWT 1.5.2, and replaced it with GWT 1.5.3.
> > > This new release has a small handful of patches, mainly aimed at
> > > fixing RPC problems with Android. You can download the update from the
> > > usual location:
>
> > >  http://code.google.com/webtoolkit/download.html
>
> > > You may find that this pretty page hasn't updated yet in your neck of
> > > the woods. If so, try going straight to the download 
> > > server:http://code.google.com/p/google-web-toolkit/downloads/list.
>
> > > Enjoy,
> > > rjrjr
>
> > > Release Notes for 1.5.3
>
> > > Fixed Issues
>
> > >  - RPC requests no longer fail on the embedded Android web browser
>
> > >  - Leaf TreeItems now line up with their non-leaf siblings
>
> > >  - Removing the last child node from a TreeItem no longer creates
> > > extra margins on the left
>
> > >  - HTTPRequest no longer uses POST instead of GET on some IE installs
> > > because of incorrect XHR selection
>
> > >  - Compiler now uses a more reliable check to prevent methods with
> > > local variables from being inlined
> > > getAbsoluteTop()/Left() can no longer return non-integral values
>
> > >  - Time.valueOf() no longer fails to parse "08:00:00" or incorrectly
> > > accepts "0xC:0xB:0xA".- 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-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: My GWT Ant task wont find my remote service

2008-12-12 Thread Eric Ayers

Wait, I think I know what's going on.

When you run in Eclipse, it is compiling all the java source to .class
files and putting them .  I'll bet that is not the \bin
directory you've specified in your classpath in your ant script or
your .bat file.

To fix the problem, you need to compile the java files for your
servlet in the server package into the \bin directory with a   new ant
target, then have your gwt-shell target depend on it.


On Dec 11, 4:20 am, José  wrote:
> Hello all,
>
> I'm trying to set up an Ant task to run my GWT applications.
>
> The layout of my toy-app looks like this :
> src/org/om/
> client/
> model/ClientUser.java [the class of the bean sent by my remote
> service]
> service/user/RpcUserService.java [interface of the service]
> service/user/RpcUserServiceAsync.java [interface of the async
> callback]
> Om.java [this is my entry point]
> server/RpcUserServiceImpl.java [my service implementation]
> public/Om.html
> Om.gwt.xml [Module descriptor with the declaration of the
> RpcUserService servlet]
>
> Now is the weird part.
>
> If I build an Eclipse run configuration with
> - com.google.gwt.dev.GWTShell as the main class,
> - "-out www org.om.Om/Om.html" as the 'program argument'
> - '-Xmx256M' as the  VM arguments,
> - JRE 1.5_013 as the Bootstrap entries,
> - User entries with the src directory of that project, plus the
> classpath of the project,
>
> Then everything runs fine (I could copy/paste the content of the
> launch file, but you need to be an alien to read that...). This leads
> me to the idea that my application is correct.
>
> If I use the following Ant target element, which looks really the same
> to me, I get the following error in the GWT development shell
> window :
> [ERROR] Unable to instantiate 'org.om.server.RpcUserServiceImpl'
> java.lang.ClassNotFoundException: org.om.server.RpcUserServiceImpl
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>
> Ant target element :
>         
>                 
>                         
>                         
>                         
>                         
>                         
>                                  location="lib/gwt-user-1.5.3.jar"/>
>                                  location="lib/gwt-dev-1.5.3-windows.jar"/>
>                                 
>                                  location="lib/swt-win32-3235.dll"/>
>                                 
>                                 
>                         
>                 
>         
>
> I get the same error if I use the following .cmd file :
> java -Xmx256M -cp
> "%~dp0\src;%~dp0\bin;
>  %~dp0\lib\gwt-user-1.5.3.jar;
>  %~dp0\lib\gwt-dev-1.5.3-windows.jar"
> com.google.gwt.dev.GWTShell -out "%~dp0\www" %* org.om.Om/Om.html
>
> I'm probably missing some kind of very obvious thing...
> Any kind of hints / thoughts / help would be very much appreciated !
>
> Thank you,
>
> José
--~--~-~--~~~---~--~~
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 integrated with JSF

2008-12-12 Thread will.dutt

i've been look around for anything that was happening with these 2
great components. sadly the g4jsf is a dead end :(.

i've got a JSF website that is now hitting the boundaries of what is
possible in a static html refresh browser and needs GWT badly.

does anyone have any good examples of integrating GWT components to
pull information from the page its placed on and rpc the rest of the
content it needs?

i can place a GWT compenent on the page with div's which is good, but
i'm having trouble getting information from the page (eg ID that link
to a database). what is the command to do that?

--~--~-~--~~~---~--~~
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: Dictionary on demand

2008-12-12 Thread ECH

Thank you for this sample, very interesting.

Just for information, where do you instanciate DictionaryOnDemand?

In my case, I create it in the onModuleLoad method, because I need it
in view initialization, but the problem is that : because of deffered
command (but needed...), dictionnary is binded after view init

Any idea?

Thank again,

--
ECH



On 2 déc, 11:13, obesga  wrote:
> ... maybe it's not .js file loaded when you create the dictionary.
> ( I thougth
>
> As in my test the behaviour works well, I thougth that when you do the
> getJsFile() method, the file was loaded into the browser ( even if the
> browser and the execution of js scripts must wait to the complete load
> of the file )
>
> But on production deployment sometimes I got the same exception; which
> I relsolved like this
>
>     public DictionaryOnDemand(String url,final String dname){
>         getJsFile(url);
>         DeferredCommand.addCommand(new Command(){
>              public void execute() {
>                    dictionary =  Dictionary.getDictionary(dname);
>              }
>        });
>     }
>
>     private native void getJsFile(String url) /*- {
>         var fileref = $doc.createElement('script');
>         fileref.setAttribute("type","text/javascript");
>         fileref.setAttribute("src", url);
>         $doc.getElementsByTagName("head")[0].appendChild(fileref)
>     } -*/;
>
> See if this help you
>
> Oskar
>
> On 1 dic, 15:27, bennyb  wrote:
>
> > I am still getting the errors:
>
> > [ERROR] Uncaught exception escaped
> > java.util.MissingResourceException: 'example' is not a JavaScript
> > object and cannot be used as a Dictionary
> >         at com.google.gwt.i18n.client.Dictionary.resourceErrorBadType
> > (Dictionary.java:100)
>
>

--~--~-~--~~~---~--~~
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: Best way to add App configuration properties

2008-12-12 Thread Mike Warne
Hi Joe,
This is exactly what I am looking for.
I also need to setup connection pooling, so this will get me going quickly.
Thank you very much..

Mike Warne.
Opihi Systems.


On Fri, Dec 12, 2008 at 12:00 PM, Joe Cole wrote:

>
> Here is our way:
>
> In:
> tomcat/webapps/ROOT/WEB-INF/web.xml
>
> 
>  jdbc/dbsource
>  javax.sql.DataSource
>  Container
> 
> 
>  com.yourcompany.LocalConfiguration class>
> 
>
> The only gotcha with this is that when you upgrade gwt it changes the
> web.xml - we just revert it from version control and all works well.
>
> That listener sets up the entire servlet side, including properties &
> guice bindings:
>
> public class LocalConfiguration extends AbstractConfiguration {
>protected IPropertyManager createPropertyManager(
>final ServletContext context) {
>return new LocalPropertyManager();
>}
>public IBindings getBindings() {
>return new LocalBindings();
>}
> }
>
> This allows us to ship different setups to the system depending on
> where it's being used (one for hosted mode, production, test, staging
> etc).
> The datasource is container managed which is why it's defined in the
> file.
>
> The other file you will need for hosted mode is:
> tomcat/conf/gwt/localhost/ROOT.xml
> antiJARLocking="false" debug="1" reloadable="true" path="">
>
>
>
>
>
>type="javax.sql.DataSource" />
>
>
>
>
>factory
>
>
> org.apache.commons.dbcp.BasicDataSourceFactory
>
>
>
>
>username
>YOURDBUSERNAME
>
>
>password
>SECRET
>
>
>driverClassName
>org.postgresql.Driver
>
>
>url
>jdbc:postgresql://URL/DB
>
>
>
>
>
> Let me know if this is useful - it took us a while to get this right,
> and we have used it in multiple deployed apps and it works well.
> >
>

--~--~-~--~~~---~--~~
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: Best way to add App configuration properties

2008-12-12 Thread Joe Cole

Oh, and in your web.xml's that you ship to your production environment
you would have a different listener setup.


  com.yourcompany.ProductionConfiguration



On Dec 13, 11:00 am, Joe Cole  wrote:
> Here is our way:
>
> In:
> tomcat/webapps/ROOT/WEB-INF/web.xml
>
> 
>   jdbc/dbsource
>   javax.sql.DataSource
>   Container
> 
> 
>       com.yourcompany.LocalConfiguration class>
> 
>
> The only gotcha with this is that when you upgrade gwt it changes the
> web.xml - we just revert it from version control and all works well.
>
> That listener sets up the entire servlet side, including properties &
> guice bindings:
>
> public class LocalConfiguration extends AbstractConfiguration {
>                 protected IPropertyManager createPropertyManager(
>                                 final ServletContext context) {
>                         return new LocalPropertyManager();
>                 }
>                 public IBindings getBindings() {
>                         return new LocalBindings();
>                 }
>
> }
>
> This allows us to ship different setups to the system depending on
> where it's being used (one for hosted mode, production, test, staging
> etc).
> The datasource is container managed which is why it's defined in the
> file.
>
> The other file you will need for hosted mode is:
> tomcat/conf/gwt/localhost/ROOT.xml
>                  antiJARLocking="false" debug="1" reloadable="true" path="">
>
>                 
>                 
>
>                                          type="javax.sql.DataSource" />
>
>                 
>
>                         
>                                 factory
>                                 
>
> org.apache.commons.dbcp.BasicDataSourceFactory
>                                 
>                         
>
>                         
>                                 username
>                                 YOURDBUSERNAME
>                         
>                         
>                                 password
>                                 SECRET
>                         
>                         
>                                 driverClassName
>                                 org.postgresql.Driver
>                         
>                         
>                                 url
>                                 jdbc:postgresql://URL/DB
>                         
>
>                 
>         
>
> Let me know if this is useful - it took us a while to get this right,
> and we have used it in multiple deployed apps and it works well.
--~--~-~--~~~---~--~~
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: Best way to add App configuration properties

2008-12-12 Thread Joe Cole

Here is our way:

In:
tomcat/webapps/ROOT/WEB-INF/web.xml


  jdbc/dbsource
  javax.sql.DataSource
  Container


  com.yourcompany.LocalConfiguration


The only gotcha with this is that when you upgrade gwt it changes the
web.xml - we just revert it from version control and all works well.

That listener sets up the entire servlet side, including properties &
guice bindings:

public class LocalConfiguration extends AbstractConfiguration {
protected IPropertyManager createPropertyManager(
final ServletContext context) {
return new LocalPropertyManager();
}
public IBindings getBindings() {
return new LocalBindings();
}
}

This allows us to ship different setups to the system depending on
where it's being used (one for hosted mode, production, test, staging
etc).
The datasource is container managed which is why it's defined in the
file.

The other file you will need for hosted mode is:
tomcat/conf/gwt/localhost/ROOT.xml











factory

 
org.apache.commons.dbcp.BasicDataSourceFactory




username
YOURDBUSERNAME


password
SECRET


driverClassName
org.postgresql.Driver


url
jdbc:postgresql://URL/DB





Let me know if this is useful - it took us a while to get this right,
and we have used it in multiple deployed apps and it works well.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Best way to add App configuration properties

2008-12-12 Thread mdwarne

Hi,

I am trying to figure out the best way to add an application config
file.  This file will contain things like database connection
information, and other app parameters.

I will be using Tomcat as the servlet container.  I would like this
config file to be readable by the Servlet in the Hosted mode browser
(development mode) but also when deployed to a production Tomcat
environment.

Any thoughts?

Thanks,
Mike.

--~--~-~--~~~---~--~~
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: Will be GWT development stopped ?

2008-12-12 Thread Sumit Chandel
Hi jan.kubeja,

There are no plans to cease development on GWT. As Pierre pointed out, we
have an active roadmap and much activity in the Groups and blog, the SVN
trunk and the issue tracker.

May I ask where you heard that GWT development would be stopped?

Regards,
-Sumit Chandel

On Thu, Dec 11, 2008 at 7:17 AM, jan.kub...@gmail.com
wrote:

>
> I've heard that  GWT development should be now or in following days
> stopped or blocked. Is That true or not ?
>
> >
>

--~--~-~--~~~---~--~~
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: My GWT Ant task wont find my remote service

2008-12-12 Thread Eric Ayers

Do you have a  tag in Om.gwt.xml?


On Dec 11, 4:20 am, José  wrote:
> Hello all,
>
> I'm trying to set up an Ant task to run my GWT applications.
>
> The layout of my toy-app looks like this :
> src/org/om/
> client/
> model/ClientUser.java [the class of the bean sent by my remote
> service]
> service/user/RpcUserService.java [interface of the service]
> service/user/RpcUserServiceAsync.java [interface of the async
> callback]
> Om.java [this is my entry point]
> server/RpcUserServiceImpl.java [my service implementation]
> public/Om.html
> Om.gwt.xml [Module descriptor with the declaration of the
> RpcUserService servlet]
>
> Now is the weird part.
>
> If I build an Eclipse run configuration with
> - com.google.gwt.dev.GWTShell as the main class,
> - "-out www org.om.Om/Om.html" as the 'program argument'
> - '-Xmx256M' as the  VM arguments,
> - JRE 1.5_013 as the Bootstrap entries,
> - User entries with the src directory of that project, plus the
> classpath of the project,
>
> Then everything runs fine (I could copy/paste the content of the
> launch file, but you need to be an alien to read that...). This leads
> me to the idea that my application is correct.
>
> If I use the following Ant target element, which looks really the same
> to me, I get the following error in the GWT development shell
> window :
> [ERROR] Unable to instantiate 'org.om.server.RpcUserServiceImpl'
> java.lang.ClassNotFoundException: org.om.server.RpcUserServiceImpl
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>
> Ant target element :
>         
>                 
>                         
>                         
>                         
>                         
>                         
>                                  location="lib/gwt-user-1.5.3.jar"/>
>                                  location="lib/gwt-dev-1.5.3-windows.jar"/>
>                                 
>                                  location="lib/swt-win32-3235.dll"/>
>                                 
>                                 
>                         
>                 
>         
>
> I get the same error if I use the following .cmd file :
> java -Xmx256M -cp
> "%~dp0\src;%~dp0\bin;
>  %~dp0\lib\gwt-user-1.5.3.jar;
>  %~dp0\lib\gwt-dev-1.5.3-windows.jar"
> com.google.gwt.dev.GWTShell -out "%~dp0\www" %* org.om.Om/Om.html
>
> I'm probably missing some kind of very obvious thing...
> Any kind of hints / thoughts / help would be very much appreciated !
>
> Thank you,
>
> José
--~--~-~--~~~---~--~~
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: Browser caching GWT javascript app

2008-12-12 Thread Shawn Pearce
Near as I can tell, the browser and server are working correctly.

The browser sent a request along with the data it has in cache; the server
responded with a 304 Not Modified, letting the browser know that its cached
copy is still current.  Thus the server can save time and bandwidth by not
resending content the browser already has.

If you deploy a new version of the application, the client still should have
validated the content, but the server would have sent back a 200 response
with the new version, holding a different ETag and a different Last-Modified
date.

On Fri, Dec 12, 2008 at 11:35, omsrobert  wrote:

>
> We're using Tomcat 6.0.18 and GWT 1.5.3.  The browser (Firefox 3 at
> least) is caching our GWT application. Refreshing fixes it but that's
> not an option for production.  I would think this is a common issue.
> How do we fix it?  Write a response header filter for Tomcat or is
> there a better way?
>
> Here's the HTTP headers:
>
> http://ourserver/mywebapp/home/com.mycompany.mine.OurGWTApp.nocache.js
>
> GET /mywebapp/home/com.mycompany.mine.OurGWTApp.nocache.js HTTP/1.1
> Host: ourserver
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
> 1.9.0.4) Gecko/2008102920 Firefox/3.0.4
> Accept: */*
> Accept-Language: en-us,en;q=0.7,ja;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Referer: http://ourserver/mywebapp/theapp/apphome.html
> Cookie: JSESSIONID=621F38E17EF1599EEF41F5AB43A820EE; CP=*
> X-lori-time-1: 1229109488064
> If-Modified-Since: Fri, 12 Dec 2008 18:31:55 GMT
> If-None-Match: W/"5830-1229106715375"
> Cache-Control: max-age=0
>
> HTTP/1.x 304 Not Modified
> Server: Apache-Coyote/1.1
> Etag: W/"5830-1229106715375"
> Date: Fri, 12 Dec 2008 19:18:07 GMT
>
>
> >
>

--~--~-~--~~~---~--~~
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 JSON library with JAXB class reuse?

2008-12-12 Thread Shawn Pearce
You might want to look at my still-under-development gwtjsonrpc:


http://android.git.kernel.org/?p=tools/gwtjsonrpc.git;a=blob;f=README;hb=HEAD

I think it mostly does what you are looking for, but it doesn't pay any
attention to JAXB annotations.  Its mostly complete for my application's
needs, but I haven't put it into production yet.

On Fri, Dec 12, 2008 at 05:51, Gabor Szokoli  wrote:

>
> Hi there!
>
> I'm new to GWT and think it's great. Please keep in mind the below is
> intended in a far more humble and grateful tone than I can represent
> in English:
>
> We're doing a pilot with GWT, hoping to create a "static" (client
> only) application that uses an existing REST-like JSON service
> implemented with Jersey.
> The initial implementation uses RequestBuilder, eval, and a dumb overlay
> type.
> JSONParser would be an alternative, producing JSONArray.
>
> What I'd prefer instead is reuse of my existing (JAXB annotated) Java
> class from the server side in GWT client code.
>
> This is of course not an issue in the pilot project itself, but will
> get uncomfortable in larger projects.
> It also negates what we expected to be one of the main advantages of
> implementing the web service and the client application in the same
> language: code reuse.
>
> Does any of the existing GWT JSON libraries support this?
> This is the closest I have found, but it looks abandoned:
> http://code.google.com/p/gwt-jsonizer/
>
> Or is there a more server-side friendly alternative to
> JavaScriptObject for overlay types? (JAXB and JPA frown upon the
> protected constructor)
> I guess not, so can we have one? :-)
> I assume a lot of thought went into the current overlay type design,
> but server side code reuse does not seem to have been a design goal,
> and might require an alternative binding method.
>
>
> Any advice appreciated:
>
> Gabor Szokoli
>
> >
>

--~--~-~--~~~---~--~~
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: Linked source folder in Eclipse project and GWT

2008-12-12 Thread Eric Ayers

All the source code you'd like the GWT compiler to see must be
referenced in a GWT module.

So you might need to explicitly add in a '' tag in one of
your .gwt.xml files

http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideModuleXml

On Dec 11, 12:09 pm, bbones  wrote:
> Is it possible to use shared source folder linked Eclipse standard way
> with GWT tools?
>
> There is no problem in design time, compiler see all files in
> classpath. But in Host mode I've got an error
>
> [ERROR] Line 28: No source code is available for type
> plantspring.gwt.intf.MainMenuService; did you forget to inherit a
> required module?
>
> I want to share RPC interface files with different Eclipse project.
>
> What is a right way for that?
--~--~-~--~~~---~--~~
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: Geocode Directions?

2008-12-12 Thread Eric Ayers

You can use the Directions class and just not add the results to the
app.

http://gwt-google-apis.googlecode.com/svn/javadoc/maps/1.0/index.html

The DirectionsResult object returned should give you the information
you are asking for.

On Dec 11, 12:24 am, Darren  wrote:
> I'm wish to return the distance and expected travel time from point A
> to point B. I don't particularly want to view the polyline - I'm just
> really after the distance and expected travel time.
>
> I do a lot of geocoding and would love to add this information to what
> I'm doing - is it possible?
--~--~-~--~~~---~--~~
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: How to size VerticalSplitPanel contents?

2008-12-12 Thread Eric Ayers

Filling up the vertical space is a bit of a trick.  Check out this
FAQ:

http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=FAQ_UIVerticalFillApp

On Dec 11, 12:18 pm, dhoffer  wrote:
> I have a VerticalSplitPanel that contains a Tree in the top panel and
> TextArea in the bottom panel.  How can I make the top & bottom panels
> fill all available space?
>
> Currently the tree is only as large as its contents and the TextArea
> is some small fixed size.  How can I make both fill all available
> space?  The width should be the same as the width of the
> VerticalSplitPanel and the height of each should be dependent on the
> position of the VerticalSplitPanel's splitter bar.
>
> Thanks much for any assistance!
>
> -Dave
--~--~-~--~~~---~--~~
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 bootstrap model

2008-12-12 Thread Eric Ayers

The selection scripts do make  use of document.write(), which I don't
believe will work properly after the document is loaded.   Do you
think that would explain what you are seeing?

On Dec 11, 3:56 pm, Raziel  wrote:
> Using GWT 1.5.3:
>
> According to the documentation, "In the GWT 1.4 bootstrap model, GWT
> expects to find all its files in the same path as the
> .nocache.js file.". Thus, having the host HTML file 
> athttp://host.domain.tld/myApp/index.html, and the .nocache.js
> and other files generated by the GWT compiler in other location.
>
> It all works fine for me when I use the script tag. However, in my
> application I mostly use a JS function to load scripts dynamically.
> This function uses XmlHttpRequest to grab the script content, and then
> performs an eval on it. In this case it loads the .nocache.js
> successfully, BUT the script then tries to look for the other
> resources under the location/URL that loaded the host page -which in
> simple cases could be the location of the host page, but others (for
> example when the host page is included in other page, or it's
> retrieved through an struts action) could be something completely
> different, for which there's not even a physical location.
>
> In some other scenarios, when the host page is part of a deeper
> nesting of imported pages, the .nocache.js is imported
> properly but fails when executed, claiming that
> com_sample_MyGWTApplication is undefined when executing the following
> line: com_sample_MyGWTApplication.onInjectionDone
> ('com.sample.MyGWTApplication')
>
> I know that it might be my fault, and might be pushing the technology
> beyond it's confort zone. However one of the things that appealed to
> me to finally use it was the fact that didn;t claim to "marry"
> entirely to it. The problem is that I don;t know what kind of contract
> I'm breaking with GWT. The documentations says simply include the JS
> file and done, magic! I know nothing is magic, but is there a clearer
> document that establishes the contract to properly use GWT? Has
> somebody any idea of what could be happening in my case?
>
> 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
-~--~~~~--~~--~--~---



Browser caching GWT javascript app

2008-12-12 Thread omsrobert

We're using Tomcat 6.0.18 and GWT 1.5.3.  The browser (Firefox 3 at
least) is caching our GWT application. Refreshing fixes it but that's
not an option for production.  I would think this is a common issue.
How do we fix it?  Write a response header filter for Tomcat or is
there a better way?

Here's the HTTP headers:

http://ourserver/mywebapp/home/com.mycompany.mine.OurGWTApp.nocache.js

GET /mywebapp/home/com.mycompany.mine.OurGWTApp.nocache.js HTTP/1.1
Host: ourserver
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Accept: */*
Accept-Language: en-us,en;q=0.7,ja;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://ourserver/mywebapp/theapp/apphome.html
Cookie: JSESSIONID=621F38E17EF1599EEF41F5AB43A820EE; CP=*
X-lori-time-1: 1229109488064
If-Modified-Since: Fri, 12 Dec 2008 18:31:55 GMT
If-None-Match: W/"5830-1229106715375"
Cache-Control: max-age=0

HTTP/1.x 304 Not Modified
Server: Apache-Coyote/1.1
Etag: W/"5830-1229106715375"
Date: Fri, 12 Dec 2008 19:18:07 GMT


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



use of GWT

2008-12-12 Thread MaxBioversity

Hi,

Just to inform you that we worked with GWT to publish a database
online. GWT was helpful, because of the possibility to reuse previous
development on JAVA/hibernate.
The web site is visible under following link: 
http://www.banana-diversity.org/mgis.
Later new features will be added.

We are looking for feedback on how we use GWT. Did we use it
appropriately ? How should we improve the user experience? Please
advice.

Best Regards,
Max

--~--~-~--~~~---~--~~
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 JSON library with JAXB class reuse?

2008-12-12 Thread Gabor Szokoli

Hi there!

I'm new to GWT and think it's great. Please keep in mind the below is
intended in a far more humble and grateful tone than I can represent
in English:

We're doing a pilot with GWT, hoping to create a "static" (client
only) application that uses an existing REST-like JSON service
implemented with Jersey.
The initial implementation uses RequestBuilder, eval, and a dumb overlay type.
JSONParser would be an alternative, producing JSONArray.

What I'd prefer instead is reuse of my existing (JAXB annotated) Java
class from the server side in GWT client code.

This is of course not an issue in the pilot project itself, but will
get uncomfortable in larger projects.
It also negates what we expected to be one of the main advantages of
implementing the web service and the client application in the same
language: code reuse.

Does any of the existing GWT JSON libraries support this?
This is the closest I have found, but it looks abandoned:
http://code.google.com/p/gwt-jsonizer/

Or is there a more server-side friendly alternative to
JavaScriptObject for overlay types? (JAXB and JPA frown upon the
protected constructor)
I guess not, so can we have one? :-)
I assume a lot of thought went into the current overlay type design,
but server side code reuse does not seem to have been a design goal,
and might require an alternative binding method.


Any advice appreciated:

Gabor Szokoli

--~--~-~--~~~---~--~~
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 event model

2008-12-12 Thread Arthur Kalmenson

Great, thanks for the info.

--
Arthur Kalmenson



On Fri, Dec 12, 2008 at 11:42 AM, Thomas Broyer  wrote:
>
>
>
> On 12 déc, 16:18, "Arthur Kalmenson"  wrote:
>> Hi Sumit,
>>
>> Will you be removing the old event model or are you just deprecating
>> it? i.e. if I upgrade to 1.6 when it comes out, will it break code
>> that uses the old event model?
>
> Deprecate in 1.6, remove in 2.0. Upgrading to 1.6 shouldn't break
> anything (other than generate deprecation warnings).
> See also http://code.google.com/p/google-web-toolkit/issues/detail?id=3194
>
> >
>

--~--~-~--~~~---~--~~
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 event model

2008-12-12 Thread Thomas Broyer



On 12 déc, 16:18, "Arthur Kalmenson"  wrote:
> Hi Sumit,
>
> Will you be removing the old event model or are you just deprecating
> it? i.e. if I upgrade to 1.6 when it comes out, will it break code
> that uses the old event model?

Deprecate in 1.6, remove in 2.0. Upgrading to 1.6 shouldn't break
anything (other than generate deprecation warnings).
See also http://code.google.com/p/google-web-toolkit/issues/detail?id=3194

--~--~-~--~~~---~--~~
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: redirect problem

2008-12-12 Thread a44ever


I also use Spring Security and the technique described above
(created:  FailureHandlingAsyncCallback implements AsyncCallback).

Problem is it works beautifully on FF but not on IE.

...
public void onFailure(Throwable caught)
{
maskArea.unmask();
if (caught instanceof StatusCodeException)
{
StatusCodeException sce = (StatusCodeException) caught;
if (sce.getStatusCode() == 302)
{
// Timeout occurred - go back to base url, 
forcing a clean re-
login

SelfServiceEntry.redirect(GWT.getModuleBaseURL());
}
}
else
MessageBox.alert("Error: " + caught);
}
--~--~-~--~~~---~--~~
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: Who's Using GWT?

2008-12-12 Thread Arthur Kalmenson

Hi ofrias,

Trabber.com looks very impressive. A very nice and clean website. Well done :).

A couple of questions, what date picker did you use? What did you use
for your result grid? All custom built?

Anyway, great job. Thanks for sharing.

--
Arthur Kalmenson



On Fri, Dec 12, 2008 at 5:17 AM, ofrias  wrote:
>
> We are using it at Trabber.com for the flight and hotel metasearch
> results pages.
>
> For us the best features are:
> - you can forget about Javascript quirks
> - efficiency (runtime speed, rpc speed, javascript size)
>
> About the requested features, I know this is quite specific but we
> would like to have a SliderBar with two knobs:
> http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=206
>
> Thanks for the tool!
>
>
> >
>

--~--~-~--~~~---~--~~
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 event model

2008-12-12 Thread Arthur Kalmenson

Hi Sumit,

Will you be removing the old event model or are you just deprecating
it? i.e. if I upgrade to 1.6 when it comes out, will it break code
that uses the old event model?

--
Arthur Kalmenson



On Thu, Dec 11, 2008 at 9:59 PM, Sumit Chandel  wrote:
> Hi Mike,
>
> As Adam mentioned, the new event system you discovered in trunk is indeed
> for GWT 1.6, following the design details explained in the link he posted
> above.
>
> The new event system should solve some of the problems in the current Event
> system (as detailed in the doc), including the use case you mentioned in
> your first post. While the upcoming GWT 1.6 event system will be quite
> different from the current model in a breaking way, the change should lead
> to drastically improved performance and ease of development.
>
> Hope that helps,
> -Sumit Chandel
>
> On Mon, Dec 8, 2008 at 11:17 AM, Adam T  wrote:
>>
>> It's for the version 1.6 event system:
>>
>> http://code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEventSystem
>>
>> //Adam
>>
>> On 8 Dec, 17:06, Mike  wrote:
>> > Hi all,
>> >
>> > Today i was browsing the latest source code for GWT and i saw that
>> > many event-related classes have been deprecated. (E.g. CLickListener
>> > and SourcesClickEvents.) Is a major refactoring of the event mechanism
>> > forthcoming?
>> >
>> > (I was trying to figure out how the GWT event model works, i.e. i was
>> > wondering what the rock-bottom source for GWT events is and how they
>> > are `injected' into java. I discovered that GWT events are fired after
>> > handling browser events. In my opinion, this is not clearly explained
>> > in the GWT documentation. I worked an example, you can find it on my
>> > blog whatmovesmike.blogspot.com .)
>> >
>> > Bye, Mike
>>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Unsaved Changes Pop Up

2008-12-12 Thread Arthur Kalmenson

Hi Carlos,

That's not behavior that's in GWT out of the box. This sounds like a
customization that your team made.

--
Arthur Kalmenson



On Thu, Dec 11, 2008 at 6:42 AM, Cuetumayu  wrote:
>
> Hello,
>
> I have developed a small module on GWT that is embedded in a
> previously existing Struts based Web application. I would be
> interested in knowing if there is a way to disable the pop up that is
> displayed every time I leave the GWT module which says:
>
> "Are you sure you want to navigate away from this page?"
>
> "WARNING: All unsaved changes will be lost."
>
> These it is really annoying for the user of my application since he is
> always changing from this GWT module to any other in the application
> in order to check some data in a grid and a list.
>
> Thanks in advance,
>
> Carlos
>
> >
>

--~--~-~--~~~---~--~~
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-ext

2008-12-12 Thread Arthur Kalmenson

You'd be better off asking on the GWT-ext Google Group (although I
think GWT-ext might have been abandoned).

--
Arthur Kalmenson



On Thu, Dec 11, 2008 at 1:47 AM, heartbreakkid_ra...@yahoo.com
 wrote:
>
> When we run GWT application every time it loads all the widgets to be
> displayed and displays it..Is there any way by which we can save the
> widgets to be displayed, so that it doesn't have to load it everytime
> it is run? Please let me know anything about this...Thank you
>
> >
>

--~--~-~--~~~---~--~~
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: Google Visualization and Maps libraries for GWT Released

2008-12-12 Thread Arthur Kalmenson

Thanks Eric, this looks great! Pie charts, here I come :)

--
Arthur Kalmenson



On Thu, Dec 11, 2008 at 8:47 AM, Eric Ayers  wrote:
>
> We have recently announced the availability of a new Google Web
> Toolkit (GWT) library wrapping the Visualization API and the final
> release of the Maps API bindings.
>
> The Maps API library is upgraded to version 1.0.2 and includes several
> bugfixes since the previous release.
>
> The new Visualization API library includes:
>* A set of pre-wrapped visualizations out-of-the-box for use with
> GWT. These include many of the existing Google Visualizations like
> Line Chart, Motion Chart, Annotated Timeline and others. All
> GWT-supported visualizations are marked as such in our public gallery.
>* A class to enable anyone to easily create a Java wrapper for
> their own visualization and thus making it natively available for GWT
> developers.
>* A class to make it easy to write new visualization in Java to be
> GWT-compiled and available as GViz-compatible visualizations for
> general use through the JS API and as Gadgets.
>
> You can read more about the Visualization API library at our Google
> Code blog post:
>  
> http://google-code-updates.blogspot.com/2008/12/google-visualization-api-library-now.html
>
> To download, visit the Google Code project:
>  http://code.google.com/p/gwt-google-apis
>
> Enjoy!
> The Visualization and Google API Libraries for GWT teams
> --
> Eric Z. Ayers - GWT Team - Atlanta, GA USA
> http://code.google.com/webtoolkit/
>
> >
>

--~--~-~--~~~---~--~~
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: Standard/Simple GWT CSS?

2008-12-12 Thread David Hoffer
You seem to get my point.  Its a classic catch-22 situation.  I can't
get access to the graphics designer until I can prove what GWT can do
for us.  Others, using a different technology i.e. Flex?, are going to
be able to create a decent looking UI themselves without the need of a
graphics specialist.

GWT seems quite poor at doing rapid prototyping unless you happen to
have both Java and graphics designers in your development team.

I have spent more time getting the prototype to look decent than
developing the functionality :(

-Dave

On Fri, Dec 12, 2008 at 7:13 AM, Arthur Kalmenson  wrote:
>
> Hi David,
>
> I do agree with you that for the initial prototyping and maybe initial
> production releases it would be nice to have some polished CSS.
> However, I think that in general it's a much better use of resources
> to get a graphics designer to come up with the L & F and layout of
> your application. You might also find the following GWT blog posting
> on L & F an interesting read:
> http://googlewebtoolkit.blogspot.com/2008/12/gwt-no-need-to-shortchange-your-style.html
>
> --
> Arthur Kalmenson
>
>
>
> On Tue, Dec 9, 2008 at 9:40 AM, David Hoffer  wrote:
>> Hi Arther,
>>
>> Your comments are well taken.  Since I have heard this before we have
>> used pure GWT.
>>
>> However, at this point however, I do think GWT missed it a bit here
>> because most Java programmers do not know CSS, at least not well, and
>> you cannot use GWT without knowing CSS.  This fact, I think drives
>> some to these other frameworks.
>>
>> I think an ideal situation would be for GWT (or someone) to create a
>> mechanism to get a standard L&F with GWT without knowing CSS; sort of
>> like what you can do with Swing.  Although just like Swing you should
>> be able to customized this L&F via some mechanism and in the case of
>> GWT CSS is fine.  It seems GWT did start to go in this direction with
>> the GWT themes but they aren't extensive enough.
>>
>> -Dave
>>
>> On Tue, Dec 9, 2008 at 7:31 AM, Arthur Kalmenson  
>> wrote:
>>>
>>> Hello David and tomato,
>>>
>>> I highly recommend you stay as far away from Ext-GWT, SmartGWT and
>>> GWT-ext as you can. Gregor said it best, while they might look shiny,
>>> they are as slow as molasses and a huge PITA to work with. Once you
>>> start using them, you fall into their overly complex and inconsistent
>>> event models, you completely forgo most of GWT since these libraries
>>> can't work with GWT widgets, and give up the simplicity and high
>>> quality you come to expect from GWT. I say this from experience.
>>>
>>> --
>>> Arthur Kalmenson
>>>
>>>
>>>
>>> On Mon, Dec 8, 2008 at 9:38 AM, Miles T.  wrote:

 Hi David and tomato,

 We also didn't (and still don't) want to write HTML or CSS for our
 application (it aims to be an internal application, not a public
 website). Consider using Ext GWT, SmartGWT or GWT-Ext, I guess this is
 what you're looking for. These libraries provide a set of widgets and
 look and feels and let you define your own. They also allow you to
 devlop in a Swing-style by using standard layouts (BorderLayout,
 CenterLayout,...).

 We choose Ext GWT because it is a full GWT library (others are
 wrapping a JS library), it provides a simple MVC layer and has more
 documentation.

 Regards

 On 8 déc, 14:34, "David Hoffer"  wrote:
> Hi Gregor,
>
> Thanks for the detailed response I will give this a try today.
>
> As I read this I thought of a couple questions.
>
> 1. Does my CSS file have to have a particular name?  You say it goes
> next to the HTML file.  Do I just name it the same but with css
> extension and it will be found or do I have to reference it somehow in
> my HTML/XML?
>
> 2. You mentioned to look at the showcase examples to get CSS to use.
> I looked at all these yesterday and found that most do not show the
> CSS used (I think most of the widgets did but most containers did
> not).  I then looked at the source code for showcase given in the GWT
> examples and it seems they are using annotations to bring in styling
> information.  What's up with this?  It seems there is more than one
> way to apply CSS in GWT.  This makes it harder to learn how one is to
> do this.
>
> As an example of what currently looks really bad...DialogBox and
> VerticalSplitPanel.  The former has no border so it doesn't even look
> remotely like a DialogBox and VerticalSplitPanel only has a splitter
> bar...no border.  So unless you really know there is a split panel you
> have no idea what you are looking at.  For these examples the showcase
> shows no CSS so apparently it is using annotations to bring in
> styling.  BTW, for these cases I am using the standard theme.
>
> Thanks much, I will look at your example.
> -Dave
>
> On Sun, Dec 7, 2008 at 7:57 PM, gregor  
> wrote:
>
>>>

Re: Using eclipse project references with GWT.

2008-12-12 Thread Arthur Kalmenson

I usually do that by generating a JAR file that contains the source
and class files of the objects I need to use in another GWT project
and link them in that way.

--
Arthur Kalmenson



On Wed, Dec 10, 2008 at 3:25 PM, flash  wrote:
>
>
> In Eclipse I have a JPA project that contains a bunch of entities. I
> have a GWT project that houses all the web related stuff and GWT. I
> added a project reference from the GWT project to the JPA Project.
>
> When I start using JPA objects in GWT project I get errors in the
> console complaining about the lack of source for JPA entities.
>
> How can I keep these two projects separate and link them? I have tried
> Eclipse project references and also adding the JPA project to the GWT
> project build path. Neither of them worked.
>
> Any thoughts are appreciated. Thanks in advance.
>
> >
>

--~--~-~--~~~---~--~~
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: Standard/Simple GWT CSS?

2008-12-12 Thread Arthur Kalmenson

Hi Jeremy,

> I see that you jump into all threads involving third party libraries and
> tell users how bad they are. I'm not even sure you've used them enough to
> make an informed decision. There is after all a learning curve involved in
> learning any third party library and their API's.

We (myself an intern) used GWT-ext for a new project some time ago. We
had to abandon it for vanilla GWT because of speed issues,
incompatibility with regular GWT, difficulty to debug and develop with
because hosted mode crawled, and overall poor quality and bugs present
in the library. I'm aware there is a learning curve with any new
library, but we found that you either go all the way with GWT-ext or
not at all.

> You do realize that these third party libraries provide rich any highly
> dynamic widgets that are required by many real world applications. With
> increased functionality comes increased size. Are you saying that your
> application only uses the widgets available in GWT core and the incubator
> project?

Well we create new widgets using the vanilla and incubator ones.

> If so, I doubt it will come anywhere close to the functionality
> delivered to users by any of these third party libraries. Remember, what
> ultimately counts functionality delivered to the end user and not whether
> the developer of the application used only widgets in GWT, or third party
> libraries. Or whether they use Spring / ORM library, or core JDK / JDBC
> API's.

IMHO, what ultimately counts is user experience. If the application is
slow and buggy but has lots of animations and effects, the user is not
going to have a good experience. However, if the application is super
speedy and has a few nice animations where it makes sense, the user
will have a much better experience.

I think what also counts is the maintainability and scalability of
one's application. If the application is going to become quickly
unmaintainable because of quirks in the third party GWT libraries or
because core JDK and JDBC were used to (poorly) duplicate
functionality found in Spring/EJB and ORMs, the project will probably
fail or require a complete rewrite. I've been in that situation.

This is the same question to ask whether a project should be done the
right way by unit testing, integration test, acceptance testing, using
a SCM, using a bug tracker, using a Continuous Integration solution,
etc or whether it should be hacked it together and "we'll figure it
out later" (also been there :P).

> Does your application provide a rich grid widget? Or are you building
> inhouse custom components? (if so, please do share). From an end users
> perspective what makes it any better than the ones already available.

The grid that we provided in the past (custom made) and will provide
in the future (gwt-incubator PagingScrollTable) will only be used to
show search results. We don't need a complex grid widget for our
specific applications. We have built in house components, but a lot of
projects have widgets that are very specific to those project. We do
have an OSS project that's undergoing changes atm. I'll be making an
announcement when it's ready for use. I'm throwing out a lot of the
components we built because the GWT team is providing them either in
the trunk or in the incubator. As for the end user, it's the same
reasons I mentioned above. Our widgets are built with vanilla GWT so
they're quick and also well tested.

> I'm sure you're a real smart guy...

Not sure about that :P

> ... but it would be great if you put your
> money where your mouth is and allow users to see the application you have
> been working on, the complexity of the application, along with detail on
> number of developers, and duration of project. We can then draw a comparison
> between the two approaches.

You can't really see the applications we work on because they're
internal only (there is a file transfer system that is external, but
it's rather small). A lot of the projects are still in development
since we're working on about 6 projects (going between them after one
Sprint). Our medium to large sized projects are usually 300-600
person-hours of work. There is only 1.5 full time equivalent people
working on them at the moment (myself and a part time person). I can't
be any more specific then that.

I just want to leave off with one point. I'm not against third party
libraries in general, in fact, I'd love to have a library with shiny
widgets. I've just had first hand experience with one of these
libraries and have spoken to many people who use other ones (i.e. Ext
GWT). In both cases, these third party libraries were either abandoned
or in the process of being abandoned. If someone comes out with a
third party library that's on par with the vanilla GWT widgets in
terms of stability and speed, I'll jump on them.

--
Arthur Kalmenson



On Tue, Dec 9, 2008 at 12:10 PM, Jeremy Cohen  wrote:
> Arthur,
> I see that you jump into all threads involving third party libraries and
> tell use

Re: Standard/Simple GWT CSS?

2008-12-12 Thread Arthur Kalmenson

Hi David,

I do agree with you that for the initial prototyping and maybe initial
production releases it would be nice to have some polished CSS.
However, I think that in general it's a much better use of resources
to get a graphics designer to come up with the L & F and layout of
your application. You might also find the following GWT blog posting
on L & F an interesting read:
http://googlewebtoolkit.blogspot.com/2008/12/gwt-no-need-to-shortchange-your-style.html

--
Arthur Kalmenson



On Tue, Dec 9, 2008 at 9:40 AM, David Hoffer  wrote:
> Hi Arther,
>
> Your comments are well taken.  Since I have heard this before we have
> used pure GWT.
>
> However, at this point however, I do think GWT missed it a bit here
> because most Java programmers do not know CSS, at least not well, and
> you cannot use GWT without knowing CSS.  This fact, I think drives
> some to these other frameworks.
>
> I think an ideal situation would be for GWT (or someone) to create a
> mechanism to get a standard L&F with GWT without knowing CSS; sort of
> like what you can do with Swing.  Although just like Swing you should
> be able to customized this L&F via some mechanism and in the case of
> GWT CSS is fine.  It seems GWT did start to go in this direction with
> the GWT themes but they aren't extensive enough.
>
> -Dave
>
> On Tue, Dec 9, 2008 at 7:31 AM, Arthur Kalmenson  
> wrote:
>>
>> Hello David and tomato,
>>
>> I highly recommend you stay as far away from Ext-GWT, SmartGWT and
>> GWT-ext as you can. Gregor said it best, while they might look shiny,
>> they are as slow as molasses and a huge PITA to work with. Once you
>> start using them, you fall into their overly complex and inconsistent
>> event models, you completely forgo most of GWT since these libraries
>> can't work with GWT widgets, and give up the simplicity and high
>> quality you come to expect from GWT. I say this from experience.
>>
>> --
>> Arthur Kalmenson
>>
>>
>>
>> On Mon, Dec 8, 2008 at 9:38 AM, Miles T.  wrote:
>>>
>>> Hi David and tomato,
>>>
>>> We also didn't (and still don't) want to write HTML or CSS for our
>>> application (it aims to be an internal application, not a public
>>> website). Consider using Ext GWT, SmartGWT or GWT-Ext, I guess this is
>>> what you're looking for. These libraries provide a set of widgets and
>>> look and feels and let you define your own. They also allow you to
>>> devlop in a Swing-style by using standard layouts (BorderLayout,
>>> CenterLayout,...).
>>>
>>> We choose Ext GWT because it is a full GWT library (others are
>>> wrapping a JS library), it provides a simple MVC layer and has more
>>> documentation.
>>>
>>> Regards
>>>
>>> On 8 déc, 14:34, "David Hoffer"  wrote:
 Hi Gregor,

 Thanks for the detailed response I will give this a try today.

 As I read this I thought of a couple questions.

 1. Does my CSS file have to have a particular name?  You say it goes
 next to the HTML file.  Do I just name it the same but with css
 extension and it will be found or do I have to reference it somehow in
 my HTML/XML?

 2. You mentioned to look at the showcase examples to get CSS to use.
 I looked at all these yesterday and found that most do not show the
 CSS used (I think most of the widgets did but most containers did
 not).  I then looked at the source code for showcase given in the GWT
 examples and it seems they are using annotations to bring in styling
 information.  What's up with this?  It seems there is more than one
 way to apply CSS in GWT.  This makes it harder to learn how one is to
 do this.

 As an example of what currently looks really bad...DialogBox and
 VerticalSplitPanel.  The former has no border so it doesn't even look
 remotely like a DialogBox and VerticalSplitPanel only has a splitter
 bar...no border.  So unless you really know there is a split panel you
 have no idea what you are looking at.  For these examples the showcase
 shows no CSS so apparently it is using annotations to bring in
 styling.  BTW, for these cases I am using the standard theme.

 Thanks much, I will look at your example.
 -Dave

 On Sun, Dec 7, 2008 at 7:57 PM, gregor  
 wrote:

 > Hi Dave,

 > 1) I think this might have something to do with debugging client
 > javascript at run time using Firebug or something - I've never used it
 > to be honest.

 > 2) I happen to have a simple CSS example to hand, so this might help -
 > apologies if its too simplistic

 > Your module will have its own CSS file next to its HTML file in the
 > public folder.

 > If you check the standard theme GWT CSS for DisclosurePanel it looks
 > like this:

 > .gwt-DisclosurePanel {
 > }
 > .gwt-DisclosurePanel-open {
 > }
 > .gwt-DisclosurePanel-closed {
 > }
 > .gwt-DisclosurePanel .header,
 > .gwt-DisclosurePanel .hea

Re: GWT Spring Integration

2008-12-12 Thread Wilfred Springer
Spring ME is mainly about having Spring in the client; I don't know if it's
going to help you to integrate it with the server. (But then again, what do
I know? I know quite a bit about Spring ME, but hardly anything at all about
GWT. ;-) )


2008/12/12 Pierre Mage 

>
> This post might be interesting for you :
>
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/94b22b9a0b26de63/afb3bf84142503e5?hl=en&lnk=gst&q=spring+me#afb3bf84142503e5
>
> On Dec 11, 7:18 pm, "olivier nouguier" 
> wrote:
> > Hi,
> http://gwt-widget.sourceforge.net/http://code.google.com/p/net-orcades-spring/
> >
> > On Thu, Dec 11, 2008 at 5:43 AM, Sriram Iyengar
> >
> >
> >
> >  wrote:
> >
> > > Hi, We have been trying to get GWT and Spring to work, but
> > > unfortunately no luck as yet.
> >
> > > Our application makes a simple call to the service side of GWT (on
> > > Spring MVC) and tries to render the response as a table (a list of
> > > items).
> >
> > > If someone can post a working copy of a 'hello world' kind;a app, that
> > > will be really great. I have tried to read many documents (gwt-sl)
> > > etc., but no luck as yet.
> >
> > > Thanks,
> > > Sriram
> >
> > --
> > Si l'ignorance peut servir de consolation, elle n'en est pas moins
> illusoire.
> >
>

--~--~-~--~~~---~--~~
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: Widget similar to ListBox

2008-12-12 Thread mikedshaf...@gmail.com

I know I've seen one in many of the widget libraries out there.  GWT-
Ext has a very nice one, http://gwt-ext.com/demo/#styledComboBox

as does SmartGWT 
http://www.smartclient.com/smartgwt/showcase/#styled_combobox_category

Later,

Shaffer

On Dec 11, 7:24 am, ArunDhaJ  wrote:
> Hi all,
> Is there any widget similar to ListBox, in which styles could be
> defined to each item ??? I'm using GWT-1.4.62.
> I tried creating my own widget by adding labels with styles and added
> click listeners... I got struck up when I wanted to highlight the
> selected label, and need to get the selected label.
>
> Thanks in Advance !!!
>
> Regards
> ArunDhaJwww.arundhaj.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: Linked source folder in Eclipse project and GWT

2008-12-12 Thread mikedshaf...@gmail.com

We did something like this on one of our GWT projects.  Unfortunately,
I'm not in the office right now and don't remember exactly what we
did.  But when I return (next week), I'll look at and post here.  It
seems like we had to do some work on both the gwt.xml and the hosted
mode tomcat web.xml.  It did create a synchronization issue between
making Eclipse happy and keeping hosted mode happy.  And if I
remember, we had do some work in ant to get our deployables to be
correct as well.  So I'll take a look at it and post here..

Later,

Shaffer

On Dec 11, 10:09 am, bbones  wrote:
> Is it possible to use shared source folder linked Eclipse standard way
> with GWT tools?
>
> There is no problem in design time, compiler see all files in
> classpath. But in Host mode I've got an error
>
> [ERROR] Line 28: No source code is available for type
> plantspring.gwt.intf.MainMenuService; did you forget to inherit a
> required module?
>
> I want to share RPC interface files with different Eclipse project.
>
> What is a right way for that?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to get a width of a column in a FlexTable?

2008-12-12 Thread yilativs

Hello,

How to get a width of a column in a FlexTable?

Regards.
Vitaliy S
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Horizontal scroll grid

2008-12-12 Thread Ramesh

Hi,
I placed a grid in ScrollPanel which is placed in HorizontalPanel.
I set the sizes of the panels to 100% so that they can fit to their
parent window.
When the content of the grid exceeds the size of the scroll panel, it
has to display the horizontal scrollbar, but instead of this the
scroll panel is getting extended to fit the size of the grid.

When i set the scrollpanel size in pixels, its behaving correctly, but
i can't set the size of the scroll panel to fixed width, as it has to
fix based on its parent panel which is resizable.

Case:
But its behaving correctly even with percentages when i explicitly set
the scrollpanel to show its vertical scrollbar.

did any one know the work around for this issue?



--~--~-~--~~~---~--~~
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 job openings

2008-12-12 Thread Ramesh

We are looking for Java Developers with Good experience on GWT/Ajax,
Spring, Hibernate and Swing.

Please find our companies URL for your reference. http://www.stagirus.com

Position: Java Developer

Location: Hyderabad

Title: Java Developer

-Minimum Required Experience: 2+ years.

Mandatory Skills

-Product development, SDLC, UML

-Superior skills in OO, design patterns, creative problem-solving.

-Strong belief in architecture centric development
-Exceptionally creative problem-solving skills

-Experience in Inventory/Asset management is desirable.

-Design/Architecture experience using modeling tools such as Rose or
Enterprise Architect

-Java, J2EE backend design and development using Spring and
Hibernate.

- Experience in distributed computing such as CORBA, RPC and SOA

- UI development using AJAX/GWT/SWING or Windows Development.

Candidate preferred from domains: Inventory/Asset management/Supply
Chain Management, Healthcare IT.


If you are interested in the above position kindly revert back to
rchint...@stagirus.com  with your updated resume along with the best
time to contact you.


--~--~-~--~~~---~--~~
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: Does GWT depend on OS?

2008-12-12 Thread olivier FRESSE
The war can be corrupted in the transfer from windows to the unix server.
For example, an FTP transfer in ascii mode...
as a war is a jar file, you can test it with jar -tvf myfile.war.


2008/12/12 MAK 

>
> I have a strange experience, that a GWT application (war file) is
> running when it is deployed on Windows machine, copied the war file to
> tomcat's webapps. But when it is deployed to FreeBSD machine, it
> doesn't work properly Everything seems perfect, database url, and
> servlet paths but when the same application is deployed to a
> Solaris machine. It starts working again ...
>
> Does GWT application depend on OS?
>
> >
>

--~--~-~--~~~---~--~~
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: Does GWT depend on OS?

2008-12-12 Thread Lothar Kimmeringer

MAK schrieb:
> But when it is deployed to FreeBSD machine, it
> doesn't work properly

Questions that describe a problem with "doesn't work" can
only be answered with "something must be wrong". Can you
be a bit more specific with your description please?

> Everything seems perfect, database url, and
> servlet paths but when the same application is deployed to a
> Solaris machine. It starts working again ...
> 
> Does GWT application depend on OS?

The moment you deployed the whole thing, there is no trace of
GWT anymore. On the server-side you have servlets, on the client-
side HTML and Javascript, so I'm quite sure the problem resides
in your code or the way you create the WAR.


Regards, Lothar

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Does GWT depend on OS?

2008-12-12 Thread MAK

I have a strange experience, that a GWT application (war file) is
running when it is deployed on Windows machine, copied the war file to
tomcat's webapps. But when it is deployed to FreeBSD machine, it
doesn't work properly Everything seems perfect, database url, and
servlet paths but when the same application is deployed to a
Solaris machine. It starts working again ...

Does GWT application depend on OS?

--~--~-~--~~~---~--~~
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: how to set default button?

2008-12-12 Thread Danny Schimke
This, so I think, should work:

1. Your composite-panel-widget (which has 4 TextBoxes) implements the
KeyBoardListener
2. Every TextBox will get a KeyBoardLisener
(textBox.addKeyboardListener(this); // "this" is the Panel)
3. If "onKeyPress" is fired: check the Key, that was pressed. If it was
"ENTER" call the onClick()- method (Event) from the Button inside the
onKeyPress- Event.

If I understood correctly: you want to "simulate" clicking a button if the
user pressed the EnterKex while editing a TextBox...

Hope that was helpful...

2008/12/12 Riyaz Mansoor 

>
>
> For a PopupPanel take a look at onKeyPressPreview - handle ENTER, ESC
> etc key events there.
>
> Generally, you are looking at over-riding onEventPreview to handle the
> keyboard events you want.
>
> There is no magical "setDefaultButton" method. In fact, the default
> button formatting (if required) you have to implement separately.
>
>
> On Dec 12, 4:59 am, "mikedshaf...@gmail.com" 
> wrote:
> > Maybe others with more GWT Form experience can chime in, but adding a
> > KeyboardListener to your text boxes to do a form submit seems
> > completely reasonable and non-hacky.  In fact, it's completely in line
> > with traditional UI paradigms, where the whole form submit() concept
> > and all is what's really unusual.  Another idea is to extend the
> > FormPanel to something like MyCoolFormPanel and add your
> > own .setDefaultButton method on it.  Simply my random thoughts.  Good
> > luck!
> >
> > Later,
> >
> > Shaffer
> >
> > On Dec 11, 2:06 pm, UVic_Paul  wrote:
> >
> > > Hey all,
> >
> > > Been searching around without success, so time to ask the group
> >
> > > How do you (or can you) set the default button on a "form"?
> >
> > > For example, let's say you have a panel with 4 TextBox widgets, an
> > > "Enter" button, and a "Cancel" button.  When the user presses "Enter"
> > > during input of any of the 4 Text Boxes, I want to act as if the
> > > "Enter" button had been clicked.
> >
> > > In Swing, you'd do something like:
> > > JRootPane rootPane = frame.getRootPane();
> > > rootPane.setDefaultButton(enterButton);
> >
> > > I realize I can create a KeyboardListener, attach it to all 4 Text
> > > Boxes, and react when "Enter" is pressed, but that seems like a bit of
> > > a hack to me.
> >
> > > thanks in advance,
> > > Paul
> >
>

--~--~-~--~~~---~--~~
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 Spring Integration

2008-12-12 Thread Pierre Mage

This post might be interesting for you :

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/94b22b9a0b26de63/afb3bf84142503e5?hl=en&lnk=gst&q=spring+me#afb3bf84142503e5

On Dec 11, 7:18 pm, "olivier nouguier" 
wrote:
> Hi,http://gwt-widget.sourceforge.net/http://code.google.com/p/net-orcades-spring/
>
> On Thu, Dec 11, 2008 at 5:43 AM, Sriram Iyengar
>
>
>
>  wrote:
>
> > Hi, We have been trying to get GWT and Spring to work, but
> > unfortunately no luck as yet.
>
> > Our application makes a simple call to the service side of GWT (on
> > Spring MVC) and tries to render the response as a table (a list of
> > items).
>
> > If someone can post a working copy of a 'hello world' kind;a app, that
> > will be really great. I have tried to read many documents (gwt-sl)
> > etc., but no luck as yet.
>
> > Thanks,
> > Sriram
>
> --
> Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.
--~--~-~--~~~---~--~~
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: Who's Using GWT?

2008-12-12 Thread ofrias

We are using it at Trabber.com for the flight and hotel metasearch
results pages.

For us the best features are:
- you can forget about Javascript quirks
- efficiency (runtime speed, rpc speed, javascript size)

About the requested features, I know this is quite specific but we
would like to have a SliderBar with two knobs:
http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=206

Thanks for the tool!


--~--~-~--~~~---~--~~
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: Will be GWT development stopped ?

2008-12-12 Thread Pierre Mage

??? Look at the following post on GWT's blog:

http://googlewebtoolkit.blogspot.com/2008/12/whats-ahead-for-google-web-toolkit_10.html

On Dec 11, 4:17 pm, "jan.kub...@gmail.com" 
wrote:
> I've heard that  GWT development should be now or in following days
> stopped or blocked. Is That true or not ?
--~--~-~--~~~---~--~~
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: GWTShell and facelet.

2008-12-12 Thread olivier FRESSE
Yes, all the needed scripts are here.
It seems that the GWTShell doesn't find the needed data to start of the GWT
java mode.
Really strange.

2008/12/12 acc 

>
> Hi Olivier,
>
> Have you added a  to include the nocache.js bootstrap file in
> your JSF JSP?
>
> -alex
>
> On Dec 10, 7:57 am, "olivier FRESSE"  wrote:
> > I'm not sure that it's the issue.
> > From my understanding, the noserver mode is really useful when you wan't
> to
> > use
> > GWT RPC.
> > I've made a network capture to see what's going on between the server and
> > the hosted browser,
> > and I've seen "good" html, ie JSF tags are translated by the servlet.
> >
> > But for some reasons, GWTShell doesn't "see" the GWT JScript, and doesn't
> > start to work with the java code.
> > Sadly, I have no traces or error at all.
> >
> > 2008/12/9 acc 
> >
> >
> >
> > > Hi Olivier,
> >
> > > The hosted mode embedded Tomcat server isn't configured with a JSF
> > > servlet out of the box, and hence wouldn't be able to handle the
> > > *.faces mapping.  Are you using hosted mode with the embedded Tomcat
> > > server, or with your own server using the -noserver option? If it's
> > > the former, you should run hosted mode with the -noserver option and
> > > use the same server that you use when you work in web mode.
> >
> > > Here's an FAQ on how to setup hosted mode with the -noserver option:
> >
> > >http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog.
> ..
> >
> > > -alex
> >
> > > On Dec 9, 3:25 am, "olivier FRESSE"  wrote:
> > > > Hmm no, I have a