RequestFactory Entities relationship

2011-03-31 Thread Patrick Cailly
I cannot call FindEntity , without the with parameter with Find.Entity(125L).with(root).fire() if I want an EntityProxy with the root Entity included I certainly miss something . or is it necessary to do so if not any hint ? if so , How do refer to more than 1

A library for getting/setting Selection and Cursor in RichTextEditor

2011-03-31 Thread kozura
I've created a project gwt-selection with cross-browser functionality for manipulating Selection/Cursor location, including in a RichTextEditor: http://code.google.com/p/gwt-selection/ This library has actually been around awhile, just attached as a jar to

Re: RequestFactory Entities relationship

2011-03-31 Thread Y2i
You don't have to use with() if you don't want to populate relations of the object graph http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#relationships to refer to more than one relation, use with(rel1, rel2, etc) -- You received this message because you are subscribed

Re: RequestFactory Entities relationship

2011-03-31 Thread Metronome Basic
In fact I'm trying to convert a Datastore accessed via RPC and DTOs to RequestFactory. So far the entities have been populated by the old system I'm just trying to read data for the now I'm sorry I'v just missed this paragraph ! Thanks anyway Patrick - Original Message - From:

JPA JAXB Classes with GWT RPC

2011-03-31 Thread Michele Rossi
Hi, I would like to use JPA-annotated classes and schema-generated JAXB-annotated classes as data transfer objects for my RPC services. Is there anything fundamentally difficult / wrong with this? I tried some time ago but I couldn't get it to work so I had to code up ugly DTO translators. I

GWT library to wrap the W3C file API

2011-03-31 Thread Lukas Laag
Hello, I have developed a new library to address the problem of loading files which are on the local filesystem of the end-user into GWT applications. Actually the library is just a simple GWT wrapper for the W3C file API and some parts of the HTML5 drag and drop API. If you are developing an

Re: UIBinder Failure :Not working in GWT 2.1

2011-03-31 Thread Susan
Hi, I have got the solution for it. My project was using gwt-mosaic-0.4.0-rc4.jar which has com.google.gwt.uibinder.rebind.UIBinder class in it which was clashing with com.google.gwt.uibinder.client.UIBinder in gwt-user.jar. Hence modify gwt-mosaic-0.4.0-rc4.jar by removing UIBinder class from

Re: Post on remote server

2011-03-31 Thread Jambi
I don´t know if it´s possible from the client. But you can do the post on your own server and exchange the data via GWT-RPC. That´s the way I handle my OAuth authentication with facebook, google and twitter. On 31 Mrz., 03:37, ns nisargshah...@gmail.com wrote: Hello, I am new to gwt and i just

Re: MVP + Handlers + Carelessness = Memory Leak ?

2011-03-31 Thread Jambi
Hi Peter, I´m not sure if i got your question right but I think the activities and places pattern could help you. Normally, you have to care about the unloading of your handlers, but within the activity framework, GWT handles all the handler unloading as soon as you stop the activity (remove the

Re: GWT GAE Session getThreadLocalRequest

2011-03-31 Thread Kayode Odeyemi
subscribing On 3/31/11, John Wheeler j...@highvolumeseller.com wrote: getThreadLocalRequest().getSession() is returning a different session object than the one I instantiate with request.getSession(true) in another servlet--but only in IE. FF Chrome Safari all work. I was reading more news

Re: RequestFactory Entities relationship

2011-03-31 Thread Metronome Basic
It is also necessary to use the with() method to retrieve any properties with types extending ValueProxy. The with() method takes multiple String arguments, so you can specify multiple property names at once. To specify nested properties, use dot notation. Putting it all together, you might

Re: access a form from a JSNI function in GWT

2011-03-31 Thread Thomas Broyer
If the form is in a ui.xml, why don't you put a ui:field on it (instead of id) and have uiBinder inject the FormElement into an @UiField of your Java class? (and then pass the FormElement ro your JSNI method instead of the getElementById) But back to your actual issue with JSNI: use '$doc'

Re: symbolMap files

2011-03-31 Thread Thomas Broyer
I don't think you can have the Compiler *not* generate them at all, but you can have it generate them wherever you want (maybe including /dev/null ?) using the -deploy argument. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

can't get tabLayout with 100% size

2011-03-31 Thread tanteanni
i am trying to get an tab layout which gets 100% of screensize but all set size with percentage is beeing ignored. here is my code: public void onModuleLoad() { RootPanel rootPanel = RootPanel.get(); String text1 = Lorem ipsum dolor sit amet...;

Re: GWT library to wrap the W3C file API

2011-03-31 Thread nino ekambi
Hi there, nice job. can this process PDF and Excel file ? Regards, Alain 2011/3/31 Lukas Laag laa...@gmail.com Hello, I have developed a new library to address the problem of loading files which are on the local filesystem of the end-user into GWT applications. Actually the library is just

Re: can't get tabLayout with 100% size

2011-03-31 Thread Jens
Put your TabLayoutPanel in a RootLayoutPanel instead of a RootPanel. Then it should work and you do not need to set any width/height. -- 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: JPA JAXB Classes with GWT RPC

2011-03-31 Thread Paul Robinson
JAXB generated classes import jaxb classes that are used for annotations, and that gives you problems with the compilation to javascript. I've seen various people post to this list with problems getting this to work with GWT RPC, but I don't recall anybody saying they'd managed it. On

Re: MVP + Handlers + Carelessness = Memory Leak ?

2011-03-31 Thread Kayode Odeyemi
The GWT Activity and Place is not a solution that is fit for all kinds of client requests. I have seen places where I still have to use a combination of MVP and Activity Place in the same application. On Thu, Mar 31, 2011 at 9:40 AM, Jambi michael.lukaszc...@googlemail.comwrote: Hi Peter,

GWT application works on FF3.6, IE, Chrome but fails on

2011-03-31 Thread jantekb
hi! I have a GWT + GWTExt application, that stopped working when I upgraded to FF 4. It used to work well on the popular browsers. (IE8, Chrome, FF 3.6) The error message is the following that I see in the firebug console: uncaught exception: [Exception... 'Unrecognized type object for value Tue

Re: MVP + Handlers + Carelessness = Memory Leak ?

2011-03-31 Thread Thomas Broyer
On Wednesday, March 30, 2011 7:58:43 PM UTC+2, pete wrote: Hallo, I'm not sure how GWT handles this, so I want to evaluate a short example scenario for memory leaks. Suppose I write my own handler public Interface BlubbHandler { void onBlubb(BlubbEvent event); } have my

Re: can't get tabLayout with 100% size

2011-03-31 Thread tanteanni
thank you very much, since hours i try this :-) On 31 Mrz., 12:44, Jens jens.nehlme...@gmail.com wrote: Put your TabLayoutPanel in a RootLayoutPanel instead of a RootPanel. Then it should work and you do not need to set any width/height. -- You received this message because you are

Re: access a form from a JSNI function in GWT

2011-03-31 Thread mightymightyblues
So, I create a : g:FormPanel enctype=multipart/form-data method=post name=fileinfo ui:field=fileinfo input type=file name=file/ /g:FormPanel use the uiBinde to take te FormPanel, and after that I can to use that FormPanel like a FormData in jsni? Is compatible? On 31 mar, 12:01, Thomas Broyer

Re: access a form from a JSNI function in GWT

2011-03-31 Thread mightymightyblues
Now I have this in JSNI: var formData = new FormData(this.@com.libregeosocial.backend.client.tools.RequestJson::fileinfo); And fileinfo is a FormPanel. But this crash ... any Idea? is not the same a FormData javascript and a FormPanel Java ?! On 31 mar, 13:08, mightymightyblues

Re: GWT 2.2 + JPA problem?

2011-03-31 Thread Juan Pablo Gardella
What is the package of entity.User ? Are you put in client package? Juan 2011/3/30 zoejules ngspki...@gmail.com I am working with GWT 2.2, JPA, Java EE 6 Web, glassfish v3. My problem is that I receive the following error if I use my entity in an RPC call: No source code is available for

Re: Spring

2011-03-31 Thread Juan Pablo Gardella
You can make a service that provide it. Juan 2011/3/30 l3dx thomas.skar...@gmail.com Hi! I'm also interested in this. How can one get information about the authenticated user from within GWT? I'm not even sure if I need this, but I started to think about it and became curious :) /Thomas

RequestBuilder don't store coockies?

2011-03-31 Thread mightymightyblues
Hi, I'm making some test about CORS and trying to make a POST to a server, to make login, and the server send me a message with a 200 state ( the login was correct ) , but the browser don't save the coockies. this is my code: RequestBuilder rb = new

Re: com.google.gwt.junit.client.GWTTestCase can not be found in source packages

2011-03-31 Thread Yusuf Sutarko
Please see this link http://forums.instantiations.com/viewtopic.php?f=11t=1381 On Mar 7, 9:22 pm, Sai dhana@gmail.com wrote: Hi, I have down loaded StockWatcher to understand GWT RPC better. I have imported the project into my eclipse work space and I get the following problem:

Re: symbolMap files

2011-03-31 Thread mike b
Thx for the reply. I see the -deploy now, thanks for that reference. I'm on windoze, so I don't know of a /dev/null equivalent. So, I'm just throwing them into another directory that our ant build deletes before each build. Thx again, mikeb -- You received this message because you are

Re: GWT + Spring Security

2011-03-31 Thread cheleb
Hi You could check: * http://code.google.com/p/net-orcades-spring/ * http://code.google.com/p/orcades-gwt-spring/ for a MVP approach. if will at least give you some ideas. On Mar 9, 5:23 am, j.singh.developer j.singh.develo...@gmail.com wrote: This may be a repeatable question. I am looking

how to set selected widget in stackLayoutPanel?

2011-03-31 Thread tanteanni
i found only this: http://code.google.com/p/google-web-toolkit/issues/detail?id=4453 but how is this fixed? how can can set the selected widget within a stacklayoutpanel? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

How can I unit test some basic JavaScript overlay objects with the need for a Servlet and GWTTestCase ?

2011-03-31 Thread stuckagain
I have a few JavaScriptObject overlay types that I need to check for correct behaviour. They basically represent data that I receive from a JSONP request. I tried adding a servlet for testing that would serve the JSONP following the JUnit testing docs of GWT but I noticed that it does not

Re: GWT 2.2 + JPA problem?

2011-03-31 Thread ngspk
It is in another project (EJB Module Project). On Mar 31, 1:28 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: What is the package of entity.User ? Are you put in client package? Juan 2011/3/30 zoejules ngspki...@gmail.com I am working with GWT 2.2, JPA, Java EE 6 Web,

Re: GWT 2.2 + JPA problem?

2011-03-31 Thread Juan Pablo Gardella
If you want use it in client side, you must define a module in the ejb module and in the war proyect, use it. For example: ejb - MyModule.gwt.xml: In this file, you put the package where you have the entities war - MyWar.gwt.xml: There you inherit for MyModule.gwt.xml to gwt compile can find the

Passing form parameters to Spring controller from a FormPanel

2011-03-31 Thread Kayode Odeyemi
Hello, I'll like some help on how to get form parameters from HTTP POST request to a Spring Controller within a FormPanel. Below is the code I'm working with: public class SignupWidget extends Composite { private Logger logger = Logger.getLogger(SignupWidget.class.getName()); FlowPanel

Re: access a form from a JSNI function in GWT

2011-03-31 Thread Thomas Broyer
On Thursday, March 31, 2011 1:08:26 PM UTC+2, mightymightyblues wrote: So, I create a : g:FormPanel enctype=multipart/form-data method=post name=fileinfo ui:field=fileinfo input type=file name=file/ /g:FormPanel Why a FormPanel? form ui:field=fileinfo ... and @UiField

Re: How can I unit test some basic JavaScript overlay objects with the need for a Servlet and GWTTestCase ?

2011-03-31 Thread Thomas Broyer
If you have JSNI (and your JSOs probably have a lot), you have to use a GWTTestCase. But defining a servlet in your gwt.xml should work (GWT's own unit tests makes use of it: GWT-RPC, FormPanel, RequestFactory and RequestBuilder). Maybe check that your GWTTestCase's getModuleName returns the

Hint Text

2011-03-31 Thread SVR
Ho to display hint text (like a date format, currency symbol etc) to a text field. Is there any built in feature to do this in GWT? I am not using Smart GWT or anything else. thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Hint Text

2011-03-31 Thread Ben Imp
You could set the title attribute of the text field. http://www.w3schools.com/tags/att_standard_title.asp -Ben On Mar 31, 8:57 am, SVR svr...@gmail.com wrote: Ho to display hint text (like a date format, currency symbol etc) to a text field. Is there any built in feature to do this in GWT? I

Re: GWT 2.2 + JPA problem?

2011-03-31 Thread ngspk
I tried but Netbeans 6.9.1. said that I can not create gwt module in a non-gwt project. I solved this way: I deleted my ejb project and I create my session bean and entity class in the gwt project. (And I added the EclipseLink (JPA 2.0) library to the classpath because of the annotations.) And of

Re: GWT 2.2 + JPA problem?

2011-03-31 Thread Juan Pablo Gardella
Ok, but the error is relationate with netbeans IDE, no gwt. You can make a simple jar with only entity class. This jar define the xml and is used by the war and the ejb project. Best modularizate. Juan 2011/3/31 ngspk ngspki...@gmail.com I tried but Netbeans 6.9.1. said that I can not create

gwt-dispatch

2011-03-31 Thread mariyan nenchev
Hi, I am trying to use gwt-dispatch with spring. I added -- 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: RequestFactory Entities relationship

2011-03-31 Thread Y2i
No, RequestFactory automatically sends the whole object graph in a single request. -- 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,

table validation

2011-03-31 Thread Issam
Hello, can anyone tell me please what do template stand for in the google web toolkit tutorial demo example (table validation) :example code source if (template == null) { template = GWT.create(Template.class); } thanks -- You received this message because you are subscribed to

Re: RequestFactory with parameter

2011-03-31 Thread Marcin Misiewicz
I'm not sure, but I guess it is always required. -- 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: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Ben Imp
Ah, I finally see what you are doing with that iterator. You are using that to find and remove the item elements from the view. What you are doing wrong is just abusing an existing method. You generally try to not change the contracts of methods by overriding them and assigning them different

Re: how to set selected widget in stackLayoutPanel?

2011-03-31 Thread Jens
You can use StackLayoutPanel.showWidget(...) methods or do you mean something different and I don't get it? -- 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

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Vhann3000
On Mar 31, 10:50 am, Ben Imp benlee...@gmail.com wrote: Ah, I finally see what you are doing with that iterator. You are using that to find and remove the item elements from the view. Yes, more specifically, I'm using the iterator to find the SelectedItemElement (the Button) associated with

Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Marcin Misiewicz
Hi i have a few problems with updating/creating entities. My model is very simple : @Entity Company { some fields . @Embedded Address } @Embeddable Addres { . some fileds ... } Of course AddressProxy is subtype of the ValueProxy. I'm running my sample in

Re: table validation

2011-03-31 Thread Y2i
It's a tag interface that facilitates compile-time binding of HTML templates http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/safehtml/client/SafeHtmlTemplates.html http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/safehtml/client/SafeHtmlTemplates.html

Re: seemingly misleading verbiage in the documentation...

2011-03-31 Thread Thomas Broyer
Can't you have a look at the javadoc and the source code? See http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/json/client/JSONParser.html (in other words, the doc is outdated) -- You received this message because you are subscribed to the Google Groups Google Web

RequestFactory Entity name

2011-03-31 Thread Metronome Basic
Hello I have an Entity named CRegIndexBodyTable and the findCRegIndexBodyTable method fails I have made a test Entity that is copy of the previous one but named CRegIBT and findCRegIBT is successfull Is there a max lenghth for the entity name handled by RequestFactory Thanks Patrick --

Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Juan Pablo Gardella
Hi, only relationate with JPA. 1) you can fix with lazy annotationshttp://docs.jboss.org/hibernate/annotations/3.5/reference/en/html/entity.html#entity-hibspec-singleassoc-fetching . 2) Are you run in a transactional method? Juan 2011/3/31 Marcin Misiewicz misq...@gmail.com Hi i have a few

Re: seemingly misleading verbiage in the documentation...

2011-03-31 Thread karthik reddy
Any thoughts on this would be much appreciated. I am trying to validate my understanding of JSONParser class and also highlight the misleading verbiage in the documentation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: MVP + Handlers + Carelessness = Memory Leak ?

2011-03-31 Thread pete
First of all thank your all for your replies, especially Thomas' for shedding some light on garbage collection, etc. :-) (I'm no full time programmer, so I don't know many subtleties of programming...) The point is, that I kind of have an old but big (relative I guess) application (in fact I

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Vhann3000
On Mar 31, 11:53 am, Vhann3000 vhann3...@gmail.com wrote: 2- When the Button gets clicked, it should call the ItemClickHandler (but it does not if and only the overriden iterator() is not there). I meant it doesn't work when I override iterator(). Now, from what I understand, GWT relies on

RichTextArea, SafeHtml, and general rich text best practices

2011-03-31 Thread nogridbag
I just converted one of our simple TextArea's into a RichTextArea (using the RichTextToolbar from the Showcase). I'm not quite sure I understand the best practices for using RichTextArea with SafeHtml. GWT's RichTextArea.java has the methods: void setHTML(SafeHtml) String getHTML() Let's say

Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Marcin Misiewicz
Hi Juan 1. I added @Basic annotation with fetch type eager and it works. Till now I was pretty sure that embedded object are always fetched and I thought that this problem is related to the appengine. 2. Here is my persistence.xml file. Do you suggest that I should use transactions to get

Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Juan Pablo Gardella
I'm don't know appengine, but if you want update something you must do in a transaction scope. See Jpa transactionshttp://en.wikibooks.org/wiki/Java_Persistence/Transactions Juan 2011/3/31 Marcin Misiewicz misq...@gmail.com Hi Juan 1. I added @Basic annotation with fetch type eager and it

Re: seemingly misleading verbiage in the documentation...

2011-03-31 Thread karthik reddy
Thanks Thomas. In fact, I did look at the javadoc, and even the javadoc has kinda ambiguous verbiage . More precisely, parseStrict's description is right on : Evaluates a JSON string and returns its JSONValue representation. Where possible, the browser's JSON.parse function is used. For older

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Ben Imp
Correct. You weren't abusing the iterator itself, you were abusing the iterator method, which other things used. You can still extend ScrollPanel, but just add your own bit of interface on top of it. Like this bit of pseudocode. class MyScrollPanel extends ScrollPanel { private FlowPanel

How to alert the user when closing the window

2011-03-31 Thread Rajin Das
Hi, I want to alert the user to save the form, if he has changed any value in the form and not saved that, in this case when the user leave the page with out saving i want to show him an alert message asking him to save the data. it can be done with the help of onUnload method, but how we can

What are best practices for implementing multiple page apps in GWT?

2011-03-31 Thread EBarnett
I am working on a application that will have multiple pages. I have read a lot of the older posts that discuss several ways of approaching this in GWT. I also notice that the last down for project gwt- multipage was a beta from July 2010. And there have been a lot of enhancements to GWT since

CellBrowser-Tree Node

2011-03-31 Thread D74
Hi, In a Single Selection Cell Browser, I am able to get the selected object from the TreeNode. But how do I get the entire path of the selection. For example If I am selecting a Child node from the browser, how do I get the parent info along with it. A(Root) - Aa(Child) -A1(Leaf) I would like

if any one have some simple method to get the selected value from a group of radiobox

2011-03-31 Thread forrest yang
i find some method, but seems some sort of complex, is any one have some simple method? should this be completed in just one line? 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

IE9 GWT inside IFRAME problem

2011-03-31 Thread Michal Stehlik
Hello, we create GWT Google Maps application which is displayed in IFRAME. So far there wasn't any problem. But problem occurred when new IE9 was released. So we had to upgrade all GWT libraries to newest one. Now when I visit our application directly via link: http://www.geocoder.at/willhaben.at/

GWT-ext: Position of the Widgets inside the Window

2011-03-31 Thread ines gharbi
Hello, I have a question about GWT-ext. I used the method setPosition (int x, int y) to change the position of my Widgets (panels, buttons, labels .) inside my window but they are displayed on the top left . Do you have any suggestions? Thank you. -- You received this message because

GWT Date Serialization problem

2011-03-31 Thread SVR
Has anybody noticed a problem with dates and RPC. Basically I receive a date from the backend and able to see the correct date in the RPC Impl in the debugger but when I set the Date field on the client (after the the results are serialized), I see that the date is offset by a day. I havnt tested

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Vhann3000
On 31 mar, 14:30, Ben Imp benlee...@gmail.com wrote: Correct. You weren't abusing the iterator itself, you were abusing the iterator method, which other things used. You can still extend ScrollPanel, but just add your own bit of interface on top of it. Like this bit of pseudocode. Ok,

Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Marcin Misiewicz
Thanks Juan, it works. That's what happen when you are using container managed transactions for the long time. I simply forgot about transactions. -- 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: GWT Date Serialization problem

2011-03-31 Thread Juan Pablo Gardella
How are you do when I set the Date field on the client? The serialization to server-client is Ok, but to client-server fail? Juan 2011/3/31 SVR svr...@gmail.com Has anybody noticed a problem with dates and RPC. Basically I receive a date from the backend and able to see the correct date in

Re: GWT Date Serialization problem

2011-03-31 Thread SVR
Serialization from Client to Server is OK, but Server to Client fails. I enter say Jan 31, 1979 (a simple Text with DatePicker) and it get saved to the Database as such, but when I get back the value from the server, I can see the correct value in the server (RPC Impl) as Jan 31, 1979, but when it

Re: GWT Date Serialization problem

2011-03-31 Thread Juan Pablo Gardella
You sent the date to client via a asynchCall. So you receive onSuccesfull or onFailure. You are update in onSuccesful the date of the simple text with which value? Can you share the relevant code? Are you use DateBox? Juan 2011/3/31 SVR svr...@gmail.com Serialization from Client to Server is

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Chad
Olivier, The way I'd do it if I were you (and the way I've done many custom controls) is use create your class and have it extend Composite. In your class, you would have your ScrollPanel and VerticalPanel. Then, expose whatever add, remove, iterator methods you want and have them relay to your

Re: GWT Date Serialization problem

2011-03-31 Thread SVR
Simplifying my use case: I have a Text box from which I read the value from: Sender is a shared datastore between the client and the server and is of the form: Sender{ java.util.date dateOfBirth; } GWT Client Side: TextBox birthDate; String medDateFormat =

Re: GWT Date Serialization problem

2011-03-31 Thread Josh Berry
Pretty sure this is a simple issue of the timezone messing things up. (Sorry for not having a solution right off, just something to look into.) On Thu, Mar 31, 2011 at 4:03 PM, SVR svr...@gmail.com wrote: Simplifying my use case: I have a Text box from which I read the value from: Sender is

Re: GWT Date Serialization problem

2011-03-31 Thread Juan Pablo Gardella
Check if the value returned by public long Date.getTime() are different. In dabase is store correctly suppose. 2011/3/31 Josh Berry tae...@gmail.com Pretty sure this is a simple issue of the timezone messing things up. (Sorry for not having a solution right off, just something to look

Re: GWT Date Serialization problem

2011-03-31 Thread cri
I've experienced and have had to deal with this problem. It is a timezone related problem. Here's an example. 1) You initialize a Date object from the database on the server side. Say the date in the database is March 15. Your Date object will be initialized to March 15 at midnight, because a

Re: IE9 GWT inside IFRAME problem

2011-03-31 Thread FabioV
Hi Michal, Bear in mind that official support for IE9 has not yet been released. When you say running in IE9, there are many 'modes' to consider. if you are referring to ie9 standards mode, then looks like your app was not compiled for ie9 from what I could gather from your link above. The

Re: seemingly misleading verbiage in the documentation...

2011-03-31 Thread Thomas Broyer
parseLenient *only* uses eval(), not only as a fallback. This is because JSON is stricter than JavaScript's object literal notatio: in JSON, object property names must be quoted; JS can include comments, etc. JSON.parse cannot parse those JS literal objects that do not quote property names

UiBinder can't put a Celltable in a Scrollpanel

2011-03-31 Thread Patrick Tucker
Does anyone know how I can get around this problem? I did some digging and it looks like the problem is because I can't import the class with urn:import: in front of the package. UiBinderWriter has a method, isWidgetElement(XMLElement), that checks for urn:import: in front of the package name.

Re: Spring

2011-03-31 Thread ALEXEI BARBONI
Thanks Joe On Thu, Mar 31, 2011 at 8:32 AM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You can make a service that provide it. Juan 2011/3/30 l3dx thomas.skar...@gmail.com Hi! I'm also interested in this. How can one get information about the authenticated user from

Re: UiBinder can't put a Celltable in a Scrollpanel

2011-03-31 Thread Patrick Tucker
I guess the error message would help: [ERROR] [project] - Expecting only widgets in g:ScrollPanel ui:field='scrollPanel' Element gc:CellTable ui:field='cellTable' (: 92) On Mar 31, 5:46 pm, Patrick Tucker patrick.tuc...@macefusion.com wrote: Does anyone know how I can get around this

JSNI Newbie Question

2011-03-31 Thread Ed
HI I am a newbie to JSNI.  Any help on how to implement this would be appreciated. I am just trying to notify client of save operation in progress. All of the in put is coming from an The html containing the onClick is loaded in private static Frame via a url set. JAVA in CLIENT

WANTED: GWT developers for Part-Time or Full-Time Contracts

2011-03-31 Thread Daniel Cowx
Hey folks, My name is Daniel and I'm looking for a few talented engineers to work (remotely) on a short term contract for my company. Candidates can work part-time or full-time, but must be proficient with GWT. The initial project we're looking to staff is for the development of a GWT chat

Re: GWT Date Serialization problem

2011-03-31 Thread Martin Larsson
On 31. mars 2011 22:33, cri wrote: The solution that I've always used is to pass dates between the GWT client and server as Strings, e.g. MM/dd/. Or set the time component to noon instead of midnight. M. -- You received this message because you are subscribed to the Google Groups Google

parseLenient and parseStrict on newer browsers [was Re: seemingly misleading verbiage in the documentation...]

2011-03-31 Thread karthik reddy
parseLenient *only* uses eval(), not only as a fallback. . I went into the source code and took a look at the parseLenient method. You are correct. parseLenient always uses eval(). The following is the code snippet that confirmed this fact for me:

Re: JSNI Newbie Question

2011-03-31 Thread Ed
Oops, I posted this to wrong place. Sorry about the noise. On Mar 31, 6:51 pm, Ed ej19...@gmail.com wrote: HI I am a newbie to JSNI.  Any help on how to implement this would be appreciated. I am just trying to notify client of save operation in progress. All of the in put is coming from

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Vhann3000
On Mar 31, 3:54 pm, Chad chad...@gmail.com wrote: Olivier, The way I'd do it if I were you (and the way I've done many custom controls) is use create your class and have it extend Composite. In your class, you would have your ScrollPanel and VerticalPanel. Then, expose whatever add, remove,

