Re: 2.8.0 RC1 is here!

2016-07-29 Thread 'kim young ill' via GWT Users
ok, didn"t know gin work with jdk7, just saw this in the release note :
https://github.com/gwtproject/gwt/issues/9311
i'm on jdk7, guava18 and gin 2.

On Fri, Jul 29, 2016 at 12:20 PM, Thomas Broyer  wrote:

>
>
> On Friday, July 29, 2016 at 12:16:30 PM UTC+2, Juan Pablo Gardella wrote:
>>
>> You could replace it with dagger2.
>>
>
> +1
>
> Easier said than done though. For example, we have a lot of factories, and
> moving them to AutoFactory is not straightforward either (we have many
> factories able to provide many types, something AutoFactory doesn't support
> AFAICT)
> Private modules could be an issue too.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: 2.8.0 RC1 is here!

2016-07-29 Thread 'kim young ill' via GWT Users
nice, thanx for the great work.

the only blocking point for me now is GIN.

On Fri, Jul 29, 2016 at 7:40 AM, 'Daniel Kurka' via GWT Users <
google-web-toolkit@googlegroups.com> wrote:

> Hi all,
>
> I just build the GWT 2.8.0 RC1 and pushed it to maven central. The
> complete SDK is also available from here .
>
> Please start testing and let us know if you run into any trouble. You can
> either reply to this thread on gwt-contrib
> 
>  or file bugs .
>
> We are planing to release this as GWT 2.8.0 if we do not here about any
> serious issues within the next two weeks. The release notes for RC1
> 
> will be made available shortly after this notice, in the mean time you can
> take a look at the github repository
> 
> .
>
> Daniel,
> on behalf of the GWT team
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: Mojo's maven-gwt-plugin or Thomas's maven-gwt-plugin?

2015-12-06 Thread &#x27;kim young ill' via GWT Users
thanx, i got further with compile and
true, but now got hit by guava18. (similar to this:
https://groups.google.com/forum/m/#!topic/google-web-toolkit-contributors/VbokswmVz9w
), i'll see how to overcome this

On Sun, Dec 6, 2015 at 10:14 PM, Thomas Broyer  wrote:

> I don't see the compile, is it in a pluginManagement
> somewhere or are you using gwt-app packaging? Anyway, there should be
>  in each .
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: Mojo's maven-gwt-plugin or Thomas's maven-gwt-plugin?

2015-12-06 Thread &#x27;kim young ill' via GWT Users
my project structure look like this:

webapp-parent
  -webapp-client
  -weapp-shared
  -webapp-server
  -webapp-utils
 ...some other small non gwt-related modules


i come up with this: (in webapp-client module) but gwt:compile still
complaining :

on project webapp-client: The parameters 'moduleName' for goal
net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5:compile are missing or invalid


 

net.ltgt.gwt.maven
gwt-maven-plugin


m1

com.app.client.Module1/moduleName>
m1



m2

com.app.client.Module2/moduleName>
m2





...



do you have any sample in the repos i can look it up ?
i must admit i'm not a maven expert
thanx



On Sun, Dec 6, 2015 at 2:23 PM, Thomas Broyer  wrote:

> You should be able to create several executions (for the same goal and
> phase, but different ids and configurations)
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: Mojo's maven-gwt-plugin or Thomas's maven-gwt-plugin?

2015-12-06 Thread &#x27;kim young ill' via GWT Users
hi there, i'm considering moving  to gwt2.8 for (mostly because of jdk8)
and switching to Thomas's plugin, i have several separate gwt modules in
webapp-client-module, in the mojo plugin i can put it like this:
 


org.codehaus.mojo
gwt-maven-plugin


com.app.client.module1
com.app.client.module2
com.app.client.module3








what would be the alternative for thomas's plugin ? do i need to create
separate profiles for each module ?

thanx

On Mon, Nov 23, 2015 at 11:17 AM, Bruno Salmon 
wrote:

> Thanks Thomas, I will continue on that tread
>
>
> Le lundi 23 novembre 2015 10:44:15 UTC+1, Thomas Broyer a écrit :
>>
>>
>>
>> On Monday, November 23, 2015 at 10:29:20 AM UTC+1, Bruno Salmon wrote:
>>>
>>> Thanks Thomas, maven can now download the plugin with the correct
>>> repository url you gave me, a step forward to 2.8 :-)
>>>
>>> However, this is now the gwt-user actifact itself that fails to download
>>> (this time in the google-snapshots repository) due to this unresolved
>>> dependency:
>>> Failure to find com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT in
>>> https://oss.sonatype.org/content/repositories/google-snapshots/
>>> And indeed, there is no "jsinterop" repository under
>>> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/
>>>
>>> Any idea what's wrong?
>>>
>>
>> See
>> https://groups.google.com/forum/#!topic/google-web-toolkit/Ty78TNg58iA
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: Using RequestFactory with php backend. Is it possible?

2013-11-16 Thread kim young ill
hmm, interesting, i dont think it's worth it,  you would need to be able to
decode/encode the json-format of RF @ your php-serverside (method call,
entity-identity payload ...), i think the Rest-way would make you move
faster, so you can keep your php part & exchange the client part for
whatever you feel comfortable with


hth


On Fri, Nov 15, 2013 at 7:35 PM, Ervin Hoxha  wrote:

> Hi everyone,
>
> Im working on a gwt project that needs to talk to a php back-end server.
> Im trying to decide what possibilities do I have to make calls to a php
> server (apart the classic Ajax Html forms and the RequestBuilder).
>
> I have heard that RequestFactory is a powerful mechanism to do this.
>
> My question is: is it possible to use RequestFactory to make calls to a
> php server?
>
> What I have noticed From the docs and the examples that I have read about
> RequestFactory, is that it is always associated with some JAVA server-side
> classes.
>
> To be more specific, in all the docs it's stated that the ProxyEntity
> interface signature (client side) should match  the server-side
> implementation of the object (that of course is in java).
>
> So am I missing something, or it is not possible to use RequestFactory
> with php? And if yes, how it's possible to bypass the fact that the client
> side EntityProxy interface should match some server-side class signature?
>
> Thanks for your time
>
> Ervin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

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


Re: How to access WebAppContext's attributes while running GWT app as WAR file using Jetty?

2013-06-19 Thread kim young ill
from your jetty-code, it should be like this:
webapp.getServletContext.setAttribute("foo","bar");


hth


On Wed, Jun 19, 2013 at 3:53 AM, Gaurav Kumar wrote:

> I am running my GWT app as follows in Jetty - http://pastebin.com/Hvj5ieZf
>
> Now, I would like to access the "magic" attribute in my GWT Service side
> code which extends RemoteServiceServlet. When I try to access it as-
>
> getServletContext().getAttribute("magic");
>
> I get its value as null.
>
> I would like to set attribute on a global level. My enterprise app embeds
> GWT app and I would like to use Java objects created outside of GWT war
> file be accessible in my class which extends RemoteServiceServlet.
>
> Cheers,
> GK
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




Re: Get Data CellTable

2013-06-05 Thread kim young ill
does the fieldupdater doenst fit your need ?


On Wed, Jun 5, 2013 at 9:41 PM,  wrote:

> Nobody?
>
>
> Le mercredi 29 mai 2013 14:46:48 UTC-4, sebastie...@isen-lille.fr a
> écrit :
>
>> Hi everyone,
>> I have a simple CellTable with editable cells. I add a button "save"
>> outside of the table. So, I want to be able to save the change of the final
>> user.
>>
>> I want to do something like that:
>> If the button is cliked:
>> int i=0;
>> int j=0;
>> while(i> while(j> *myList = table.getCellText(i,j) ??? ( I don't know how to do that )** *
>> j=j+1;
>> }
>> i=i+1;
>> j=0;
>> }
>>
>> I don't know how to get a cell individually...
>>
>> Can you help me?
>>
>> Thanks.
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




Re: GWT project with maven

2013-05-22 Thread kim young ill
cannot believe you know know this yet:

https://github.com/tbroyer/gwt-maven-archetypes


On Thu, May 23, 2013 at 5:36 AM, Navin Surtani wrote:

> Take a look here for source code for the basic HelloWorld example:
>
> https://github.com/steinsag/gwt-maven-example
>
> I used that as an example to follow while building my application.
>
>
> On Thursday, May 23, 2013 7:32:35 AM UTC+8, Srinivasa Rao wrote:
>>
>> Hi , I am looking for the GWT project with the maven setup.
>>
>>  Can you please provide me the link for  the sample project ?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




vanilla-gwt with errai

2013-05-11 Thread kim young ill
hi there, anyone out there has any experience using vanilla gwt with errai
? there're some cool things from errai (event-bus, server-push) i want to
use, but i dont want to rewrite the existing-app to use errai, especially
gin/guice (i'm using mainly request-factory with guice/gin,
place/activities & editor). i look thru the docs of errai & it looks like
you're tied to the container injection framework of errai.

thanx

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




Re: Slider for GWT?

2013-05-05 Thread kim young ill
this could help

http://turbomanage.wordpress.com/2011/03/23/a-partially-updated-sliderbar-for-gwt-2-2/


On Sun, May 5, 2013 at 8:05 PM, Jens  wrote:

> GWT doesn't have a slider widget but there are some 3rd party libraries
> that provide them.
>
> -- J.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




Re: Problem With GWT 2.5.1 and Postgres 9.2. JDBC Driver

2013-04-24 Thread kim young ill
are you using app-engine ? it doesnt support everything your normal jdk
would do (e.g no network connection), that's why your db-connection fails.
try without app-engine


On Sat, Apr 20, 2013 at 11:00 AM,  wrote:

> Hello,
>
> I try to set up a small GWT application which should do a simple SQL query
> to Postgres SQL 9.2. Tests are based on
> GWT demo GreetingService. Server side greeting service has now following
> constructor:
>
> public GreetingServiceImpl() {
> System.out.println("Konstruktor");
> try {
>
> Class.forName("org.postgresql.Driver");
>
> } catch (ClassNotFoundException e) {
>
> System.out.println("Where is your PostgreSQL JDBC Driver? "
> + "Include in your library path!");
> e.printStackTrace();
> return;
>
> }
> try {
> connection = DriverManager.getConnection("jdbc:postgresql://
> 192.168.42.42:5432/eclipse","eclipse", "***");
> } catch (SQLException e) {
> e.printStackTrace();
> System.out.println("Verbindung zur Datenbank ist
> fehlgeschlagen");
> }
> }
>
> This ends up with following exception:
>
> INFO: Dev App Server is now running
> Konstruktor
> org.postgresql.util.PSQLException: Der Verbindungsversuch schlug fehl.
> at
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:225)
> at
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
> at
> org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136)
> at
> org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29)
> at
> org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21)
> at
> org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31)
> at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)
> at org.postgresql.Driver.makeConnection(Driver.java:393)
> at org.postgresql.Driver.connect(Driver.java:267)
> at java.sql.DriverManager.getConnection(DriverManager.java:579)
> at java.sql.DriverManager.getConnection(DriverManager.java:221)
> at
> li.ip6.server.GreetingServiceImpl.(GreetingServiceImpl.java:37)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> at java.lang.Class.newInstance0(Class.java:374)
> at java.lang.Class.newInstance(Class.java:327)
> at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
> at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
> at
> org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> at
> com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.DevAppServerServersFilter.doDirectRequest(DevAppServerServersFilter.java:369)
> at
> com.google.appengine.tools.development.DevAppServerServersFilter.doDirectServerRequest(DevAppServerServersFilter.java:352)
> at
> com.google.appengine.tools.development.DevAppServerServersFilter.doFilter(DevAppServerServersFilter.java:115)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.j

Re: Joda Time Jodatime in GWT server

2013-04-16 Thread kim young ill
dont think so, u need to check if the jar is copied into WEB-INF/lib of
your webapp.


On Mon, Apr 15, 2013 at 11:36 PM, Steve Morgan wrote:

> I'm using Jodatime in my GWT application, server only. I'm getting a
> runtime message:  java.lang.ClassNotFoundException:
> org.joda.time.ReadableInstant. I have included Jodatime 1.6.2 in my project
> build path. Do I need to add an  it is something extremely simple, I just haven't found it.
> Thanks,
> Steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




gin field injection

2013-04-01 Thread kim young ill
hi there,
i got into an issue with gin, like this:

bind(MyMessages.class)in(SingleTon.class)

interface MyMessages extends Messages{
String txt1();
}


@ImlementsBy(MyWidgetImpl.class)
interface MyWidget {
}

@Singleton
class MyWigetIml implements MyWiget{
@Inject MyMesages msg

public MyWidgetIml(){
//bindUI...
msg.txt1();
}
}

msg.txt1() always throws NPE.
bind with EagerSingleton doesnt help either.


a quick fix would be injecting MyMessages into the constructors, but if i
have a tons of widgets which use MyMessages ( and probably other resources
like Images), that'd be many repeated/boilerplate-codes.

is there a a better way to do this ?

thanx alot

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




Re: Eclipse Plugin and SSL/TLS with the internal server

2013-01-10 Thread kim young ill
are u sure the wireshark catch the right channel/device ?
try with openssl to localhost to see if the connection is ssl or not

sth like:
openssl s_client -connect host:port

hth


On Thu, Jan 10, 2013 at 5:24 PM, Thomas Broyer  wrote:

>
>
> On Thursday, January 10, 2013 4:59:47 PM UTC+1, Mike wrote:
>>
>> I used wireshark to examine the packets.  All the packet exchanges were
>> TCP and the payloads  were clearly readable.  There was not handshake and
>> no encrypted packets.
>>
>
> I'd swear it worked OK for me (used tcmdump and wireshark); and if your
> browser tells you it's over HTTPS (even with a weak certificate), then I
> wouldn't contradict it.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/lqut1PoPgIEJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: client-side validation with request factory

2012-12-21 Thread kim young ill
thanx, is there a list somewhere about (un)supported annotations ? i just
figured out @size(min=, max=)  doesnt seem to work either, if at the end u
have to mix to much custom-validation code with validation-api, i'd better
not using it


thanx


On Thu, Dec 20, 2012 at 6:29 PM, ashwin.desi...@gmail.com <
ashwin.desi...@gmail.com> wrote:

> not all validations are supported. email is one among them, but you can
> achieve email validation using regex pattern
>
> example:
>
> static String ATOM = "[a-z0-9!#$%&'*+/=?^_`{|}~-]";
>  static String DOMAIN = "(" + ATOM + "+(\\." + ATOM + "+)*";
> static String IP_DOMAIN =
> "\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\]";
>
> @Pattern(regexp="^" + ATOM + "+(\\." + ATOM + "+)*@"
> + DOMAIN
> + "|"
>  + IP_DOMAIN
> + ")$",
> flags={Pattern.Flag.CASE_INSENSITIVE},
>  message="Please provide a valid eMail id")
> @NotEmpty(message="Email is required")
>  abstract String getEmail();
> abstract void setEmail(String email);
>
> ~Ashwin
>
>
> On Thu, Dec 20, 2012 at 6:39 PM, kim young ill wrote:
>
>> well, it tooks me a while to realize that @Email doesnt work at all,
>> allways give me Violation
>>
>>
>> On Thu, Dec 20, 2012 at 11:37 AM, kim young ill wrote:
>>
>>> thanx,
>>> that works
>>>
>>>
>>>
>>>
>>> On Thu, Dec 20, 2012 at 4:28 AM, ashwin.desi...@gmail.com <
>>> ashwin.desi...@gmail.com> wrote:
>>>
>>>> all the validations you put on the pojo's can be applied on the
>>>> proxies.
>>>>
>>>> example:
>>>>
>>>> let's say you have a pojo named guest
>>>>
>>>> Guest {
>>>>
>>>> @NotNull
>>>> String name;
>>>>
>>>> }
>>>>
>>>> now the same validation you will have to apply on your proxy as well
>>>>
>>>> GuestProxy {
>>>>
>>>> @NotNull
>>>> String getName();
>>>> SetName(String name);
>>>>
>>>> }
>>>>
>>>> As defined in the sample, create a validatorFactory. Instead of
>>>> assigning the pojo.class use the pojoProxy.class to @GwtValidation
>>>> Annotation.
>>>>
>>>> regards
>>>> Ashwin
>>>>
>>>>
>>>> On Wed, Dec 19, 2012 at 1:55 PM, kim young ill 
>>>> wrote:
>>>>
>>>>> Hi there,
>>>>> how can i use client-side validation with rf ?
>>>>> in the sample project of gwt-2.5, the client-pojos are annotated
>>>>> directly, but what about proxies ?
>>>>>
>>>>> thanx
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Web Toolkit" group.
>>>>> To post to this group, send email to
>>>>> google-web-toolkit@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-toolkit@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
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: client-side validation with request factory

2012-12-20 Thread kim young ill
well, it tooks me a while to realize that @Email doesnt work at all,
allways give me Violation


On Thu, Dec 20, 2012 at 11:37 AM, kim young ill wrote:

> thanx,
> that works
>
>
>
>
> On Thu, Dec 20, 2012 at 4:28 AM, ashwin.desi...@gmail.com <
> ashwin.desi...@gmail.com> wrote:
>
>> all the validations you put on the pojo's can be applied on the proxies.
>>
>> example:
>>
>> let's say you have a pojo named guest
>>
>> Guest {
>>
>> @NotNull
>> String name;
>>
>> }
>>
>> now the same validation you will have to apply on your proxy as well
>>
>> GuestProxy {
>>
>> @NotNull
>> String getName();
>> SetName(String name);
>>
>> }
>>
>> As defined in the sample, create a validatorFactory. Instead of assigning
>> the pojo.class use the pojoProxy.class to @GwtValidation Annotation.
>>
>> regards
>> Ashwin
>>
>>
>> On Wed, Dec 19, 2012 at 1:55 PM, kim young ill wrote:
>>
>>> Hi there,
>>> how can i use client-side validation with rf ?
>>> in the sample project of gwt-2.5, the client-pojos are annotated
>>> directly, but what about proxies ?
>>>
>>> thanx
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>

-- 
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: client-side validation with request factory

2012-12-20 Thread kim young ill
thanx,
that works




On Thu, Dec 20, 2012 at 4:28 AM, ashwin.desi...@gmail.com <
ashwin.desi...@gmail.com> wrote:

