Re: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-11 Thread dicko
To be honest, I have no idea how to compile gwt-gadgets sources or where to get them from in the first place (I'm not a real developer). I was kind of hoping that Google might have a spare developer to do it if it's really that simple! Alternatively, if someone can help me out with some

Re: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-11 Thread Rodolphe Gomes
You must update your version of GXT and use gxt-2.2.3 for GWT 2.2 2011/4/11 dicko d...@mothdesign.com.au To be honest, I have no idea how to compile gwt-gadgets sources or where to get them from in the first place (I'm not a real developer). I was kind of hoping that Google might have a spare

CellTable Row Color

2011-04-11 Thread Patrick Cailly
Is it possible to change the bakcround colors of certain rows in a CellTable ie in a table of persons : men should be blue women should be pink Patrick -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

CellTable Refresh and keep the same view

2011-04-11 Thread Patrick Cailly
Hello If you have a CellTable that shows obsoleta data that have to be reloaded ( a few entities , the same ones , be some data has ben changed) , how can you preserve the position (Page ) and selection ? Thanks Patrick -- You received this message because you are subscribed to the Google

Re: CellTable Row Color

2011-04-11 Thread Alexandre Ardhuin
You can use com.google.gwt.user.cellview.client.CellTable.setRowStyles(RowStylesT) to provide a class name by row. Alexandre 2011/4/11 Patrick Cailly metronome.ba...@worldonline.fr Is it possible to change the bakcround colors of certain rows in a CellTable ie in a table of persons :

Re: CellTable Row Color

2011-04-11 Thread Patrick Cailly
Any example showing this ? thanks anyway Patrick - Original Message - From: Alexandre Ardhuin To: google-web-toolkit@googlegroups.com Sent: Monday, April 11, 2011 9:48 AM Subject: Re: CellTable Row Color You can use

set domain for document

2011-04-11 Thread khiem nguyen
Hi, has anyone tried to set the domain for the host-page ? i want to the browser to send the cookie to both host1.mydomain.com host2.mydomain.com, i tried to call jsni from onModuleLoad also as from normal js (on body onload event ) ( document.domain=mydomain.com ) but it doesnt work. what

Re: CellTable with only div's?

2011-04-11 Thread Ed Bras
Ok, that's a long time ago. I remember that I solved that by creating the HTML string and then passing it in to a HTMLPanel instance. In the HTMLPanel you can just add the widgets through assigned id's. That worked pretty good and easy. I didn't extend the celltable functionality as it became too

Re: Plugin failed to connect to Development Mode

2011-04-11 Thread Oli Evans
I had a similar issue last week. A project that compiled and ran fine on Windows and Linux failed to run in Development mode on my OSX 10.6.7 laptop. Perversely it also ran fine on an OSX 10.6.6 desktop. I was getting onModuleLoad() threw an exception, due to GWT.create failing to bind a class

CellTree can't have more than 512 child nodes?

2011-04-11 Thread Torgeir
It seems I've encountered a problem whereas a node in a CellTree having more than 512 children will only show those first 512 children. Is this a known limitation, or could the problem lie somewhere else? I use a ListDataProvider for the node in question, so I think the model itself isn't the

Re: CellTable Row Color

2011-04-11 Thread Alexandre Ardhuin
table.setRowStyles(new RowStylesPerson() { @Override public String getStyleNames(Person p, int rowIndex) { if (p.isWoman()) { return woman; } else { return man; } } }); and css rules : .woman { background-color: pink; } .man {

Re: CellTable Row Color

2011-04-11 Thread Patrick Cailly
that simple ! A shame that it has so poor a documetation; thanks and sorry for the trouble Patrick - Original Message - From: Alexandre Ardhuin To: google-web-toolkit@googlegroups.com Sent: Monday, April 11, 2011 10:36 AM Subject: Re: CellTable Row Color

Re: RequestFactory: return persisted ID in proxy after successful persist()

2011-04-11 Thread Ido
Thanks a lot Y2i, it's working -- 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: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-11 Thread Eric Ayers
http://code.google.com/p/gwt-google-apis/wiki/GettingStartedSource On Mon, Apr 11, 2011 at 2:16 AM, dicko d...@mothdesign.com.au wrote: To be honest, I have no idea how to compile gwt-gadgets sources or where to get them from in the first place (I'm not a real developer). I was kind of

Re: RequestFactory Hibernate One to many mapping datatype

2011-04-11 Thread mfiandesio
Hi to all, I'm still banging my head on this. I was thinking if a custom ServiceLayerDecorator overriding the resolveDomainMethod could solve the issue? Thanks a lot On 8 abr, 12:24, mfiandesio matteo.fiande...@gmail.com wrote: Hi to all, I am trying to retrieve an object with Hibernate

Window.alert cannot be launched after making an ajax call

2011-04-11 Thread Benson Fung
Hi, I am trying to display a status after making an ajax call, the following is the code fragment. submitButton.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { // TODO Auto-generated method stub; for(int i = 0 ; i ageBoxes.length ; i++) { ageBoxes[i].validate();

Channel Listener and jsapi reference

2011-04-11 Thread Ania
Hi, I implemented channel api and channel listener (based on dance dance robot and connectr).The code looks alright to me but i'm still not receiving messages.I included reference to jsapi in html (_ah/channel/jsapi). Channel, ChannelFactory,Socket and SocketListener are written in Java like in

Re: Window.alert cannot be launched after making an ajax call

2011-04-11 Thread Patrick Cailly
One of your validate() call is failing or one of the ageBoxes has not been initialized firebug would show ! Patrick - Original Message - From: Benson Fung benson.red...@gmail.com To: Google Web Toolkit google-web-toolkit@googlegroups.com Sent: Monday, April 11, 2011 12:49 PM Subject:

need more abstract AsyncCallback class

2011-04-11 Thread tanteanni
i am fairly new to gwt and struggling some how on correct/nice RPC implementation (it is working but code becomes ugly). On my first GWT based apps i often load some lists/data from db into front end. (Lists to be used in combo boxes for instance). so if i have a widget that needs 3 different

Re: gwt autocompile ;)

2011-04-11 Thread Diego Lovison
hmmm... I will test thanks.. On 9 abr, 10:27, Harald Schilly harald.schi...@gmail.com wrote: On Friday, April 8, 2011 10:02:38 PM UTC+2, Diego Lovison wrote: For example in JavaScript I can write the code, save on database, ... You can do exactly the same in GWT as you are able to do in

howto determine development/hosted mode

2011-04-11 Thread Magnus
Hi, my LoginServlet is outside GWT and therefore needs to redirect to the GWT app after successful login. I do this with response.sendRedirect (http://...myApp...;). However, when in development mode I need to append ?gwt.codesvr..., which does not work in hosted mode. So I need to determine,

Re: need more abstract AsyncCallback class

2011-04-11 Thread Magno Machado
try this: public class ListLoaderAsyncCallbackT implements AsyncCallbackArrayListT { private final ListT list; public ListLoaderAsyncCallback(ListT list) { this.list = list; } public void onSuccess(ArrayListT result) { list.clear(); list.addAll(result); } public void

Re: need more abstract AsyncCallback class

2011-04-11 Thread Josh Berry
On Mon, Apr 11, 2011 at 8:00 AM, tanteanni tantea...@hotmail.com wrote: an optimal implementation would be if the result type could be a generic type: A class lie this: class GeneralCallbackT implements AsyncCallbackT{      public GeneralCallback(T target){           ... }   public

Re: howto determine development/hosted mode

2011-04-11 Thread Thomas Broyer
Can't your servlet simply redirect to where you came from? (passing the return to URL in the 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

Re: need more abstract AsyncCallback class

2011-04-11 Thread Josh Berry
D'oh! Looks like the offline gmail worked against me. :) Late posting a duplicate suggestion, and I meant to edit it. I was going to say it might be worthwhile to use TakesValueT instead of collection, so you can get the callback semantics in there. -- You received this message because you

ClassNotFoundException: http:?

2011-04-11 Thread kevin
Has anyone seen this before? I have a pretty large set of Serializable object but to overly simpllity our classes, we have a Request object and a Query Object. class Request extends Serialiable { } Caused by: java.lang.ClassNotFoundException: http: at

Re: ClassNotFoundException: http:?

2011-04-11 Thread kevin
Opps.. Sorry posted that too soon. The classes are: class Request implements Serialiable { public Request() {} public Request( Query q ) { } } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: need more abstract AsyncCallback class

2011-04-11 Thread tanteanni
thx both of us: to be sure i understand your suggestion: using list.add also adds to the list given in constructor? i know it's probably a java-noob question but why it is different to onSuccess ... list = result ? (besides that this isn't working ;-)) On 11 Apr., 14:55, Magno Machado

Re: ClassNotFoundException: http:?

2011-04-11 Thread Juan Pablo Gardella
How do you run the app? 2011/4/11 kevin kalo...@gmail.com Has anyone seen this before? I have a pretty large set of Serializable object but to overly simpllity our classes, we have a Request object and a Query Object. class Request extends Serialiable { } Caused by:

Re: ClassNotFoundException: http:?

2011-04-11 Thread kevin
Maybe third time is a charm... I keep hitting tab-enter.. :( OK. So here are my overly simplified classes. When I send these object to the server via a basic Test.serial( Serializable s ) RCP service the following happens: Test.serial( new Request() ); // passes Test.serial(

Re: howto determine development/hosted mode

2011-04-11 Thread Magnus
Hi Thomas, I know you know the problems with login inside/outside GWT, because we had a conversation on this topic for a while. Because of these problems, my login page is completely outside of GWT. It's just a JSP with a form, and the form's action attribute points to a LoginServlet. If the

Re: need more abstract AsyncCallback class

2011-04-11 Thread Magno Machado
why it is different to onSuccess ... list = result ? (besides that this isn't working ;-)) 1. list = result implies that your callback has a reference to the object that is holding the list. Maybe it would be a problem for you, maybe not 2. list = result will make the list variable point to a new

There was a demo for creating visually overlapping tabs

2011-04-11 Thread Riley
My designer is wondering about making overlapping tabs with TabLayoutPanel, and I'm sure I saw a demo somewhere in the docs providing example images and css required to make it happen. I even found a picture of the result in the TabLayoutPanel docs:

Re: need more abstract AsyncCallback class

2011-04-11 Thread Josh Berry
On Mon, Apr 11, 2011 at 9:44 AM, tanteanni tantea...@hotmail.com wrote: using list.add also adds to the list given in constructor? i know it's probably a java-noob question but why it is different to onSuccess ... list = result ? (besides that this isn't working ;-)) Wow... this is so much

Re: ClassNotFoundException: http:?

2011-04-11 Thread kevin
This happens in production and devmode in either JUnit test or a live system. On Apr 11, 9:40 am, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: How do you run the app? 2011/4/11 kevin kalo...@gmail.com Has anyone seen this before? I have a pretty large set of

Re: ClassNotFoundException: http:?

2011-04-11 Thread kevin
Is there any JUnit Tests for the ServerSerializationStreamReader that might help me test this? I couldn't find any good examples. If I use RCP.decodeRequest() it seems to require a bunch of policy files so I'm not sure how to simulate the Servlet env. -- You received this message because you

Re: ClassNotFoundException: http:?

2011-04-11 Thread Juan Pablo Gardella
class Query is not mark as Serializable 2011/4/11 kevin kalo...@gmail.com This happens in production and devmode in either JUnit test or a live system. On Apr 11, 9:40 am, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: How do you run the app? 2011/4/11 kevin

Re: ClassNotFoundException: http:?

2011-04-11 Thread kevin
This isn't real code. Just trying to describe what's working and what's not. In the real code... The the Request and Query both serialize find by themselves but when I pass a Request with a Query it fails. My assumption is that the Query object is fine but something about it existing breaks one

Re: need more abstract AsyncCallback class

2011-04-11 Thread Magno Machado
Try this: class LoadMapsE, T extends CollectionE implements AsyncCallbackT { On Mon, Apr 11, 2011 at 11:43 AM, tanteanni tantea...@hotmail.com wrote: meanwhile i tried your suggestions but i am struggling at getting the right signature: so i want a callback working of all kinds of collections

Re: ClassNotFoundException: http:?

2011-04-11 Thread kevin
Here is the RCP request that is getting posted. If I debug it, it gets to at [107] (which is the last ...|1|21|22|21|23|0|0|0|0|7|0|0|0|A|24| 0|2|25|0|26|0|100|27|0|100|) which points to

Re: Window.alert cannot be launched after making an ajax call

2011-04-11 Thread Benson Fung
Oh!! you are right. Thanks for your help. So careless of me. On Apr 11, 7:23 pm, Patrick Cailly metronome.ba...@worldonline.fr wrote: One of your validate() call is failing or one of the ageBoxes has not been initialized firebug would show ! Patrick - Original Message - From:

Re: ClassNotFoundException: http:?

2011-04-11 Thread kevin
It's passing in http://127.0.0.1:17000/showcase/ com.example.gwt.showcase.Showcase.JUnit/ which is index 0 of the String pool and is reference the 1 in position 107 On Apr 11, 11:16 am, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Debug in dev mode and put a breakpoint here:

Re: ClassNotFoundException: http:?

2011-04-11 Thread Juan Pablo Gardella
Debug in dev mode and put a breakpoint here: com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java: 542) 2011/4/11 kevin kalo...@gmail.com Here is the RCP request that is getting posted. If I debug it, it gets to at [107] (which

CellTable.getRowData

2011-04-11 Thread Stefan
Hi Guys, I see that CellTable has a method setRowData(List? extends T). As a matter of fact it is a method of the AbstractHasData type. However, I am having trouble finding getRowData() method. What should I use instead ? Thanks Stefan -- You received this message because you are subscribed to

Re: CellTable.getRowData

2011-04-11 Thread John LaBanca
CellTable#getVisibleItem(indexOnPage); The names are different because setRowData(startIndex) takes an absolute start index, whereas getVisibleItem(indexOnPage) takes an index relative to page start. Thanks, John LaBanca jlaba...@google.com On Mon, Apr 11, 2011 at 11:47 AM, Stefan

Re: howto determine development/hosted mode

2011-04-11 Thread Thomas Broyer
In our current project, I simply use login-configauth-methodFORM/auth-method.../login-config so the servlet container manages it for us (I don't quite like how it's done –return to URL stored in session, so even a simple login page isn't stateless!– but it works well). Our goal for this

onKeyDown getting incorrect keyCode

2011-04-11 Thread azuniga
I've got a textbox that I only want positive floats in. So pretty much I just want to allow digits and a '.'. I have my class implement the KeyboardListener inteface and add the addkeyboardListener(this) to the textbox. I then implement onKeyDown, onKeyPress and onKeyUp with the parameters Widget

Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Philippe Beaudoin
I use Maven + Eclipse and I have a strange problem with the Google Eclipse Plugin deleting some dependencies from the WEB-INF/lib server whenever I do Run As Web Application. Some of the deleted jars are needed to run the app, in particular gwt-servlet.jar. As a result I get a run-time error

When will 'Application Cache API' be ready?

2011-04-11 Thread David E.
Wondering when the 'Application Cache API' for GWT w/HTML5 will be ready? According to : http://code.google.com/p/gwt-mobile-webkit/ it's in progress Depending on a date, it may determine whether we would wait for it or update our latest GWT app with Gears to fill the time between. Any ideas

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Juan Pablo Gardella
Are you doing all this steps? http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html 2011/4/11 Philippe Beaudoin philippe.beaud...@gmail.com I use Maven + Eclipse and I have a strange problem with the Google Eclipse Plugin deleting some dependencies from the

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Philippe Beaudoin
Yes, I am following all of these steps, with the exception of step number 7: Finally, and this is very important, the first time you launch your project using Run As | Web Application (or Debug), you will be prompted to select the war directly. Since the GPE never asks me for a war directory.

MyEclipse GWT code gen

2011-04-11 Thread Jeff Larsen
Anyone used this? What is your experience with it? Is it worth it or does it cause more problems than it solves? How customizable is it? Thanks, Jeff -- 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: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Jeff Larsen
Is gwt-servlet.jar marked as provided? I wonder if they fixed the bug that provided dependencies were removed. As a test, try making gwt-servelt a compile time dependency. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Setting extra information on provided Cells?

2011-04-11 Thread Derek
Far too often, I seem to have to create new Cells that do very similar functionality to built-in Cells. For example, I've had to create a SelectionCell that can alternately show a listbox as either enabled or disabled, or create a SelectionCell that has different options in the listbox depending

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Juan Pablo Gardella
run mvn eclipse:clean eclipse:eclipse and refresh the project 2011/4/11 Philippe Beaudoin philippe.beaud...@gmail.com Yes, I am following all of these steps, with the exception of step number 7: Finally, and this is very important, the first time you launch your project using Run As | Web

Re: CellTable.getRowData

2011-04-11 Thread Stefan
Yes, getVisibleItems() worked perfectly. Thanks On Apr 11, 11:57 am, John LaBanca jlaba...@google.com wrote: CellTable#getVisibleItem(indexOnPage); The names are different because setRowData(startIndex) takes an absolute start index, whereas getVisibleItem(indexOnPage) takes an index

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Philippe Beaudoin
@Juan: I did the mvn eclipse:clean eclipse:eclipse a bunch of times yet, doesn't help. @Jeff: It's not marked as provided... I've just tried making it scopecompile/scope explicitely. As expected, mvn install copies it to WEB-INF/lib, but it gets deleted as soon as I Run As Web Application.

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Philippe Beaudoin
If anybody wants to try, this happens with the samples in the gwt-platform project. The process needed to get them to compile and run in Eclipse is described here: http://code.google.com/p/gwt-platform/wiki/CompilingAndDebuggingGwtp -- You received this message because you are subscribed to

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Juan Pablo Gardella
I don't use m2eclipse and work well 2011/4/11 Juan Pablo Gardella gardellajuanpa...@gmail.com Try delete the project of the workspace and import again. 2011/4/11 Philippe Beaudoin philippe.beaud...@gmail.com @Juan: I did the mvn eclipse:clean eclipse:eclipse a bunch of times yet, doesn't

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Philippe Beaudoin
Thanks for the help Juan. Just for info, I did try all these cleanup operations before hitting the forum, and they all failed. I want to use m2eclipse because this is a complex multi-component project and it makes dealing with it much easier. Also, it had been working prior to my update to GPE

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

2011-04-11 Thread Juan Pablo Gardella
Try delete the project of the workspace and import again. 2011/4/11 Philippe Beaudoin philippe.beaud...@gmail.com @Juan: I did the mvn eclipse:clean eclipse:eclipse a bunch of times yet, doesn't help. @Jeff: It's not marked as provided... I've just tried making it scopecompile/scope

Re: How to show a HTML table

2011-04-11 Thread David E.
I would say FlexTable would be the easiest. FlexTable flexTable = new FlexTable(); flexTable.setWidget(0,0, Widget) and so on.. this will create an HTML Table for you where Widget can be anything you like, int, long, String, Image, etc.. -- You received this message because you are

Re: CellTable with only div's?

2011-04-11 Thread Ramon Salla
Well, I have just realized that CellList is implemented only with divs. So I can create Cells with tables inside (VerticalPanel and so.). Anyway, thankyou! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: CellTable with only div's?

2011-04-11 Thread Ed Bras
Yes, but if you use Vertical/HorizontalPanel you have html table tags and the idea was to not use that, that is; only use div tags to create a tag. On Mon, Apr 11, 2011 at 8:00 PM, Ramon Salla rsal...@gmail.com wrote: Well, I have just realized that CellList is implemented only with divs. So

Is there a way to generate i18n property from Constants?

2011-04-11 Thread Soon Fatt Hoo
I have a Constants Interface public interface ExampleConstants extends ConstantsWithLookup { @DefaultStringValue(Address Line 2) String addressLine2(); } I want to generate the ExampleConstants_en.properties file that contain addressLine2 = Address Line 2 Is there a way to

Re: How to show a HTML table

2011-04-11 Thread Jeff Larsen
ResultSet isn't a gwt compatible class, so no that won't work and probably never will. Take a look at http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable To get an idea of how to build a celltable. You also might want to start out here:

Re: How to show a HTML table

2011-04-11 Thread David E.
You would have to iterate through the ResultSet int rowCnt = 0; while(rs.next) { int myIntValue = rs.getInt(1); String myStringValue = rs.getString(2); // and so on... for each of the values you want in the table. // then you can add the values to the table. int colCnt = 0;

Re: Help with / Tutorial for Styling for GWT Beginners

2011-04-11 Thread Soon Fatt Hoo
Paul, If you look into Java Doc for CellTable, you should able to see the default css style for CellTable. @ImportedWithPrefix(gwt-CellTable) public interface Style extends CssResource { /** * The path to the default CSS styles used by this resource. */ String DEFAULT_CSS =

Re: onKeyDown getting incorrect keyCode

2011-04-11 Thread Gabriel
See this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/4d57e31e9a863c09 Maybe with getNativeEvent() method work. Regards. On 11 abr, 13:32, azuniga alessandro.zun...@gmail.com wrote: I've got a textbox that I only want positive floats in. So pretty much I

Deploying on Apache

2011-04-11 Thread John Doran
Hi all, I'm just trying to deploy my application for the first time, I want to do it through Apache, there's a lot of stuff online about it, but some instructions are a bit confusing, can anyone point me in the right direction or give some advice? My application is using RPC and serverside I'm

gwt developer plugin for ie8

2011-04-11 Thread brianw
the instructions say: Launch the local server in a browser by either 1) clicking Launch Default Browser or 2) clicking Copy to Clipboard (to copy its URL), then pasting into Firefox, Internet Explorer, Chrome, or Safari. Since this is your first time hitting the development mode server, it will

Re: Deploying on Apache

2011-04-11 Thread Juan Pablo Gardella
Are you mean Tomcat Apache? Because if you use GWT-RPC communication you need a Servlet Container. 2011/4/11 John Doran john.do...@hotmail.com Hi all, I'm just trying to deploy my application for the first time, I want to do it through Apache, there's a lot of stuff online about it, but some

Re: Deploying on Apache

2011-04-11 Thread John Doran
Yes, Tomcat Apache.That is a servlet container as far as I know. On Mon, Apr 11, 2011 at 9:48 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Are you mean Tomcat Apache? Because if you use GWT-RPC communication you need a Servlet Container. 2011/4/11 John Doran

DockLayoutPanel -- Get Width/Height of center panel

2011-04-11 Thread Matthew Hill
Hi. I need to make a canvas element within the center panel of a DockLayoutPanel. However, to make a canvas, I must know the width and height which it will occupy. How can I obtain the width and height of the center area of a DockLayoutPanel? -- You received this message because you are

Re: DockLayoutPanel -- Get Width/Height of center panel

2011-04-11 Thread John Doran
Could you not set the size of north, south, east and west then get the size of the center based on that information. Seeing as they needed to be added to the deck before center? On Mon, Apr 11, 2011 at 11:29 PM, Matthew Hill matt2...@gmail.com wrote: Hi. I need to make a canvas element within

Re: Deploying on Apache

2011-04-11 Thread Juan Pablo Gardella
You simple paste war file in webapps. Don't create any folder 2011/4/11 John Doran john.do...@hotmail.com Yes, Tomcat Apache.That is a servlet container as far as I know. On Mon, Apr 11, 2011 at 9:48 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Are you mean Tomcat Apache?

UIField NullPointerException

2011-04-11 Thread Matthew Hill
Has anyone else encountered NullPointerExceptions when referencing uifield's which are declared in UiBinder files? In my viewimpl: @UiField SimplePanel canvasContainer; ... public MainViewImpl() { initWidget((Widget) uiBinder.createAndBindUi(this)); canvasContainer.add(..); }

Re: UIField NullPointerException

2011-04-11 Thread Y2i
I've never had a NullPointerException. Why do you need to cast the result of uiBinder.createAndBindUi()? How is uiBinder declared? -- 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: Setting extra information on provided Cells?

2011-04-11 Thread Khanh Dao Minh
Why don't you create custom cell like this: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#custom-cell -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

[gwt-contrib] Re: make it possible to just use devmode on a particular module while allowing the (issue1408802)

2011-04-11 Thread fabiomfv
LGTM http://gwt-code-reviews.appspot.com/1408802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Addresses ClassNotFoundException problems when the data structures serialized in (issue1412801)

2011-04-11 Thread zundel
Reviewers: tobyr, jbrosenberg, Description: Addresses ClassNotFoundException problems when the data structures serialized in the unit cache log files no longer matches due to changes in GWT. Please review this at http://gwt-code-reviews.appspot.com/1412801/ Affected files: M

[gwt-contrib] Re: Adds {moz,webkit}RequestAnimationFrame support to animations. (issue1355805)

2011-04-11 Thread fabbott
http://gwt-code-reviews.appspot.com/1355805/diff/6003/user/src/com/google/gwt/user/client/ui/DeckPanel.java File user/src/com/google/gwt/user/client/ui/DeckPanel.java (right): http://gwt-code-reviews.appspot.com/1355805/diff/6003/user/src/com/google/gwt/user/client/ui/DeckPanel.java#newcode108

[gwt-contrib] Re: Addresses ClassNotFoundException problems when the data structures serialized in (issue1412801)

2011-04-11 Thread zundel
The symptom of this problem is that after updating GWT, you get the following exceptions similar to the following: [WARN] Error reading cache file: /tmp/me/gwt-unitCache/gwt-unitCache-012F28614915 java.io.InvalidClassException: com.google.gwt.dev.javac.Dependencies; local class incompatible:

[gwt-contrib] Re: Adds {moz,webkit}RequestAnimationFrame support to animations. (issue1355805)

2011-04-11 Thread t . broyer
http://gwt-code-reviews.appspot.com/1355805/diff/6003/user/src/com/google/gwt/user/client/ui/DeckPanel.java File user/src/com/google/gwt/user/client/ui/DeckPanel.java (right): http://gwt-code-reviews.appspot.com/1355805/diff/6003/user/src/com/google/gwt/user/client/ui/DeckPanel.java#newcode108

[gwt-contrib] Re: Addresses ClassNotFoundException problems when the data structures serialized in (issue1412801)

2011-04-11 Thread tobyr
http://gwt-code-reviews.appspot.com/1412801/diff/1/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java File dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java (right):

[gwt-contrib] Re: Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196. (issue1407804)

2011-04-11 Thread rchandia
http://gwt-code-reviews.appspot.com/1407804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Adds {moz,webkit}RequestAnimationFrame support to animations. (issue1355805)

2011-04-11 Thread Freeland Abbott
LGTM On Mon, Apr 11, 2011 at 11:44 AM, t.bro...@gmail.com wrote: http://gwt-code-reviews.appspot.com/1355805/diff/6003/user/src/com/google/gwt/user/client/ui/DeckPanel.java File user/src/com/google/gwt/user/client/ui/DeckPanel.java (right):

[gwt-contrib] [google-web-toolkit] r9970 committed - Adds {moz,webkit}RequestAnimationFrame support to animations....

2011-04-11 Thread codesite-noreply
Revision: 9970 Author: jlaba...@google.com Date: Mon Apr 11 07:56:01 2011 Log: Adds {moz,webkit}RequestAnimationFrame support to animations. Refactor Animation with different implementations, adding mozRequestAnimationFrame and webkitRequestAnimationFrame support in addition to the

[gwt-contrib] Re: Adds {moz,webkit}RequestAnimationFrame support to animations. (issue1355805)

2011-04-11 Thread jlabanca
committed as r9970 Thanks for another patch! http://gwt-code-reviews.appspot.com/1355805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Reverting r9970 due to build break. (issue1408804)

2011-04-11 Thread jlabanca
Reviewers: fabbott, Description: Reverting r9970 due to build break. Please review this at http://gwt-code-reviews.appspot.com/1408804/ Affected files: M user/src/com/google/gwt/animation/Animation.gwt.xml M user/src/com/google/gwt/animation/client/Animation.java D

[gwt-contrib] Re: Adds {moz,webkit}RequestAnimationFrame support to animations. (issue1355805)

2011-04-11 Thread Thomas Broyer
It's always a pleasure to work on GWT: the code is quite clean and easy to read! On a related note (to this patch), I was thinking about using CSS3 transitions for animations in widgets, when supported. The only issue is that there would only be an event fired at the end (ontransitionend). Is

[gwt-contrib] [google-web-toolkit] r9971 committed - Reverting r9970 due to build break....

2011-04-11 Thread codesite-noreply
Revision: 9971 Author: jlaba...@google.com Date: Mon Apr 11 09:09:49 2011 Log: Reverting r9970 due to build break. Review at http://gwt-code-reviews.appspot.com/1408804 Review by: fabb...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9971 Deleted:

[gwt-contrib] Re: Addresses ClassNotFoundException problems when the data structures serialized in (issue1412801)

2011-04-11 Thread scottb
http://gwt-code-reviews.appspot.com/1412801/diff/1/dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java File dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java (right):

[gwt-contrib] [google-web-toolkit] r9972 committed - make it possible to just use devmode on a particular module while allo...

2011-04-11 Thread codesite-noreply
Revision: 9972 Author: unn...@google.com Date: Mon Apr 11 11:56:17 2011 Log: make it possible to just use devmode on a particular module while allowing the others to run in prod mode Review at http://gwt-code-reviews.appspot.com/1408802 Review by: fabio...@google.com

[gwt-contrib] Re: Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196. (issue1407804)

2011-04-11 Thread rchandia
http://gwt-code-reviews.appspot.com/1407804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196. (issue1407804)

2011-04-11 Thread rchandia
http://gwt-code-reviews.appspot.com/1407804/diff/1/user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc File user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc (right):

[gwt-contrib] [google-web-toolkit] r9973 committed - Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196....

2011-04-11 Thread codesite-noreply
Revision: 9973 Author: rchan...@google.com Date: Mon Apr 11 13:05:14 2011 Log: Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196. Review at http://gwt-code-reviews.appspot.com/1407804 Review by: drfibona...@google.com

[gwt-contrib] Re: Addresses ClassNotFoundException problems when the data structures serialized in (issue1412801)

2011-04-11 Thread Eric Ayers
I'm thinking about using ByteArrayOutputStream and serializing 2 special object with readObject() implemented to throw the exception I want to test. On Mon, Apr 11, 2011 at 5:30 PM, sco...@google.com wrote:

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-04-11 Thread Christoph Kern
On Sun, Apr 10, 2011 at 17:02, t.bro...@gmail.com wrote: On 2011/04/10 18:32:38, xtof wrote: I think this is pretty much ready, except for one thing I just thought of. Sorry, I should have thought of that earlier :/ In ClippedImageImpl, we're using a SafeUri in the context of a url()

[gwt-contrib] Re: Adding a new annotation SafeHtmlTemplates.SafeForCss to specify that a parameter is known to be ... (issue1384801)

2011-04-11 Thread xtof
LGTM! http://gwt-code-reviews.appspot.com/1384801/diff/8001/user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java File user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java (right):

  1   2   >