Re: GWT-compiled object referenced in JSNI

2011-03-31 Thread tlep
D'Oh! Looking at the FAQ, I found this, which answers my question: http://code.google.com/support/bin/answer.py?hl=enanswer=75695 On Mar 30, 9:56 am, tlep thomas.lepkow...@gmail.com wrote: Hello, I've been working on a GWT client-side class, for example class Foo {   public void

how to return errors from RequestFactoryServlet?

2011-03-31 Thread KaffeineComa
Like the asker of this question: http://stackoverflow.com/questions/5277084/handling-gwt-requestfactory-server-error-responses I'd like to be able to return errors to the front-end when RequestFactoryServlet encounters a problem. Thrown exceptions never seem to result in onFailure() or

Re: GWT Date Serialization problem

2011-03-31 Thread Brendan Doherty
How will noon fix the problem? Assuming your server is running on central time (UTC-6) and you pass it to a client I'm running here in New Zealand (currently UTC+13), your March 15 noon will become March 16 6am. You'll still be a day off. -- You received this message because you are

[gwt-contrib] Re: Makes EventBus available outside of the gwt package, in (issue1394803)

2011-03-31 Thread Andrés Testi
Why bindery package is nested in a web package? Are these APIs not available for non web applications? Regards. - Andrés On 31 mar, 01:19, rj...@google.com wrote: Ready for review. John, can you keep me honest on the treatment of com.google.gwt.event.shared, and the choices made in the new

[gwt-contrib] [google-web-toolkit] r9919 committed - Reroll of r9908 (rolled back at r9911): Fixes issue 6189....

2011-03-31 Thread codesite-noreply
Revision: 9919 Author: rchan...@google.com Date: Thu Mar 31 03:22:04 2011 Log: Reroll of r9908 (rolled back at r9911): Fixes issue 6189. WebAppCreator was not scanning war/WEB-INF/lib to fill up .classpath Added support for windows path separator to testCreatorOnlyEclipseWithJars()

[gwt-contrib] Re: Reroll of r9908 (rolled back at r9911): Fixes issue 6189. (issue1399801)

2011-03-31 Thread rchandia
Submitted at r9919 http://gwt-code-reviews.appspot.com/1399801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r9920 committed - Cherry picking r9919 into releases/2.3 for public issue 6189

2011-03-31 Thread codesite-noreply
Revision: 9920 Author: rchan...@google.com Date: Thu Mar 31 07:44:28 2011 Log: Cherry picking r9919 into releases/2.3 for public issue 6189 http://code.google.com/p/google-web-toolkit/source/detail?r=9920 Modified: /releases/2.3/user/src/com/google/gwt/user/tools/WebAppCreator.java

[gwt-contrib] Add the beginnings of new HTML5 drag and drop events (issue1398802)

2011-03-31 Thread fredsa
Reviewers: pdr, Description: Add the beginnings of new HTML5 drag and drop events Please review this at http://gwt-code-reviews.appspot.com/1398802/ Affected files: A user/src/com/google/gwt/event/dom/client/DragEnterClickHandler.java A

[gwt-contrib] Remove cache file if nothing was written to it. (issue1396804)

2011-03-31 Thread scottb
Reviewers: zundel, Message: In the case where you re-run a compile/startup without changing any code, we produce an empty cache file each time. This change removes the file on exit if we never wrote anything to it. Please review this at http://gwt-code-reviews.appspot.com/1396804/ Affected

[gwt-contrib] Re: Remove cache file if nothing was written to it. (issue1396804)

2011-03-31 Thread zundel
LGTM I see how this will defer the cleanup process longer which would be a good thing if files aren't really changing. http://gwt-code-reviews.appspot.com/1396804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Adding a SuppressWarnings to prevent the Google Plugin for Eclipse from marking this class as error. (issue1386805)

2011-03-31 Thread schenney
http://gwt-code-reviews.appspot.com/1386805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Adding a SuppressWarnings to prevent the Google Plugin for Eclipse from marking this class as error. (issue1386805)

2011-03-31 Thread pdr
On 2011/03/31 18:35:21, schenney wrote: LGTM http://gwt-code-reviews.appspot.com/1386805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

  1   2   >