> all the validations you put on the pojo's can be applied on the proxies.
>
> example:
>
> let's say you have a pojo named guest
>
> Guest {
>
> @NotNull
> String name;
>
> }
>
> now the same validation you will have to apply on your proxy as well
>
> GuestProxy {
>
> @NotNull
> String getName();
> SetName(String name);
>
> }
>
> As defined in the sample, create a validatorFactory. Instead of assigning
> the pojo.class use the pojoProxy.class to @GwtValidation Annotation.
>
> regards
> Ashwin
>
>
> On Wed, Dec 19, 2012 at 1:55 PM, kim young ill wrote:
>
>> Hi there,
>> how can i use client-side validation with rf ?
>> in the sample project of gwt-2.5, the client-pojos are annotated
>> directly, but what about proxies ?
>>
>> thanx
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



client-side validation with request factory

2012-12-19 Thread kim young ill
Hi there,
how can i use client-side validation with rf ?
in the sample project of gwt-2.5, the client-pojos are annotated directly,
but what about proxies ?

thanx

-- 
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-maven-archetypes with multiple client modules

2012-12-07 Thread kim young ill
Hi there, i start using this for gwt-modular webapp, quite great, but now i
put a second gwt-module in the client package, how to configure the pom
file so that both are avail. in -Ddev ?

thanx

-- 
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: Scary: GWT Team does not fix serious GWT Compiler Bugs

2012-10-02 Thread kim young ill
+1 too

On Tue, Oct 2, 2012 at 7:24 PM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> +1 too
>
>
> 2012/10/2 Jeff Chimene 
>
>> +1 on Manolo's point.
>>
>> However, in the interests of debugging: what happens if you use the boxed
>> version of boolean?
>>
>>
>> On Tue, Oct 2, 2012 at 11:45 AM, Manuel Carrasco Moñino <
>> man...@apache.org> wrote:
>>
>>> I think it is a good idea to get rid of methods which always return
>>> true/false/true because it saves a lot of code in the final js, and it
>>> gives the option to the developer to remove code programatically.
>>>
>>> In my opinion the example you show and the examples in the issue page
>>> are not examples of good codding, but maybe there are edge cases where it
>>> could make sense.
>>>
>>> I trust in the compiler and I have several projects in production and
>>> never I faced this problem, so IMHO knowing a couple of good practices to
>>> follow with gwt  should be enough.
>>>
>>> Anyway, in the case it were difficult to fix, I think the compiler
>>> should be more verbose and fail with methods which have any line apart from
>>> the return true one,
>>>
>>> - Manolo
>>>
>>>
>>> On Fri, Sep 28, 2012 at 2:24 PM, Marc2000 wrote:
>>>
 Hallo,

 After finishing development on my GWT (2.4) project, I found out, that
 the compiled version does not work exactly as in the development mode.

 Some method ( isValid() ) seems not to be called.

 Calling code (simplified):

 boolean valid=true;
 if(! mypanel.isValid())
valid=false;

 method:

 public boolean isValid()
 {
 updateSomeData();
 return true;
 }

 This works well in development mode, but in compiled code, isValid()
 was never called. From this point things got strange. I've added a
 log-command to the method:

 public boolean isValid()
 {
 updateSomeData();
 logger.info("method called");
 return true;
 }

 The method was called and the log entry written.

 I removed the log entry and changed the calling part to:

 boolean valid=true;
 boolean x=mypanel.isValid();
 if(!x)
valid=false;

 Now again the method was called. This seems to be some problem in the
 compiler optimizer. After switching off the optimizer, the compiled code
 did work as expected.

 After searching the web, I found an issue report, DESCRIBING THE EXACT
 SAME PROBLEM !

 See: http://code.google.com/p/google-web-toolkit/issues/detail?id=6551

 So this is a know issue since over a year and present since GWT 2.3 !!!

 I have not problem with bugs, but I can't understand, why no one seems
 to care. Can there be something more serious, than a compiler-bug ?

 If you search the database, there are some compiler / optimizer issues,
 that seem not to have been fixed.

 Example:

 http://code.google.com/p/google-web-toolkit/issues/detail?id=5739

 This is scary ! If you can't trust the compiler, you'll never know, if
 your code works in production as I did under development. Adding / removing
 a single line may change the whole behavior. Testing will become a
 nightmare !

 Some one should care.

 regards

 Marc




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

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

Re: SuperDevMode Compiler Options

2012-08-23 Thread kim young ill
does someone know if the issue with old jsp-compiler (which doesnt support
generics...) is resolved ?

thanx

On Thu, Aug 23, 2012 at 7:34 AM, Brian Slesinsky wrote:

>
>
> On Tuesday, August 21, 2012 1:25:43 AM UTC-7, Thomas Broyer wrote:
>>
>>
>>
>> On Monday, August 20, 2012 3:35:06 PM UTC+2, Oliver Krylow wrote:
>>>
>>> Hi!
>>>
>>> Is there a way to pass arguments to the compiler the CodeServer uses?
>>>
>> No.
>>
>
> Well, actually you could provided that you're willing to edit some source
> code and rebuild gwt-codeserver.jar from source. Here is the relevant file:
>
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/codeserver/java/com/google/gwt/dev/codeserver/CompilerOptionsImpl.java
>
> It shouldn't be too hard to write a patch to expose some flags. I started
> out with a minimal set of flags, not knowing which flags people would want
> and wanting to keep things simple.
>
>
>>
>>
>>> I am interested in passing the "-strict" flag for example.
>>>
>> Please file an issue. There could also be a -logLevel argument (and a
>> better UI, possibly integrated with the GPE, among other improvements)
>>
>
> I'm unlikely to get to it soon, but I think it would be nice to expose the
> ability to change compiler options from within the browser before doing a
> recompile.
>
> - Brian
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/LUuVUce3lCoJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: DevMode for Firefox 14

2012-07-24 Thread kim young ill
thanx Alan for the efforts. it was a great help.


On Tue, Jul 24, 2012 at 8:21 AM, Frank Hossfeld wrote:

> Fantastic! Thank you!
>
> Am Dienstag, 24. Juli 2012 07:49:30 UTC+2 schrieb Alan Leung:
>
>> Last but not least, 
>> http://acleung.com/ff14-mac.**xpi
>>
>> Have fun!
>>
>> -Alan
>>
>>
>> On Mon, Jul 23, 2012 at 11:42 AM, Jens  wrote:
>>
>>> ALL: Please star this issue:

 https://code.google.com/p/**chro**mium/issues/detail?id=**138557&**
 thanks=138557&ts=**1343057729

 it might help to have better support for GWT devmode development (GWT
 plugin) for Chrome, and we can forget about firefox.

>>>
>>> You better take a look at: http://code.google.com/p/**
>>> google-web-toolkit/issues/**detail?id=4493#c24and
>>>  the two referenced chromium issues. It seems like that the chromium
>>> issues do not have a high priority since NPAPI may become obsolete in the
>>> future in favor of PPAPI.
>>>
>>> Its well known that the Chrome Dev Mode plugin is slower compared to
>>> Firefox because it has to work around mentioned chromium issues.
>>>
>>> -- J.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/google-web-toolkit/-/x_**LiifvyZoUJ
>>> .
>>>
>>> To post to this group, send email to google-web-toolkit@**
>>> googlegroups.com .
>>> To unsubscribe from this group, send email to google-web-toolkit+**
>>> unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at http://groups.google.com/**
>>> group/google-web-toolkit?hl=en
>>> **.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/pOMiZj5iAD8J.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: RequestBuilder and Browser same-origin-policy

2012-07-17 Thread kim young ill
catch the request at your server code (either servlets or rpc-impl, make
httpurlconnection to remote host & post the params with it. get result &
write back to your client

On Tue, Jul 17, 2012 at 11:06 AM, Deepak Singh wrote:

> So how can i create such GWT 'Proxy' ?
>
>
> On Tue, Jul 17, 2012 at 3:25 AM, Jens  wrote:
>
>> Creating a GWT "proxy" service that is accessible under your domain is
>> probably the best you can do. So you would post to your own server and then
>> make a call from your server JVM to the 3rd party server.
>>
>> -- J.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-web-toolkit/-/xEUdXRO3TsoJ.
>>
>> 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.
>>
>
>
>
> --
> Deepak Singh
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: RequestBuilder and Browser same-origin-policy

2012-07-16 Thread kim young ill
hmm, not sure if i understand u correctly:

"make a POST request to 3rd party originating from my own server" .

u just need to make a http request to the target host with required params
, i asume you do it from server  with jdk, so no dom/js is required, that
also means no refresh...

hth



On Mon, Jul 16, 2012 at 9:30 PM, Deepak Singh wrote:

> Does anyone of them allow form submission with POST method and get the
> response without page refresh ?
>
> Thanks
> Deepak
>
>
> On Tue, Jul 17, 2012 at 12:44 AM, kim young ill wrote:
>
>> you can have a look at apache http-client or if it's simple, just the
>> built-in httpurlConnection of the jdk
>>
>> hth
>>
>> On Mon, Jul 16, 2012 at 7:28 PM, Deepak Singh 
>> wrote:
>>
>>>
>>> Hi All,
>>>
>>> I have a situation as follows,
>>>
>>> Environment:  GWT 2.5 , GAE 1.7
>>>
>>> I have to make a POST request to 3rd part server which in turn returns
>>> XML.
>>> I am doing this with  RequestBuilder but it does not work and return
>>> status code 0 and responseText as blank on firefox and fails with an error
>>> because of browser same-origin-policy  on IE.
>>>
>>> I understand that this is the browser SOP issue.
>>>
>>> So How do i overcome this situation ?
>>>
>>> I thought to make a RPC call to my own server and then connect with 3rd
>>> party server but how it is possible to make a POST request to 3rd party
>>> originating from my own server ?
>>>
>>>
>>> Help appreciated.
>>>
>>>
>>>
>>> Thanks in advance
>>> Deepak Singh
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> Deepak Singh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: RequestBuilder and Browser same-origin-policy

2012-07-16 Thread kim young ill
you can have a look at apache http-client or if it's simple, just the
built-in httpurlConnection of the jdk

hth

On Mon, Jul 16, 2012 at 7:28 PM, Deepak Singh wrote:

>
> Hi All,
>
> I have a situation as follows,
>
> Environment:  GWT 2.5 , GAE 1.7
>
> I have to make a POST request to 3rd part server which in turn returns XML.
> I am doing this with  RequestBuilder but it does not work and return
> status code 0 and responseText as blank on firefox and fails with an error
> because of browser same-origin-policy  on IE.
>
> I understand that this is the browser SOP issue.
>
> So How do i overcome this situation ?
>
> I thought to make a RPC call to my own server and then connect with 3rd
> party server but how it is possible to make a POST request to 3rd party
> originating from my own server ?
>
>
> Help appreciated.
>
>
>
> Thanks in advance
> Deepak Singh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: GWT cross-site request without JSNI..?

2012-06-18 Thread kim young ill
thanx

On Mon, Jun 18, 2012 at 11:14 PM, Jens  wrote:

> is the request done by post or get ?
>>
>
> JSONP is always a GET request.
>
> -- J.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/8-8M9x-umF4J.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: GWT cross-site request without JSNI..?

2012-06-18 Thread kim young ill
is the request done by post or get ?

On Mon, Jun 18, 2012 at 9:54 PM, Jens  wrote:

> Sure you can do the same thing with JsonpRequestBuilder (
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
> ).
>
> -- J.
>
> Am Montag, 18. Juni 2012 20:11:53 UTC+2 schrieb Carsten:
>
>> Hi,
>>
>> is it possible to do a cross-site request with very little JSNI or none
>> at all?
>>
>> I am a beginner and followed this tutorial:
>> https://developers.google.com/**web-toolkit/doc/latest/**tutorial/Xsite
>> Is it possible to do the same without ever writing native JS code?
>>
>> Cheers,
>> Carsten
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/qjcZPl2Wq6sJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Celltable performance issue

2012-06-05 Thread kim young ill
check out the showcase & this:

https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellWidgets#data-provider



On Mon, Jun 4, 2012 at 1:23 PM, lucky  wrote:

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

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



Re: GWT and HttpServletResponse

2012-05-29 Thread kim young ill
On Tue, May 29, 2012 at 11:46 AM, Akis  wrote:

> The generated file has to be automatically downloaded on button
> pressing. Maybe, in future, the generated file could also be a zip
> file, containing several resources generated from input client-side
> data, so it could also be a large file
>

i think the most suitable solution is using a formpanel as thomas said, so
u can stream the back the data to client right away  from your servlet




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

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



Re: SessionHandling in RequestFactory

2012-05-28 Thread kim young ill
i think you can just call the localthread request/response to get the
corresponding (servlet) request/response & can work with it as u always do
with servlet/jsp

hth

On Mon, May 28, 2012 at 5:09 PM, Thomas Broyer  wrote:

>
>
> On Monday, May 28, 2012 5:02:15 PM UTC+2, lucky wrote:
>>
>>
>>
>>
>> Can somebody show me a simple example about session handling with GWT
>> RequestFactory?
>>
>
> It would greatly help if you explained what you mean by "session
> handling".
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/W9Si9k8FTDsJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: GWT and HttpServletResponse

2012-05-28 Thread kim young ill
you can generate some metadata on serverside & send back to client (via
rpc) &  let client generate the path to your file & then either redirect
(with Window.assign(url) or let user click to the generated link to get the
file.
i dont think you can get binary input stream from client to get the file
directly with rpc

hth

On Mon, May 28, 2012 at 5:26 PM, Akis  wrote:

> Hi guys. I've got a question for you:
>
> i need to create a web app which, starting from an input string given
> by the user through the browser, generates a file that has to be
> downloaded by the user self.
>
> My approach would  be the following: the input string is sent by a RPC
> to a server-side class that creates the file from the given string,
> and then the file is sent to the client-side, ready to be downloaded.
>
> Now, in "classic servlet way", i would use a HttpServetResponse to set
> the header, the content type, and attach the file... how can i do this
> with GWT?
>
> Thank you mates!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: How to access a GWT Servlet from a C# application?

2012-05-23 Thread kim young ill
make a http-request to the right url/path.
at http level it doesnt make matter if u're using servlet or php or whatever



On Mon, May 21, 2012 at 7:08 PM, Clemens Bartz wrote:

> Hy,
>
> I am trying to access a GWT Servlet from a C# application. How do I do
> that?
> To explain it with the Sample Code: If I send "Test" to the server I
> would like to get back "Hello Test!".
>
> Regards,
> Clemens
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: How to get connected client count ?

2012-05-16 Thread kim young ill
normally it's the container (webserver) who can handle this.
also depends how you define "connect" ( socket connection or openning http
session)

hth

On Wed, May 16, 2012 at 8:16 PM, nofear  wrote:

> Hello guys,
>
> I have a simple question and i couldn't find the answer yet,
>
> - I'm developing an exam project with GWT , and how can i get the
> current client number which is connected to my system ? For example,
> students will connect to the web site and i have to calculate the
> connected client number.
> Is there a method or a way to do this ?
>
> 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.
>
>

-- 
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: Novice GWT question: Parallel Post Requests

2012-04-25 Thread kim young ill
On Mon, Apr 23, 2012 at 11:20 PM, LogicalGoetz wrote:

> This may be a terribly novice question, but for each POST performed
> by, say, a FormPanel, is there a subsequent HttpResponse generated by
> the Servlet?
>
> Obviously in standard situations this will play out as follows:
> -client makes a POST request
> -servlet handles the request
> -servlet sends POST response
> -client receives response
>
> However, the situation I'm curious about is when something like this
> occurs:
> -client makes a POST request
> -servlet handles the request
> -client makes a POST request (this occurs a few times possibly)
> -servlet handles these requests
> -servlet generates responses
> -client receives a series of responses (no guarantee on order)
>
> From my current testing, it seems that if I have a FormPanel make
> multiple POST requests while the servlet processes the requests, only
> the first will ever generate a response.


AFAICT, if u have a (html) form (which wrapped by a formpanel), this will
be posted only once to server , for which u'll get a response, this form in
this case will not be available for u anymore on the client side to do a
re-post.

or did i misunderstanding when u says "a FormPanel make
multiple POST requests " ?





>  Is this the nature of Java
> servlets, my client application (firefox), the http specification, or
> possibly a coding blunder on my part?
>
> Thank you in advance for any information,
> 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.
>
>

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



drag/drop/re-ordering of rows inside celltable/datagrid

2012-04-25 Thread kim young ill
hi,
has someone tried to do this ?
how to keep the data-provider stays in sync ?
would be great for some hints

thanx

-- 
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: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-18 Thread kim young ill
+1

no feedback from googlers ??? look like people who bet on GWT is out of
luck now.
i start getting nervous right now



On Wed, Apr 18, 2012 at 6:52 PM, Mike Dee  wrote:

> Google needs to step up to the plate.  If you want to be the caretaker for
> GWT and you want me (and other developers to use it), I need to know what
> you have planned.  While I'm working on one GWT project now, I will not use
> it on others until I know what is planned.  I need to know what support
> there will be for future browsers, the plugin, and Designer.  Informal
> announcement from Google employees are not good enough.  I also noticed no
> sessions on GWT at Google IO this year.
>
> Minimally, I'd like to see a commitment like GAE.  Google has agreed to
> support GAE for three years beyond killing it (should it do so).  Ideally,
> I'd like to see at least two years of roadmap.
>
> Mike
>
>
> On Monday, April 2, 2012 8:19:16 AM UTC-7, Joshua Kappon wrote:
>>
>> With the rise of the new developers.google.com, and with Google trying
>> to rally up developers using Google technologies and products, and the rise
>> of Dart and unclear future of GWT, I think it's about time that Google will
>> rethink the all "We don't and won't have a road map, and there are no
>> release dates for new GWT versions" and embrace the GWT developers
>> community.
>>
>> What do you guys think? (if you agree, +1 this)
>>
>> Best,
>> Josh
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/M8iedHJtDncJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Debugging with Xcode

2012-03-21 Thread kim young ill
xcode with for java/gwt ??? it'd be much (IMHO) easier for you to switch to
eclipse/netbeans/  .


On Wed, Mar 21, 2012 at 11:41 AM, Olivier Scherler
wrote:

> Hello,
>
> Has anyone ever been able to run a GWT project in devmode using Xcode on
> the Mac and use the debugger? Maybe using Xcode 3 instead of 4? That would
> really handy.
>
> Cheers,
> Olivier
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: ff11 gwt dev plugin

2012-03-21 Thread kim young ill
thanx alot

On Tue, Mar 20, 2012 at 5:38 PM, Trevor Skaife  wrote:

> Thanks a lot, it's now working on my mac.
>
> -Trevor
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/WbMUOCB6mL4J.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: GWT FileUpload - Servlet options and handling response

2012-03-20 Thread kim young ill
On Fri, Mar 16, 2012 at 10:27 PM, Ashish  wrote:

> I am new to GWT and am trying to implement a file upload
> functionality. Found some implementation help over the internet and
> used that as reference. But have some questions related to that:
>
> The actual upload or writing the contents of file on server(or disk)
> will be done by a servlet. Is it necessary that this servlet (say
> MyFileUploadServlet) extends HttpServlet? OR
> I can use RemoteServiceServlet or any other servlet or implement any
> other interface? If yes, which method do I need to implement/override?
>
> In my servlet, after everything is done, I need to return back the
> response back to the client. I think form.addSubmitCompleteHandler()
> can be used to achieve that. From servlet, I could return text/html
> (or String type object) and then use SubmitCompleteEvent.getResults()
> to get the result.
> Question is that can I use my custom object instead of String (lets
> say MyFileUploadResult), populate the results in it and then pass it
> back to client? or can I get back JSON object?
>
> Currently, after getting back the response and using
> SubmitCompleteEvent.getResults(), I am getting some HTML tags added to
> the actual response such as :
>
> pre> Image upload successfully /pre> .
>
> Is there a way to get rid of that?
>


yes, set response-type to text/html would help



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

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



Re: fileupload in gwt

2012-03-10 Thread kim young ill
thanx, i'll try it out. that's weird thou since its not documented anywhere.



On Sat, Mar 10, 2012 at 11:31 PM, Brandon Donnelson  wrote:

> I've found can trick the formpanel self target by setting the target to
> null. If you wanted to post and redirect to servlet this is how I'd do it.
> I've also sharded data and uploaded it over rpc using the file reader, but
> this api is still limited.
>
> FormPanel form = new FormPanel((String) null); // (String) null gets rid 
> of self target
> form.setAction(action);
> form.setMethod(FormPanel.METHOD_POST);
>
>
> Brandon
> http://c.gwt-examples.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/XWLVuEEp2lEJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: fileupload in gwt

2012-03-08 Thread kim young ill
anyone know how to handle a cancel-upload case ?
i guess if the client just cut the line. server will get IOException & can
handle that. what about clientside with FileUpload widget (or i guess
Formpanel should do sth here )?

thanx


On Wed, Feb 15, 2012 at 5:56 AM, Amith K Bharathan <
amithkbharat...@gmail.com> wrote:

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

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



Re: Uploading a file >1MB

2012-03-08 Thread kim young ill
need to be more specific what your BlobstoreService is doing/used library


On Wed, Mar 7, 2012 at 4:01 PM, learning coding  wrote:

> Hi all ,
>
> I have to make webapplication using java,
> I have to upload a file which is bigger then 1MB .
> Actually i need the contentStream of the file and the value of the
> textBox which is on the FormPanel ,on the myProject.server side .
>
> The file can be of .txt and .doc type.
>
> Somebody suggested me to use BolbStore.
>
>
> My Code :
>
> Code
>  client
>  // Get The URL
>  public void onClick(ClickEvent event) {
>  System.out.println("blob" +blobServices);
>blobServices
>.getBlobStoreUploadUrl(callback) ;
>  }
>});
>
> //
> ..Some more code
>
> public void onSubmitComplete(SubmitCompleteEvent event) {
>
>  Window.alert(event.getResults());
>  }
>
>});
>
> The above RPC call is working fine i am able get the URL.
> Now i have to use this URL with servlet which is used to upload a
> file.
>
>   AsyncCallback callback = new AsyncCallback() {
>
>public void onFailure(Throwable caught) {
>// TODO Auto-generated method stub
>caught.printStackTrace();
>}
>
>public void onSuccess(Object result) {
>String tmp = result.toString();
>uploadForm.setAction(tmp);
>
>// Submit the form to complete the upload
>uploadForm.submit();
>uploadForm.reset();
>}
>};
>
> On server Side
>
> public class UploadServiceImpl extends HttpServlet {
>
>   BlobstoreService blobstoreService =
> BlobstoreServiceFactory.getBlobstoreService();
>
> public void doPost(HttpServletRequest req, HttpServletResponse
> res)
>  throws ServletException, IOException {
>
>Map blobs =
> blobstoreService.getUploadedBlobs(req);
>BlobKey blobKey = blobs.get("upload");
>
>if(blobKey == null){
>res.sendRedirect("/");
>}else{
>res.sendRedirect("/serve?blob-key="
> +blobKey.getKeyString());
>}
>  }
>
> }
>
> With this Code I am able to view only the .txt file on
> Window.alert(event.getResults());
> and also the size of .txt file is greater then 2 MB.
>
> But when i submit the xyz.doc file it gives option to save file and
> also the name of the file xyz.doc is changed to serve.doc
> the size of the file is 130 KB.
>
> Plz tell me what to do. file can be of type .txt or .doc with size
> greater then 1 MB.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: fileupload in gwt

2012-02-14 Thread kim young ill
ahh,
thanx, i'll have a look.

On Tue, Feb 14, 2012 at 11:29 AM, Thomas Broyer  wrote:

> FormPanel defaults to submitting to an hidden iframe; couple that with a
> FileUpload widget and you're done.
> Have a look at the GWTUploader project too.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Qal0aW3JnE8J.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



fileupload in gwt

2012-02-14 Thread kim young ill
hi there
what's the best approach to handle a simple fileupload in gwt ?
normally it would be a normal POST with File-Field, problem is that a post
to a servlet will make the page "refresh", that means user will be redirect
from current page. is there a lightweight-approach which doesnt require
this ? possibly an iframe which contains the form ?

thanx

-- 
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 add a link (anchor) to a CellTable?

2012-01-28 Thread kim young ill
check out the gwt-showcase for some examples.

On Sat, Jan 28, 2012 at 4:37 PM, Andrea Boscolo  wrote:

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

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



Re: How to add a link (anchor) to a CellTable?

2012-01-28 Thread kim young ill
write your own cell & override method render

hth

On Sat, Jan 28, 2012 at 1:46 PM, Magnus wrote:

> Hi,
>
> can I add an anchor object to a cell table?
>
> I just found "TextColumn" as the only reasonable subclass of Column:
>
> TextColumn col_myCol = new TextColumn()
>
> But I need a type where I can insert an anchor...
>
> And hints?
>
> Thanks
> Magnus
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Qr-Yxkc3S88J.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: CappuccinoGWT

2012-01-27 Thread kim young ill
looks very promising.
nice work.

On Fri, Jan 27, 2012 at 11:25 PM, Alain Ekambi
wrote:

> Good wor is always welcome.
> Keep it up :)
>
>
> 2012/1/27 cbruno 
>
>> GWT users,
>>
>> Ive launched a repository for a GWT UI framework im building, called
>> CappuccinoGWT:
>>
>> https://bitbucket.org/clbruno/cappuccinogwt
>>
>> It does not use the standard GWT widgets, just the compiler and the
>> clientbundle tools to create efficient javascript output. Like
>> Cappuccino, CappuccinoGWT is inspired by Cocoa and uses the Aristo
>> theme as default. Source code examples will be posted soon.
>>
>> Please let me know if you think this is interesting/somthing you would
>> consider using. It helps keep me motivated.
>>
>> Thanks
>>
>> Chris Bruno
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
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: Displaying PDF BLOB in new window - GWT

2012-01-25 Thread kim young ill
i would just use a Servlet/jsp at backend to read pdf-blob push the the
file back ( set the content-type header correctly ) so the browser can
decide to show it with pdf-viewer-plugin or save it to users file system

hth


On Wed, Jan 25, 2012 at 7:52 PM, Joshua Carey  wrote:

> Hi everyone,
>
> I currently am getting a BLOB from oracle and displaying it in a new
> window.  To accomplish this, I am reading the blob into a byte array, then
> writing the BYTE array out to the file si ystem as pdf.  I then use
> "Window.open("URL to PDF on filesystem").  The problem is that I am writing
> all these blobs as PDF to the filesystem before being able to use the
> Window.open command in my GWT application.  How can I use
> Window.open("using the byte array") instead of having to write the PDF to
> the file system?  This would greatly help me and any help is appreciated.
>  I am calling the Window.open from within my "Presenter" class.  Just for
> your information.  Thank you very much.
>
> Joshua
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/R6jKcLzu6M4J.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Session management in GWT

2011-12-14 Thread kim young ill
no, this.getThreadLocalRequest().getSession() will create one if it doesnt
exist yet. once created, u'll get the same session. if the request has a
valid cookie which corresponds to a existed session, there'll no new
session created.

hth

but if u call it at different place , due to threading, u'll prob. get
different result. so call it once at the method which is also declared at
rpc-client-interface & passe it around for your request scope.

On Wed, Dec 14, 2011 at 4:15 PM, Appien  wrote:

> Hi,
>
> i've several call to getsession in the implementaiton of
> getcredentials. Does this mean the application creates a new session
> everytime i do this call? find below my code of getcredentials. I've
> changed the code so everytime a method of a servlet gets first the
> session by using: HttpSession session =
> this.getThreadLocalRequest().getSession();
>
>
>HttpSession session = this.getThreadLocalRequest().getSession();
>log.info("Invoking SecurityService");
>final HashMap returnedValues = new
> HashMap String>();
>
>clearLoginVariables(session);
>
>BigInteger XXXNummer = null;
>// Check if a valid parameter is given
>if (null != loginKey) {
>loginKey = loginKey.toLowerCase();
>final IsValidKey loginWaarden =
> getLoginValues(loginKey);
>
>if (null != loginWaarden) {
>
>XXXNummer = loginWaarden.getXXXNummer();
>if (XXXNumber != null) {
>
>  returnedValues.put(EfConstants.GAUSER, "" +
> loginWaarden.getXXXNumber());
>} else {
>log.warn("XXX Number not found for
> loginkey :" + loginKey);
>}
>if (null !=
> loginWaarden.getAbonnmentscode()) {
>
>  returnedValues.put(EfConstants.GAROLE,
> loginWaarden.getAbonnmentscode());
>} else {
>log.warn("XXX Role not found for
> loginkey :" + loginKey);
>}
>
>} else {
>log.warn("LoginService did not return a
> valid result for key: " +
> loginKey);
>}
>// IF no parameter is in the url get the xx
> variable and
>} else {
>
>String XXXNumberString = getXXXNumber(session);
>if (XXXNumberString != null) {
>XXXNumber = new BigInteger(XXXNumberString);
>returnedValues.put(EfConstants.,
> XXXNumber.toString());
>} else {
>log.warn("XXX Number not found by getting
> headers :" + loginKey);
>}
>if (getXXXRole(session) != null)
>returnedValues.put(EfConstants.xxx,
> getXXXRole(session));
>else
>log.warn("XXX Role not found by getting
> headers :" + loginKey);
>
>}
>if (XXXNumber != null) {
>log.info("XXX Member: " + XXXNumber + " logged
> in.");
>xxx response = getxxxData(XXXNumber,
> getXXXRole(session));
>determineFormAccess(response);
>}
>// Add the variables to the session
>if (returnedValues.get(EfConstants.GAUSER) != null) {
>addToSession(session, EfConstants.xxx,
> returnedValues.get(EfConstants.xxx));
>
>if (returnedValues.get(EfConstants.) != null) {
>addToSession(session, EfConstants.xxx,
> returnedValues.get(EfConstants.xxx));
>}
>} else {
>log.warn("Session invalid");
>invalidateSession(session);
>}
>
>return returnedValues;
>
>
>
> On Dec 14, 2:44 pm, kim young ill  wrote:
> > in your securityServiceImpl.getCredentials() you should get Session via:
> > getThreadLocalRequest().getSession(), then pass it to
> >
> > addToSession(HttpSession session, String label, Objectval)
> > you here u have session, why called getThreadLocalRequest().getSession()
>

Re: Session management in GWT

2011-12-14 Thread kim young ill
in your securityServiceImpl.getCredentials() you should get Session via:
getThreadLocalRequest().getSession(), then pass it to

addToSession(HttpSession session, String label, Objectval)
you here u have session, why called getThreadLocalRequest().getSession()
the second time ?


On Wed, Dec 14, 2011 at 2:18 PM, Appien  wrote:

> Sure!
>
> Please find below my Web.xml
>
> 
>  Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> 
>ElecForms
>
>
>
>  xx.xxx.ef.server.SessionListener
>
>
>
>
>glsService
>
>  xx.xxx.ef.server.GlsServiceImpl
>
>
>formService
>
>  xx.xxx.ef.server.FormServiceImpl
>
>
>pcsService
>
>  xx.xxx.ef.server.PcsServiceImpl
>
>
>mapService
>
>  xx.xxx.ef.server.MapServiceImpl
>
>
>settingsService
>
>  xx.xxx.ef.server.SettingServiceImpl
>
>
>securityService
>
>  xx.xxx.ef.server.SecurityServiceImpl
>
>
>pdfService
>
>  xx.xxx.ef.server.PdfServiceImpl
>
>
>
>pdfService
>/electronicformsjboss/pdfService
>
>
>glsService
>/electronicformsjboss/glsService
>
>
>formService
>/electronicformsjboss/formService
>
>
>securityService
>
>  /electronicformsjboss/securityService
>
>
>pcsService
>/electronicformsjboss/pcsService
>
>
>settingsService
>
>  /electronicformsjboss/settingsService
>
>
>mapService
>/electronicformsjboss/mapService
>
>
>
>
>  30
>
>
>
>
>
>test.html
>
>
>
>
> 
>
> All these servlet extends a custom class called BaseRemoteServiceImpl
> which extends RemoteServiceServlet.
>
> On the onModuleLoad of the application the application checks if for a
> certain parameter called login. The application does an RPC call with
> the loginkey as parameter and checks if it is valid. If it valid, the
> application stores it in the session. The getfromsession and the
> saveinsession is a function in the BaseRemoteServiceImpl. Is it
> possible that the values are not overwritten if the variable is
> already stored in the session?
>
> The onModuleLoad
>
> securityService.getCredentials(Window.Location.getParameter("login"),
> new AsyncCallback>() {
>public void onFailure(Throwable arg0) {
>new AlertDialog(EFCONSTANTS.Error() +
> arg0.getMessage()).show();
>
>}
>
>public void onSuccess(HashMap
> creds) {
>
>if (creds.get(EfConstants.USER) != null &&
> creds.get(EfConstants.USER).trim().length() > 0) {
>waitBox.hide();
>HomePage homePage = new HomePage();
>homePage.init();
>
>} else {
>waitBox.hide();
>new
> AlertDialog(EFCONSTANTS.NoAccess()).show();
>}
>}
>});
>
> SaveInSession function
>
>protected void addToSession(HttpSession session, String label,
> Object
> val) {
>// Reset parameters in session.
>//log.info("Saving in sessionid: " +
> getThreadLocalRequest().getSession().getId() + " - label: " + label +
> " - val: " + val.toString());
>session.setAttribute(label, val);
>
>}
>
> GetFromSession function
>protected Object getFromSession(HttpSession session, String label) {
>
>if (session != null)
>return session.getAttribute(label);
>
>return null;
>}
>
> Please let me know if you need more information. Many thanks!
>
> On Dec 14, 2:04 pm, kim young ill  wrote:
> > can u post some more code  ? a bit more information would be more
> helpfull
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Dec 14, 2011 at 2:0

Re: Session management in GWT

2011-12-14 Thread kim young ill
can u post some more code  ? a bit more information would be more helpfull

On Wed, Dec 14, 2011 at 2:01 PM, Appien  wrote:

> Unfortunately this didn't work either. It is possible that is has
> something to do with having multiple servlets which trying to use the
> same session?
>
> For one part of the functionality it works as it is calling the same
> servlet twice...
>
> On Dec 14, 9:13 am, kim young ill  wrote:
> > try to get Request from your rpc or rf public-implementation & pass it to
> > getFromSession()
> >
> > Wed, Dec 14, 2011 at 7:51 AM, Appien  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > The thing is that I use the local I use the built-in Jetty server of
> > > GWT as development server. In the end the application will run on
> > > JBoss. For now I want to have it working on Jetty. I've searched the
> > > web, but I couldn't find Jetty session configure anywhere.
> >
> > > On Dec 13, 3:19 pm, Ed  wrote:
> > > > This has nothing to do with GWT.
> > > > Check your documentation of your servlet container.
> > > > Your web container is responsible for session management and not
> > > > touched by GWT.
> >
> > > > You can check your session id in Chrome or FF (FireCookie)
> development
> > > > tools.
> > > > Note: a session id is stored in a cookie (most of the times) and a
> > > > cookie is attached to a domain (check your domain usage).
> > > > - Ed
> >
> > > > On Dec 13, 2:48 pm, Jens  wrote:
> >
> > > > > Normally this should work out of the box with your servlet
> container I
> > > > > guess.
> >
> > > > > Do you have a valid JSESSIONID cookie (or a similar named cookie
> that
> > > holds
> > > > > the server session id) set in your browser and will it be
> transmitted
> > > to
> > > > > your servlet container (try to log request.getCookies())?
> >
> > > > > -- J.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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: Session management in GWT

2011-12-14 Thread kim young ill
try to get Request from your rpc or rf public-implementation & pass it to
getFromSession()



Wed, Dec 14, 2011 at 7:51 AM, Appien  wrote:

> The thing is that I use the local I use the built-in Jetty server of
> GWT as development server. In the end the application will run on
> JBoss. For now I want to have it working on Jetty. I've searched the
> web, but I couldn't find Jetty session configure anywhere.
>
> On Dec 13, 3:19 pm, Ed  wrote:
> > This has nothing to do with GWT.
> > Check your documentation of your servlet container.
> > Your web container is responsible for session management and not
> > touched by GWT.
> >
> > You can check your session id in Chrome or FF (FireCookie) development
> > tools.
> > Note: a session id is stored in a cookie (most of the times) and a
> > cookie is attached to a domain (check your domain usage).
> > - Ed
> >
> > On Dec 13, 2:48 pm, Jens  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Normally this should work out of the box with your servlet container I
> > > guess.
> >
> > > Do you have a valid JSESSIONID cookie (or a similar named cookie that
> holds
> > > the server session id) set in your browser and will it be transmitted
> to
> > > your servlet container (try to log request.getCookies())?
> >
> > > -- J.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: hosted mode with netbeans

2011-12-12 Thread kim young ill
use maven (mvn gwt:run)

On Mon, Dec 12, 2011 at 10:18 AM, András Csányi wrote:

> Dear All,
>
> I'm struggling with these IDEs and I fed up a little bit with them, to
> be honest. I faced the linked issue with Netbeans. Does anybody have
> any idea what could be the problem and what should I do to solve it?
>
> http://forums.netbeans.org/post-121061.html
>
> Thank you very much for any help in advance!
>
> András
>
> --
> - -
> --  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
> http://facebook.com/andras.csanyi
> --  ""Trust in God and keep your gunpowder dry!" - Cromwell
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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 and Generated file download

2011-12-11 Thread kim young ill
depends how long u wanna keep the files. u can store files somewhere, put
filepath in session, when session got destroyed ( put a listener in
contextlistener), read out the paths and remove them.

hth



On Mon, Dec 12, 2011 at 8:17 AM, Appien  wrote:

> Thanks so far. Unfortunately the application contains more than 8
> forms with more than 60 fields. The mapping to object and to a file
> mechanism is already built in the past. This would make the solution
> to change the forms to use a FormPanel and setting all the parameters
> a solution which requires a lot of work (which we don't have :( )
>
> I see the problem Tony mentioned. Is there not another way to store
> the object which contains all data temporary on the server? By
> something like a special session which has a different expiration
> time?
>
> On Dec 9, 5:34 pm, Tony Edgin  wrote:
> > In your proposed solution, you would need an external mechanism for
> > ensuring that the temporary file was removed in the following
> > exceptional case.  An RPC creates the temporary file, but the client
> > never calls the servlet GET to retrieve the file.  This could happen
> > if the user goes to a different web site in the middle of the request.
> >
> > I have a similar problem.  To solve my problem, I just directly send
> > the form data as parameters to the servlet GET and not use an RPC.
> > That way there's no risk of leaking temp files.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Fri, Dec 9, 2011 at 05:05,Appien wrote:
> > > Hi folks,
> >
> > > At the moment I'm having troubles with starting a file download using
> > > GWT. In my application we have a Form object which contains all data
> > > which should be stored on a PDF file. Currently my applications works
> > > like this to generate the file and start the download.
> >
> > > 1. Do a RPC call to store a form object in the session
> > > 2. If succesfull, call servlet by a GET method
> > > 3. Get the form object out of the session, genereate the pdf and write
> > > the Response object
> >
> > > However, this solutions fails due to the fact that during the calls 2
> > > sessions gets created. The first one when I do an RPC call to store
> > > the form in the session. When the RPC call is finished the session
> > > gets destroyed. The second session is created when I do a call to the
> > > servlet. The servlet cannot find the stored Form object as the session
> > > in which the Form object is stored is already destroyed.
> >
> > > How can I handle the different created sessions on the server?
> >
> > > As GWT cannot handle file download using RPC, an alternative solution
> > > would be to create a tempory file. In this solution I would create a
> > > RPC call which creates a file with an unique filename. When this file
> > > is created, I call the servlet to get the file. Is this a nice
> > > solution for this problem or is there a more nifty solution?
> >
> > > Regards,
> >
> > > --
> > > 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 athttp://
> groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> > Tony Edgin
> > Software Architecture and Design Leader
> > LBT Observatory
> > 933 N. Cherry Ave., Tucson AZ 85721-0065
> > p:520-626-8951, c:520-419-8821, f:520-626-9333
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: FTP file upload in gwt

2011-12-07 Thread kim young ill
doesnt work, gwt/web uses HTTP which is not FTP
if u want FTP, its enough to use an ftp client, (Window$) Explorer will do
the job (if u use it), otherwise use Finder(mac) or Nautilus (Linux)

hth

On Mon, Dec 5, 2011 at 1:17 PM, Rahul Sharma wrote:

> Hello,
>
> I want to use ftp upload instead of http and store the uploaded file
> in remote system.I want that my local system file upload to ftp domain
> usinf ftp upload in gwt .So suggest me how can i upload file .
>
>
> Thanks
> Rahul
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: GWT Locale does work in address bar, does not work in meta

2011-12-01 Thread kim young ill
did you put it before .
at least it didnt work for me if i put it after 

On Thu, Dec 1, 2011 at 5:13 PM, Jesse  wrote:

> Hi
>
> I have a gwt portlet with (for now) localization in English (default)
> and Dutch.
>
> If I put ?locale=nl& in the address bar, I get nice Dutch texts.
> However, if I put  in
> the head of my html file, without any reference to locale in the
> address bar, I get the English texts. When I look into the rendered
> html source, I can see the  tag. According to the documentation
> it should give Dutch texts.
>
> Does anybody have a suggestion about where I should look to fix this?
> Obviously my locale is working, but it disregards the meta property
>
> With kind regards
>
> Jesse van Bekkum
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: GWTimageresource load seperately

2011-11-25 Thread kim young ill
ahhh
didnt know that this feature is browser-dependent.

thanx

On Fri, Nov 25, 2011 at 2:30 PM, Ed  wrote:

> It depends on the browser how the image is loaded.
> In IE, it's often loaded as external file.
> In FF for example it's not external loaded but it's embedded as
> base64.
>
> Don't underestimate the advantages of the ClientBundle mechanism.
> For example: the perfect caching is very important. Your included
> images are unique and will be cached perfect such that the user won't
> have to wait for the image next time it's loaded. Also it overcomes
> caching problems when deploying a new version.  I don't like to tell
> my clients to first clear their browser cache... That is: if they
> don't, they have a good change of seeing the old image for a few day's
> more.. (it all depends on the proxies and browser being used)
> - Ed
>
> On Nov 25, 2:22 pm, kim young ill  wrote:
> > Hi,
> >
> > i want to use ClientBundle to put all images together,
> >
> > plain simple like this:
> >
> > @Source("img/priv.png")
> > ImageResource priv();
> >
> > @Source("img/logo.png")
> > ImageResource logo();
> >
> > @Source("img/back.png")
> > ImageResource back();
> >
> > @Source("img/print.jpg")
> > ImageResource printIcon();
> >
> > for unknown reason, when i set Image.setRecource(bundle.priv()), the
> image
> > priv/png is loaded extra from /module/*.cache.png.
> > but it's not the purpose of using bundle, like this i could have use
> plain
> > markup with url-property to get the image.
> >
> > did i do some thing wrong here ?
> >
> > thaxn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



GWTimageresource load seperately

2011-11-25 Thread kim young ill
Hi,

i want to use ClientBundle to put all images together,

plain simple like this:


@Source("img/priv.png")
ImageResource priv();

@Source("img/logo.png")
ImageResource logo();

@Source("img/back.png")
ImageResource back();

@Source("img/print.jpg")
ImageResource printIcon();

for unknown reason, when i set Image.setRecource(bundle.priv()), the image
priv/png is loaded extra from /module/*.cache.png.
but it's not the purpose of using bundle, like this i could have use plain
markup with url-property to get the image.

did i do some thing wrong here ?

thaxn

-- 
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: Saving Object to fole on Server

2011-11-07 Thread kim young ill
i dont think i understand what you want to do here.

if you want to save an object, you have to serialize it & write it to
server.
if you want to use http, you can do it with POST (multipart), on
serverside, you need to write a servlet to handle the request: parse it &
write it to wherever you want
if its not a http-server ( just a server socket), you can send the stream
directly

look like you missunderstand the concepts of http-protocol & file-system

hth

On Mon, Nov 7, 2011 at 5:59 PM, m...@grayout.de  wrote:

> Hi Raphael,
>
> thanks for your prompt response. I will look for the log file and
> check if there is something in it.
>
> This is server-side code. Is it possible that I have no write access
> to the folder? If yes, how could I change this running in development
> mode?
>
> If what I am doing is too much of a security risk, what alternative do
> I have? I just need to store a Java-Object on the server for later
> use.
>
> Thanks and best regards,
>
> Uli
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: mvn gwt:run failed

2011-09-15 Thread kim young ill
problem solved:

http://code.google.com/p/google-web-toolkit/issues/detail?id=3557

i just use the approach with JDTCompiler adapter & add this line to my
pom.xml

-Xmx1024m
-Dbuild.compiler=de.webapp.JDTCompiler16

just strange that there're not so many complaints, looks like everyone use
plain html as hostpage instead of jsp although on the gwt-devguide there's a
part where dynamic-hostpage with jsp was described as elegant

thanx

On Wed, Sep 14, 2011 at 5:42 PM, Y2i  wrote:

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

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



Re: Problem to migrate requestfactory 2.3 to 2.4

2011-09-14 Thread kim young ill
i have other prob. updating from 2.3 to 2.4 with request-factory

 java.lang.ArrayIndexOutOfBoundsException: 1
[ERROR] at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:425)
[ERROR] at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:217)
[ERROR] at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:125)
[ERROR] at
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:118)
[ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)





On Wed, Sep 14, 2011 at 10:27 AM, Geoffray  wrote:

> Good morning everyone,
>
> i'm trying to figure out how to migrate requestfactory 2.3 to 2.4 but
> I still have the same problem : java.lang.RuntimeException: The
> RequestFactory ValidationTool must be run for the
> com.airfrance.cappla.client.service.factory.AppRequestFactory
> RequestFactory type
>
> Actually, in order to solve my problem I tried to do what was
> explained in this tutorial :
> http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation
> ,
> but it still doesn't work :(
>
> Does anyone have the same problem ??
> Does anyone have solve it ??
>
> Thank you for your help.
>
> Geoffray.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



mvn gwt:run failed

2011-09-14 Thread kim young ill
hi,
i just updated my gwt-maven project to gwt 2.4 & cannot use jsp anymore:

got this on the webpage:

Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

 On console:

Syntax error, parameterized types are only available if source level is 1.5
...


how could i fix this quick ?

thanx

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



editor framework suggestion ?

2011-09-07 Thread kim young ill
Hi gwt gurus

i want to to use editorframework implement this:

Person extends ValueProxy
  -name:String
  -attributes:List

KeyValueProxy extends ValueProxy
 -key:String
 -value:String

 want to populate a popup-editor   where you can edit person :
add/remove/edit attributes, change name.

i think of 2 possibilities
1-a separate  celltable for attributes with a backed Listdataprovider, (but
then it's could be difficult to keep in sync with the driver ?)
2-use a CompositeEditor . 1 editor for each

any suggestions/example would be great

thanx

-- 
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: Access static file from onModuleLoad() method

2011-09-01 Thread kim young ill
it's running in browser, so u have to access it via http, the servers
filesystem is not available


On Thu, Sep 1, 2011 at 8:01 PM, AThinerCoin  wrote:

> Thank you for your help.  This helped me get my source code to find my
> config.xml file.
>
> For anyone else who has a similar problem, I also had to make a request for
> the file, then use the "getText" method, then I could read the file.  I
> could not just use the file based on the file's path.  See the example
> below.
>
> try {
> String fn = GWT.getModuleBaseURL() + "config.xml";
> RequestBuilder requestBuilder = new RequestBuilder(
> RequestBuilder.GET, fn);
> try {
> requestBuilder.sendRequest(null, new RequestCallback() {
> public void onError(Request request, Throwable
> exception) {
> GWT.log("failed file reading", exception);
> }
>
> public void onResponseReceived(Request request,
> Response response) {
> result = response.getText();
> Config graphConfig = new Config(result);
> callToMethodThatUsesGraphConfig(graphConfig);
> }
> });
> } catch (RequestException e) {
> GWT.log("failed file reading", e);
> }
> } catch (Exception e) {
> e.printStackTrace();
>
> }
> }
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/L57Yoia4xQoJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: java.lang.ClassNotFoundException: org.apache.http.HttpEntity

2011-08-08 Thread kim young ill
not sure what you want to achieve, but for client-side http, have a look at
RequestBuilder .
never use gae so i cannot tell what options u'd have there


On Mon, Aug 8, 2011 at 11:09 AM, Vik  wrote:

> Hie
>
> yeah i m importing classes like import org.apache.http.HttpEntity;
> Using these to call a rest ws . so what is the option to do it on GWT+GAE
> platform. Just to mention i am invoking this code from server side i.e from
> a serviceImpl
>
> Thankx and Regards
>
> Vik
> Founder
> http://www.sakshum.org
> http://blog.sakshum.org
>
>
> On Mon, Aug 8, 2011 at 2:09 PM, kim young ill wrote:
>
>> looks like u want to use apache-httpclient for gae
>>
>> 1. not all jdk-packages are useable in gwt-clientside
>> 2. limitations of gae : networkconnections (outbounds ) ???
>>
>>
>> On Mon, Aug 8, 2011 at 10:35 AM, Ashwin Desikan > > wrote:
>>
>>> **
>>> what version of gwt are you running? Also is this error in your local dev
>>> mode?
>>>
>>> ~Ashwin
>>>
>>> On Monday 08 August 2011 01:58 PM, Vik wrote:
>>>
>>> Hie
>>>
>>>  In my gwt+gae  app when running i am seeing below exception. the class
>>> in question is a part of gwt-dev.jar which is included in classpath
>>> (otherwise i think there will be many issues even before this).
>>> Any advise why I am getting the error on runtime even when the jar is a
>>> part of class path?
>>>
>>>  Vik
>>>
>>>  [ERROR] javax.servlet.ServletContext log: Exception while dispatching
>>> incoming RPC call
>>> com.google.gwt.user.server.rpc.UnexpectedException: Service method
>>> 'public abstract java.lang.String
>>> vik.sakshum.sakshumweb.client.service.BloodDonorRegisterService.registerDonor(vik.sakshum.sakshumweb.client.bean.BloodDonorProfileBean)
>>> throws java.lang.Exception' threw an unexpected exception:
>>> java.lang.NoClassDefFoundError: org/apache/http/HttpEntity
>>>  at
>>> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
>>>  at
>>> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
>>>  at
>>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
>>>  at
>>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
>>>  at
>>> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
>>>  at
>>> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>>>  at
>>> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>>>  at
>>> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>>>  at
>>> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>>>  at
>>> com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>>>  at
>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
>>>  at
>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>>  at
>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>>>  at
>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>>>  at
>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>>>  at
>>> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(De

Re: java.lang.ClassNotFoundException: org.apache.http.HttpEntity

2011-08-08 Thread kim young ill
looks like u want to use apache-httpclient for gae

1. not all jdk-packages are useable in gwt-clientside
2. limitations of gae : networkconnections (outbounds ) ???

On Mon, Aug 8, 2011 at 10:35 AM, Ashwin Desikan wrote:

> **
> what version of gwt are you running? Also is this error in your local dev
> mode?
>
> ~Ashwin
>
> On Monday 08 August 2011 01:58 PM, Vik wrote:
>
> Hie
>
>  In my gwt+gae  app when running i am seeing below exception. the class in
> question is a part of gwt-dev.jar which is included in classpath (otherwise
> i think there will be many issues even before this).
> Any advise why I am getting the error on runtime even when the jar is a
> part of class path?
>
>  Vik
>
>  [ERROR] javax.servlet.ServletContext log: Exception while dispatching
> incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
> abstract java.lang.String
> vik.sakshum.sakshumweb.client.service.BloodDonorRegisterService.registerDonor(vik.sakshum.sakshumweb.client.bean.BloodDonorProfileBean)
> throws java.lang.Exception' threw an unexpected exception:
> java.lang.NoClassDefFoundError: org/apache/http/HttpEntity
>  at
> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
>  at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
>  at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
>  at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
>  at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
>  at
> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at
> com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
>  at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
>  at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>  at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>  at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>  at
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
>  at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>  at
> com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351)
>  at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>  at org.mortbay.jetty.Server.handle(Server.java:326)
>  at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>  at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
>  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>  at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>  at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> Caused by: java.lang.NoClassDefFoundError: org/apache/http/HttpEntity
>  at
> vik.sakshum.sakshumweb.server.BloodDonorRegisterServiceImpl.registerDonor(BloodDonorRegisterServiceImpl.java:255)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
>  at
> com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100)
>  at
> com.google.gwt.user.server.rpc.RPC.invoke

Re: Converting raw JSON to a JSONObject / JSONValue

2011-08-03 Thread kim young ill
try this :

return eval('(' + json + ')');

On Wed, Aug 3, 2011 at 4:43 PM, Alexander Orlov
wrote:

> The JSONObject takes only JavaScriptObject as its constructor parameter.
> JavaScriptObject can be returned only by a JSNI function which I wrote:
>
> public static native JavaScriptObject parseJson(String jsonStr) /*-{
> return eval(jsonStr);
> }-*/;
>
> but when I do
>
> String json = "{\"userId\" : \"123\", \"sessionId\" : \"456\"}";
> JavaScriptObject javaScriptObject = parseJson(json);
>
>
> I get
>
> ERROR: Uncaught exception escaped.
> com.google.gwt.core.client.JavaScriptException: (SyntaxError): Unexpected
> token :
>
> -Alex
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Z8Uk3YifLLYJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: xxx.ui.xml is not in GWT client package

