Re: Bug: CompositeCell containing EditTextCell

2011-02-02 Thread Bernd
I did not search the google bug list so far. The bug occurs because of CompositeCell is not implementing isEditing. To fix this issue, cerate a new class and derive it from CompositeCell and add this few lines of code: /** * The isEditing() implementation is missing in

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
Ah sorry my mistake, the error is: Finding entry point classes [ERROR] Unable to find type 'project.client.child1.Child1' I checked it like 9 times, the path is right. I'm not trying to compile the Parent-Module anymore but the two modules in the project. I can't find any page describing

Re: CellTable and GAE Datastore cursors

2011-02-02 Thread George Moschovitis
I know how GAE datastore paging works... I am looking to make this work in the context of GWT. I thought about a scheme of keeping old cursors, but I am wondering if there is a better/cleaner solution. -g. -- You received this message because you are subscribed to the Google Groups Google

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
Ah sorry my mistake, the error is: Finding entry point classes [ERROR] Unable to find type 'project.client.child1.Child1' I checked it like 9 times, the path is right. I'm not trying to compile the Parent-Module anymore but the two modules in the project. I can't find any page describing

Re: RequestFactory with EJB Beans, how??

2011-02-02 Thread Bálint Kriván
Ok, I've found the problem: Using EJB bean for Locator implementation isn't good, because GWT instantiate it, so we have to make a EntityLocator, which lookups for the EJB and invoke the right methods. I hope this helps to the others! 2011/2/2 Bálint Kriván bal...@krivan.info Hi! Did anybody

Re: comprehension problem events

2011-02-02 Thread Artur
Hi Paul You're absolutely right. I made this mistake and forgot the keyword final. Thank you very much for your post. I've been coding in java for 3.5 years but today I learned something new Thanks again :-) Regards Artur On 1 Feb., 15:15, Paul Robinson ukcue...@gmail.com wrote: Either

Re: Sharing objects between several windows to enable interaction

2011-02-02 Thread Terje Andre Johansen
After some more consideration I have dropped my way of doing it. In theory it would be possible by sharing an EventBus between the different windows. By using JSNI I could do window.eventbus = th...@gwt.foo.eventBus and then do window.open(someotherwindow). In this other window I could do

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
I can acutally compile child1 without any problems. Its just child2 that messes up. And I really don't know why. I had this as an isolated project before and it worked fine. Then I moved it into the main- project and no I can't compile it no more. This is freakin me out. Seriously! Tom On 2

Re: Considering using Google Accounts for authentication. Good idea?

2011-02-02 Thread Jeff Schwartz
Hi David, I believe that automatic redirects to the sign-in page is optional and is only enforced if specified by establishing a security constraint in the application's deployment descriptor for those pages where that behavior is desired. Without this option I believe I can use the following

Re: RequestFactoryEditorDriver example?

2011-02-02 Thread Bálint Kriván
Well, I've just introduced Locator and ServiceLocator stuff to my code, to be able to use EJB beans, and I replaced InstanceRequest to Request on persist() method. Because in EJB, you need the entity as argument, because this will be the bean instance not the entity of course. And it works

local script variables in nocache.js

2011-02-02 Thread bconoly
Hey All, I'm using GWT in portlets and I've run into a unique circumstance where I have an instanceable porltet being placed multiple times on the same page. Currently the url that I use to make my RPC calls is set as a global variable in the page and with 2 or more instances on the same page

Re: GWT RPC Protocol details

2011-02-02 Thread Paul G.
Hi, try to dig into com.google.gwt.user.server.rpc.RemoteServiceServlet and then look at processRequest method. Then go deeper into com.google.gwt.user.server.rpc.RPC where the magic is hidden. In few words: there is serialization policy file downloaded for each servlet where serialized object

Re: GWT RPC Protocol details

2011-02-02 Thread Palo G.
Sorry, the method inside RemoteServiceServlet is processCall -- 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

Configuring the logging levels

2011-02-02 Thread traneHead
I've just managed to get com.google.gwt.logging.Logging working (using the developmentModeHandler) in my module, but I can't track down any information on how to set the logging levels for the different Loggers so that I can filter messages based on package or class names. Can this be done in

wildcard in define-property

2011-02-02 Thread bconoly
Hey All, I have a property that can be just about anything and isn't preset to any 1, 2, etc values. I there a wildcard that I can use as values for the define-property element in the gwt xml? define-property name=prop values=*/ Thanks -- You received this message because you are

