Re: "persitence.xml"/Persistence provider not found if running in hosted mode/jetty (works if deployed on tomcat)

2011-03-21 Thread tanteanni
no - all is working fine if i run the reference jar from console. If deployed in Tomcat the persistence unit can be found. my structure is as follows: war/WEB-INF/lib/ are all referenced libraries among others eclipselink-2.0.2.jar, javax.persistence-2.0.0.jar and "gwzDB.jar". The latter includes M

Re: "persitence.xml"/Persistence provider not found if running in hosted mode/jetty (works if deployed on tomcat)

2011-03-21 Thread tanteanni
no - all is working fine if i run the reference jar from console. If deployed in Tomcat the persistence unit can be found. my structure is as follows: war/WEB-INF/lib/ are all referenced libraries among others eclipselink-2.0.2.jar, javax.persistence-2.0.0.jar and "gwzDB.jar". The latter includes M

Re: Widget does not change value? GWT 2.1

2011-03-21 Thread Milan Cvejic
Hi Everyone, I just found solution, I had two constructors in class where one of them was @UIConstrustructor, removed that constructor and everything now works. Thanks On Tue, Mar 22, 2011 at 6:54 AM, Y2i wrote: > Is text a field?  May be the local text hides the field, and you are setting > new

Re: GWT service that transforms a HTTP request including running javascript

2011-03-21 Thread Y2i
Sorry I wasn't clear, I just meant to say that HttpURLConnection can be used instead of httpclient from the apache commons library to avoid extra dependencies. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send e

Re: Widget does not change value? GWT 2.1

2011-03-21 Thread Y2i
Is text a field? May be the local text hides the field, and you are setting new value to the field? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe

Widget does not change value? GWT 2.1

2011-03-21 Thread Milan Cvejic
Hi Everyone, i am stuck with unexpected problem. I have following situation, i am creating HorizontalPanel, and adding Label widget in it. HorizontalPanel panel = new HorizontalPanel(); Label text = new Label("Foo"); panel.add(text); when i want to change value in label ie: text.setText("Foo");

Re: GWT service that transforms a HTTP request including running javascript

2011-03-21 Thread fred at large
java.net.HttpURLConnection does *not* process javascript. It will return the http data as is - with the embedded javascript - but not executed. embedding Rhino on server side was easy enough, but that's good for running singular javascripts. Collection as in a html can be, so using HTMLUnit

Re: "persitence.xml"/Persistence provider not found if running in hosted mode/jetty (works if deployed on tomcat)

2011-03-21 Thread Y2i
I didn't do anything special, just placed persistence.xml into ./src/META-INF. May be you are missing JPA implementation libraries? I keep them in ./war/WEB-INF/lib. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group

Re: CellTable Paging

2011-03-21 Thread John LaBanca
And so the quest to be "standards" compliant becomes the rationale for removing useful features. Thanks, John LaBanca jlaba...@google.com On Mon, Mar 21, 2011 at 8:20 PM, Thomas Broyer wrote: > > > On Tuesday, March 22, 2011 12:59:57 AM UTC+1, John LaBanca wrote: >> >> If you can believe it, F

Re: CellTable Paging

2011-03-21 Thread Thomas Broyer
On Tuesday, March 22, 2011 12:59:57 AM UTC+1, John LaBanca wrote: > > If you can believe it, FF supports it natively. Just set the tbody to > "overflow:auto", give the table a height, and *voilà*, you have fixed > headers. > If you can believe it, Firefox 4 no longer supports it: https://dev

Need Feedback on charts frameworks for GWT

2011-03-21 Thread Romain BIARD
Hi everybody, I'm looking for different feedback about frameworks which provides client-side charts, especially well integrated with GWT MVP Architecture (I managed to persuade my client to migrate to GWT 2.2.0 :p ) . I don't know which solution fit the best and the community didn't discuss about

Re: CellTable Paging

2011-03-21 Thread John LaBanca
If you can believe it, FF supports it natively. Just set the tbody to "overflow:auto", give the table a height, and *voilà*, you have fixed headers. Thanks, John LaBanca jlaba...@google.com On Mon, Mar 21, 2011 at 3:30 PM, Jeff Larsen wrote: > Woohoo! Awesome, I can't wait to see it John! > >

Re: Celltable Css

2011-03-21 Thread Thomas Broyer
On Monday, March 21, 2011 8:24:05 PM UTC+1, gadaleta.marco wrote: > > It' so strange. > In this way i cant handle multiple css.. > Yes you can. You can have several CellTable.Resources/Style instances, and you can also define your CellTable.Style to use @external CSS class names soyou can styl

Re: GWT Web Chat

2011-03-21 Thread Ania
Thank you very much! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

Re: Working with JSON in client/server shared class

2011-03-21 Thread Harald Pehl
Another framework which might be interesting is Piriti: http://code.google.com/p/piriti/. Piriti is a JSON / XML mapper for GWT. HTH Harald -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-

RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-03-21 Thread Ryan Rathsam
Hi All, I'm running into a strange problem with RequestFactory persisting a Parent / Child object graph. What it looks like is happening is that when my object graph is sent to the server side all of the child object properties are being set to null for some reason. During debugging I can verify t

Re: Working with JSON in client/server shared class

2011-03-21 Thread David Chandler
AFAIK, you will have to call JSONParser in your GWT code one way or another. You might want to look at https://github.com/chirino/resty-gwt, which handles JSON serialization for you. /dmc On Sun, Mar 20, 2011 at 2:23 PM, Jaroslav Záruba wrote: > Hi > > My Java class shared by client (GWT) and s

Re: Run as Web Application not working in OSX

2011-03-21 Thread David Chandler
Perhaps it is this issue related to the recent Java update on the Mac? http://code.google.com/p/googleappengine/issues/detail?id=4712 On Sun, Mar 20, 2011 at 11:32 PM, federico.donner wrote: > Hi everyone! > Im just starting to enter the world of GWT and I can´t figure how to > make the initial

Re: GWT Web Chat

2011-03-21 Thread David Chandler
Since you're using App Engine, you may want to check out the Channel API for browser push. http://code.google.com/appengine/docs/java/channel/ http://code.google.com/p/gwt-gae-channel/wiki/HowToUse This book has a nice chapter on using the Channel API with the GWT wrapper in a chat-like applicat

Re: {HEX}.cache.html leakage

2011-03-21 Thread David Chandler
One way is to use a dynamic host page instead of static HTML: http://code.google.com/webtoolkit/articles/dynamic_host_page.html You can also use a non-GWT auth mechanism like a servlet filter and redirect to the GWT app after successful authentication. But fundamentally, you shouldn't ever trust

Re: CellTable Paging

2011-03-21 Thread Jeff Larsen
Woohoo! Awesome, I can't wait to see it John! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsub

Re: Celltable Css

2011-03-21 Thread Marco Gadaleta
It' so strange. In this way i cant handle multiple css.. On Mon, Mar 21, 2011 at 5:40 PM, Y2i wrote: > Not sure if declaring styles in html file will work, but the standard > approach where you pass resources to the cell table constructor works. > > http://code.google.com/webtoolkit/doc/latest/

Re: Looking for a gwt tutorial

2011-03-21 Thread Michel Pikkaart
Hello, I had the same problem, until I found this book. It helped me understanding more about GWT in many aspects and it shows a MVP (Model View Presenter) way to set up and design you environment with history, security and more. Examples are printed out. One think, you have to practice to unde

Re: CellTable Paging

2011-03-21 Thread John LaBanca
I'm working on a version of CellTable that has fixed headers and a scrollable content area. It may not make it into GWT 2.3, but it should be checked into trunk before long. Thanks, John LaBanca jlaba...@google.com On Sat, Mar 19, 2011 at 11:03 AM, marc.e wrote: > > I do not know but I can sa

Re: Looking for a gwt tutorial

2011-03-21 Thread Kayode Odeyemi
you can use Javascript dictionary to call multiple entry points. MVP is primarily useful for managing presentations (displays or widgets) On 3/19/11, ? M-Trap to 4 wrote: > I am in exactly the same situation, with exactly the same issue, and I > come to the community, and there is your question f

Necessary ORM

2011-03-21 Thread Felipe Cordeiro Caetano
Hello folks wonder whether to use RequestFactory necessarily I have to use JDO or JPA or something. I ask this because I'm using MyBatis and am having some problems implementing the server side. Thank you all. Felipe Caetano -- You received this message because you are subscribed to the Google

{HEX}.cache.html leakage

2011-03-21 Thread Nuno Teodoro
Hi all, I've seen this a problem (or best practice) that should be addressed which relates with OWASP's GWT presentation where they sate that: Are the {HEX}.cache.html files accessible by unauthenticated users? Is the login functionality implemented using GWT RPC? If yes, the {HEX}.cache.html file

Safari window open problem

2011-03-21 Thread Werner Assek
Hello, I am trying to use a GWT native method to open a window. It is working fine in Chrome, firefox and Internet Explore but there is a problem with Safari: "TypeError: Result of expression '$wnd.test.engineWindow' [undefined] is not an object." My Method code: private static native void o

buld.xml error in stockwather tutorial

2011-03-21 Thread Ania
Hi, I started tutorial about using appengine sdk in gwt project (stockwatcher example).i followed the instruction and changed build.xml file to make them working together,but i'm getting an error in taskdef 'path to gwt not found'.when i hover mouse over yellow triangle it points at the right path

Re: Flowplayer in GWT

2011-03-21 Thread scorp
Hi, Have had pretty successful experience with GWT wrapper for FlowPlayer, but I cannot share the code with you as it's subject for IP rights. Feel free to ask any question and I'll try to help you with that I have faced with. On Mar 21, 1:25 am, Leung wrote: > Hi, > > Has anyone used Flowplayer

GWT - Replace of DockLayoutPanel in UiBinder dynamically

2011-03-21 Thread HelperMethod
I have this simple UiBinder template: http://dl.google.com/gwt/DTD/xhtml.ent";> Header Footer What I would like to do is dynamically replace content in when application state changes. The problem is, which type of field should

build.xml path to gwt not found

2011-03-21 Thread Ania
Hi, I started tutorial about using appengine sdk in gwt project (stockwatcher example).i followed the instruction and changed build.xml file to make them working together,but i'm getting an error in taskdef 'path to gwt not found'.when i hover mouse over yellow triangle it points at the right path,

Re: CellTable Paging

2011-03-21 Thread marc.e
I do not know but I can say that a resizable grid contol with fixed header and scrollbars seems strangely missing from gwt unless you go to 3rd party products or the incubator lab area. I will watch the answers to your question, thanks for asking. On Mar 18, 7:09 am, Jerome Thoma wrote: > Hi e

Re: Looking for a gwt tutorial

2011-03-21 Thread ? M-Trap to 4
I am in exactly the same situation, with exactly the same issue, and I come to the community, and there is your question first on the list. :-) I tried adding another entry point, but both were shown at the same time when I started the app. Where does the code for the other panels go, how does o

Re: A gwt application inside FRAME (or IFRAME)

2011-03-21 Thread ndv
The suggestion whould be to find a good HTML tutorial. Seriously. On 18 мар, 20:04, Susanna Martinelli wrote: > Hi folk, I'm trying to run a GWT application inside a frame. I have an html > page with a frame set like this: > > > > > I have also class MyGwtApp.java that contains the GWT applic

GWT Web Chat

2011-03-21 Thread Ania
Hi everyone, I'm doing web chat program for school project that has to be deployed in the cloud.I picked AppEngine and have some parts of my program done.I would like some advice about a few issues.My chat should work in similar way as gmail chat.User picks contact from list and enters text into te

Positioning a Widget using CSS

2011-03-21 Thread Ray Mammola
How do I control the position of a widget in a LayoutPantel, for instance a button or textbox, using CSS? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscr

Questions on image cell showing images, please help

2011-03-21 Thread Hong
Hi, everyone I tried to put some images in gwt cell table where I used image cells to do this. But those images turned out pretty large in the webpage. I tried to use "aCellTable.setColumnWidth(column, width)", but it didn't help. I know if only to display a single image, I can say "String url = a

GWT - Replace of DockLayoutPanel in UiBinder dynamically

2011-03-21 Thread HelperMethod
I have this simple UiBinder template: http://dl.google.com/gwt/DTD/xhtml.ent";> Header Footer What I would like to do is dynamically replace content in when application state changes. The problem is, which type of field should

Run as Web Application not working in OSX

2011-03-21 Thread federico.donner
Hi everyone! Im just starting to enter the world of GWT and I can´t figure how to make the initial example work in my computer. Im running OSX 10.6.6, Eclipse 3.6.2, GWT 2.2.0 with Google App Enginge 1.4.2. The problem Im having is that when I want to run a project as a Web Application directly fr

Status Exception 0

2011-03-21 Thread Komal Goyal
Hi, I am trying a login page on which the browser remember should work, for this I created the login l form in html and I am handling on submit button click in the GWT application by accessing the submit button with the wrap() method. But on click of submit the module gets reloaded and the RPC ca

Re: Celltable Css

2011-03-21 Thread Y2i
Not sure if declaring styles in html file will work, but the standard approach where you pass resources to the cell table constructor works. http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/go

Re: how to post & handle RequestFactory server warnings/errors?

2011-03-21 Thread Thomas Broyer
If you want to "catch" the failure in clidnt code, you have to add a Receiver for the persist() service method: context.persist(p).to(new Receiver… -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to go

Re: how to post & handle RequestFactory server warnings/errors?

2011-03-21 Thread frog
Could you tell me if you got it working? I dont' use Objectify just RF + Editors my custom DAO for Hibernate. I do: MyProxy p = context.create(MyProxy.class); context.persist(p); context.fire(new Receiver(...)) when persist() in DAO throws RuntimeException I let the DefaultExceptionHandler t

How to override History.newItem scrolling to the bottom of the current page without using Window.scrollTo?

2011-03-21 Thread Navigateur
"History.newItem" scrolls to the bottom of the current page. Using "Window.scrollTo", to correct this, doesn't look smooth (flashes). Any way to override scrollbar change upon calling "History.newItem"? -- You received this message because you are subscribed to the Google Groups "Google Web To

Celltable Css

2011-03-21 Thread Marco Gadaleta
Hello i'm needing help about the possibility to style cellTable using a css declared in this way in the host page: I'm trying to assign css in setstyle..but without result. Any help is appreciate -- Marco -- You received this message because you are subscribed to the Google Groups "Google

Re: Why does History.newItem clear my screen completely?

2011-03-21 Thread Navigateur
Sorry Ben. Thanks for quick reply, it was a scrollbar issue. newItem scrolls to the bottom of the existing page, even if no new content is added. Is there any way to override this issue, without using Window.scrollTo(0,0) (which causes a small flash and doesn't look smooth)? On Mar 21, 3:21 pm, Be

Re: Why does History.newItem clear my screen completely?

2011-03-21 Thread Navigateur
Sorry please ignore this. I wish I could delete/edit posts here. Turned out the scrollbar position was being moved down to the bottom, making it look blank. So how do I prevent this (preserve the scrollbar position)? On Mar 21, 3:11 pm, Navigateur wrote: > Is History.newItem supposed to clear the

Re: Why does History.newItem clear my screen completely?

2011-03-21 Thread Ben Imp
As far as I am aware, adding a new history token only fires history events. Unless you are listening to them, it shouldn't do anything. I haven't used the GWT MVP framework, though. If you are using that, this may be the result of some baked-in behavior. -Ben On Mar 21, 10:11 am, Navigateur w

Why does History.newItem clear my screen completely?

2011-03-21 Thread Navigateur
Is History.newItem supposed to clear the screen? I don't want this to happen, yet it is. The "history" part is working (back, forward etc.) but is there any way of adding a history token without it clearing the screen? (it's definitely newItem that's clearing the screen on its own in my case, not "

Re: Style CellTable UiBinder

2011-03-21 Thread Marco Gadaleta
Help!!! On Mon, Mar 21, 2011 at 1:40 PM, Marco Gadaleta wrote: > Hello everyone, > I'm going crazy.. > I'm trying to set a style to celltable object in this way: > mycelltable.setStylePrimaryName; > I also tryed to set mycelltable.addColumnStyleName > but...nothing... > > any help would be apprec

Re: Sorting CellTable

2011-03-21 Thread Ahmed Shoeib
thank junaid and Albert i found the problem in my code and solved . thanks for help. On Mar 21, 3:19 pm, junaid wrote: > here is the code for > paginationhttp://learneverywhere.wordpress.com/java/gwt/pagination-in-gwt-cell-... > try it , it worked for me > On Mon, Mar 21, 2011 at 9:04 AM, Ahmed

Re: Sorting CellTable

2011-03-21 Thread junaid
here is the code for pagination http://learneverywhere.wordpress.com/java/gwt/pagination-in-gwt-cell-table/ try it , it worked for me On Mon, Mar 21, 2011 at 9:04 AM, Ahmed Shoeib wrote: > i have a problem @this line > Collections.sort(CONTACTS, new Comparator() { > > > the error > The method sor

Re: problem with chart representation

2011-03-21 Thread Ben Imp
Perhaps if you provided details, people here might have something to go on to try and help you. As it stands, my only advice would be to use the IE developer tools and inspect the DOM elements where things look different. http://msdn.microsoft.com/en-us/library/dd565628%28VS.85%29.aspx -Ben On

Style CellTable UiBinder

2011-03-21 Thread Marco Gadaleta
Hello everyone, I'm going crazy.. I'm trying to set a style to celltable object in this way: mycelltable.setStylePrimaryName; I also tryed to set mycelltable.addColumnStyleName but...nothing... any help would be appreciated Thx, Marco -- Marco -- You received this message because you are subsc

Style CellTable UiBinder

2011-03-21 Thread Marco Gadaleta
Hello everyone, I'm going crazy.. I'm trying to set a style to celltable object in this way: mycelltable.setStylePrimaryName; I also tryed to set mycelltable.addColumnStyleName but...nothing... any help would be appreciated Thx, Marco -- Marco -- You received this message because you are subsc

Constant ignored within tag.

2011-03-21 Thread dindeman
The following UiBinder produces an unexpected result: Phone number: . The constant cons.phoneNumber is never displayed. However when removing the tags everything gets back in order. Does anyone have a clue

SplitLayoutPanel resize control

2011-03-21 Thread Darkman97i
Hi, I've been involved on change HorizontalSplitPanel ( deprecated ) to new SplitLayoutPanel. With older HorizontalSplitPanel I could take advantage controlling resize process on px with some class and isResize() method: /** * HorizontalSplitPanelExtended * * @author jllort * */ public class

problem with chart representation

2011-03-21 Thread kedar vyawahare
Hi All, I have a small GWT charting code which shows my charts in Mozilla perfectly but I m getting problem to visualize it(same charts) in I.E 8. Please help me . Thanks in Advance. Kedar. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group

Re: Why is ChangeListenerCollection deprecated? I'm using it for non-native browser events.

2011-03-21 Thread Thomas Broyer
You would addHandler instead of addDomHandler; though I believe I don't understand your question. On a related note, all *ListenerCollection-s have been replaced by the generic HandlerManager (within widgets) and EventBus/SimpleEventBus. -- You received this message because you are subscribed

Re: Sorting CellTable

2011-03-21 Thread Ahmed Shoeib
i have a problem @this line Collections.sort(CONTACTS, new Comparator() { the error The method sort(List, Comparator) in the type Collections is not applicable for the arguments (List, new Comparator(){}) On Mar 21, 10:34 am, Albert Lacambra wrote: > Hi, > > Try using this example. It works fin

Re: Sorting CellTable

2011-03-21 Thread Albert Lacambra
Hi, Try using this example. It works fine and you have the hole code. Hope that helps, al On 21 March 2011 09:14, Ahmed Shoeib wrote: > hi all, > i tried to execute this code ( > > http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellTable.html#columnSorting > ) > > to enable sorting to

Re: math performance

2011-03-21 Thread Albert Lacambra
Good to know! I supose that that is the only case, n? For us is much most faster in js mode that in dev mode. Al On 21 March 2011 09:24, Raphael André Bauer wrote: > On Sat, Mar 19, 2011 at 6:24 PM, Y2i wrote: > > I do a lot of math calculations (exp, log, sqrt, pow, asin, sin) but I > > haven'

Re: math performance

2011-03-21 Thread Raphael André Bauer
On Sat, Mar 19, 2011 at 6:24 PM, Y2i wrote: > I do a lot of math calculations (exp, log, sqrt, pow, asin, sin) but I > haven't noticed any delays yet. Also a tiny notice from my side: Mathematical calculations in dev mode are most likely much faster than when you execute the real compiled version

Sorting CellTable

2011-03-21 Thread Ahmed Shoeib
hi all, i tried to execute this code ( http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellTable.html#columnSorting ) to enable sorting to cellTable but i face error in it. can any one help me with a simple example to show me how to sort cellTable ( may contain anchor ) ?? please help . -