Re: Redirect to place

2011-06-08 Thread A. Stevko
I suggest you put the logic for parsing the place token within the
Activity.start() and if it does not parse then use placeController.goTo() to
load the NewRecordPlace. That way the association between activity and place
is relatively constant and the validation of the token is determined by the
layer that has the best access to the data model.


On Wed, Jun 8, 2011 at 9:22 PM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> Hi folks,
>
> I have a problem with places. For example I have the URL  "
> http://mysite/myapp#editrecordd:10"; and I want with this URLgo to place
> EditRecordPlace (OK!), but if I have this URL  "
> http://mysite/myapp#editrecordd:10asiuo"; (the id can't cast to a number) I
> want to go to another place, for example newRecordPlace.
>
> I can do that in this manner:
>
> public Activity getActivity(Place place) {
> ...
>  if (place instanceof EditRecordPlace &&
> ((EditRecordPlace )place).getId()==null){
> return appPlaceFactory.getNewRecordPlace().getActivity();
>  }
> ...
> }
>
> But the problem is that no refresh the URL, I want display in the URL *
> newRecord* and start the activity. If I invoque the
> placecontroller.goTo(appPlaceFactory.getNewRecordPlace()) don 't works.
>
> Regards,
> Juan
>
> --
> 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.
>



-- 
-- A. Stevko
===
"If everything seems under control, you're just not going fast enough." M.
Andretti

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



Blocking client side execution until server executes the service completely

2011-06-08 Thread ankit
hii to allim loading data from the server using asynchronous
callback. so is there any way that i can stop executing client side
execution until i get data from the server. any way to block
asynchronous behavior so that i can wait for the data from the
server
this is the exampleim using like.. and i dont want JVM to execute
further till recordSet is not populated..thanx for looking into
it..hope u will help me out

 Service.loadData(mProcedureName, request, new AsyncCallback() {

public void onFailure(Throwable ex) {
 
Logger.getLogger(DataServiceImpl.class.getName()).error("Load data
failed.", ex);
}

public void onSuccess(Data data) {
recordSet.setRecords(data);
}
});
}

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



using URLFetchService

2011-06-08 Thread riyaz ahmed
Hi,
Has anyone used URLFetchService in google app engine, i dont find any
examples related to this other than java doc,
If you guys have any example it will be helpful

Thanks in advance
-- 
Riyaz
9916220381

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



Redirect to place

2011-06-08 Thread Juan Pablo Gardella
Hi folks,

I have a problem with places. For example I have the URL  "
http://mysite/myapp#editrecordd:10"; and I want with this URLgo to place
EditRecordPlace (OK!), but if I have this URL  "
http://mysite/myapp#editrecordd:10asiuo"; (the id can't cast to a number) I
want to go to another place, for example newRecordPlace.

I can do that in this manner:

public Activity getActivity(Place place) {
...
if (place instanceof EditRecordPlace &&
((EditRecordPlace )place).getId()==null){
return appPlaceFactory.getNewRecordPlace().getActivity();
}
...
}

But the problem is that no refresh the URL, I want display in the URL *
newRecord* and start the activity. If I invoque the
placecontroller.goTo(appPlaceFactory.getNewRecordPlace()) don 't works.

Regards,
Juan

-- 
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: Eample for MVP+EventBus+Presenter+Activity

2011-06-08 Thread A. Stevko
My experience with Roo was a bit overwhelming. The amount of code generated
and the instant complexity was a lot for me transitioning from 1.x to 2.x
style GWT programming. While the learning curve is hard and steep, building
an MVP++ app from the ground up forced me to learn the details from the
inside out.

I bookmarked a diagram posted on the gwt-contrib form that helped me
visualize the Activities + Places/History mechanism.
http://groups.google.com/group/google-web-toolkit-contributors/msg/7713e6c5d1bb5656


http://tbroyer.posterous.com/ is a must read for understanding how to use
the many parts of the frameworks.

If you go with starting out small, the first step beyond building the sample
application is to integrate Gin. Its essential to start early with DI
because it impacts everything and integrating while the project is small
saves a lot of rework.
I also suggest sticking with building out the Place - Activity - View
communication interfaces rather than customizing EventBus messages.
Marshaling custom events and handlers adds a lot of complexity.   The Place
Controller and Request Factory are wonderful abstractions on top of the
EventBus. After you've build a few CRUD panels by hand, you can really
appreciate the help given by the Editor and CellList/Table frameworks
although mastering them causes hair loss.


On Wed, Jun 8, 2011 at 5:35 PM, Harry X  wrote:

> Deanna Bonds  writes:
>
> >
> >
> > I was going through the same thing.  I ended up going back and rewatching
> the
> Ray Ryan architecture videos from 2009 and 2010 again, but this time
> drawing
> down
> all the diagrams, but combining them all.  Then after having a big block
> diagram
> of the gwt framework and going the javadoc for the classes it just clicked
> into
> place.  What I had problems with in the original readings of the docs, was
> that
> the overall big picture was really understated and somewhat confused by all
> the
> optional things.  And an intended way(s) to use it combined with spring roo
> would
> help.   That may be another piece of the puzzle for you.  This framework
> depends
> a
> bit on spring roo to generate all the boilerplate code.
> >
> > My way of using it has been to create a gwt project with the gpe.  Then
> add
> spring roo to that project.  Use Roo to create all the data enties, and
> request
> factories.  At this point I'm guessing because here is where I am - let Roo
> add
> in
> the client side mvp and simple uibinder display areas into it's special
> generated
> folder/packagePath.  Copy the display areas into my own and modify them the
> way
> I
> want and set up the places.  Then add in backend logic.
> >
> >
> >
>
> Thanks for sharing, Deanna.
> Just tried 2.4 eclipse plugin and it creates client side MVP parts for you,
> very convenient and good for me for now. Will check out Spring Roo.
>
>
> --
> 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.
>
>


-- 
-- A. Stevko
===
"If everything seems under control, you're just not going fast enough." M.
Andretti

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



Null Version

2011-06-08 Thread Pavel Byles
I'm getting the following error when I'm using requestfactory with locators:


   The persisted entity with id 152 has a null version

I have a version column in my datastore and the following in my Entity:


   public Integer getVersion() {

  return this.version;

}


public void setVersion(Integer version) {

  this.version = version;

}

I also have this in my locator:

   @Override

public Object getVersion(Country domainObject) {

  return domainObject.getVersion();

}

If I return 1 all the time for getVersion, everything works fine.

I have looked at all the examples I could but there aren't many and tried to
figure this out for a while. Things look right but doesn't seem to work.

Any ideas?

-- 
-Pav

-- 
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+GAE+Tomcat - java.lang.NullPointerException: No API environment is registered for this thread

2011-06-08 Thread Anoop John
Hi,

I have developed an application in two ways:

1) GWT+Mysql+Tomcat - Here the GWT compiler was compiled java code to
JS. In the server side the data stored inside the Mysql database. Here
i didn't used Google data store. It worked fine when i deployed in
tomcat server.

2) GWT+GAE+Tomcat - Here i used the Google Data Store instead of MySql
database. This application doesn't worked and crashed at server side.
The exception is occured at the code "List
list=(List) query.execute("username");" . The whole code is
given below.

   PersistenceManager
mngr=ServerUtils.getServerutils().getPMF().getPersistenceManager();
try{
String filter="username==filter";
Query query=mngr.newQuery(DB_Users.class);
query.setFilter(filter);
query.declareParameters("String filter");
List list=(List) 
query.execute(username);
if(list!=null&&list.size()>0){
return false;
}
else{
return true;
}
}
catch (Exception e) {
e.printStackTrace();
}
finally{mngr.close();}
return false;

The error is:

java.lang.NullPointerException: No API environment is registered for
this thread
.
at
com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId
(DatastoreApiHelper.java:108)
at
com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId
Namespace(DatastoreApiHelper.java:118)
at com.google.appengine.api.datastore.Query.(Query.java:
112)
at
org.datanucleus.store.appengine.query.DatastoreQuery.validate(Datasto
reQuery.java:654)
at
org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(D
atastoreQuery.java:217)
at
org.datanucleus.store.appengine.query.JDOQLQuery.performExecute(JDOQL
Query.java:89)
at org.datanucleus.store.query.Query.executeQuery(Query.java:
1489)
at
org.datanucleus.store.query.Query.executeWithArray(Query.java:1371)
at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:243)


This code is worked fine with Eclipse(RunAs-->> Web Application)

Is there any way to execute this code in tomcat server???



-- 
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: Holy Cow! GWT Designer comes up quick in 2.4 beta?!?!

2011-06-08 Thread Eric Clayberg
As you noticed, we have been working on a lot of optimizations that
should result is a much better user experience. The first time you
access GWTD in a session, it still needs to warm up dev mode (which
takes most of the time...and is itself much faster now). Subsequent
editor opening operations should be much quicker and switching between
source and design mode should be extremely quick.

On Jun 8, 11:23 am, cri  wrote:
> Couldn't easily get the gist of your links Could you summarize?
>
> One thing I've just noticed. I used to hesitate to open agwtdesigner
> window because it took so long. Now that the wait is dramatically
> shorter, I use thedesignerwindow just to navigate my code, even when
> I don't have any gui changes to make. Cool!
>
> On Jun 8, 9:09 am, Gal Dolber  wrote:
>
>
>
>
>
>
>
> > Could be because of this?:
>
> > #GWT trunk watch: Google projects
> > seeing 30-40% dev mode speedup 
> > withhttp://gwt-code-reviews.appspot.com/1448801/
>
> > On Wed, Jun 8, 2011 at 9:44 AM, cri  wrote:
> > > I just installed GPE 2.4 beta and it sure seems to me thatGWT
> > >Designerdesign windows are coming up faster - much faster! Tell me
> > > I'm not imagining things. So, this must be a new feature in 2.4.
> > > I'm a big advocate ofGWTDesignerand this helps tremendously.
> > > Thanks!!
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > Guit: Elegant, beautiful, modular and *production ready*gwtapplications.
>
> >http://code.google.com/p/guit/

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



