Re: Html website -> GWT

2011-06-03 Thread Qian Qiao
On Fri, Jun 3, 2011 at 23:52, Ricky Button wrote: > I have an entire html website, all static content, and I want to make it > dynamic by using GWT/GAE. How should I go about using this html  to create a > website with GWT that is about half static and half dynamic content? > Thanks > If its all

Html website -> GWT

2011-06-03 Thread Ricky Button
I have an entire html website, all static content, and I want to make it dynamic by using GWT/GAE. How should I go about using this html to create a website with GWT that is about half static and half dynamic content? Thanks -- You received this message because you are subscribed to the Googl

Re: Why isn't Anchor a container?

2011-06-03 Thread Jeff Schnitzer
On Fri, Jun 3, 2011 at 5:48 PM, Thomas Broyer wrote: > I believe that if GWT allowed Anchor to contain widgets, people would > complain that Anchor/DisclosurePanel/Widget-X within an Anchor wouldn't work > (the way they expect). Ok... but honestly, there are a zillion things that are possible to

Re: Why isn't Anchor a container?

2011-06-03 Thread Thomas Broyer
I believe that if GWT allowed Anchor to contain widgets, people would complain that Anchor/DisclosurePanel/Widget-X within an Anchor wouldn't work (the way they expect). It's not impossible today to do it so it's OK as a limitation: GWT let's you do it, not as easily as you'd have wished, but st

StorageEvent does not fire across windows

2011-06-03 Thread Trey Roby
Has anyone tried using StorageEvents? When I update Storage with a putItem(), a StorageEvent should be fired to every window running with my GWT app. This is not the case. In fact, the only browser that this works on is Opera. After some study of Storage.gwt.xml, it appears that the class Storag

Why isn't Anchor a container?

2011-06-03 Thread Jeff Schnitzer
I'm curious, why isn't Anchor a container for other widgets? I realize I can make a clunky version up myself using HTMLPanel. But why isn't this part of the core? HTML5 allows block elements within an . And there are plenty of inline widgets that can be put inside an anchor anyways. This has t

GWT 2.4 beta | compile Error

2011-06-03 Thread xelibrety
I try to migrate from gwt 2.3 to 2.4beta. Unfortunately I'm not not able to compile: Here's the relevant error: [ERROR] Errors in 'jar:file/*/gwt-user-2.4.jar!/com/google/ gwt/validation/client/spi/GwtValidationProvider.java' [INFO] [ERROR] Line 36: Rebind result 'javax.validation.

Re: combine GWT application from several modules coming from JARs or OSGI bundles

2011-06-03 Thread Alexey Skor
The main application is compiled together with the plugins. No plugins are installed or updated AFTER the application is compiled. This should make the life easier. When user clicks a certain link in the main UI, the "core" UI needs to show the editor (some panel) defined in the plugin. the "co

Re: RequestFactory exception when creating a proxy

2011-06-03 Thread Thomas Broyer
Every proxy has to be referenced as an argument or return type in one of the RequestContext methods for a given RequestFactory, otheriwse it cannot be created, because the RequestFactory does not "know" about it. -- You received this message because you are subscribed to the Google Groups "Goo

RequestFactory exception when creating a proxy

2011-06-03 Thread Sydney
An exception is thrown when I try to create a proxy: myRequestProvider.get().create(MyDomainDomain.class); java.lang.IllegalArgumentException: Unknown proxy type com.app.shared.proxy.MyDomainProxy at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.createProxy(Abstra

Announce: gwt-dnd 3.1.1 released -- drag and drop for your apps

2011-06-03 Thread Fred Sauer
There's a new version of gwt-dnd ready for download. I'd love to get your feedback on this release, so I can remove the * ReleaseCandidate* tag and replace it with a shiny new *Featured* tag. The release notes

Re: project organization

2011-06-03 Thread Magno Machado
" I read that is impossible to use dependency injection from remoteServiceServlet because is not supported by servlet api 2.3" I have no experience with ejb, but with Guice-Servlet, you actualy can use dependency injection on any servlet (that includes gwt's remoteserviceservlet) On Fri, Jun 3, 20

CellTree reload after empty root node

2011-06-03 Thread Tony
Hi everyone. I'm writing a client that retrieves a hierarchical set of data from the server. This data set is time dependent. If the user enters a time that is too old, the server will return an empty data set. The client uses a CellTree with the root node using an AsyncDataProvider. Whenever

Re: Hierachy of autobean for state serialization

2011-06-03 Thread Derek
Thanks for posting this, Panam. I was just starting to consider using AutoBean with LocalStorage, since storing a JSON string seems like the best solution than rolling my own custom serializer. I haven't gotten too far into it beyond some simple test cases. For 2), I seem to recall seeing that pol

Re: UiBinder Internationalization - Search/Find Non-Internationalized Strings?

2011-06-03 Thread David Chandler
GWT Designer can help with this. The Externalize Strings tool will find all strings in a Widget hierarchy and move them in to properties files via the GWT Constants interface. Doc: http://code.google.com/webtoolkit/tools/gwtdesigner/features/internationalization.html Demo: http://www.google.com/ev

Re: UiBinder Internationalization - Search/Find Non-Internationalized Strings?

2011-06-03 Thread Erik Uzureau
If I understand your question correctly, what you're looking for is a tool to let you know if there are strings in your codebase that you haven't yet removed and put into .properties files. If that's the case, I don't think mergelocales.py will help you much. What we did with our app is two thing

information regarding header labels for GWT charts in java

2011-06-03 Thread Deepesh Naidu
Hi All, I am developing gwt charts in java. I have a bar chart with all the X and Y axis properly populated with labels. But I am unable to get headers for X axis and Y axis. Can anyone advice on how can i get headers on the X and Y axis in GWT charts ? I tried XAxis legend but it didnt work. Any

Re: Performance Differences IE 8 Vs FF 3.x

2011-06-03 Thread mdwarne
I have also had issues with IE slowness. IE does not perform well when displaying of large sets of data. I had to recommend my client use FF or Chrome. Mike On Jun 2, 3:12 pm, Mittal wrote: > Screen also has real estate issue - I dont think I can use CellList > but its good suggestion John ! I w

project organization

2011-06-03 Thread jako
Hi, I am a newbie of gwt. Please excuse me if I ask for info already addressed, I hope someone help me! I have created a gwt project with maven gwt plugin 2.2.0 (war) that works with ejb 3.0 project (jar) in jboss 5.1.0. Until now I used remote interface for my session bean, but I was wondering ho

Re: 'null' is null or not an object

2011-06-03 Thread David Chandler
Does it work in IE when running dev mode? If not, it would be helpful to see the Java source where the error is occurring. If it fails in prod mode but not in dev mode, you'll need to compile with output style "pretty" instead of the default "obfuscated" in order to match up the generated Javascrip

Re: can't install Google Web Toolkit Developer Plugin

2011-06-03 Thread David Chandler
Sounds like you're having network or proxy issues. I can reach https://dl-ssl.google.com/gwt/plugins/chrome/gwt-dev-plugin.crx without any issues. /dmc On Fri, Jun 3, 2011 at 3:35 AM, vinoth vinoth wrote: > hi , > > Actually i tried to insatll Google Web Toolkit Developer Plugin in > both goo

Layout Panels, IE, and PX vs EM bug

2011-06-03 Thread Thad
I'm seeing something similar to the problem reported here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/fe63f0745ee488b2/8bb9148576bd3538 When I create a DockLayoutPanel or SplitLayoutPanel using Style.Unit.EM, IE7 & IE8 to not recognize the height I set for the interior

Re: Catch Frame widget GET Method

2011-06-03 Thread Xybrek
On Friday, 03 June, 2011 10:42 PM, Xybrek wrote: Hi, When I load a URL into a 'Frame' widget and from there click some web links I can see 'GET' Method showing in Eclipse' console window. So with this I have place GWT.log to see if I can catch it from here: Frame myframe = new Frame("some_url_h

Catch Frame widget GET event

2011-06-03 Thread Xybrek
Hi, When I load a URL into a 'Frame' widget and from there click some web links I can see 'GET' Method showing in Eclipse' console window. So with this I have place GWT.log to see if I can catch it from here: Frame myframe = new Frame("some_url_here"); myframe.addLoadHandler(new LoadHandler(

Catch Frame widget GET Method

2011-06-03 Thread Xybrek
Hi, When I load a URL into a 'Frame' widget and from there click some web links I can see 'GET' Method showing in Eclipse' console window. So with this I have place GWT.log to see if I can catch it from here: Frame myframe = new Frame("some_url_here"); myframe.addLoadHandler(new LoadHandler(

GWT Test Case errors because of Google Guice injection problems

2011-06-03 Thread MH
Hi, I'm writing a GWT application with Guice on the server side and GIN on the client side. Everything works fine when I run the Devmode. Problems start, when I try to run GWT Test Cases. When I run the test cases using the Eclipse "Run JUnit", everything is initiated properly. The problems start

can't install Google Web Toolkit Developer Plugin

2011-06-03 Thread vinoth vinoth
hi , Actually i tried to insatll Google Web Toolkit Developer Plugin in both google chrome and mozilla firebox but i got the following error. for mozilla i got the result but within a second it disappear and shows the below Secure Connection Failed dl-ssl.google.com uses an invalid secu

'null' is null or not an object

2011-06-03 Thread VJ
I am using gwt with struts2. I get a javascript error in IE. It works fine in firefox and chrome.I got this problem only in IE.I tried in IE7 and IE8. Here is the javascript error i get. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/ 4.0; .NET CLR 2.

Re: ClickHandlers and Anchors?

2011-06-03 Thread DaveC
stopPropagation() prevents the event from bubbling any futher up the DOM tree, I don't want to teach you to suck eggs but: Click Me Given the above DOM structure if I attach a click event to the table then click the anchor the event usually bubbles up the DOM tree calling any event handlers

Re: XML validation with XSD (SXML Schema) validation in GWT

2011-06-03 Thread Michaël
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

Re: Aw: Re: GWT 2.3 RequestFactory problem

2011-06-03 Thread Eric Andresen
Just glad to be able to give a little something back after all the help this forum has given me :-) -- 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-toolk

@Import CssResource not working (as expected?)

2011-06-03 Thread DaveC
Hi, Given: @ImportedWithPrefix("unordered") interface UnorderedListStyles extends CssResource { list(); } @ImportedWithPrefix("list") interface ListItemStyles extends CssResource { item(); } interface Resources extends ClientBundle { @Import(value = {UnorderedListStyles.class, List

Re: ClickHandlers and Anchors?

2011-06-03 Thread kevin
looks like calling event.stopPropagation() in the solution. On Jun 3, 8:17 am, kevin wrote: > I have a Anchor as a cell of a FlexTable. Both the Anchor and the > FlexTable have click handlers and as a result, I'm getting two events > fired when I click on the anchor. Any one have an idea how t

Re: combine GWT application from several modules coming from JARs or OSGI bundles

2011-06-03 Thread DaveC
If you mean dynamically loading code at runtime, I don't *think* this is possible - we have a similar app (written originally against GWT 1.6) we have the notion of a plugin - it's a separate GWT module in it's own project, but is pulled in at compile time... these modules are pulled in using Gin/G

Re: Aw: Re: activities - places with more complex layouts

2011-06-03 Thread tanteanni
.. so i have one place for all properties. but how many "activities"? One? with one activity, the "AccepsOneWidget"-widget has to be the hole tab-layout? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web v

Re: ClickHandlers and Anchors?

2011-06-03 Thread DaveC
if (event.getSource() instanceof Anchor) { ... } Cheers, Dave On Jun 3, 1:17 pm, kevin wrote: > I have a Anchor as a cell of a FlexTable. Both the Anchor and the > FlexTable have click handlers and as a result, I'm getting two events > fired when I click on the anchor. Any one have an idea how

ClickHandlers and Anchors?

2011-06-03 Thread kevin
I have a Anchor as a cell of a FlexTable. Both the Anchor and the FlexTable have click handlers and as a result, I'm getting two events fired when I click on the anchor. Any one have an idea how to detect that the FlexTable event is actually a click on the anchor? -- You received this message be

Re: Overlay types in cell widgets

2011-06-03 Thread Eugen Paraschiv
Hi, I have the exact same problem, but using a *ProvidesKey *doesn't seem to change anything; this is my exact context: - I have a custom column for a button: return new Column(new ButtonCell()) { @Override public final String getValue(@SuppressWarnings("unused") final

Re: Caching large datasets on Client or Server?

2011-06-03 Thread J.Ganesan
On Jun 3, 12:55 pm, Gambo wrote: > Hi there, > > I am struggling in finding a good solution for a caching method in my > application. The client is sometimes retrieving more than 5000 rows > which will be displayed in a pageable grid for now. In my first > solution everytime the users clicked on

Aw: Re: Security for RequestFactoryServlet and static cache in ServiceLayerCache

2011-06-03 Thread StefanR
Hi Thomas, thanks for the feedback. Indeed the problem was to only intercept #createServiceInstance() but not #invoke(). Now, it works. Thanks, Stefan. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web vis

Re: Caching large datasets on Client or Server?

2011-06-03 Thread Juan Pablo Gardella
"In my first solution everytime the users clicked on next page the server only send the data snapshot of this side which works ok. But it always gets the complete dataset from the database. " >Why? You must paginate in server too. "I thought about caching the complete 5000 rows" >You can use a ca

Re: Announce: gwt-voices 2.1.0 released -- sound for your apps

2011-06-03 Thread Juan Pablo Gardella
Thanks Fred!! 2011/6/3 Alain Ekambi > Great Job Fred. > > Keep it up. > > Alain > > > 2011/6/3 Fred Sauer > >> There's a new version of gwt-voices ready for >> download. >> I'd love to get your feedback on this release, so I can remove

Re: Security for RequestFactoryServlet and static cache in ServiceLayerCache

2011-06-03 Thread Thomas Broyer
I think the field is static to allow multiple instances of the same servlet (for the same servlet-mapping, which I believe is allowed by the servlet spec) share the state, which is static anyway (what's cached is only what's derived from classes and interfaces). If your ServiceLayerDecorator in

Security for RequestFactoryServlet and static cache in ServiceLayerCache

2011-06-03 Thread StefanR
To allow some RequestFactory calls to be executed with and some without an authenticated session, I thought of providing two different RequestFactoryServlets at two different urls. The first one is secured by an http filter and the second is not. The unsecured version adds a special ServiceLay

Re: Strange bug with Editor and context.create() (With code example)

2011-06-03 Thread Thomas Broyer
On Friday, June 3, 2011 2:45:15 AM UTC+2, pjulien wrote: > > UserProxy editable = > request.edit(request.create(UserProxy.class)); > > That's your problem right there. You don't call RequestContext#edit() > on the proxy that's returned from RequestContext#create > It shouldn't be an issue: crea

Re: Reflection && Class Generator

2011-06-03 Thread Nagin Kothari
Great!! -Nagin On Thu, Jun 2, 2011 at 7:05 PM, Honza Rames wrote: > OK, I'm making some preparations to release it on Google Code. I'll > post all the info there (I mean what it can > and cannot do and why some things are little bit different from java > reflection API). Hopefully I'll manage

Re: Announce: gwt-voices 2.1.0 released -- sound for your apps

2011-06-03 Thread Alain Ekambi
Great Job Fred. Keep it up. Alain 2011/6/3 Fred Sauer > There's a new version of gwt-voices ready for > download. > I'd love to get your feedback on this release, so I can remove the * > ReleaseCandidate* tag and replace it with a shin

Re: Best Practise: Database Java Backend

2011-06-03 Thread Gambo
Thanks Juan I will have a look at it! On 31 Mai, 19:18, Juan Pablo Gardella wrote: > See this sample. > There the database is generate and populated at runtime. Util to prototype. > > 2011/5/31 Paul Robinson > > > Or you could use Hib

Caching large datasets on Client or Server?

2011-06-03 Thread Gambo
Hi there, I am struggling in finding a good solution for a caching method in my application. The client is sometimes retrieving more than 5000 rows which will be displayed in a pageable grid for now. In my first solution everytime the users clicked on next page the server only send the data snapsh

FixComputerpProblemsSite Surely Knows How to Fix Computer Problems!

2011-06-03 Thread Fixcomputerproblems Site
I was having problems with my laptop before. Good thing * FixComputerpProblemsSite* helped me fix it. And they are really the experts when it comes to solving any computer related issues. They can easily fix computer problems without breaking a sweat.

Re: GWT servlet access

2011-06-03 Thread Xybrek
On Friday, 03 June, 2011 04:30 AM, khiem nguyen wrote: 404 means not found try to print out your request-url first to see if it matches host:port/mycompany/sayHello or not. i think it will not match, your request url will also include your gwt-module-name in the path On Thu, Jun 2, 2011 at 8: