Reload to logout

2011-02-13 Thread daniela iervolino
Hi everybody, I want to do a logout mechanism only reloading the page. The logout is an hyperlink. I have a class MyHistoryListener that manages the tokens to forward to the right page. If the token is logout, I want to reload my page... The problem is that the reloading goes on forever until I

Re: GWT Base Application Featuring Best-Practice Technologies

2011-02-13 Thread George Moschovitis
Is what you are suggesting closer to a 1:1 mapping of places to activities? With an AdminUserPlace taking you to AdminUserActivity and AdminPagePlace to AdminPageActivity? Then each place only stores information relevant to the activity to which it maps to? I am not really suggesting

Call external main program

2011-02-13 Thread daniela iervolino
Hi, I have a GWT web application that must call an external program. This program has a main() method like any other program. The problem is when I launch the GWT application, it says I have forgotten to inherit the required module.. Can I call the external program without this error? Thankc --

Re: GWT Base Application Featuring Best-Practice Technologies

2011-02-13 Thread George Moschovitis
- I would prefer using ApplicationRequestFactory instead of MyRequestFactory, etc... - I would move the files in client.application to client Done. Much more logical. how about moving: model to: shared/proxy ? -g. -- You received this message because you are subscribed to the

Re: Reload to logout

2011-02-13 Thread Jeff Schwartz
Window.Location.assign(your gwt application's url goes here); On Sun, Feb 13, 2011 at 3:35 AM, daniela iervolino daniela.ie...@gmail.comwrote: Hi everybody, I want to do a logout mechanism only reloading the page. The logout is an hyperlink. I have a class MyHistoryListener that manages the

Editor with ListBox in UiBinder

2011-02-13 Thread Ido
Hi, Does anyone has a live example of how to use ListBox in an Editor using UiBinder? I couldn't find anything in the documentation nor in this group. For now, I can only create Editor with value boxes. The problem is that I need ListBoxes (later to display enum values) and radio button

which classname is used by SelectionModel ?

2011-02-13 Thread norberthu
I want to substitute the backgroud pic which is used by SelectionModel when selected. I saw the source code,but cannot find relevant classname. can someone give me some hint? thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Editor with ListBox in UiBinder

2011-02-13 Thread Thomas Broyer
The easiest is to use a ValueListBox instead of ListBox. -- 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

Re: Editor with ListBox in UiBinder

2011-02-13 Thread Ido
Don't know how I've missed it! Is there also an easy solution for radio buttons group? If not I don't mind to use the ValueListBox instead, only for now... Thanks a lot Thomas, Ido -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Editor with ListBox in UiBinder

2011-02-13 Thread Thomas Broyer
On Sunday, February 13, 2011 3:39:19 PM UTC+1, Ido wrote: Don't know how I've missed it! Is there also an easy solution for radio buttons group? I guess you could use a ValuePicker with a Cell that renders a radio button. -- You received this message because you are subscribed to the

Re: Call external main program

2011-02-13 Thread Michael.Krog
Hi.. Do you want to start an external program on the client or on the server? -Michael On 13 Feb., 11:02, daniela iervolino daniela.ie...@gmail.com wrote: Hi, I have a GWT web application that must call an external program. This program has a main() method like any other program. The problem

Re: Call external main program

2011-02-13 Thread daniela iervolino
Ok. I have a GWT web app and a Java project with a main() method and I don't know how to communicate with this java proj from my gwt application... On 13 Feb, 19:28, Michael.Krog michael.k...@gmail.com wrote: Hi.. Do you want to start an external program on the client or on the server?

Problem with AsyncCallback onSuccess result is null

2011-02-13 Thread Bastian
Hello, I hope everyone is fine. I have started to use RPC’s with GWT. I have worked through the examples and tutorials and I believe understand how it works. Now, I have created my own class to serialize and use in an asynchronous callback so that the client can receive data about a purchase from

How to disable the context menu

2011-02-13 Thread KoenP
Hi, I would like to disable the rightclick context menu on pictures in my Googlewebs website. Any idea where I should implent which code? KoenP -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

NullPointerException on stockwatcher tutorial

2011-02-13 Thread Eric
Hi! I'm new to GWT. I'm working on the tutorials and I'm stuck on Step 3 (http:// code.google.com/intl/en/webtoolkit/doc/latest/tutorial/buildui.html) I have all the code copied, but when debugging as Web Application I get a NullPointerException no matter what browser I'm using. The problems

GWT 2.2 and maven

2011-02-13 Thread Jakub Grabowski
Do you have any idea when GWT 2.2.0 will be available in maven central repo? Currently projects generated with -maven option don't work, because dependencies cannot be retrieved. Is there any other repo containing maven artifacts for GWT before they're published to central repo? Thanks for help.

GWT love of HTML tables

2011-02-13 Thread Thorarinn Johannsson
Hi, I am using a tab-based interface and using the Tab-Panel... my problem is that I find the HTML code too complicated for such a simple feature. Is there any way around this thing and make a custom tabs, or modifying the existing code ? And secondly, how would you built an interface based on

Re: Announcing GPE/GWT 2.2 RC1

2011-02-13 Thread roger7467
Me too,what's wrong? -- 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.

GWT 2.2 Eclipse update fails -- needs PDE

2011-02-13 Thread Tim McCormack
I tried upgrading to the latest GWT in Eclipse 3.4 Ganymede SR2 and received this message: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.pde.build [3.4.1.R34x_v20081217]. Using Ubuntu 10.04 Lucid Lynx x64, running

Re: GWT 2.2 and maven

2011-02-13 Thread David Chandler
Maven Central push should come out Monday. Until then, you can try it out from the staging repo: https://oss.sonatype.org/content/repositories/comgoogle-108/ /dmc On Sun, Feb 13, 2011 at 4:27 AM, Jakub Grabowski ja...@perfectsource.plwrote: Do you have any idea when GWT 2.2.0 will be

Re: Call external main program

2011-02-13 Thread Hilco Wijbenga
On 13 February 2011 11:10, daniela iervolino daniela.ie...@gmail.com wrote: Ok. I have a GWT web app and a Java project with a main() method and I don't know how to communicate with this java proj from my gwt application... That doesn't answer the question. Should it run on the client or on

how to ensure a single EntityManager per request?

2011-02-13 Thread KaffeineComa
It's been mentioned that in order for chained persistence to work with RequestFactory, you have to use the same EntityManager instance for a given request. What's the best way to accomplish that? I tried creating my own EntityManager factory based on ThreadLocal, but I wasn't sure when it

Re: how to ensure a single EntityManager per request?

2011-02-13 Thread Y2i
You can use a servlet filter for managing enitity managers (and transactions) 1. in Filter.init() create the entity manager factory 2. in Filter.destroy() close the factory. 3. create an entity manager on demand (if it is needed) in your code, place it into thread local so that

CellWidget and RequestFactory the correct order of RequestFactory calls

2011-02-13 Thread zixzigma
when dealing with CellWidgets that gets their data through RequestFactory two of the steps are: 1- one requestFactory call to get the count // this is done once 2- requestFactory calls to get the data for new range, as RangeChangeEvent fires. these two steps are necessary to set CellWidget's

Re: CellWidget and RequestFactory the correct order of RequestFactory calls

2011-02-13 Thread zixzigma
forgot to add, where in code is the correct place to put the code to update the view ? getView().asHasData().setRowData should be placed in onRangeChanged or outside of it ? Thank You -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: CellWidget and RequestFactory the correct order of RequestFactory calls

2011-02-13 Thread zixzigma
one of my concern is as RangeChangeEvent fires, and AsyncDataProvider fetches data for new range, the CellWidget flashes, in other words from the time I click Pager, to the time data get fetched for new page(range), the CellWidget (list/table) becomes blank, with no data. (I am displaying

is it possible to add animation to CellWidgets as RangeChangeEvent fires ?

2011-02-13 Thread zixzigma
Hello Everyone, is it possible to add animation to CellWidgets as RangeChangeEvent fires ? for example lets say our CellTable/CellList has a Pager. what can be done so that as user clicks forward/backward on Pager, the CellWidget have some sort of animation, the impression of its going right or

Problems while installing Google Updates for Eclipse 3.6

2011-02-13 Thread alexoffspring
Today i tried to install these new updates: 1) Google Plugin for Eclipse 3.6Ver.: 2.2.0 2) Google App Engine Java SDK 1.4.2 Ver.: 1.4.2 3) GWT SDK 2.2.0 Ver.: 2.2.0 And i get the following error messages: An error occurred while collecting items to be

[gwt-contrib] Re: ListEditor compile-time error: Type mismatch: cannot convert from ListFoo to ListBaseFoo

2011-02-13 Thread Thomas Broyer
I opened another issue for the fact that the generated EditorContext classes do not take parameterization into account: http://code.google.com/p/google-web-toolkit/issues/detail?id=6016 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors