Re: can I use Class.forName and newInstance in GWT ?

2010-12-30 Thread Didier Durand
Hi, You can't: if you go to http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html#Package_java_lang for Class, you will see that forName() is not emulated by GWT. regards didier On Dec 30, 7:33 am, metalhammer29a metalhammer...@gmail.com wrote: can I use Class.forName and

Re: can I use Class.forName and newInstance in GWT ?

2010-12-30 Thread Danny Goovaerts
No, you cannot. Dynamically instantiating classes would invalidate some of the goals of the GWT compiler. The GWT compiler builds a javascript application that only contains code for the actual call graph of your application. If you would be able to instantiante classes from arbitray Strings, it

TimeSpinner in GWT.

2010-12-30 Thread Ahmed Shoeib
hi all, i need an example to explain how to make TimeSpinner in GWT. 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-tool...@googlegroups.com. To unsubscribe from this group, send

Re: TimeSpinner in GWT.

2010-12-30 Thread Nirmal Patel
Check this one in the incubator: http://code.google.com/p/google-web-toolkit-incubator/wiki/Spinner -- 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-tool...@googlegroups.com. To unsubscribe

Re: Choosing a file in local directory

2010-12-30 Thread Didier Durand
Hi, GWT Java code gets converted to Javascript. Javascript then runs in the sandbox of your browser: you can't access the local file system because of this sandbox architecture. regards didier On Dec 30, 8:27 am, Rubini rubinikuttyomku...@gmail.com wrote: jc jc.chan...@... writes: I check

Re: TimeSpinner in GWT.

2010-12-30 Thread Ahmed Shoeib
i tried to use it by i found that TimePicker deprecated how to solve this problem ? On Dec 30, 12:13 pm, Nirmal Patel nirmaljpa...@gmail.com wrote: Check this one in the incubator:http://code.google.com/p/google-web-toolkit-incubator/wiki/Spinner -- You received this message because you are

Read, write, access a file using GWT

2010-12-30 Thread jc
Is there is any way to read, write and access a file in a local directory when application run i a browser ? if yes, please send me code. I need to access the dicom file and display data, i can't use FileInputStream and some file in GWT, how can i access it? -- You received this message because

generate xml template for gui gwt

2010-12-30 Thread MAM
hi, i have to develop a java application that takes a gwt project (.jar/.war) in input and generate xml templates (gui description) for each Entry point. Any idea will be welcome Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

generate xml template for gui gwt

2010-12-30 Thread MAM
hi, i have to develop a java application that takes a gwt project (.jar/.war) in input and generate xml templates (gui description) for each Entry point. Any idea will be welcome Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: generate xml template for gui gwt

2010-12-30 Thread MAM
I forget to note , that all must be done at runtime (the gwt project is running in DevMode) On 30 déc, 12:19, MAM mersni.am...@gmail.com wrote: hi, i have to develop a java application that takes a gwt project (.jar/.war) in input and generate xml templates (gui description) for each Entry

Re: Multiple Activity Mappers and Gin

2010-12-30 Thread Frank Bølviken
Any progress on this? Did you mange to get it working? On 11 Des, 17:14, sheamus ohall...@gmail.com wrote: Hi, I was able to getActivitiesworking with Gin using the post found herehttp://wanderingcanadian.posterous.com/hello-mvp-with-gin I was able to get this working with one ActivityManager

java.net.SocketException: Software caused connection abort: socket write error

2010-12-30 Thread Chandu
Hi I am getting this exception while RPC communication, Please help java.lang.RuntimeException: Unable to report failure at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doUnexpectedFailure(Abs at

Re: Access http session inside RequestFactory?

2010-12-30 Thread Arny
Great! Thank you Y2i! On Dec 30, 5:27 am, Y2i yur...@gmail.com wrote: I've never done this but I think you can call RequestFactory.initialize(EventBus eventBus, RequestTransport transport) passing DefaultRequestTransport as transport. You can call DefaultRequestTransport.setRequestUrl() to

Re: Choosing a file in local directory

2010-12-30 Thread nino ekambi
if you app must be a web app then maybe you could go the HTML5 way ? i ve hard HTML5 has a File api. I personally never used it. But if it possible for you to deploy you app as a desktop application then you could pack it as a Aode AIR application. This will enable local file access

Re: GWT force Update on Server during development mode

2010-12-30 Thread Ashton Thomas
Yeah, that saves a considerable amount of time. However, when I refresh my application time and time again, it will eventually get hung up and will not refresh correctly. I will have to restart my computer as restarting eclipse or browser will not work. I will click the refresh button and it will

AdSense and GWT

2010-12-30 Thread Johannes Stein
Hello, could anyone say me how i can intergrate adSense in my GWTApplication? The Application is fully developed in GWT and we want to show content- relevant Ads. Is there a possbility without breaking the AdSense policies? Hope you can help me. Regards -- You received this message because you

Re: Confused about Servlet mapping and Url Pattern, RPC not working when Deployed

2010-12-30 Thread AmaraSat
No, i gave WORD only as an example, i am not trying to launch WORD. I am trying to launch J-OPC Bridge http://www.netmodule.com/Products/JOPCBridge.aspx;. In eclipse, when i run the project- as soon as it hits this code final OpcServer server = new OpcServer(); J OPCBridge is launched, but no

Re: Choosing a file in local directory

2010-12-30 Thread Jim Douglas
jc -- You have now asked the same question five times in three different threads. You may have missed this response: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/55bd5747aeffe450# On Dec 30, 2:54 am, jc jc.chan...@gmail.com wrote: Ok, then how can i access a file in

Re: Dropping support for ie6?

2010-12-30 Thread Brian Lough
-1 dropping ie6. Not aware how huge that customer base still is? It sux, but is what it is. On Mon, Dec 27, 2010 at 12:54 AM, Peter Ondruska peter.ondru...@gmail.comwrote: +1 for dropping ie6 +1/2 for ie9 ;-) -- You received this message because you are subscribed to the Google Groups

gwt scheduler example

2010-12-30 Thread Ali
Hi there, Can anyone please let me know where I can find a simple example of using gwt class Scheduler. for example using this scheduler to repeat a task every 5 seconds. Talking about com.google.gwt.core.client.Scheduler. Thank you. -- You received this message because you are subscribed to

Re: gwt scheduler example

2010-12-30 Thread Ali
thanks very much. On Dec 30, 6:19 am, Nirmal Patel nirmaljpa...@gmail.com wrote: private final class MyRepeatedCommand implements RepeatingCommand {     public void execute() {} } Scheduler.get().scheduleFixedPeriod(new MyRepeatedCommand(), delayMs) -- You received this message

uibinder widget creation time

2010-12-30 Thread jones34
I would like to do something programmatically with the widgets defined in a UIBinder.xml file. I have a corresponding java view class that implements a default constructor that calls initWidget() as its last statement to create the view (and I'm assuming that this is when the widgets in the view

Re: gwt scheduler example

2010-12-30 Thread Ali
Could you please also let me know how to stop it scheduler as well. Thank you. On Dec 30, 6:19 am, Nirmal Patel nirmaljpa...@gmail.com wrote: private final class MyRepeatedCommand implements RepeatingCommand {     public void execute() {} } Scheduler.get().scheduleFixedPeriod(new

Re: AdSense and GWT

2010-12-30 Thread Johannes Stein
No one who could help me? On 30 Dez., 14:51, Johannes Stein johannes.st...@googlemail.com wrote: Hello, could anyone say me how i can intergrate adSense in my GWTApplication? The Application is fully developed in GWT and we want to show content- relevant Ads. Is there a possbility without

session in gwt

2010-12-30 Thread junaid
How can i use sessions in GWT,like if there's a welcome page after loged in ,but the user directly opens the welcome page without logging in by typing in address bar ,the page shouldnt open.. also i want to add functionality of inactive ,like after 5 mins of inactive user automatically logged off

Problem with java.util.Date

2010-12-30 Thread bond
Hi, with the last version of GWT (2.1.1); in the client when I'm using this code: Date date = new Date(); date.setHours(13); date.setMinutes(00); throw this exception: java.lang.IllegalArgumentException: null at java.sql.Date.setHours(Unknown Source) I think that the problem is linked to

Re: uibinder widget creation time

2010-12-30 Thread a...@mechnicality.com
Er.. why not swap the order of the two statements? Generally speaking the initWidget statement should come first, but there are other options. It is possible to create widgets and contribute them to the ui - see @UiConstructor and @UiFactory and:

gwt-gae-channel

2010-12-30 Thread Owen Powell
I'm following the GAE Channel API docshttp://code.google.com/intl/es-ES/appengine/docs/java/channel/overview.htmland seem to be having trouble when creating my channel on the client side with GWT-GAE-Channel (http://code.google.com/p/gwt-gae-channel/): Channel channel =

Re: New user - how to create new GWT project

2010-12-30 Thread nacho
http://code.google.com/intl/es-AR/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideCreatingServices On 27 dic, 19:12, xdzgor xdz...@hotmail.com wrote: Hi - I am using Eclipse to create a GWT-based application. When I create a new GWT remote service, an interface called, for example,

Re: Is there anyway to choose language in runtime?

2010-12-30 Thread nacho
Thanks. On 28 dic, 15:59, Jim Douglas jdou...@basis.com wrote: That seems to be the approved method, but with one suggestion -- if you need to work with localized number and date formats, consider offering complete locales (es_MX) as opposed to just language codes (es).

Re: Dropping support for ie6?

2010-12-30 Thread Peter Ondruska
I am very aware of that (working for very big bank which is still at IE6)... Something has to be done. And there are already possibilities like Google Chrome Frame. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: Cannot compile using maven + gwt2.1.1 + mac osx

2010-12-30 Thread Carlo Alberto Degli Atti
Hi Akito, thank you very much for your answer.. The error was simply generated by an old version of the gwt-maven- plugin... I switched it to 2.1.0-1 and the error magically disappeared! Your link to the olamy blogspot turned on the light in my eyes! :-) Thanks again... CA On Dec 29,

Re: Read, write, access a file using GWT

2010-12-30 Thread Jeff Larsen
Browsers specifically disallow local file editing. You'd have to serve the file from some kind of container to allow local editing, then post the changes back up to the server. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: GWT force Update on Server during development mode

2010-12-30 Thread Chris Conroy
Ashton, That should be fixed as of r9214: http://code.google.com/p/google-web-toolkit/source/detail?r=9214 On Thu, Dec 30, 2010 at 8:26 AM, Ashton Thomas ash...@acrinta.com wrote: Yeah, that saves a considerable amount of time. However, when I refresh my application time and time again, it

Re: session in gwt

2010-12-30 Thread Y2i
AbstractRemoteServiceServlet and RequestFactoryServlet have doPost(HttpServletRequest request, HttpServletResponse response) method. request.getSession() returns a session object. On Dec 30, 7:13 am, junaid juna...@gmail.com wrote: How can i use sessions in GWT,like if there's a welcome page

problem migrating to 2.1 application hags

2010-12-30 Thread smida02
I've been using GWT for 2.5 years and haven't really had any problems upgrading until now. I do not use Eclipse for building, I use ANT. Also I should mention that I'm on Linux. I changed my ANT build.xml from fileset id=build.thirdparty.fileset dir=${thirdparty.dir} include

have problem with defining startupUrl for GWTTestCase

2010-12-30 Thread zviagins
hello I'm writing test with GWTTetCase using Eclipse, i followed the instruction and got a problem with defining startupUrl by getting: No startup URLs were supplied -- add them to the end of the GWTShell command line. i try to add it to program arguments and my test just ignore it, to vm

2.1.1 Documentation Please

2010-12-30 Thread Lisa D
When should we expect any documentation on the new Service layer? It blows that it takes the gwt team forever to release documentation .always..if they want developers to use the service layer correctly they need to provide sample code and documentation... Tis is about the 10th post

Layout three GWT panels Horizontally

2010-12-30 Thread othman
Hello, i'm writing a GWT application . but I run into a dilemma. if i use DockLayoutPanel which uses absolute positioning my Composites are not automatically resized to fit the size of it's children (i need this feature in my app). so i gave up using DockLayoutPanel and used HorizontalPanel and

Re: GWT Developer Plugin is not found in Firefox

2010-12-30 Thread jett
Using the LD_DEBUG=libs, I learned firefox was attempting to load libnspr4.so.0d, but I wasn't running a 64-bit OS (I've got a Gentoo install). I was able to successfully link the file libnspr4.so.8 to the sought after name libnspr4.so.0d. Deleting the compreg.dat and a restart of firefox