2011-07-28 Thread kim young ill
i tried but it desnt help

On Wed, Jul 27, 2011 at 9:57 PM, Tomasz Gawel  wrote:

> And did you try to take use of @UiTemplate annotation to point the
> actual location of ui.xml file?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



xxx.ui.xml is not in GWT client package

2011-07-26 Thread kim young ill
hi there
as long as gwt-project get a deeper/complexer package layout, gwt-designer
fails to open with message

You are attempting to use UiBinder for ...ui.xml,
however it is not in GWT client package.

compile/running just fine, but gwt-designer is useless, is there a way to
fix it without changing the package -structure ?
thanx

-- 
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: if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread kim young ill
is there any example how can i call RF from non-gwt or non js client ?
eg. can i call it directly from hand-written js ?

thanx


On Tue, Jul 19, 2011 at 12:18 PM, Elhanan Maayan wrote:

> what do you mean by open api?
>
> btw on a similar note, what's exactly Titanium Appcelerator , seems like a
> every CTO's wet web dream.
>
>
> On Tue, Jul 19, 2011 at 1:13 PM, Thomas Broyer  wrote:
>
>> You're right. RequestFactory is a protocol whose wire-format is based on
>> JSON, just like XML-RPC or SOAP are protocols whose wire-format is based
>> upon XML. That does not mean however that it cannot be used from
>> non-GWT/non-Java clients.
>> BTW, using gwt-exporter you could probably build a JS library exposing
>> your proxies etc. to JS code, and it could probably be used from Flex (as
>> AS3 is an ECMAScript superset); and RequestFactory might work in .NET using
>> J#. It at least deserves a try IMO, unless you want to provide an "open
>> API", which would rule out RequestFactory (and GWT-RPC)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-web-toolkit/-/TTggSfIN8hsJ.
>>
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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