Re: No Textbox can take the focus by mouse clicking in IE8

2011-02-02 Thread AlexF
I posted all details with an example here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5968 -- 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

RichTextArea wordwrap or disable horizontal scroll bar...

2011-02-02 Thread . .
Hi, i am writing my own RichTextArea which supports a kind of suggestionbox, i want to set the word wrap... AutoCompleteRichTextArea area1 = new AutoCompleteRichTextArea(); area1.setFocus(true); area1.isVisible(); Areagrid.setWidget(1, 0, area1);

RichTextArea wordwrap or disable horizontal scroll bar...

2011-02-02 Thread . .
Hi, i am writing my own RichTextArea which supports a kind of suggestionbox, i want to set the word wrap... AutoCompleteRichTextArea area1 = new AutoCompleteRichTextArea(); area1.setFocus(true); . . area1.isVisible();

Re: Can CellWidgets contain custom composite widgets ?

2011-02-02 Thread John LaBanca
Instead of appending raw HTML, you can use SafeHtml Templates. See the dev guide on Creating HTML using the SafeHtmlTemplates Interface: http://code.google.com/webtoolkit/doc/latest/DevGuideSecuritySafeHtml.html#Creating_SafeHtml_Values Also, we're working on a variation of UiBinder that can

Re: Can CellWidgets contain custom composite widgets ?

2011-02-02 Thread Jeff Schwartz
On Wed, Feb 2, 2011 at 10:06 AM, John LaBanca jlaba...@google.com wrote: +1 Also, we're working on a variation of UiBinder that can generate HTML strings and works with Cells. That should make it easier to template complex cells using HTML/XML. Thanks, John LaBanca jlaba...@google.com

Re: CellTable and GAE Datastore cursors

2011-02-02 Thread John LaBanca
We used GAE cursors for the Expenses sample that ships with GWT. Take a look at the code in Report#findReportEntriesBySearch: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/expenses/server/domain/Report.java I don't know

GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Edson Richter
I've a development environment composed by NetBeans, Apache Tomcat 6.0.30 and GWT 2.0.4. In the client side, I've Google Chrome and Mozilla Firefox. I gave up on testing Internet Explorer due the amount of bugs (in IE, to be clear). Google Chrome is the fastest and stable browser I've been using

Re: Sharing objects between several windows to enable interaction

2011-02-02 Thread jscheller
You might take a look at the gwt-dnd framework, specifically the 'Example 7' windowing sample... http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#WindowExample That's one way to have the behavior of multiple windows/views within a single GWT app/browser window.

Re: gwt 2.2-M1 bug in CellTree

2011-02-02 Thread John LaBanca
Created an issue to track this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5969 http://code.google.com/p/google-web-toolkit/issues/detail?id=5969 Thanks, John LaBanca jlaba...@google.com On Fri, Jan 28, 2011 at 1:19 AM, Torgeir torgeir.ve...@gmail.com wrote: With GWT-2.2-M1,

Re: Bug: CompositeCell containing EditTextCell

2011-02-02 Thread John LaBanca
I created a couple of issues to track this: DefaultSelectionEventManager eats events: http://code.google.com/p/google-web-toolkit/issues/detail?id=5970 CompositeCell doesn't implement isEditing: http://code.google.com/p/google-web-toolkit/issues/detail?id=5971 Thanks, John LaBanca

GWT webapp into an IFRAME

2011-02-02 Thread obesga
Hello I've done a GWT app which is running on it's own page; but I've a request to embed the page into a portal. As I need to get the job done ASAP; I'm thinking about embedding the GWT weapp into a iframe, as iframe src=app/myapp.html/iframe Would it work ? Can a GWT app detect when it's

Re: GWT webapp into an IFRAME

2011-02-02 Thread aditya sanas
hi, yeah ofcourse it will work i have implemented it in my projects but you might require to check browser compatibility for frame size and some minor changes but this works for sure. -- Aditya On Wed, Feb 2, 2011 at 9:20 PM, obesga obe...@gmail.com wrote: Hello I've done a GWT app which is

Re: GWT webapp into an IFRAME

2011-02-02 Thread Jan Mostert
One of my apps is running on facebook, facebook uses an iFrame to display the application (if you're not using FBML), so yes, it does work. On Wed, Feb 2, 2011 at 6:02 PM, aditya sanas 007aditya.b...@gmail.comwrote: hi, yeah ofcourse it will work i have implemented it in my projects but you

Calculate age

2011-02-02 Thread kkpirri
Hi, ¿How can I calculate the age of a person using a Date object with his birth date and the current date in GWT's client side? I need the age in years and moths (for example, 8 years and 3 moths), but it cannot be used a Calendar object and I don't know how to retrieve the year and moth from

Re: Calculate age

2011-02-02 Thread Jim Douglas
Ignore the deprecation warnings. On Feb 2, 8:25 am, kkpirri hkakashisharin...@gmail.com wrote: Hi, ¿How can I calculate the age of a person using a Date object with his birth date and the current date in GWT's client side? I need the age in years and moths (for example, 8 years and 3

[MAVEN] Add org.json:json dependency to gwt-servlet

2011-02-02 Thread Bálint Kriván
Hi! Could you (who manages the maven repo) add org.json:json dependency to gwt-servlet maven project? Because RequestFactory needs it, and it looks inappropriate to add a dependency manually, because gwt-servlet is the project who depends on it. Thanks! dependency groupIdorg.json/groupId

Re: GWT webapp into an IFRAME

2011-02-02 Thread obesga
Well, the first test eas a complete success !!! How to detect if your GWT is into an iframe /* Returns TRUE if the app is running inside a iframe */ private static native boolean inIframe() /*-{ return $wnd.top != $wnd; }-*/; On 2 feb, 17:18, Jan Mostert j...@mycee.com wrote:

Re: Can CellWidgets contain custom composite widgets ?

2011-02-02 Thread zixzigma
Thank You. However I found what Prashant suggested to be easier to work with, than SafeHtml Templates. with current UiBinder, we can create custom widget as we would, by extending Composite, having Java code which is UiBinder owner, and corresponding UiBinder, just like a typical composite, we

Re: [MAVEN] Add org.json:json dependency to gwt-servlet

2011-02-02 Thread Thomas Broyer
RequestFactory also needs javax.validation; but if you don't use RequestFactory you don't need these dependencies. In other words, if they ever get added, they have to be optionaltrue/optional (and you'll have to explicitly add them to your pom.xml anyway, but at least the gwt-servlet pom.xml

Re: Tomcat - Failed to get the SerializationPolicy (gwt/rpc)

2011-02-02 Thread BadBob
Magnus, did you find the solution for this issue? On 27 дек 2010, 20:51, Magnus alpineblas...@googlemail.com wrote: Hi, my Tomcat shows the following errors in the logs: Dec 27, 2010 8:52:47 AM org.apache.catalina.core.ApplicationContext log INFO: ChatServlet: ERROR: The serialization

SerializationPolicy file has wrong name

2011-02-02 Thread BadBob
Hello, everybody. I have some issue about serialization policy 02.02.2011 11:42:56 org.apache.catalina.core.ApplicationContext log INFO: OfferService: ERROR: The serialization policy file '/projectname/ 49A207B5053D225FEE4723A0D63D0A7E.gwt.rpc' was not found; did you forget to inc lude it in this

Working with collection of entities in requestFactory

2011-02-02 Thread JB
Hi, I'm having troubles in using collection (list) of entities with requestFactory. The persistence of the whole graph is OK, but whenever I try to retrieve it, it shows no embedded element. There is obviously something wrong in my code, but I cannot figure out... I couldn't find any clear

Multimodule projects

2011-02-02 Thread André Salvati
This post has good advices about GWT multimodule projects. http://ars-codia.raphaelbauer.com/2011/01/gwt-project-layout-part-2-large.html But I was thinking if there is some way to split code by functional modules like financial, customer, receivable, etc. This way the developer wouldn't even

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread Colin Alworth
If I am understanding you right, Child2 is failing because it cannot find the Child1 entrypoint - that should be a red flag that something is setup wrong. Somehow your Child2 entry point is referring to the Child1 entrypoint - perhaps are you extending it, or referring to static members in it?

Blocking of the selected text in a DialogBox

2011-02-02 Thread Anton
I faced the following problem - in case the body of the component DialogBox contains text, this text can't be copied with the combinations ctrl+c and ctrl+insert. The component, which contains the text doesn't matter - it can be Label, HTML etc. This problem is seen only in the browsers Chrome and

in CellTable can we insert a new Row of different CellType right after a given row ?

2011-02-02 Thread zixzigma
I have a CellTable, when user clicks on row R, I want to insert a new row right after row R, in position R+1. however row R and row R+1 have different Cell types, row R a TextCell displaying a text, and want to insert a panel (custom cell) in row R+1. is this possible ? can we insert a new row

How to setup multiple database connections: JPA, Hibernate, Spring, Lucene and GWT

2011-02-02 Thread isolanet
Hi to all community members! I'd like to share with you my OSS project that explain how to configure a GWT project with Spring and Hibernate in order to access to more than one DB at the same time. The home of the project is http://code.google.com/p/gwt-spring-jpa-lucene The introduction page is

Re: [MAVEN] Add org.json:json dependency to gwt-servlet

2011-02-02 Thread David Chandler
These are deliberately not included in the gwt-servlet pom because they're only required if you're using RequestFactory. Go ahead an open an issue and we can get input there. On Wed, Feb 2, 2011 at 11:59 AM, Thomas Broyer t.bro...@gmail.com wrote: RequestFactory also needs javax.validation; but

Re: Considering using Google Accounts for authentication. Good idea?

2011-02-02 Thread David Chandler
This should work fine, Jeff. I didn't mean to suggest that login redirects are automatic, only that you must send the user to the Google Accounts login page in order to login, as you have described. Ideally, all service calls should be authenticated, which you can do with a servlet filter and a

CellList with ListDataProvider does not get redrawn on data change

2011-02-02 Thread Daniel Francisco
Hi. I'm working on a project with GWT 2.1 and mvp4g. In a view, I'm using a CellList backed with a ListDataProvider. If I pass a List with data when instantiating the ListDataProvider, the CellList shows this data. The problem is that afterthat, the CellList never gets redrawn whenever I change

Re: Considering using Google Accounts for authentication. Good idea?

2011-02-02 Thread Jeff Schwartz
Once a user is authenticated I use their sid to authenticate them. The sid is retrieved from the server when the user is authenticated and stored on the client in a cookie. Every rpc call includes the sid which is validated against the current session id. If they agree the user is authenticated

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Eric
I was dealing with a ton of IE-specific bugs until I changed the DOCTYPE of my html file to: !DOCTYPE html html head meta http-equiv=X-UA-Compatible content=IE=IE7 ... It seems my old DOCTYPE of ...4.0.1 Transitional..., which I copied out of some example 18 months ago, was causing IE to act as

Re: How to setup multiple database connections: JPA, Hibernate, Spring, Lucene and GWT

2011-02-02 Thread Jan Mostert
Sounds interesting! What would be a typical use-case for multiple databases? -- Jan Vladimir Mostert BEngSci Mail: j...@mycee.com MyCee Technologies On Wed, Feb 2, 2011 at 7:09 PM, isolanet giulio.rogg...@gmail.com wrote: Hi to all community members! I'd like to share with you my OSS

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
Yeah that were just typos while removing details from my code ... BUT I got it working. Not completely satisfying though, but a first step :) I can compile and run both modules when I change the following in Child2.gwt.xml: the path: source path='client.child2'/source to: source

Re: How to setup multiple database connections: JPA, Hibernate, Spring, Lucene and GWT

2011-02-02 Thread Jeff Schwartz
Sharding On Feb 2, 2011 1:04 PM, Jan Mostert j...@mycee.com wrote: Sounds interesting! What would be a typical use-case for multiple databases? -- Jan Vladimir Mostert BEngSci Mail: j...@mycee.com MyCee Technologies On Wed, Feb 2, 2011 at 7:09 PM, isolanet giulio.rogg...@gmail.com

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Jan Mostert
@Edson, what operating system are you using out of curiosity? I take it the debug mode you're talking about is development mode? I've been using the development mode plugin in Chrome in both Gentoo Linux and Kubuntu since December 2010, before that I was having problems as well - maybe upgrade

RE: GWT webapp into an IFRAME

2011-02-02 Thread Armishev, Sergey
I put my app into CGI based framework and my GWT based app was running inside iframe. The only difficulty was server side configuration and it depends how the your portal organized -Sergey From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Jeff Larsen
Transitional doctype won't work if you're using *LayoutPanels. -- 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: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Jan Mostert
Is that for all layout panels (the simple ones like horizontal and vertical panel included) or just specific ones that fall under the more comlex layout panels like DockLayout? On Wed, Feb 2, 2011 at 8:36 PM, Jeff Larsen larse...@gmail.com wrote: Transitional doctype won't work if you're using

Re: How to setup multiple database connections: JPA, Hibernate, Spring, Lucene and GWT

2011-02-02 Thread Jan Mostert
Thanks Jeff, will remember for when I need it :-) On Wed, Feb 2, 2011 at 8:23 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: Sharding On Feb 2, 2011 1:04 PM, Jan Mostert j...@mycee.com wrote: Sounds interesting! What would be a typical use-case for multiple databases? -- Jan

GWT UITextItem and the associated Icon...

2011-02-02 Thread SBParks
Hello, I am attempting to use an Icon that I have associated with a UITextItem input field for the purposes of controlling the TextItem field's state (I want to be able to toggle between disabled(false) and disabled(true) ). My idea is that I would be able to show a 'lock' icon and use an

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Jeff Larsen
That goes for anything that has Layout in the name. see more info here. http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

GPE auto-complete only partially working for UiBinder tags

2011-02-02 Thread Jeff Chimene
Hi: I notice that in GPE version 2.2.0.ms1-201101251930 when editing a UiBinder file I get a suggestion list after CTRL+SPACE, but after RETURN, the selected element is not copied. For example, the following sequence g:Vert CTRL+SPACE == auto-complete popup cursor over VerticalPanel RETURN

Re: GPE auto-complete only partially working for UiBinder tags

2011-02-02 Thread Jeff Chimene
On 02/02/2011 12:37 PM, Jeff Chimene wrote: Hi: I notice that in GPE version 2.2.0.ms1-201101251930 when editing a UiBinder file I get a suggestion list after CTRL+SPACE, but after RETURN, the selected element is not copied. For example, the following sequence g:Vert CTRL+SPACE

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Jan Mostert
Thanks Jeff, this will save me plenty of headaches later this year when I deploy my app, the default generated by Spring Roo uses transitional even though the docs explicitly says that the doctype should be !DOCTYPE html Is this something that I need to log with GWT or with the Spring guys? The

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Jeff Larsen
There isn't a requirement to use layout panels, and I haven't used the Roo stuff enough to know if they use layout panels in the autogenned stuff that gets created. Assuming they don't use layout panels, then transitional is a valid doctype (although still probably a bad idea). -- You

Re: SerializationPolicy file has wrong name

2011-02-02 Thread Thomas Broyer
IIRC, the names of the .gwt.rpc files match the permutations' strong name (i.e. the *.cache.html names). The server loads the policy file that the client tells it to in the request; so maybe your client code is stale? (such as loaded from your browser cache, ith an older version as the one

Getting Height of cell table

2011-02-02 Thread Eric
Hello, Is there any reliable way of getting the height of a cell table when it changes? I have a navigation panel to the left of my main content panel. If the main content is shorter than the current height of the nav panel I set it's height in pixels; when the content is at least as tall I set

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Jan Mostert
A DockLayoutPanel is being used in the generated scaffold, which means that if it's breaking in IE when using transitional (as mentioned in the docs), the generated scaffold will not work properly in IE. On Wed, Feb 2, 2011 at 10:00 PM, Jeff Larsen larse...@gmail.com wrote: There isn't a

Re: [MAVEN] Add org.json:json dependency to gwt-servlet

2011-02-02 Thread Bálint Kriván
Yes, now I see, why isn't it included.. :( Then what about a gwt-requestfactory-dep project? IIRC there is something like gwt-servlet-deps.jar or something for non-maven developers, then maybe there could be made some fake-projects for these issues? Or maybe refactoring GWT to more little

is there any release notes for GWT 2.2-M1 ?

2011-02-02 Thread zixzigma
Hello Everyone, is there any release notes for GWT 2.2-M1 ? I would like to know about the features added or modification to API. 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

Re: Multi-Module Project and Servlet Mappings

2011-02-02 Thread newnoise
Hi, I'm having kind of the same problem, but dont understand what you actually did. Could you maybe post a sample web.xml? Thanks in advance! Tom On 14 Jan., 09:37, rsimon magickti...@gmail.com wrote: Ouch. Looks like I should have RTFM ;-) Thanks for the hint! This solved most of my

Re: GWT debuggin in Chrome - why is so slow?

2011-02-02 Thread Chris Conroy
The Chrome plugin model slows down development mode a fair amount. Note that you can ignore those hang timeout warnings that the Chrome UI surfaces--the dialog will go away once the codeserver hands control back to JS (e.g. while waiting for a long refresh). What NPObject error specifically are

Separate Widgets CSS+JS

2011-02-02 Thread Hilco Wijbenga
Hi all, I'm trying to break up our app into separate widgets that are then reused in multiple places. This all works wonderfully including the CSS and JavaScript that I can have local-to-the-widget. You just include the widget in your .gwt.xml (i.e. inherits name=org.example.MyWidget/) and its

Re: Separate Widgets CSS+JS

2011-02-02 Thread Thomas Broyer
You can automate it by writing a linker that concatenates the CSS files into a single one (same for JS ?) and emit a new artifact for the all-in-one file. There's no built-in solution for that, because the script and stylesheet elements in gwt.xml files take URLs, not file paths; the URL can

the Honeycomb presentation, GWT and Android

2011-02-02 Thread Jaroslav Záruba
Hi Right now I'm watching the Honeycomb presentation video from the Google event http://www.youtube.com/watch?v=RfJuigJebRg. I have to say I love the UI. I wonder whether there are any plans to make it possible to build Android apps using GWT. Or, in other words, will it be possible for

Setting first column width CSS in CellBrowser via DOM API

2011-02-02 Thread sevendays
I raised query around a month ago about setting the width of the first column in a CellBrowser in GWT. There is a bug that stops this from occurring - it always displays with a default width of 200px because this is the generated HTML for the wrapper divs: div style=position: absolute;

SplitLayoutPanel and handler for splitter draggin

2011-02-02 Thread Andrei Lugovtsov
Hoe can I set handler for splitter drag for SplitLayoutPanel -- 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: Image handling using ClientBundle

2011-02-02 Thread Digs
@Jan - Thanks for your help, it solved my problem. - Digs On Feb 1, 8:33 pm, Jan Mostert j...@mycee.com wrote: Your path is wrong, it should be relative to file where you import the image eg: main/java/com/myproject/client/scaffold/ui/widget/somecomponent.ui.xml ui:image field='field_tl'

how can i add my voice in my gwt application as time of registration

2011-02-02 Thread dhruti
hi i m gwt designer. i working with app in which i want to enroll users voice at the time of registration and than at the time of login i have to math that voice and new voice as an login authentication. so how the things can be done? -- You received this message because you are subscribed to

Gin, SingleInstanceProvider?

2011-02-02 Thread Gal Dolber
I writing over and over again the same code: @Inject public ProviderFoo provider; private Foo foo; Foo assertFoo() { if (foo == null) { foo = provider.get(); } return foo; } Basically I inject a provider to delay the object instantiation, but in most cases I only need one

Bind form values when sending to server

2011-02-02 Thread $ a r j i t h Pullithodi
Hi All, I'm starting with GWT module for a functionality say 'addPerson'. so ui will have around 10-15 user inputs (in a single form) like firstname, lastname, address, phone, etc. From a short period of experience in gwt, I am sending these data to server using RPC call like

Text property on app engine and TextArea on the client side [GWT]

2011-02-02 Thread satish
I have a Text property on app engine and GWT TextArea UI element on the client side. I am trying to use RPC to pass the content of Text property to the client using a data transfer object. What should be the datatype of the related property in the data transfer object? If I use String, the

Re: Text property on app engine and TextArea on the client side [GWT]

2011-02-02 Thread Gal Dolber
I think it will be better to use String, but if you really want to use Text you can borrow some code from slim3 http://code.google.com/p/slim3/source/browse/trunk/slim3/src/main/java/com/google/appengine/api/datastore/Text_CustomFieldSerializer.java to do it. Best On Thu, Feb 3, 2011 at 3:51 AM,

Re: Export CellTable's selected rows into a csv file

2011-02-02 Thread ido
Well, the server side which should populate the csv file is the server package within the GWT project. I'm not using any external backend to populate the csv file. When mentioned sending list of objects using RPC I meant using the RemoteServiceServlet. Once my server get's this list , it should

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
So thanks to Colin this is solved. The problem was that I seperated my services into a package called project.services. all modules are referencing this sources. but one of the services was referring to class of client.child1. so when the xml contained source path='client.child2'/source it

[gwt-contrib] CellTable does not propagate keyboard events when KeyboardSelectionPolicy is set to DISABLED

2011-02-02 Thread monkeyboy
Here is the test code: public class KeyboardSelectionPolicyDISABLEDTest { interface Binder extends UiBinderHTMLPanel, KeyboardSelectionPolicyDISABLEDTest { } private static final Binder binder = GWT.create(Binder.class); private static final Logger l =

Re: [gwt-contrib] CellTable does not propagate keyboard events when KeyboardSelectionPolicy is set to DISABLED

2011-02-02 Thread John LaBanca
Do any keyboard events propogate? It looks like the code could block up/down/left/right/space, but other keys should get through. Thanks, John LaBanca jlaba...@google.com On Wed, Feb 2, 2011 at 6:44 AM, monkeyboy dilbert.elbo...@gmail.com wrote: Here is the test code: public class

Re: [gwt-contrib] CellTable does not propagate keyboard events when KeyboardSelectionPolicy is set to DISABLED

2011-02-02 Thread monkeyboy
As far as I could see no keyboard events propagate. I tried with normal letter keys. In the commented situation they normally log but when I remove the comment no events propagate. I am using GWT 2.1.1 version. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] CellTable does not propagate keyboard events when KeyboardSelectionPolicy is set to DISABLED

2011-02-02 Thread monkeyboy
Correction: I use GWT 2.1.0 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Fix CompilationStateBuilder's speed tracer logs. (issue1338803)

2011-02-02 Thread scottb
Reviewers: zundel, Message: Currently, CompilationStateBuilder produces a tree like: Process - Process Where the top node has almost no time in it at all, and serves no purpose. This jiggles things so you get a trace more like: Process - JdtCompile - Process (many, smaller ones)

[gwt-contrib] Adding a new DeckLayoutPanel that displays one of many widgets and transitions between them usin... (issue1340803)

2011-02-02 Thread jlabanca
Reviewers: sbrubaker, Description: Adding a new DeckLayoutPanel that displays one of many widgets and transitions between them using a horizontal or vertical sliding animation. This is useful for mobile web apps that want to create a slide effect between pages. Integrated DeckLayoutPanel into

[gwt-contrib] Re: Fix CompilationStateBuilder's speed tracer logs. (issue1338803)

2011-02-02 Thread zundel
http://gwt-code-reviews.appspot.com/1338803/diff/1/2 File dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java (right): http://gwt-code-reviews.appspot.com/1338803/diff/1/2#newcode388 dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java:388: CollectionCompilationUnit

[gwt-contrib] Re: Adding a new DeckLayoutPanel that displays one of many widgets and transitions between them usin... (issue1340803)

2011-02-02 Thread rjrjr
John, take a look at com.google.gwt.sample.expenses.client.SlidingPanel. In particular, note its implementation of HasOneWidget, which makes it friendly to ActivityManager. Also note its implementation of HasWidgets, and its use in ExpensesShell.ui.xml. You're able to set the thing up in a

[gwt-contrib] Re: Remove useless templatization from JS AST. (issue1310805)

2011-02-02 Thread scottb
BTW: most of this is search-and-replace, so there's really no need to do a line-item review of everything. Just a general high-level check and some spot checks is probably fine. http://gwt-code-reviews.appspot.com/1310805/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Remove useless templatization from JS AST. (issue1310805)

2011-02-02 Thread jbrosenberg
LGTM -- with some questions I looked over the high-level (and scanned each file). It looks like in some places you also changed the types of params (e.g. JsExpression - JsVisitable). Was that intended? All the removing of template params and removing of @SuppressWarnings(unchecked) seem ok

[gwt-contrib] Re: Fix CompilationStateBuilder's speed tracer logs. (issue1338803)

2011-02-02 Thread scottb
http://gwt-code-reviews.appspot.com/1338803/diff/1/2 File dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java (right): http://gwt-code-reviews.appspot.com/1338803/diff/1/2#newcode388 dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java:388: CollectionCompilationUnit

[gwt-contrib] Re: Remove useless templatization from JS AST. (issue1310805)

2011-02-02 Thread Scott Blum
Sure thing. The original intent was that JsContext would get parameterized with the compatible node type. So all JsExpression subclasses used a JsContextJsExpression, which means, essentially, I can be replaced only with other expressions. There was a tiny amount of usefulness in being able to

[gwt-contrib] Only intern strings on non-IE browsers when they occur 2 or more times. (issue1336802)

2011-02-02 Thread cromwellian
Reviewers: scottb, jbrosenberg, Description: Only intern strings on non-IE browsers when they occur 2 or more times. Please review this at http://gwt-code-reviews.appspot.com/1336802/show Affected files: M dev/core/src/com/google/gwt/core/ext/linker/impl/StandardLinkerContext.java M

[gwt-contrib] Re: Only intern strings on non-IE browsers when they occur 2 or more times. (issue1336802)

2011-02-02 Thread cromwellian
On 2011/02/03 02:04:18, cromwellian wrote: Saves about 2000 bytes on Showcase 4k on larger projects. http://gwt-code-reviews.appspot.com/1336802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Only intern strings on non-IE browsers when they occur 2 or more times. (issue1336802)

2011-02-02 Thread scottb
http://gwt-code-reviews.appspot.com/1336802/diff/1/4 File dev/core/src/com/google/gwt/dev/js/JsStringInterner.java (right): http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode69 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:69: * Prevents 'fixing' an otherwise illegal