Reading request frm http/ XML

2010-12-30 Thread divi
Hi All, I am new to GWT. I would like to know how can I read a html as a string which is been posted via http request in GWT. I have a rich text editor created in GWT. I am getting a HTML which should be set inside the RichTextArea used in my editor. (like RichTextArea.setHTML(HTML string passed

Re: file upload set filter

2010-12-30 Thread Jameel Ahamed
How to get the file path for this type file upload input type=file multiple=multiple onchange=clickfile(this.value); id=uploadfile class=upload-btn name=file here i cant file the val On Wed, Jul 21, 2010 at 11:23 PM, lineman78 linema...@gmail.com wrote: Well, first of all if you notice the

Applying Tab Order to TextInputCell and Focus issues

2010-12-30 Thread sean tunlaw
hello, I tried to add Tab Order to a subclassed TextInputCell by overriding the render method but I don't know where and how to pass the tabindex that corresponds to my backing object into the render the method. I have subclassed the TextInputCell, and overrode the render method which uses a

GWT in custom applications

2010-12-30 Thread zia
Hi experts at Google ! I am very very much intrigued by the wide range of API's offered by google. My question is that can we use GWT and Google APIs to build applications that we deploy on third party app servers like Apache, weblogic etc? can we deploy these application on these servers and

XmlAdapter compile error

2010-12-30 Thread kosaco
Hi! In my gwt project, I use XmlAdapter class of the javax.xml.bind.annotation.adapters package. When I'm compiling the project, it has the follow error: [ERROR] Line 11: No source code is available for type javax.xml.bind.annotation.adapters.XmlAdapterValueType,BoundType; did you forget to

How to set CSS style colors in GWT

2010-12-30 Thread AmaltasCoder
0 down vote favorite I have a GWT + AppEngine application that lets users create online polls. I want to let the poll creator choose from a variety of themes for his poll. We will save the theme a poll creator chose on the server and whenever a poll respondent access the poll he will get the

Re: GWT force Update on Server during development mode

2010-12-30 Thread Piotr Kosmowski
Or you can just compile the file that you changed. The server will refresh only compiled server side files. On 30 Gru, 04:45, Noor baken...@gmail.com wrote: Hi, I am getting a really annoying problem. In my application, whenever i need to change client code, the refresh make the new fix works

Focus on tabs in TabBar

2010-12-30 Thread Leo Taslaman
Hi, How can I remove the focus on a tab in a TabBar? I'm looking for something like tabBar.getTab(currentTab).setFocus(false). Even better if the tabs were not focusable at all, i.e can only be accessed by mouse click. -- You received this message because you are subscribed to the Google

UmbrellaException containing JavaScriptException

2010-12-30 Thread cmarsh...@avenue100.com
We are currently starting to experiment with GWT and are considering using the MVP design pattern that has been described in the Google documentation for GWT. Our intended application is an internal portal that will be implemented over time with different functions to be implemented

Use of GWT (+ JTS) + JPA + Postgis

2010-12-30 Thread Thomas Lefort
Hi, Has anyone worked on an map based application using GWT with a spatially enabled database like Postgresql with Postgis, possibly using JTS for some server side processing and its geometry types for passing objects through RPCs? I need some good pointers. Thanks, Thomas -- You received

XmlAdapter compile error

2010-12-30 Thread kosaco
Hi! In my gwt project, I use XmlAdapter class of the javax.xml.bind.annotation.adapters package. When I'm compiling the project, it has the follow error: [ERROR] Line 11: No source code is available for type javax.xml.bind.annotation.adapters.XmlAdapterValueType,BoundType; did you forget to

Re: Read, write, access a file using GWT

2010-12-30 Thread Harald Schilly
On Thursday, December 30, 2010 12:01:05 PM UTC+1, jc wrote: Is there is any way to read, write and access a file in a local directory when application run i a browser ? This is only possible if the server runs on the client's computer and hence the server has access to the file. The

error elapsed time

2010-12-30 Thread olivia
I make calculation of date using calenderUtil Date date = new Date(); date.setTime(timestamp.getTime()); Calendar dateNow = new GregorianCalendar(); dateNow.setTime(new Date()); Calendar dateInput = new GregorianCalendar(); dateInput.setTime(date);

Any clues on why my gwt project's compilation is so slow?

2010-12-30 Thread Bady
Our environment is as follows: 1. Eclipse JavaEE 3.6 2. GWT 2.0.4/GWT2.1, we use UiBinder. 3. Subclipse for svn access Whenever we change some files or fetch updates from SVN server relating to GWT client side, Eclipse shows that it is building workspace/analyzing source. But it is very slow(at

convert xml file to html file to GWT

2010-12-30 Thread padam
Hi I am new to GWT. I have a xml and xsl file .I want to convert it in html and display in the RichText area in GWT. ...please reply -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: How to convert from Class? type to Instance type with GIN ? Are GWT Places Singleton ?

2010-12-30 Thread Piotr Kosmowski
I haven't used gin for a long time, but try to inject ginjector and then you shoud have method get instance by class name. On 30 Gru, 03:54, metalhammer29a metalhammer...@gmail.com wrote: I have custom places in my app: HomePlace extends ApplicationPlace {} MailPlace extends ApplicationPlacfe

testing gwt

2010-12-30 Thread zviagins
hello I'm testing my project in eclipse whit GWTTestCase, and getting problem with startup url, geting messege: No startup URLs were supplied -- add them to the end of the GWTShell command line, i passing -startupUrl as program argument to test and it jast ignors it, how can I pass startupUrl? --

Best way to integrate GWT with existing Spring services?

2010-12-30 Thread Daniel Francisco
Hi everybody, I know is likely that this question has been asked many times before. I've googled a lot but I still don't have a clear answer, and I'm getting crazy. I have to start a new project which consists of creating the GUI layer using GWT of a backend application for which a project

XML Parsing Error: not well formed

2010-12-30 Thread msnathan
Hi, GWT version : 2.1 Eclipse Helios with latest GWT Plugin updates., After I updated the gwt plugin I get the following error on the Development Mode console only when the browser is Mozilla firefox., The application works in IE and Chrome. XRP2:WARN:parseXML:Error parsing XML: XML Parsing

Re: I18N - How to set locale per code?

2010-12-30 Thread Magnus
Hi, I actually cannot live with the reload: Assume a user had set his language in some profile settings area of your application. When he comes into your app, he logs in and the app loads for the first time. Then, immediately after loading the app, it is immediately reloaded to realize the

Re: I18N - How to set locale per code?

2010-12-30 Thread jhulford
You can store off the user's chosen locale into a database of some sort and then when your host page is being written after the user logs in (like w/ jsp or php or something) load the users language preference and set it via the meta tag. The only time you'd need to reload the app then is on that

Re: GWT force Update on Server during development mode

2010-12-30 Thread Ashton Thomas
Awesome, Thanks! On Dec 30, 6:07 am, Piotr Kosmowski kospi...@gmail.com wrote: Or you can just compile the file that you changed. The server will refresh only compiled server side files. On 30 Gru, 04:45, Noor baken...@gmail.com wrote: Hi, I am getting a really annoying problem. In

Re: 2.1.1 Documentation Please

2010-12-30 Thread David Chandler
Besides the Javadocs and RequestFactory wiki page, which are already available, you can expect to see some updates to RequestFactory docs after the holidays. In the mean time, you can find example code in the GWT unit tests and the Expenses and DynaTableRF sample apps included with the SDK. /dmc

UiBinder i18n best practices?

2010-12-30 Thread nacho
Hi, i would to know about your experience with UiBinder and i18n? Wich is is the best way to do this? Thanks in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: 2.1.1 Documentation Please

2010-12-30 Thread Lisa D
Great news David, I think I'm speaking for a lot of GWT developer, when I say..bring it on I cannot wait to read it and try out any attached sample code with the new service layer, autobean stuff and hopefully some topic on integration RF with Service Layer, Editors and AutoBean's sweet On Dec

Re: XmlAdapter compile error

2010-12-30 Thread ciosbel
I suppose you are trying to use that annotation on a client side class; javax is not emulated by gwt compiler, so you couldn't use it client side. Why not moving the adapter to the server side? Does your client really need it? Annotated jaxb classes can be used by the client (with a couple of

Re: runtime UI

2010-12-30 Thread Abdullah Shaikh
Ted, how are you planning to add event handlers to the widgets ? On Thu, Dec 30, 2010 at 2:49 AM, Ted Malaska ted.mala...@gmail.com wrote: Hey Guys, Here is the latest, I opened a night worth of the code to the open comminity.  Here is the link. http://code.google.com/p/gwt-binding-fly/

Re: uibinder widget creation time

2010-12-30 Thread ciosbel
Yes, swap them. emailAddressBox is initialized after the call to initWidget(...). On 30 Dic, 16:13, a...@mechnicality.com a...@mechnicality.com wrote: Er.. why not swap the order of the two statements? Generally speaking the initWidget statement should come first, but there are other options.

Re: AdSense and GWT

2010-12-30 Thread Matthew Hill
There is no way, I'm afraid. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Example to test RequestFactory in JRE

2010-12-30 Thread Simon Majou
I completed with that code from RequestFactoryJreTest : DomainRequestFactory rF = RequestFactoryMagic.create(DomainRequestFactory.class); EventBus eventBus = new SimpleEventBus(); ServiceLayer serviceLayer = ServiceLayer.create(); SimpleRequestProcessor processor = new

Re: AdSense and GWT

2010-12-30 Thread Deepak Singh
I dont know why it is not possible. Can someone tell me why we can not add AdSense here? On Fri, Dec 31, 2010 at 12:32 AM, Matthew Hill matt2...@gmail.com wrote: There is no way, I'm afraid. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: AdSense and GWT

2010-12-30 Thread Sripathi Krishnan
This answer on stackoverflow explains it nicely - http://stackoverflow.com/questions/435391/refresh-a-div-that-has-a-google-ad-inside-it#441425 http://stackoverflow.com/questions/435391/refresh-a-div-that-has-a-google-ad-inside-it#441425 --Sri On 31 December 2010 00:35, Deepak Singh

Re: 2.1.1 Documentation Please

2010-12-30 Thread Y2i
Lisa, When you say some topic on integration RF with Service Layer, Editors and AutoBean's do you mean something different from what is documented below? http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html

Re: 2.1.1 Documentation Please

2010-12-30 Thread Simon Majou
Where do you find Service Layer into those 2 links ? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: 2.1.1 Documentation Please

2010-12-30 Thread Y2i
The links do not mention Service Layer but for using JPA or JDO the documents implicitly describe the integration between RF, service layer, editors and auto beans. RequestFactoryServlet uses ServiceLayer internally, but knowing its existence is not necessary for using RequestFactory. Generated

Re: Example to test RequestFactory in JRE

2010-12-30 Thread Y2i
Ah, I think I see it: Try saving RequestContext when you first call rF.userRequest(), and then re-use it when you call create() and persist(). On Dec 30, 11:05 am, Simon Majou si...@majou.org wrote: I completed with that code from RequestFactoryJreTest :   DomainRequestFactory rF =

Re: Layout three GWT panels Horizontally

2010-12-30 Thread Owen Powell
I'd try DockLayoutPanel with a HorizontalPanel in the West that holds most of your Widgets, and the final Widget in the Center. As for how to write it up, I'd do it with UiBinderhttp://code.google.com/intl/es/webtoolkit/doc/latest/DevGuideUiBinder.htmland CSS. ~Owen -- You received this

Re: AdSense and GWT

2010-12-30 Thread David Chandler
Johannes, you may want to apply for AdSense for Ajax. It's currently an invitation-only program, and is designed to work with Ajax apps like GWT apps. http://code.google.com/apis/afa/ /dmc On Thu, Dec 30, 2010 at 2:16 PM, Sripathi Krishnan sripathi.krish...@gmail.com wrote: This answer on

Re: GWT in custom applications

2010-12-30 Thread Ben Imp
While I am not from Google, I have done the very thing you are asking about, so I can confirm GWT's suitability for such tasks. We are using Tomcat with an Apache proxy. The site does face the internet, but it is restricted to employees of the firm, and most of the usage is from inside the

Question regarding Activites, Places, Dependeny Injection and complex layouts.

2010-12-30 Thread Frank Bølviken
Hi, I've been looking for examples which show how to build up complex GUI's which use West region for navigation for example, and a Main region for content. I've found some posts about it, but none of which is really good and easy to follow. None of them use Guice and Gin as dependency

Re: Example to test RequestFactory in JRE

2010-12-30 Thread Simon Majou
That's it thank you ! -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

Re: GWT in custom applications

2010-12-30 Thread David Chandler
Sure, zia. Lots of folks use GWT behind firewalls, and the GWT compiler creates a WAR that you can deploy in any servlet container. /dmc On Thu, Dec 30, 2010 at 12:59 AM, zia usman@gmail.com wrote: Hi experts at Google !   I am very very much intrigued by the wide range of API's offered by

Styling of com.google.gwt.cell.client.Cell implementations like TextInputCell

2010-12-30 Thread Don
Hi all, is their really no simple way to style com.google.gwt.cell.client.Cell implementations? In my case, I just want to size TextInputCell. Any reason, why their is no method like setSyleName(String cssClassName)? I found this posting:

GWT with JPA located in a separate project

2010-12-30 Thread Sagadon
I'm trying to get GWT to pass POJOs created by MyBatis. The data objects are in a separate project, due to overall application complexity, and I'm trying to use the data objects on the client side. What this means is the source code for the data objects is not within the same project as GWT, and

GWT.create([AnyService]) hangs only on hosted mode

2010-12-30 Thread Oscar Herrera
Hi, I've been working on a project for more than eight months using GWT without any issue, recently I upgraded to version 2.1 and since then anytime I call GWT.create([AnyService]) the browser hangs. It used to show me an OutOfMemoryException so I set Xmx to 4096m, XX:MaxPermSize to 1024m and -Xss

Re: problem migrating to 2.1 application hags

2010-12-30 Thread Oscar Herrera
I think it might be the same issue I'm having, does this only happens to you on hosted mode? or does it happens as well when running on web mode?, have you tried setting a log before GWT.create([AnyService]) and another one after it?, I get to only see the first one, then the browser and the GWT

Re: Invalid JSNI method reference

2010-12-30 Thread Iftee
How to do this during exporting a JAVA function to JS for handwritten JavaScript. Since during exporting I cant pass parameter rather than the only method signature. Please have a look at the ??? marks in the code. public static void foo(String s) { Window.alert(Foo called by + s); } public

Re: UiBinder i18n best practices?

2010-12-30 Thread Y2i
ui:message/ and ui:attribute/ is a good way to do it: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinderI18n.html On Dec 30, 10:10 am, nacho vela.igna...@gmail.com wrote: Hi, i would to know about your experience with UiBinder and i18n? Wich is is the best way to do this? Thanks

CellTable Row formats

2010-12-30 Thread EMan
How do I dynamically format rows in a CellTable? for example based on a value in a cell, I might want to color a row red or blue. Is there an onFormatEvent or something like that I can handle? Thanks. -- You received this message because you are subscribed to the Google Groups Google Web

Re: Problem with java.util.Date

2010-12-30 Thread Slava Lovkiy
Is this error happing in old code or newly created? Check the package name in the import of the file, there is a chance your IDE auto-imported class Date not from java.util but from java.sql package. On Dec 31, 2:17 am, bond daniele.re...@gmail.com wrote: Hi, with the last version of GWT

Runtime errors after updating to 2.1.1

2010-12-30 Thread Gary S
I have a multi Maven module project that built and ran as a Web Application without error (it took 2 weeks of dumpster diving). After updating to GWT 2.1.1, GPE 3.6, and GWT Maven Plugin 2.1.0-1 I can still build and launch as a Web Application but in Eclipse Development Mode view there is this:

Re: Problem with java.util.Date

2010-12-30 Thread Y2i
java.sql.Date does not have a default constructor, so the example won't compile; it must be something different. BTW, I copied the three lines above to my client code: there is no problem with compiling and running it using java.util.Date and GWT 2.1.1. On Dec 30, 1:31 pm, Slava Lovkiy

Re: AdSense and GWT

2010-12-30 Thread Matthew Hill
David Chandler, do you know how many people get accepted? Is it reserved for 'elite' sites? -- 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-tool...@googlegroups.com. To unsubscribe from this

Re: I18N - How to set locale per code?

2010-12-30 Thread Magnus
Hi Jhuford, this sounds interesting. I have the user's choice in a database. But my host page is always the same. I have only one host page, which is nearly empty. Everything including the login window is generated by code. At the moment, I feel unable to test the method you described. Could

Re: I18N - How to set locale per code?

2010-12-30 Thread Jim Douglas
Instead of asking the user for a locale preference for your page, why not just assume that his browser is configured to tell you his preferred language using the HTML Accept-Language header? http://www.w3.org/International/questions/qa-accept-lang-locales

Re: AdSense and GWT

2010-12-30 Thread David Chandler
I don't know, Matthew, as that's all handled by the AFA team. Best I can recommend for now is to give it a try and see what happens. /dmc On Thu, Dec 30, 2010 at 4:57 PM, Matthew Hill matt2...@gmail.com wrote: David Chandler, do you know how many people get accepted? Is it reserved for 'elite'

Dynamically update the contents of a SelectionCell dropdown list

2010-12-30 Thread Abhorsen
I am trying to have a table that displays data that the user inputs as well as edit the data. I have figured out how to do this with text (ie, they can edit the name of something in the table), but I cannot get it to work with selection cells. It works correctly if the items in the selection cell

requestfactory don't allow appengine parent relationship ?

2010-12-30 Thread Simon Majou
I am using GAE and when I create an entity having parents with Request Factory, I get this exception: com.googlecode.objectify.NotFoundException: No entity was found matching the key: Key{kindClassName=com.pipo.MyEntity, parent=null, id=2} This exception is launched when calling: public

Failed to load resource: the server responded with a status of 404 (Not Found) %.nocache.js

2010-12-30 Thread Miguel Angel De la Torre Mart?nez
Hello. I been working on an application using GWT, Servlets, GWT-RPC and Mysql. Now I'm experimenting with the App Engine but it's been a struggle. I copied all my model data classes to a blank project and copied only the splash window GUI clases, it compiles and runs OK locally on developer

Re: AdSense and GWT

2010-12-30 Thread Matthew Hill
Interesting. Thank you very much, David. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

  1   2   >