Re: Eample for MVP+EventBus+Presenter+Activity

2011-06-08 Thread Harry X
Deanna Bonds  writes:

> 
> 
> I was going through the same thing.  I ended up going back and rewatching the 
Ray Ryan architecture videos from 2009 and 2010 again, but this time drawing 
down 
all the diagrams, but combining them all.  Then after having a big block 
diagram 
of the gwt framework and going the javadoc for the classes it just clicked into 
place.  What I had problems with in the original readings of the docs, was that 
the overall big picture was really understated and somewhat confused by all the 
optional things.  And an intended way(s) to use it combined with spring roo 
would 
help.   That may be another piece of the puzzle for you.  This framework 
depends 
a 
bit on spring roo to generate all the boilerplate code.  
> 
> My way of using it has been to create a gwt project with the gpe.  Then add 
spring roo to that project.  Use Roo to create all the data enties, and request 
factories.  At this point I'm guessing because here is where I am - let Roo add 
in 
the client side mvp and simple uibinder display areas into it's special 
generated 
folder/packagePath.  Copy the display areas into my own and modify them the way 
I 
want and set up the places.  Then add in backend logic.
> 
> 
> 

Thanks for sharing, Deanna. 
Just tried 2.4 eclipse plugin and it creates client side MVP parts for you, 
very convenient and good for me for now. Will check out Spring Roo.


-- 
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 Designer also compiles test and shared classes

2011-06-08 Thread Aldo Neto
Hi,

Has anyone solved this problem? I'm facing the same issues here and I've
made no progress so far.

Thanks

On Fri, May 20, 2011 at 9:29 AM, Baloe  wrote:

> I figured out the last question, it seems that the selected module in
> the project didn't work, but it did. You only also have to delete the
> Run-as instance in Eclipse, because it is not adjusted automaticly
> when you rename the gml.xml file - too bad.
>
> On 20 mei, 12:10, Baloe  wrote:
> > Testing a bit for creating a test case, I stumbled upon a related
> > problem. This problem might be important for my problem as well,
> > that's why I'm asking it in this thread.
> >
> > Where is the PROJECT.gwt.xml file attached to the project? It is not a
> > setting in a .xml file, which I did not expect. I get the following
> > message:  "Unable to find 'nl/presenter/package/Project.gwt.xml' on
> > your classpath; could be a typo, or maybe you forgot to include a
> > classpath entry for source?"
> >
> > Adding the gwt.xml file to the classpath doesn't work (which is
> > nonsense anyway, but might be what is suggested above).
> >
> > Thanks!
> > Baloe
> >
> > On 20 mei, 10:42, Baloe  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > OK, thanks, I agree that's the best thing to do, I will try to make a
> > > test case showing this problem.
> > > All the best,
> > > Baloe
> >
> > > On 20 mei, 04:09, Eric Clayberg  wrote:
> >
> > > > Please submit a bug with a complete test case project that will
> > > > illustrate the problem as we are unable to reproduce it on our end.
> > > > Once we can reproduce it, presumably we can do something about it.
> >
> > > > On May 19, 7:42 am, Baloe  wrote:
> >
> > > > > Hi all,
> >
> > > > > Thanks for the hints.
> >
> > > > > I understand thatGWTDesignerdoesn't compile anything, but it
> callsGWTto perform it's compilation, but strangely enough not with the
> > > > > correct paths and other settings. We do not get _any_ of these
> errors
> > > > > when we run thegwtcompilation (either by starting up the
> development
> > > > > mode or the regular runtime mode), never. We have never seen these
> > > > > errors anywhere else.
> >
> > > > > So, the main question remains the same: how do I make sure that it
> > > > > only compiles certain packages, or -appearently- just takes a
> proper
> > > > > look to the project.gwt.xml file to see which packages it should
> look
> > > > > into, and which modules it should inherit?
> >
> > > > > Thanks,
> > > > > Niels
> >
> > > > > On 18 mei, 16:27, Eric Clayberg  wrote:
> >
> > > > > > 1)GWTDesignerdoes not compile anything. Those [ERROR] lines you
> are
> > > > > > seeing are coming fromGWTitself and imply some sort of problem
> with
> > > > > > yourGWTproject configuration.
> >
> > > > > > 2) $hide$ comments are used to hide code from
> theGWTDesignerparser
> > > > > > (for GUI editing purposes). They have no impact on
> theGWTcompilation
> > > > > > process. $hide$ tags are described here...
> >
> > > > > >
> http://code.google.com/webtoolkit/tools/gwtdesigner/preferences/prefe...
> >
> > > > > > On May 18, 8:20 am, Baloe  wrote:
> >
> > > > > > > Hi,
> >
> > > > > > > After renaming the server package,GWTdesignernow even hangs on
> > > > > > > compiling thegwt-user.jar.
> >
> > > > > > > For example:
> >
> > > > > > > Validating newly compiled units
> > > > > > >[ERROR] Errors in
> 'jar:file:/C:/Niels/eclipseWorkspace2/Goofur/lib/
> > > > > >
> >gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/EventBus.java'
> > > > > > >   [ERROR] Line 24: No source code is available for type
> > > > > > > com.google.web.bindery.event.shared.EventBus; did you forget to
> > > > > > > inherit a required module?
> > > > > > >   [ERROR] Line 28: No source code is available for type
> > > > > > > com.google.web.bindery.event.shared.HandlerRegistration; did
> you
> > > > > > > forget to inherit a required module?
> > > > > > >   [ERROR] Line 28: No source code is available for type
> > > > > > > com.google.web.bindery.event.shared.Event.Type; did you
> forget
> > > > > > > to inherit a required module?
> > > > > > >   [ERROR] Line 48: No source code is available for type
> > > > > > > com.google.web.bindery.event.shared.Event; did you forget to
> > > > > > > inherit a required module?
> > > > > > >   [ERROR] Line 68: Cannot cast from GwtEvent ?> to
> > > > > > > Event
> > > > > > >   [ERROR] Line 69: No source code is available for type
> > > > > > > com.google.web.bindery.event.shared.UmbrellaException; did you
> forget
> > > > > > > to inherit a required module?
> > > > > > >   [ERROR] Line 76: Cannot cast from GwtEvent ?> to
> > > > > > > Event
> > > > > > >[ERROR] Errors in
> 'jar:file:/C:/Niels/eclipseWorkspace2/Goofur/lib/
> > > > > > >gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/
> > > > > > > LegacyHandlerWrapper.java'
> > > > > > >   [ERROR] Line 19: No source code is available for type
> > > > > > > com.google.web.bindery.event.shared.HandlerRegistratio

Debugging GWT in IntelliJ when GWT is running embedded in Grails

2011-06-08 Thread Gambo
Hi there,

is there a possibility to debug a GWT application even when its HTML
page is embedded in a gsp grails page?

I am using the gwt grails plugin but it would be much nicer if i can
run the intellij debug mode for gwt.

Thanks for your help

-- 
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 with crawler

2011-06-08 Thread Qiang Ma
Hi,

I am scratching my head with the same issue. (Haven't decided what to do
yet.)

Just want to learn what you have done.
So your servlet will route regular URL (pretty one) to your GWT app, and the
escaped one to some static page? (Are you using HtmlUnit?)
I have a question on the "static page": can I change the title to be more
specific to the content (e.g. some search result)? But would that be
considered bad because user would not see it in the real application?

Wish you can figure it all out!

-maq

On Wed, Jun 8, 2011 at 12:30 PM, ale  wrote:

> Hello everyone,
> I'm trying to make my webapp gwt visible to crawlers, following the
> excellent guide
> http://code.google.com/intl/it-IT/web/ajaxcrawling/docs/getting-started.html
> I have done all that is indicated (meta tag in the head, fragment with!,
> servlet filter) but I have this problem:
> servlet in the queryString is always null, also with the simplest url.
> The only way to have a queryString not null, is to invoke a specific
> servlet different from the default:
> I explain with to sample (from my site):
>
> URL that don't work:
> http://www.youtrail.com/#!home
> I try
> http://www.youtrail.com/?_escaped_fragment_=home
> but from log I see that queryString is null
> (and on the browser I land on
> http://www.youtrail.com/?_escaped_fragment_=home#!home)
>
> what is wrong? Why in my filter I saw always queryString null?
>
> Thanks a lot and sorry for my bad english
> Alessandro
>
> --
> 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/-/SW1MY1JiaUpXdk1K.
> 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: RequestContext.fire() ignores server errors

2011-06-08 Thread Thomas Broyer
Request#fire(Receiver) is a shorthand for 
Request#to(Receiver)+RequestContext#fire().

With RequestContext#fire(Receiver), you'll generally have onSuccess called, 
whether the individual method calls have succeeded or not. onFailure will be 
called for "general failure" only (unable to parse request, load objects, or 
serialize them back and write the response; or a "transport failure"), 
because "overall", the "batch request" succeeded.

With Request#to(Receiver), the receiver is bound to a specific service 
method call: onSuccess means the specific method call succeeded, and 
onFailure means it failed (either this specific method call, or a "global 
failure").

onViolation, when called, is called on all Receivers (bound to a method 
call, or the "general" one), because validation is done before method calls 
(operations) are processed (just after objects have been "reconstructed")

In brief: this is not a bug.

-- 
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/-/WGctOGIwVjNrZHdK.
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: RequestFactory EntityProxy and AutoBean category

2011-06-08 Thread Thomas Broyer
I found that: http://markmail.org/message/dbubf72gpke6lvvu

I believe I saw a clearer signal that it was planned (but not scheduled) but 
couldn't find it back.

-- 
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/-/MUcwS05JckExZklK.
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: SplitPanel but with single click open/close

2011-06-08 Thread FuntoDealWith
I am not sure if you mean something like a collapsiblePanel.
Check out this link and see if it helps.

http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src-demo/com/google/gwt/widgetideas/demo/collapsiblepanel/client/CollapsiblePanelDemo.java

S.

On Jun 8, 3:26 pm, joel  wrote:
> Is there a widget for this already? Much like the GWT info pages? 
> ie.http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#La...
>
> Notice the horizontalsplitpanel lets you click on it to open/close.
> Does this exist as a GWT layout component already?
>
> 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.



SplitPanel but with single click open/close

2011-06-08 Thread joel
Is there a widget for this already? Much like the GWT info pages? ie.
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#LayoutPanels

Notice the horizontalsplitpanel lets you click on it to open/close.
Does this exist as a GWT layout component already?

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.



RequestContext.fire() ignores server errors

2011-06-08 Thread Stefan
Hi Folks,

It looks like RequestContext.fire() ignores server errors (at last  in
GWT 2.2) . Consider the following code:

  driver.edit(myFooEntity,
requestFactory.fooEntityRequestContext());
  .
  FooEntityRequestContext context = (FooEntityRequestContext)
driver.flush();
  Receiver receiver = new Receiver() {...};

(1)  context.persist().using(myFooEntity).fire(receiver); // good
(2)  context.fire(receiver); // bad

If one takes the (1) approach, all works just fine. However, if one
takes the (2) approach, then onFailure() will never be called.

The problem has already been discussed once :
http://groups.google.com/group/google-web-toolkit/browse_frm/thread/6612c8e4fda142a0?tvc=1&q=RequestContext+fire.
However, no definite answer has been posted.  Additionally, the
problem seem to be related to 
http://code.google.com/p/google-web-toolkit/issues/detail?id=5872
bug. However, the bug is closed and fixed in 2.2 and the above
described behavior exists in 2.2

It would be nice if someone well versed in the the GWT design
clarifies if this is a bug or a design behavior.

Thanks
Stefan

-- 
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: Urgent Need: Oracle Projects Tech Lead

2011-06-08 Thread David Chandler
Yep, he's now banned. I ban about a dozen spammers daily, but occasionally
they still sneak through, in which case, please use the Report spam link in
the Groups Web UI.

On Wed, Jun 8, 2011 at 1:29 PM, Ashish Khivesara  wrote:

> This is a GWT forum!!
>
> /ashish
>
>
> On Mon, Jun 6, 2011 at 2:57 PM, Manish Savale 
> wrote:
>
>>  Hello,
>>
>>
>>
>> I have an immediate need for a Sr. Oracle Project Tech Lead
>>
>>
>>
>> Kindly contact me at mani...@tts-consulting.com
>>
>>
>>
>> Location:  San Jose, CA
>>
>> Duration:   6 months
>>
>> Interview:  Telephonic, followed by in-person
>>
>> Start:1 week from the date of selection
>>
>>
>>
>> We just got a one liner from our client which says “Need Oracle Projects
>> Tech Lead Consultant”
>>
>>
>>
>> I will appreciate if you could email me your updated resume with contact
>> details and I will call you back promptly
>>
>>
>>
>> Thanks
>>
>>
>>
>> *Manish Savale*
>>
>> *TTS Inc*
>>
>>
>>
>> (925) 952-6317 - direct
>>
>> (925) 932-3743 - fax
>>
>> mani...@tts-consulting.com
>>
>> 1255 Treat Blvd., Ste 140
>>
>> Walnut Creek, CA 94597
>>
>> --
>> 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.
>



-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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: Wrapping element as Widget and adding click event

2011-06-08 Thread Rajesh Waran
But when I remove that inherit, it builds, any idea what
version of gwt-maven must i use with GWT 2.3 or GWT 2.2

On Wed, Jun 8, 2011 at 6:14 PM, julio  wrote:
> Hi Juan,
>
> at the moment I have a situation like below in my .xml file and some
> of the THs in the table must be clickable.
> Is it possible using CellTable to replace code below (in the .xml not
> in the java code)?
>
> Thanks
>
> 
>        
>                
>                        User
>                         class="center-th">Account
>                         class="center-th">Email
>                        
>                                Delete
>                                
>                                
>                        
>                
>                
>                         class="center-th">Articles
>                         class="center-th">Patents
>                        Link 
> status changed th>
>                
>                
>                        Name
>                        Latest
>                        Latest
>                        Email
>                        Latest
>                        Email
>                        Latest
>                        Email
>                
>        
>        
>        
> 
>
> On Jun 8, 4:59 pm, Juan Pablo Gardella 
> wrote:
>> CellTable don't work for you? See this question
>> in
>> stackoverflow.
>>
>> Juan
>>
>> 2011/6/8 julio 
>>
>>
>>
>>
>>
>>
>>
>> > I need adding a click event to th (in a table with UIBinder context).
>> > Is it possible? Have I to create a TH-Widget with a wrap method? If
>> > it's so, how?
>>
>> > Thanks
>> > Julio
>>
>> > --
>> > 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.



problem with crawler

2011-06-08 Thread ale
Hello everyone,
I'm trying to make my webapp gwt visible to crawlers, following the 
excellent guide 
http://code.google.com/intl/it-IT/web/ajaxcrawling/docs/getting-started.html
I have done all that is indicated (meta tag in the head, fragment with!, 
servlet filter) but I have this problem:
servlet in the queryString is always null, also with the simplest url.
The only way to have a queryString not null, is to invoke a specific servlet 
different from the default:
I explain with to sample (from my site):

URL that don't work:
http://www.youtrail.com/#!home   
I try 
http://www.youtrail.com/?_escaped_fragment_=home
but from log I see that queryString is null 
(and on the browser I land on 
http://www.youtrail.com/?_escaped_fragment_=home#!home)

what is wrong? Why in my filter I saw always queryString null?

Thanks a lot and sorry for my bad english
Alessandro

-- 
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/-/SW1MY1JiaUpXdk1K.
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: Urgent Need: Oracle Projects Tech Lead

2011-06-08 Thread Ashish Khivesara
This is a GWT forum!!

/ashish

On Mon, Jun 6, 2011 at 2:57 PM, Manish Savale wrote:

>  Hello,
>
>
>
> I have an immediate need for a Sr. Oracle Project Tech Lead
>
>
>
> Kindly contact me at mani...@tts-consulting.com
>
>
>
> Location:  San Jose, CA
>
> Duration:   6 months
>
> Interview:  Telephonic, followed by in-person
>
> Start:1 week from the date of selection
>
>
>
> We just got a one liner from our client which says “Need Oracle Projects
> Tech Lead Consultant”
>
>
>
> I will appreciate if you could email me your updated resume with contact
> details and I will call you back promptly
>
>
>
> Thanks
>
>
>
> *Manish Savale*
>
> *TTS Inc*
>
>
>
> (925) 952-6317 - direct
>
> (925) 932-3743 - fax
>
> mani...@tts-consulting.com
>
> 1255 Treat Blvd., Ste 140
>
> Walnut Creek, CA 94597
>
> --
> 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: which permutation which user.agent HTML5 manifest help!!!

2011-06-08 Thread Evan Ruff
Shawn,

I'm running into this exact same problem. I am generating the cache manifest 
using a servlet filter, but I cannot figure out which hash is the 
appropriate file.

Did you ever find a solution to this? Does anyone else have a solution to 
this issue?

Thanks!

Evan

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



Using a custom DateFormatProvider in GWT

2011-06-08 Thread Panam
Hi,

since the J2EE runtime seems to revert to some inappropriate standard
locale when using the actual locale "ta-IN", I've written a customized
DateFormatProvider and successfully deployed it to the application
server. It looks like this:

public class TamilNaduDateFormatProvider extends
java.text.spi.DateFormatProvider{

@Override
public DateFormat getTimeInstance(int style, Locale locale) {
return DateFormat.getTimeInstance(style, Locale.UK);
}

@Override
public DateFormat getDateInstance(int style, Locale locale) {
return DateFormat.getDateInstance(style, Locale.UK);
}

@Override
public DateFormat getDateTimeInstance(int dateStyle, int timeStyle,
Locale locale) {
return  DateFormat.getDateTimeInstance(dateStyle, timeStyle,
Locale.UK);
}

@Override
public Locale[] getAvailableLocales() {
return new Locale[]{new Locale("ta", "IN")};
}

}

It needs to be packed into a jar with some meta information and
deployed to the runtime's lib/ext directory.
Here is some background: 
http://download.oracle.com/javase/6/docs/technotes/guides/extensions/index.html
For server code, this works fine. However, the GWT-UI in my case still
uses that inappropriate default locale (even after doing a
recompilation using the extended (by the customized
DateFormatProvider) runtime.
So my question is: How does GWT determine the proper date formatting
for the locale sent from the browser and how could I plug-in into this
system to have "ta-IN" properly supported?
Apparently, the standard Java mechanism does not work, or am I wrong?
Is it because GWT uses the SDK rather than the runtime? I tried to
create the corresponding lib/ext Folder even in the SDK and put the
jar there but this also did not help...

Regards,
panam

-- 
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: Wrapping element as Widget and adding click event

2011-06-08 Thread julio
Hi Juan,

at the moment I have a situation like below in my .xml file and some
of the THs in the table must be clickable.
Is it possible using CellTable to replace code below (in the .xml not
in the java code)?

Thanks




User
Account
Email

Delete





Articles
Patents
Link 
status changed


Name
Latest
Latest
Email
Latest
Email
Latest
Email






On Jun 8, 4:59 pm, Juan Pablo Gardella 
wrote:
> CellTable don't work for you? See this question
> in
> stackoverflow.
>
> Juan
>
> 2011/6/8 julio 
>
>
>
>
>
>
>
> > I need adding a click event to th (in a table with UIBinder context).
> > Is it possible? Have I to create a TH-Widget with a wrap method? If
> > it's so, how?
>
> > Thanks
> > Julio
>
> > --
> > 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: Getting error GWT 2.3 and gwt-maven-plugin 2.2

2011-06-08 Thread Juan Pablo Gardella
I suppose isn't compatible with GWT >= 2.2.

2011/6/8 Rajesh Waran 

> Hi,
>
> getting the following error
>
> Loading inherited module 'com.google.gwt.canvas.dom.DOM'
> [INFO]  Loading inherited module 'com.google.gwt.dom.DOM'
> [INFO] Loading inherited module 'com.google.gwt.user.UserAgent'
> [INFO][ERROR] Element 'extend-property' beginning on
> line 27 contains unexpected attribute 'fallback-value'
> [INFO][ERROR] Failure while parsing XML
> [INFO] com.google.gwt.core.ext.UnableToCompleteException: (see
> previous log entries)
>
>
>
> when i remove the
> 
>
> build runs, strange any help...
>
> --
> 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: Wrapping element as Widget and adding click event

2011-06-08 Thread Juan Pablo Gardella
CellTable don't work for you? See this question
in
stackoverflow.

Juan

2011/6/8 julio 

> I need adding a click event to th (in a table with UIBinder context).
> Is it possible? Have I to create a TH-Widget with a wrap method? If
> it's so, how?
>
> Thanks
> Julio
>
> --
> 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.



Getting error GWT 2.3 and gwt-maven-plugin 2.2

2011-06-08 Thread Rajesh Waran
Hi,

getting the following error

Loading inherited module 'com.google.gwt.canvas.dom.DOM'
[INFO]  Loading inherited module 'com.google.gwt.dom.DOM'
[INFO] Loading inherited module 'com.google.gwt.user.UserAgent'
[INFO][ERROR] Element 'extend-property' beginning on
line 27 contains unexpected attribute 'fallback-value'
[INFO][ERROR] Failure while parsing XML
[INFO] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)



when i remove the


build runs, strange any help...

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



Wrapping element as Widget and adding click event

2011-06-08 Thread julio
I need adding a click event to th (in a table with UIBinder context).
Is it possible? Have I to create a TH-Widget with a wrap method? If
it's so, how?

Thanks
Julio

-- 
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: RequestFactory EntityProxy and AutoBean category

2011-06-08 Thread Jānis Ābele
I could not find no information in documentation nor GWT issues tracker. Can 
some of developers comment on this to clarify situation?

-- 
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/-/WnBVM3pjUVR4MklK.
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: Holy Cow! GWT Designer comes up quick in 2.4 beta?!?!

2011-06-08 Thread cri
Couldn't easily get the gist of your links Could you summarize?

One thing I've just noticed. I used to hesitate to open a gwt designer
window because it took so long. Now that the wait is dramatically
shorter, I use the designer window just to navigate my code, even when
I don't have any gui changes to make. Cool!

On Jun 8, 9:09 am, Gal Dolber  wrote:
> Could be because of this?:
>
> #GWT  trunk watch: Google projects
> seeing 30-40% dev mode speedup 
> withhttp://gwt-code-reviews.appspot.com/1448801/
>
>
>
>
>
>
>
>
>
> On Wed, Jun 8, 2011 at 9:44 AM, cri  wrote:
> > I just installed GPE 2.4 beta and it sure seems to me that GWT
> > Designer design windows are coming up faster - much faster! Tell me
> > I'm not imagining things. So, this must be a new feature in 2.4.
> > I'm a big advocate of GWT Designer and this helps tremendously.
> > Thanks!!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/

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



Re: Installing GWT 2.2 in Eclipse

2011-06-08 Thread David Chandler
You can obtain prior versions of GWT from Maven Central or
http://code.google.com/p/google-web-toolkit/downloads/list. You can use the
Configure GWT SDKs feature in the GWT properties dialog for the project to
use a downloaded version of GWT instead of the GWT SDK 2.3 you installed
with the plugin.

For the plugin itself, prior versions are not available.

/dmc

On Wed, Jun 8, 2011 at 9:55 AM, Rajesh Prabhu. R
wrote:

> Hello All,
>
> I need to install GWT 2.2 in Eclipse.
>
> I tried to use the below URL but it is installing GWT 2.3
> http://dl.google.com/eclipse/plugin/3.6
>
> Is there a way to get GWT 2.2 and install?? Possibly a Zip file or an
> installer??
>
> With Regards,
> Rajesh Prabhu. R
>
> --
> 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.
>
>


-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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: Referenced Projects for GWT

2011-06-08 Thread Ahmet Dakoglu
Reference the external gwt project to your MainGwt project from build path,
and inherit it from your .gwt.xml file like 

*"com.external.project.AnotherGwtProject*" is the path of gwt.xml file of
external gwt project. To use my own gwt widgets in different projects , i
followed those steps.

On Tue, Jun 7, 2011 at 10:04 PM, Olli  wrote:

> Hi all,
>
> I'm just doing my first developments with the GWT
>
> I'm using Eclipse with the plugin. The first typically "Hello World"
> example works fine and did some tests with RPC.
>
> Now I want to use an other project as reference. In this project I
> have some implementation of business logic already in a productive and
> stable version. So I added the project to the references of the GWT
> project and want to use some factories of the referenced project in
> GWT.
>
> This always results in an error message:
> No source code is available for type ... did you forget to inherit a
> required module?
>
> I think it should be possible to use some ready implementations for
> the frontend project in GWT.
>
> Can anyone help, please?
>
> Thanks in advance
> Olli
>
> --
> 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.
>
>


-- 
*Ahmet DAKOĞLU*

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



Installing GWT 2.2 in Eclipse

2011-06-08 Thread Rajesh Prabhu. R
Hello All,

I need to install GWT 2.2 in Eclipse.

I tried to use the below URL but it is installing GWT 2.3
http://dl.google.com/eclipse/plugin/3.6

Is there a way to get GWT 2.2 and install?? Possibly a Zip file or an
installer??

With Regards,
Rajesh Prabhu. R

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



How to uncheck header checkbox in Celltable when paging?

2011-06-08 Thread atul
How to uncheck header checkbox in Celltable when paging?
The header checkbox is used to select/unselect all the rows in
Celltable by a single click on it:
Like we see in gmail and yahoo mail

The problem is that after selecting the header checkbox in the current
page,
it remains selected after paging to next page

I am using SimplePager for paging the celltable data

Below is the code:
 * Copyright 2010 Google Inc.
package com.google.gwt.sample.celltable.client;

import com.google.gwt.cell.client.CheckboxCell;
import com.google.gwt.cell.client.DateCell;
import com.google.gwt.cell.client.FieldUpdater;
import com.google.gwt.cell.client.ValueUpdater;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.safehtml.shared.SafeHtmlUtils;
import com.google.gwt.user.cellview.client.CellTable;
import com.google.gwt.user.cellview.client.Column;
import
com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy.KeyboardSelectionPolicy;
import com.google.gwt.user.cellview.client.SimplePager.TextLocation;
import com.google.gwt.user.cellview.client.Header;
import com.google.gwt.user.cellview.client.SimplePager;
import com.google.gwt.user.cellview.client.TextColumn;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.view.client.DefaultSelectionEventManager;
import com.google.gwt.view.client.ListDataProvider;
import com.google.gwt.view.client.MultiSelectionModel;
import com.google.gwt.view.client.SelectionChangeEvent;
import com.google.gwt.view.client.SingleSelectionModel;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.GwtEvent.Type;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Set;
import java.util.HashSet;
import java.util.Iterator;
/**
 * Example of {@link CellTable}. This example shows a table containing
contact
 * information.
 */
public class CelltableTrail implements EntryPoint {

  /**
   * A simple data type that represents a contact.
   */
  private static class Contact {
private final String address;
private final Date birthday;
private final String name;

public Contact(String name, Date birthday, String address) {
  this.name = name;
  this.birthday = birthday;
  this.address = address;
}
  }

  /**
   * The list of data to display.
   */
  private static final List CONTACTS = Arrays.asList(
  new Contact("1John", new Date(80, 4, 12), "123 Fourth 
Avenue"),
  new Contact("2Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("3George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("4John", new Date(80, 4, 12), "123 Fourth Avenue"),
  new Contact("5Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("6George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("7John", new Date(80, 4, 12), "123 Fourth Avenue"),
  new Contact("8Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("9George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("10John", new Date(80, 4, 12), "123 Fourth
Avenue"),
  new Contact("11Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("12George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("13John", new Date(80, 4, 12), "123 Fourth
Avenue"),
  new Contact("14Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("15George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("16John", new Date(80, 4, 12), "123 Fourth
Avenue"),
  new Contact("17Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("18George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("19John", new Date(80, 4, 12), "123 Fourth
Avenue"),
  new Contact("20Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("21George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("22John", new Date(80, 4, 12), "123 Fourth
Avenue"),
  new Contact("23Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("24George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"),
  new Contact("25John", new Date(80, 4, 12), "123 Fourth
Avenue"),
  new Contact("26Joe", new Date(85, 2, 22), "22 Lance Ln"),
  new Contact("27George", new Date(46, 6, 6), "1600 Pennsylvania
Avenue"));

  public void onModuleLoad() {
// Create a CellTable.
final CellTable table = new CellTable();
Button addToListButton = new Button("Add To List");
Button selectAllButto

Script (nocache.js) not loads GWT compiled module in IE8

2011-06-08 Thread vaibhav bhalke
Hello all,

Script (nocache.js) loads into Mozila FF but not loads into IE8. I cleared
cache for IE8 still no loading of script. Any solution ?

gwt.nocache.js is generated in gwt folder gwt/gwt.nocache.js

src path is correctly added.
Browser shows just GWT heading in html page. and message on toolbar
waiting for javascript:".. then Done

Whats wrong ?


My gwt.html page is as follows:






  
  

   GWT

  

Error performing GWT unit test

2011-06-08 Thread WulfgarPro
Hi,

http://stackoverflow.com/questions/6273829/error-performing-gwt-unit-test

I have a basic unit test:

public class LogViewTest extends GWTTestCase {

@Override
public String getModuleName() {
return "adiib.harmoniser";
}

public void testSimple() {
assertTrue(true);
}
}

I am receiving the following exception when attempting to run the
above test:

Testcase: testSimple(adiib.client.view.LogViewTest): Caused an ERROR
warningThreshold java.lang.NoSuchFieldError: warningThreshold at
com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
340) at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.
(JdtCompiler.java:174) at
com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:616)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:193) at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
390) at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
275) at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
325) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:
1322) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:
1289) at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:631)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
441) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:
296)

I'm using NetBeans. This same test case works fine under Eclipse.

Any ideas ?

WulfgarPro

-- 
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 with cookies cleaning on tab closing

2011-06-08 Thread Jeffrey Chimene

On 6/8/2011 7:24 AM, Celeste Gunski wrote:

Hi,
anyone knows how to count the number of instances of the application
that are active in the browser?
I still couldn't solve this problem
Thanks!
If your app allows multiple sessions (e.g. tabs), then you should 
include a session ID in the cookies. It should not be necessary to 
maintain an instance count.


--
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: @ProxyFor confusing GWT Designer

2011-06-08 Thread Konstantin Scheglov
Please include also into error report following files:
1. module.gwt.xml
2. Handout.java
3. HandoutProxy.java

-- 
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/-/YlQ0NWxxaE4zcFFK.
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: dynamic proxy

2011-06-08 Thread Michał Jabłoński
I am going to create universal proxy to server object. I want to user
call method of class (any kind he creates) on client side which will
be calling the same method on server object and return value. Dynamic
proxy is exactly what I need.
So the only way is to call a class by name?

Paul Robinson wrote:
> No. It's not clear exactly what you're trying to achieve, so it's hard to 
> suggest an alternative. You have almost no reflection available in GWT - 
> almost the only thing you can do is to ask a class for its name. So passing 
> an interface as a parameter is not generally useful.
>
> Paul
>
> On 08/06/11 12:32, Michał Jabłoński wrote:
> > Hi!
> >
> > It is possible to create dynamic proxy in gwt? I want create library
> > which changes behaviour of methods of some class (interface will be
> > parameter), for example, when user call method of class implementing
> > interface, it will return always String "abc". In java it would be
> > something like this:
> >
> > public class proxyHandler implements InvocationHandler {
> > private Object proxied;
> >
> > public proxyHandler(Object proxied) {
> > this.proxied = proxied;
> > }
> >
> > public Object invoke(Object proxy, Method method, Object[] args)
> > throws Throwable {
> > return "abc";
> > }
> > }
> > ..
> > public static void main(String[] args) {
> > Object object = new Object();
> > Interface proxy = (Interface)Proxy.newProxyInstance(
> >   Interface.class.getClassLoader(),
> >   new Class[]{ Interface.class },
> >   new proxyHandler(object));
> > System.out.println(proxy.getName());
> > }
> >
> > It is possible to do something like this in gwt (using deferred
> > binding, whatever)? Thanks for any help
> >

-- 
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: Problems using RequestFactory

2011-06-08 Thread Thomas Broyer


On Wednesday, June 8, 2011 3:50:08 PM UTC+2, Ryan McFall wrote:
>
> It was through looking through the GWT source that I realized the 
> source of my error, so that's definitely a good pointer. 
>
> It would have helped me if the error message was: 
> Invalid request parameterization: 
> edu.hope.cs.surveys.dao.pojo.Tag must extend EntityProxy 
>
> I think that would be a valid error message, right?  Adding "must 
> extend EntityProxy" would seem to make it quite clear what had gone 
> wrong.


If it had been the case, the Request would have been declared as Request, but it's not, because you can have a 
Request>, or a Request or Request (or 
Request>), which obviously don't extend BaseProxy.

If you declared a Request where you erroneously imported java.sql.Date 
instead of java.util.Date, having "Invalid Request parameterization: 
java.sql.Date must extend BaseProxy" would be inaccurate and probably more 
confusing than without the "must extend".

-- 
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/-/TXdTdGMweGdmbkFK.
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 with cookies cleaning on tab closing

2011-06-08 Thread Celeste Gunski
Hi,
anyone knows how to count the number of instances of the application
that are active in the browser?
I still couldn't solve this problem
Thanks!

On Tue, May 31, 2011 at 12:08 PM, Cibeles  wrote:
> Hi, i need to clean the user cookies (particulary the session ones)
> when the last tab or window of my application is closed, i've tried
> with:
> Window.addWindowClosingHandler(new ClosingHandler() {
>
>                        @Override
>                        public void onWindowClosing(ClosingEvent event) {
>                                String cookies[]= {"ya_conectado"};
>                                
> .client.util.Cookies.limpiar_cookies(cookies); //This
> line cleans the cookies listed
>                        }
>                });
>
> but the problem is that if the user has two tabs open and want to
> close only one of them and continue working on the other, he can't
> because it has been logged out
> Is there any way of knowing if i have another tab with the application
> on it?
> 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.
>
>



-- 
Cele

-- 
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: Eclipse Plugin interaction with RequestFactory

2011-06-08 Thread Jeff Larsen
The 2.4 beta that I tried, I couldn't get the RequestFactory code generation 
to work on non-appengine projects. 

-- 
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/-/TUV4eF8tQ0Ftb0FK.
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: Eclipse Plugin interaction with RequestFactory

2011-06-08 Thread Thomas Broyer
I haven't tried the GPE "2.4 beta" but I'm pretty sure this is included: 
http://googlewebtoolkit.blogspot.com/2011/05/android-meet-app-engine-app-engine-meet.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/-/UWZyYUJaOTZxMFlK.
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: Holy Cow! GWT Designer comes up quick in 2.4 beta?!?!

2011-06-08 Thread Gal Dolber
Could be because of this?:

#GWT  trunk watch: Google projects
seeing 30-40% dev mode speedup with
http://gwt-code-reviews.appspot.com/1448801/

On Wed, Jun 8, 2011 at 9:44 AM, cri  wrote:

> I just installed GPE 2.4 beta and it sure seems to me that GWT
> Designer design windows are coming up faster - much faster! Tell me
> I'm not imagining things. So, this must be a new feature in 2.4.
> I'm a big advocate of GWT Designer and this helps tremendously.
> Thanks!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


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

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

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



Re: Problems using RequestFactory

2011-06-08 Thread Ryan McFall
It was through looking through the GWT source that I realized the
source of my error, so that's definitely a good pointer.

It would have helped me if the error message was:
Invalid request parameterization:
edu.hope.cs.surveys.dao.pojo.Tag must extend EntityProxy

I think that would be a valid error message, right?  Adding "must
extend EntityProxy" would seem to make it quite clear what had gone
wrong.

Ryan

On Jun 7, 5:05 pm, Thomas Broyer  wrote:
> On Tuesday, June 7, 2011 9:56:10 PM UTC+2, Ryan McFall wrote:
>
> > For others who might see this message, I quickly discovered my
> > problem.  In the TagRequest class (which extends RequestContext), the
> > method getTags is declared to return a List.  That should have
> > been List, as ITag is the interface which extends EntityProxy.
> > The error message seems to indicate to me there is something wrong
> > with the Tag class, rather than the true source of the error.  Perhaps
> > the error message could have been different, but I place at least 90%
> > of the blame squarely on my own shoulders :-)
>
> Searching for the error message in GWT's code [1] which lead to this method
> [2], where you can see what types are checked: "Simple values, like Integer
> and String", "EntityProxy and ValueProxy return types", Collection, or Map.
> But well, I an't find a way to make this message clearer without making it
> too long: "invalid Request parameterization" clearly means the type
> parameter is wrong, not what's *in* that type, but the type itself (i.e. the
> classes or interfaces it extends)
>
> [1]http://www.google.com/codesearch?q=%22Invalid+Request+parameterizatio...
>
> [2]http://www.google.com/codesearch/p#A1edwVHBClQ/user/src/com/google/we...

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



Holy Cow! GWT Designer comes up quick in 2.4 beta?!?!

2011-06-08 Thread cri
I just installed GPE 2.4 beta and it sure seems to me that GWT
Designer design windows are coming up faster - much faster! Tell me
I'm not imagining things. So, this must be a new feature in 2.4.
I'm a big advocate of GWT Designer and this helps tremendously.
Thanks!!

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



Eclipse Plugin interaction with RequestFactory

2011-06-08 Thread Ryan McFall
In moving from Gilead to RequestFactory, one of the things I've found
that I don't like is that there's no way for the compiler to make sure
that I haven't screwed up when I claim that a particular EntityProxy
is a proxy for a particular domain object (perhaps I've mistyped the
name of a method in the EntityProxy declaration, for example).  This
also comes into play when I annotate the RequestContext interface with
a Service annotation - I don't find out until runtime that I haven't
implemented a needed method.

I think I understand why this can't be done by the compiler, but I can
easily envision how it could be done by the Eclipse plugin.  The
plugin already does this for the synchronous/asynchronous versions of
GWT-RPC interfaces, for example.

I'm pretty sure I could write my own validator, but I'm curious if
there are plans in place to add functionality like this to the Eclipse
plugin.

Thanks!
Ryan

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



Re: How to set background color for button?

2011-06-08 Thread Julian
Try using button.*setStyleName*("color-icon"); instead.

Alternatively use

.color-icon { 
  height: 16px; 
  width: 23px; 
  background-image: none *!important*; 
  background-color: #77; 
}


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



Re: How to set background color for button?

2011-06-08 Thread Piro
Have you tried something like Firebug to see applied css in browser?
It helped me when i was making some css stuff, since i am just css
beginner.

On 7. Jún, 22:17 h., Ryan McFall  wrote:
> I believe you need to make sure that the rule in which you are
> eliminating the background-image has a higher CSS priority than the
> default one.  The rule for the default push-button which is setting
> the background-image contains two class selectors, making it higher
> priority than the rule you've written for .color-icon.
>
> Ryan
>
> On Jun 6, 3:05 pm, Lars Ruoff  wrote:
>
>
>
>
>
>
>
> > Hello,
> > yes, i know, but the problem is that:
> > ToggleButton has its predefined style gwt-Togglebutton or similar.
> > That style defines a background-image for the button.
> > In order to set a background color i need to get rid of the background
> > image.
> > So i defined a style
> > .color-icon {
> >   height: 16px;
> >   width: 23px;
> >   background-image: none;
> >   background-color: #77;}
>
> > and added it with
> >   button.addStyleName("color-icon");
>
> > The size is taken into account, but not the background color.
> > The image is still there.
> > How can i get rid of the background image of the default style?
>
> > On Jun 5, 4:44 pm, Piro  wrote:
>
> > > Use CSS to style buttons.
>
> > >http://code.google.com/intl/sk-SK/webtoolkit/doc/latest/DevGuideUiCss...
>
> > > On 4. Jún, 17:10 h., Lars Ruoff  wrote:
>
> > > > Hello,
>
> > > > how to change the background color of a ToggleButton?
> > > > I want to have ToggleButtons in various colours displayed on my page.
> > > > The buttons are actually for choosing a color in the application.
>
> > > > regards,
> > > > Lars

-- 
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: SelectionCell and celltable : each object in the cellTable may have it's own menu list

2011-06-08 Thread Celinio
hey,
replying to my own question.
I figured it out, i wrote my own custom cell, extending SelectionCell
and my own addOption(), clear() methods etc.


On Wed, Jun 8, 2011 at 1:42 PM, Celinio  wrote:

> Hi,
> this question has already been asked but nobody answered.
>
> http://groups.google.com/group/google-web-toolkit/msg/48a4109232fa2f35
>
> Here is a snippet from the showcase sample :
> http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable
>
> final Category[] categories = ContactDatabase.get().queryCategories();
> List categoryNames = new ArrayList();
> for (Category category : categories) {
>   categoryNames.add(category.getDisplayName());
> }
> SelectionCell categoryCell = new SelectionCell(categoryNames);
> Column categoryColumn = new Column<
> ContactInfo, String>(categoryCell) {
>   @Override
>   public String getValue(ContactInfo object) {
> return object.getCategory().getDisplayName();
>   }
> };
> cellTable.addColumn(categoryColumn,
> constants.cwCellTableColumnCategory());
>
> I am facing the same problem :
> I am also currently working on a project that requires that each  object in
> the cellTable may have it's own menu list.  Can anyone
> provide any clues as to how I would go about modifying the code so that
> each object/row would have it's own SelectionCell?
>
> Thanks for helping.
>

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

2011-06-08 Thread SrArcos
Thanks, I'll check my pom.xml comparing it with yours. Thank you very
much. I'll tell you

On 8 jun, 07:07, Juan Pablo Gardella 
wrote:
> See the pom.xml in this
> sample
> .
>
> Juan
>
> 2011/6/8 SrArcos 
>
> > Hello all, I am trying to compile a GWT proyect with Maven but I am
> > not able to package the proyect into a war file. I'm with this for two
> > weeks and I'm going crazy. Let's see if anyone can help me, please.
>
> > The structure or my proyect is this:
>
> > [code]
>
> > +JRE System Library (libraries)
> > +Maven Dependencies (libraries)
> > +test
> > +test-classes
> > +pom.xml
> > +src
> >  +-main
> >    |
> >    +-java
> >    | |
> >    | +-gwt/srarcos/library
> >    | |
> >    | +-META-INF
> >    | | |
> >    | | +-persistence.xml
> >    | |
> >    | +-log4j.properties
> >    |
> >    +-resources
> >    |
> >    +-webapp
> >      |
> >      +-Library
> >      |
> >      +-WEB-INF
> >      | |
> >      | +-lib
> >      | |
> >      | +-applicationContext.xml
> >      | |
> >      | +-web.xml
> >      |
> >      +-index.html
> >      |
> >      +-login.jsp
>
> > [/code]
>
> > This is my pom
>
> > [code]
> > http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
> >www.w3.org/2001/XMLSchema-instance"
> >        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >http://maven.apache.org/xsd/maven-4.0.0.xsd";>
> >        4.0.0
>
> >        war
> >        Library
> >        gwt.srarcos
> >        Library
> >        1.0.0-SNAPSHOT
>
> >        
> >                src/main/webapp
> >        
> >        
> >                ISO-8859-1 > project.build.sourceEncoding>
> >                1.6
> >                1.6
> >                1.5
> >                1.5
> >        
>
> >        
> >                
> >                        
>
> >                                org.codehaus.mojo
> >                                gwt-maven-plugin
> >                                2.2.0
> >                                
>
> >  gwt.srarcos.library.Library
>
> >  src/main/webapp
> >                                        index.html
> >                                        2.2.0
> >                                        INFO
> >                                        OBFUSCATED
>
> >  src/main/webapp/WEB-INF/web.xml
> >                                
> >                                
> >                                        
>
> >  prepare-package
> >                                                
> >                                                    compile
> >                                                
> >                                        
> >                                
> >                        
> >                        
> >                                org.apache.maven.plugins
> >                                maven-clean-plugin
> >                                
> >                                        
> >                                                
>
> >  src/main/webapp/library
> >                                                
> >                                                
>
> >  src/main/webapp/WEB-INF/classes
> >                                                
> >                                        
> >                                
> >                        
> >                        
> >                                maven-war-plugin
> >                                2.0.1
> >                                
> >                                    true
>
> >  src/main/webapp
>
> >  src/main/webapp/WEB-INF/web.xml
> >                                
> >                        
> >                
> >                src/main/java
>
> >  src/main/webapp/WEB-INF/classes
> >                
> >                        
> >                                src/main/resources
> >                        
> >                
> >        
>
> >        
> >                
> >                        repo
> >                        repo
> >                        http://127.0.0.1/artifactory/repo
> >                
> >        
> >        
> >                
> >                        repo
> >                        repo
> >                        http://127.0.0.1/artifactory/repo
> >                
> >        
> >        
> >                        
> >                                antlr
> >                                antlr
> >                                2.7.6
> >                        
> >                        
> >                                commons-codec
> >                                commons-codec
> >                                1.4
> >                        
> >                        
> >                                commons-collections
> >                                commons-collections
> >                                3.1
> >                        
> >                        
> >                                commons-io
> >                            

Re: dynamic proxy

2011-06-08 Thread Paul Robinson

No. It's not clear exactly what you're trying to achieve, so it's hard to 
suggest an alternative. You have almost no reflection available in GWT - almost 
the only thing you can do is to ask a class for its name. So passing an 
interface as a parameter is not generally useful.

Paul

On 08/06/11 12:32, Michał Jabłoński wrote:

Hi!

It is possible to create dynamic proxy in gwt? I want create library
which changes behaviour of methods of some class (interface will be
parameter), for example, when user call method of class implementing
interface, it will return always String "abc". In java it would be
something like this:

public class proxyHandler implements InvocationHandler {
private Object proxied;

public proxyHandler(Object proxied) {
this.proxied = proxied;
}

public Object invoke(Object proxy, Method method, Object[] args)
throws Throwable {
return "abc";
}
}
..
public static void main(String[] args) {
Object object = new Object();
Interface proxy = (Interface)Proxy.newProxyInstance(
  Interface.class.getClassLoader(),
  new Class[]{ Interface.class },
  new proxyHandler(object));
System.out.println(proxy.getName());
}

It is possible to do something like this in gwt (using deferred
binding, whatever)? Thanks for any help



--
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: XML validation with XSD (SXML Schema) validation in GWT

2011-06-08 Thread Michaël
On 3 juin, 16:21, Michaël  wrote:
> On 31 mai, 19:56, Jeff Chimene  wrote:
>
> > On 05/31/2011 08:52 AM, Micha l wrote:
>
> > > Hi,
>
> > > After a lot of research on the web I don't find how to validate a XML
> > > file with a XSD (XML Schema) in GWT (2.3.0).
>
> > > I saw that on the JSE 6 there is a SchemaFactory class, but not in
> > > GWT. So, how can I do this validation?
>
> > > Best regards.
>
> > You won't be able to invoke a validating parser on the client side, You
> > can use GWT RPC to cause your server to perform that task, and return
> > the results to your client.
>
> Hi,
>
> Thanks for your answer. But my problem is how to "implement" the
> SchemaFactory class (javax.xml.validation.SchemaFactory) on GWT. I try
> to put "import javax.xml.validation.SchemaFactory;" on my code, but
> when I launch it, there are some errors :
>
> Errors in 'file:/home/my_user/workspace/Test/src/com/exemple/projet/
> client/Test.java'
> Line 56: No source code is available for type
> javax.xml.validation.SchemaFactory; did you forget to inherit a
> required module?
> ...
>
> I try to put ()
> on my src/com.exemple.projet/Test.gwt.xml file, but it doesn't work
> too.
> I understand that  must be done for framework classes.
>
> PS : Sorry if I don't speak very good english, but my first language
> is french.
>
> Thanks for your answer.

Up!

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



SelectionCell and celltable : each object in the cellTable may have it's own menu list

2011-06-08 Thread Celinio
Hi,
this question has already been asked but nobody answered.

http://groups.google.com/group/google-web-toolkit/msg/48a4109232fa2f35

Here is a snippet from the showcase sample :
http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable

final Category[] categories = ContactDatabase.get().queryCategories();
List categoryNames = new ArrayList();
for (Category category : categories) {
  categoryNames.add(category.getDisplayName());
}
SelectionCell categoryCell = new SelectionCell(categoryNames);
Column categoryColumn = new Column<
ContactInfo, String>(categoryCell) {
  @Override
  public String getValue(ContactInfo object) {
return object.getCategory().getDisplayName();
  }
};
cellTable.addColumn(categoryColumn,
constants.cwCellTableColumnCategory());

I am facing the same problem :
I am also currently working on a project that requires that each  object in
the cellTable may have it's own menu list.  Can anyone
provide any clues as to how I would go about modifying the code so that each
object/row would have it's own SelectionCell?

Thanks for helping.

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



dynamic proxy

2011-06-08 Thread Michał Jabłoński
Hi!

It is possible to create dynamic proxy in gwt? I want create library
which changes behaviour of methods of some class (interface will be
parameter), for example, when user call method of class implementing
interface, it will return always String "abc". In java it would be
something like this:

public class proxyHandler implements InvocationHandler {
private Object proxied;

public proxyHandler(Object proxied) {
this.proxied = proxied;
}

public Object invoke(Object proxy, Method method, Object[] args)
throws Throwable {
return "abc";
}
}
..
public static void main(String[] args) {
Object object = new Object();
Interface proxy = (Interface)Proxy.newProxyInstance(
  Interface.class.getClassLoader(),
  new Class[]{ Interface.class },
  new proxyHandler(object));
System.out.println(proxy.getName());
}

It is possible to do something like this in gwt (using deferred
binding, whatever)? Thanks for any help

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

2011-06-08 Thread Juan Pablo Gardella
See the pom.xml in this
sample
.

Juan

2011/6/8 SrArcos 

> Hello all, I am trying to compile a GWT proyect with Maven but I am
> not able to package the proyect into a war file. I'm with this for two
> weeks and I'm going crazy. Let's see if anyone can help me, please.
>
> The structure or my proyect is this:
>
> [code]
>
> +JRE System Library (libraries)
> +Maven Dependencies (libraries)
> +test
> +test-classes
> +pom.xml
> +src
>  +-main
>|
>+-java
>| |
>| +-gwt/srarcos/library
>| |
>| +-META-INF
>| | |
>| | +-persistence.xml
>| |
>| +-log4j.properties
>|
>+-resources
>|
>+-webapp
>  |
>  +-Library
>  |
>  +-WEB-INF
>  | |
>  | +-lib
>  | |
>  | +-applicationContext.xml
>  | |
>  | +-web.xml
>  |
>  +-index.html
>  |
>  +-login.jsp
>
> [/code]
>
> This is my pom
>
> [code]
> http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
> www.w3.org/2001/XMLSchema-instance"
>xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>4.0.0
>
>war
>Library
>gwt.srarcos
>Library
>1.0.0-SNAPSHOT
>
>
>src/main/webapp
>
>
>ISO-8859-1 project.build.sourceEncoding>
>1.6
>1.6
>1.5
>1.5
>
>
>
>
>
>
>org.codehaus.mojo
>gwt-maven-plugin
>2.2.0
>
>
>  gwt.srarcos.library.Library
>
>  src/main/webapp
>index.html
>2.2.0
>INFO
>OBFUSCATED
>
>  src/main/webapp/WEB-INF/web.xml
>
>
>
>
>  prepare-package
>
>compile
>
>
>
>
>
>org.apache.maven.plugins
>maven-clean-plugin
>
>
>
>
>  src/main/webapp/library
>
>
>
>  src/main/webapp/WEB-INF/classes
>
>
>
>
>
>maven-war-plugin
>2.0.1
>
>true
>
>  src/main/webapp
>
>  src/main/webapp/WEB-INF/web.xml
>
>
>
>src/main/java
>
>  src/main/webapp/WEB-INF/classes
>
>
>src/main/resources
>
>
>
>
>
>
>repo
>repo
>http://127.0.0.1/artifactory/repo
>
>
>
>
>repo
>repo
>http://127.0.0.1/artifactory/repo
>
>
>
>
>antlr
>antlr
>2.7.6
>
>
>commons-codec
>commons-codec
>1.4
>
>
>commons-collections
>commons-collections
>3.1
>
>
>commons-io
>commons-io
>1.4
>
>
>dom4j
>dom4j
>1.6.1
>
>
>com.google.gwt
>gwt-servlet
>2.2.0
>runtime
>  

Re: GWT and Maven

2011-06-08 Thread pansen
Hm, not exactly.

But I would recommend to run your mvn command with ``-X`` and grep for
" Configuring " like::

 mvn clean compile package -X | grep ' Configuring ' -A 30

you can see all config options here and should be able to fit them to
your needs (inside the  section of ``gwt-maven-
plugin``)::

[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-war-
plugin:2.1-beta-1:war' with basic configurator -->
...
[DEBUG]   (s) outputDirectory = /Users/abalke/project/xx/vz-gwt-
main/target
...
[DEBUG]   (s) warName = vz-gwt-main-0.1.11-SNAPSHOT
[DEBUG]   (s) warSourceDirectory = /Users/abalke/project/xx/vz-gwt-
main/src/main/webapp
[DEBUG]   (s) webappDirectory = /Users/abalke/project/xx/vz-gwt-
main/target/vz-gwt-main-0.1.11-SNAPSHOT
...

This should work locally the same as on your hudson as it seems not
like you're using any Maven Profiles yet.

Hope this helps a bit.

Andi

On 8 Jun., 09:31, SrArcos  wrote:
> Hello all, I am trying to compile a GWT proyect with Maven but I am
> not able to package the proyect into a war file. I'm with this for two
> weeks and I'm going crazy. Let's see if anyone can help me, please.
>
> The structure or my proyect is this:
>
> [code]
>
> +JRE System Library (libraries)
> +Maven Dependencies (libraries)
> +test
> +test-classes
> +pom.xml
> +src
>   +-main
>     |
>     +-java
>     | |
>     | +-gwt/srarcos/library
>     | |
>     | +-META-INF
>     | | |
>     | | +-persistence.xml
>     | |
>     | +-log4j.properties
>     |
>     +-resources
>     |
>     +-webapp
>       |
>       +-Library
>       |
>       +-WEB-INF
>       | |
>       | +-lib
>       | |
>       | +-applicationContext.xml
>       | |
>       | +-web.xml
>       |
>       +-index.html
>       |
>       +-login.jsp
>
> [/code]
>
> This is my pom
>
> [code]
> http://maven.apache.org/POM/4.0.0"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>         
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>         4.0.0
>
>         war
>         Library
>         gwt.srarcos
>         Library
>         1.0.0-SNAPSHOT
>
>         
>                 src/main/webapp
>         
>         
>                 ISO-8859-1 project.build.sourceEncoding>
>                 1.6
>                 1.6
>                 1.5
>                 1.5
>         
>
>         
>                 
>                         
>
>                                 org.codehaus.mojo
>                                 gwt-maven-plugin
>                                 2.2.0
>                                 
>                                         
> gwt.srarcos.library.Library
>                                         
> src/main/webapp
>                                         index.html
>                                         2.2.0
>                                         INFO
>                                         OBFUSCATED
>                                         
> src/main/webapp/WEB-INF/web.xml
>                                 
>                                 
>                                         
>                                                 prepare-package
>                                                 
>                                                     compile
>                                                 
>                                         
>                                 
>                         
>                         
>                                 org.apache.maven.plugins
>                                 maven-clean-plugin
>                                 
>                                         
>                                                 
>                                                         
> src/main/webapp/library
>                                                 
>                                                 
>                                                         
> src/main/webapp/WEB-INF/classes
>                                                 
>                                         
>                                 
>                         
>                         
>                                 maven-war-plugin
>                                 2.0.1
>                                 
>                                     true
>                                     
> src/main/webapp
>                                     
> src/main/webapp/WEB-INF/web.xml
>                                 
>                         
>                 
>                 src/main/java
>                 
> src/main/webapp/WEB-INF/classes
>                 
>                         
>                                 src/main/resources
>                         
>                 
>         
>
>         
>                 
>                         repo
>                         repo
>                         http://127.0.0.1/artifactory/repo
>

Re: Overnight chrome extension with gwt: Gmail Instant Browsing

2011-06-08 Thread Gal Dolber
New version with facebook and twitter support + other features!

On Tue, Jun 7, 2011 at 7:15 PM, Alain Ekambi wrote:

> works great
> thank you
>
>
> 2011/6/7 Gal Dolber 
>
>> Google forgot the sharing part of the chrome store.
>> Try this link:
>> https://chrome.google.com/webstore/detail/fpjmoncpngjdjjmdehlfcljjpmfhkpja?hl=en
>>
>>
>> On Tue, Jun 7, 2011 at 11:49 AM, Alain Ekambi <
>> jazzmatad...@googlemail.com> wrote:
>>
>>> Error Unknow application
>>>
>>> 2011/6/7 Gal Dolber 
>>>
 Here is a small extension I did last night:
 https://chrome.google.com/webstore/detail/fpjmoncpngjdjjmdehlfcljjpmfhkpja
 I love the new twitter app on ipad, in special the internal browser, so
 I copied it to work on gmail.
 Enjoy!

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

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




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

>>>
>>>
>>>
>>> --
>>>
>>> GWT API for  non Java based platforms
>>> http://code.google.com/p/gwt4air/
>>> http://www.gwt4air.appspot.com/
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>
>>
>> --
>> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>>
>> http://code.google.com/p/guit/
>>
>>
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
>
> GWT API for  non Java based platforms
> http://code.google.com/p/gwt4air/
> http://www.gwt4air.appspot.com/
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



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

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

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



Scrollable GWT Tree

2011-06-08 Thread Natalie.Lawrey
Hi
Is in GWT any way to wrap standard Tree in scroll panel without hard-
coding size of the tree?

I mean
ScrollPanel scroll = new ScrollPanel(myTree);
scroll.setSize("100%", "190px");

works perfectly - but desirable result is to occupy by the Tree as
much space as it is only possible (parent container has % size, so on
large screen it's huge). I don't wanna fixed size as above Any
clues or hints?


Regards!
Natalie

-- 
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 meets Adobe Flex: gwt4air 2.1 is here !

2011-06-08 Thread leandro borbosa
This is a free time project ? ?
Really impressive stuff.

"Hopefully i did a good job at that."
I  ve played around with the library i must say you did more then a good job
at that.
I still cant believe i m writing a Flex application.

I just wonder what makes you start this project. I mean Flex is not a small
framework. Exporting it to GWT must have been some hard work.

2011/6/7 Alain Ekambi 

> Hello Alexandro,
>
> Thank you for your kind words.
> I m glad that you like the project. I m also happy that it can help you
> solve some of the problems you have.
> Gwt4Air is  a free time project. We use it internally at the company i work
> but i dont get paid for that. It s small company so i decided to play the
> nice guy :).But I wish I could do this full time  dough.
>
> i m know the link you provided. As a matter of fact i have a comment there.
> While searching for ideas on how to implement the Flex API i came accross
> that post. What i did not like about that solution was the fact that the
> user must deal with both sides. Flex and GWT. I wanted a more simpler
> solution where one will only programm in Java like any GWT project.
> Hopefully i did a good job at that.
>
> Concerning what the Adobe Engineer told you: I think  what he ment is that
>  for every MXML based Flex project the MXML Compiler  does  some
> initialization work that you will have to do manually  if you dont want to
> use MXML. And that initialization is a quiet complex thing. So  he probably
> thought that no one would be crazy enough to try to figure out what the
> compiler really does . But because i wanted to use GWT to write Flex
> applicatons i had to be  crazy enough lol.
>
> cheers,
>
> Alain
>
> 2011/6/5 leandro 
>
>> Hi,
>> I just went to your project and i have to say this is just mind blowing!
>> Are you doing this full time ?
>> Really i wonder how you guyz come up with this kind of stuff.
>> We have been struggling integrating  flex client into how existing GWT
>> application.
>> We ve tried this  solution here
>> http://lgrammel.blogspot.com/2010/02/i-am-working-on-project-that-integrates.html
>> but  that did not scale very well. Maintining MXML/AS3, JavaScript and
>> Java in the same project is a nightmare.
>> Last year at Adobe Max i asked an engineer at from adobe if it s possible
>> to write Flex applications without using AS3 and MXML because we wanted to
>> keep everything in Java
>> and he basically said that s impossible. So i wonder how do you do this ?
>> I  cant wait to play to hero tomorrow at the office when i present the
>> solution that will solve our problems :)
>>
>> Good work man
>>
>> Alexandro
>>
>> --
>> 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/-/QTE0WG5VSzdpM0FK.
>>
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
>
> GWT API for  non Java based platforms
> http://code.google.com/p/gwt4air/
> http://www.gwt4air.appspot.com/
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: GWT meets Adobe Flex: gwt4air 2.1 is here !

2011-06-08 Thread gwt.user
You said that you "manually started Flex". But i cant see where that s 
happening in gwt4air. How did you do that ? 

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



Re: when i am using this code it gives error

2011-06-08 Thread vinayak kulkarni
Before making the jar containing ContactEntry class, put these module - 
ui.xml files and then export as jar with source code.

Inheriting is same as i explained above. You need to inherit all the modules 
which have the classes used in the client side.
It is only used by GWT compiler while converting into javascript.

-- 
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/-/S2JhRGFmb083UVFK.
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 and Maven

2011-06-08 Thread SrArcos
Hello all, I am trying to compile a GWT proyect with Maven but I am
not able to package the proyect into a war file. I'm with this for two
weeks and I'm going crazy. Let's see if anyone can help me, please.

The structure or my proyect is this:

[code]

+JRE System Library (libraries)
+Maven Dependencies (libraries)
+test
+test-classes
+pom.xml
+src
  +-main
|
+-java
| |
| +-gwt/srarcos/library
| |
| +-META-INF
| | |
| | +-persistence.xml
| |
| +-log4j.properties
|
+-resources
|
+-webapp
  |
  +-Library
  |
  +-WEB-INF
  | |
  | +-lib
  | |
  | +-applicationContext.xml
  | |
  | +-web.xml
  |
  +-index.html
  |
  +-login.jsp

[/code]

This is my pom

[code]
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
4.0.0

war
Library
gwt.srarcos
Library
1.0.0-SNAPSHOT


src/main/webapp


ISO-8859-1
1.6
1.6
1.5
1.5






org.codehaus.mojo
gwt-maven-plugin
2.2.0


gwt.srarcos.library.Library

src/main/webapp
index.html
2.2.0
INFO
OBFUSCATED

src/main/webapp/WEB-INF/web.xml



prepare-package

compile





org.apache.maven.plugins
maven-clean-plugin




src/main/webapp/library



src/main/webapp/WEB-INF/classes





maven-war-plugin
2.0.1

true

src/main/webapp

src/main/webapp/WEB-INF/web.xml



src/main/java

src/main/webapp/WEB-INF/classes


src/main/resources






repo
repo
http://127.0.0.1/artifactory/repo




repo
repo
http://127.0.0.1/artifactory/repo




antlr
antlr
2.7.6


commons-codec
commons-codec
1.4


commons-collections
commons-collections
3.1


commons-io
commons-io
1.4


dom4j
dom4j
1.6.1


com.google.gwt
gwt-servlet
2.2.0
runtime
  

Re: How to add checkbox in header.

2011-06-08 Thread atul
Hello,

Thanks for showing how to add an checkbox in the celltable header.

I have another question in this regard.
I am showing this celltable data with checkbox header as above 
as first column and 
other columns as Name, Address, etc.
Also I am using SimplePager to show the data in celltable 
in paginated format with pagesize 5.

Question:
The first 5 records are shown in first page and 
when the uses clicks the 
checkbox header cell all the first 5 records in the celltable are selected 
alongwith the checkbox header cell itself.

On paging to next page by clicking the next page image(or icon) on the 
SimplePager, the next 5 records from the celltable are shown  
but the checkbox header cell remains selected (true) 
as I had clicked it in the first page.

I need the checkbox header as unchecked again (false) 
when the user clicks on the 
next page and new records are shown.

SimplePager does on raise any event 
on clickcing the next page image(or icon).

Please Help

Thanks and Regards,
atul gaikwad

-- 
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: Maps and requestfactory

2011-06-08 Thread J.Ganesan
DataStoreGwt supports transport of HashMap.

J.Ganesan
www.DataStoreGwt.com

On Jun 8, 6:47 am, arif  wrote:
> Hello fellow GWTers, I recently started transitioning from GWT rpc to
> requestfactory. However, the major roadblock for me is transferring
> Map types (java.util.Map) as return type for requests. I have data
> model that contains Map object. Is there a workaround to this issue?
> Or storing Map in a GAE in itself is not efficient way? I would
> appreciate any pointers. Thanks.

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



GWT fails in recognising common module CSS file referred in common module - ui.xml file.

2011-06-08 Thread vinayak kulkarni
Hello,
I have a common module, module1.gwt.xml . It is not an entry point class. It 
is just inherited from main module.

In common module, i have a widget and its respective ui.xml file which i 
want to reuse in other module.

*package - common.client.view.*

*MyWidget.ui.xml: *
http://dl.google.com/gwt/DTD/xhtml.ent";>


 

   



*MyWidget:*
public class MyWidget extends Composite implements 
LeafValueEditor>
{

  private static MyWidgetUiBinder uiBinder = GWT.create(MyWidgetUiBinder 
.class);

  @UiTemplate("MyWidget.ui.xml")
  interface MyWidgetUiBinder extends UiBinder
  {
  }

.
}
 

Now i have another module, which is the application module and is an 
EntryPoint class.
I want to reuse the common ui.xml file in the application module.
I reused it in the following way with the fully qualified name for the 
uitemplate annotation as below:

*package: application.client.view*

public class MyApplicationWidget extends Composite implements 
LeafValueEditor>
{

  private static MyApplicationWidgetUiBinder uiBinder = 
GWT.create(MyApplicationWidget 
.class);

  @UiTemplate("*common.client.view*.*MyWidget.ui.xml*") 
  interface MyApplicationWidgetUiBinder extends UiBinder
  {
  }

...
}

But, when i compile this code using GWT compiler, it gives the compilation 
error saying it cannot find *Common.css*:
Below is the snippet:
Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
ERROR] Unable to find resource: application/client/view/FACommon.css
   validating {myStyle.sectionContent}
  [ERROR] Can't interpret CSS
  [ERROR] Could not find no-arg method named sectionContent 
in type com.google.gwt.resources.client.CssResource.

It is trying to find the CSS file in the same path where the view(widget) 
is.

Could anybody help if there is anyway where in we can override this 
behaviour of GWT and keep the CSS file from wherever we want.

Any help is appreciated.






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