Re: MVP vs PureMVC
I am talking about http://puremvc.org/ (NOT the concept MVC). There is a sample : http://trac.puremvc.org/Demo_Java_MultiCore_GWT_EmployeeAdmin I have used it during one year on RCP (Eclipse plugin) and it is wonderfull. So I wonder if it is not better than MVP, wich is young and just a way to develop (not a complete library or framework). I thin mediator in PureMVC are like the EventBus... On 8 avr, 04:27, Brian Lough bklo...@gmail.com wrote: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... http://groups.google.com/group/google-web-toolkit/browse_thread/threa...http://www.youtube.com/watch?v=PDuhR18-EdM http://www.youtube.com/watch?v=PDuhR18-EdMHope those url's work, if you haven't seen them already. I'm leery of what you might mean by pureMVC as like more IT concepts, it can get muddled: MVP being no exception. I've implemented or worked with a bunch of MVC implementations, J2EE and otherwise. MVP is worth the effort required to move to it, though, like MVC, there is no pure implementation of it. David Chandler gives a great synopsis of it in the first url: Ray Ryan's video is the second. No MVC implementation I've worked with since 1988 has been easy or less than onerous to test, really at any level. There is always too much inbreeding of the layers. MVP doesn't solve this, but can, if done right. With MVP, I typically get 90%+ code coverage on unit tests. I can't get anywhere near that with standard J2EE Best Practices MVC. On Thu, Apr 7, 2011 at 7:55 AM, Rodolphe Gomes rodolphe.go...@gmail.comwrote: Hello, I am still having doubts between integrating MVP or PureMVC. Does anyone has any production experience - drawbacks ? Thanks a lot -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.2 CellTable dragging column widths with mouse ...
@Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with more than 10 rows is impossible). The resizing functionallity from the Scrolltable implemented together with CellTable would be a great thing. Thanks Stephan On 17 Feb., 10:35, dflorey daniel.flo...@gmail.com wrote: Did you check out the tables in the gwt incubator? They support resizing of columns, fixed headers etc. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For UIBinder,how to react event when creating UI based on HTML?
sinkEvents() and onBrowserEvent() only work for Widget,so How can I get UIObject react event? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: code snippet
Eclipse code templates can help if you configure custom templates. You find them under Preferences - Java - Editor - Templates -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: development/production mode - different paths to same file?
Sorry, its ptl. I made a mistake in my posting. Magnus On Apr 8, 7:19 am, A. Stevko andy.ste...@gmail.com wrote: Is it ptl or portal ? On Thu, Apr 7, 2011 at 8:53 PM, Magnus alpineblas...@googlemail.com wrote: Hello, in my webProject myProject is a directory war/portal which contains a file login.jsp: myProject/war/portal/login.jsp Within my code I want to redirect to this page. In development mode, this works: Window.Location.assign (/ptl/login.jsp); In production mode, this does not work. I found out that /myProject/ ptl/login.jsp would be the correct path. However, this does not work in development mode. How can I do this so that it works the same in development and production mode? Thanks Magnus -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory, Hibernate and versioned data
Hi there, Since going from 2.1 to 2.2 RequestFactory has stopped transferring my Hibernate generated objects back to the client. The first error was this: com.google.gwt.requestfactory.server.UnexpectedException: The domain type Foo_$$_javassist_45 cannot be sent to the client I managed to fix this using a custom decorator, however now I get the following error: com.google.gwt.requestfactory.server.UnexpectedException: The persisted entity with id 1 has a null version As I don't use versioned data I'm not sure what to do to fix this, I just set the version to 1 before returning it and it works although this is a bit contrived! Do I need to get Hibernate to put a dummy version on it even if I don't use versioned data? Clearly now RequestFactory needs a non-null version, is there any way I can change this behaviour? Cheers, Bappy -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: code snippet
I'm using CodeBox for Mac (available in Mac App Store). Because it has code formatting and it does not shrink your sample sometimes, like Evernote. Regards, Matic -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: For UIBinder,how to react event when creating UI based on HTML?
The difference between Widget and UiObject is that a Widget can handle events and a UiObject can't On Fri, Apr 8, 2011 at 4:28 AM, Alex Luya alexander.l...@gmail.com wrote: sinkEvents() and onBrowserEvent() only work for Widget,so How can I get UIObject react event? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory Hibernate One to many mapping datatype
Hi to all, I am trying to retrieve an object with Hibernate User which has a one- to-many relationship with a Role object. This is mapped as a CollectionRole roles but requestfactory validation complains if the proxy interface has the method CollectionRoleProxy getRoles as the data type is not Set nor List. If i change the UserProxy method to SetRoleProxy getRoles it complains that in the User object does not exists a matching datatype method. All the hibernate mapped entity are in a jar that we use across various applications and it would be quite painful to change all the CollectionT to a Set or a List. Is there any way to change the validation beahviour? Thanks a lot, Matteo -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: development/production mode - different paths to same file?
I have run into this when changing deployments from dev at localhost and a standalone jetty instance. Standalone Jetty URL and web.xml https://ajax.abc.com:443/HR/cyberobjects/CyberObjects.html url-pattern/cyberobjects/CyberObjects.html/url-pattern Dev mode url and web.xml https://ajax.abc.com:443/HR/CyberObjects.html url-pattern/HR/cyberobjects/CyberObjects.html/url-pattern HTH. Ed On Fri, Apr 8, 2011 at 4:32 AM, Magnus alpineblas...@googlemail.com wrote: Sorry, its ptl. I made a mistake in my posting. Magnus On Apr 8, 7:19 am, A. Stevko andy.ste...@gmail.com wrote: Is it ptl or portal ? On Thu, Apr 7, 2011 at 8:53 PM, Magnus alpineblas...@googlemail.com wrote: Hello, in my webProject myProject is a directory war/portal which contains a file login.jsp: myProject/war/portal/login.jsp Within my code I want to redirect to this page. In development mode, this works: Window.Location.assign (/ptl/login.jsp); In production mode, this does not work. I found out that /myProject/ ptl/login.jsp would be the correct path. However, this does not work in development mode. How can I do this so that it works the same in development and production mode? Thanks Magnus -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Am I over using layout panels?
Hi, The GWT docs specify thet the layout panels should be used to define overall application layout; but when looking at the mail example, there's DockLayoutPanels within DockLayoutPanels , etc. Personally, on my project, I have DockLayoutPanels (or SplitLayoutPanels) embedded 5 or 6 deep in some places. They define the overall layout, the layouts without layouts, and even layouts within those layouts...(i.e., 'centers' contain other layour panels, of which themselves have centers which contain layout panels,...etc.) It does the job for me...but I wonder about performance issues or changes in the future? Is this bad practise? Regards, Terra -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Is validation on client side enough or do I need both?
The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contains a-z. If not execution stops and an error is presented to the user. If all is good I send the Person object via an RPC call to the server. The question: When continuing execution on the server, can I be sure that the name only contains a-z or do I have to do server validation as well for protection from attackers? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is validation on client side enough or do I need both?
Server validation is allways a good thing no matter which scenario. Dont trust what s coming from the client. Best, Alain 2011/4/8 Stephan T stephan.tern...@gmail.com The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contains a-z. If not execution stops and an error is presented to the user. If all is good I send the Person object via an RPC call to the server. The question: When continuing execution on the server, can I be sure that the name only contains a-z or do I have to do server validation as well for protection from attackers? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- GWT API for the Flash Platform http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Cell widgets selection and EventTranslators
I want to select a cell on mouse down event instead of click. This is how selection works in windows explorer (among others) and is very useful if for instance you want to start a drag operation inmediatelly after the mouse down. Creating a custom EventTranslator is great as it allows me to select the action to perform depending on the event type. However when doing multiple selection the action I return is ignored unless it is a click event. Said with different words, the DefaultSelectionEventManager only takes into consideration the Action returned by the translator if the event is a click event. IMO the correct behaviour would be that the EventManager performs the action returned by the translator no matter the event type. In fact this is the behaviour for a single-selection model but not for a multi- selection model. A'm I missing something? Many thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
gwt autocompile ;)
hello, I would like to develop an application that the adm of the system can modify the view, add rules, buttons, fields, and others ok I can create something like google contacts, when you can add fields to edit... but in google contacts I cannot edit the source code... for example: *client1: validate for this field *client2: validate for this other fields... *client3: get the list of my database keep 3 source code for 3 client is easy, but if I have 5000 clients... is very difficult.. gwt problem: I can create dynamic code using javascript when I write and run... in gwt I need write, compile and so will run... gwt solution: gwt in my opinion is the best framework for web app, and I would like to use it for this project... any ideias? someone understood what I told? lol regards Diego Lovison -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.2 CellTable dragging column widths with mouse ...
why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote: @Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with more than 10 rows is impossible). The resizing functionallity from the Scrolltable implemented together with CellTable would be a great thing. Thanks Stephan On 17 Feb., 10:35, dflorey daniel.flo...@gmail.com wrote: Did you check out the tables in the gwt incubator? They support resizing of columns, fixed headers etc. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is validation on client side enough or do I need both?
Never trust a client. -Ben On Apr 8, 6:52 am, Stephan T stephan.tern...@gmail.com wrote: The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contains a-z. If not execution stops and an error is presented to the user. If all is good I send the Person object via an RPC call to the server. The question: When continuing execution on the server, can I be sure that the name only contains a-z or do I have to do server validation as well for protection from attackers? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.2 CellTable dragging column widths with mouse ...
If you would like rende 1000 rows I suggest you use lazy render... you can find this in gxt and smartgwt On 8 abr, 09:23, Gal Dolber gal.dol...@gmail.com wrote: why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote: @Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with more than 10 rows is impossible). The resizing functionallity from the Scrolltable implemented together with CellTable would be a great thing. Thanks Stephan On 17 Feb., 10:35, dflorey daniel.flo...@gmail.com wrote: Did you check out the tables in the gwt incubator? They support resizing of columns, fixed headers etc. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Cell widgets selection and EventTranslators
It appears that you are correct. Can you create an issue to track this? Thanks, John LaBanca jlaba...@google.com On Fri, Apr 8, 2011 at 7:57 AM, Javier javierferre...@gmail.com wrote: I want to select a cell on mouse down event instead of click. This is how selection works in windows explorer (among others) and is very useful if for instance you want to start a drag operation inmediatelly after the mouse down. Creating a custom EventTranslator is great as it allows me to select the action to perform depending on the event type. However when doing multiple selection the action I return is ignored unless it is a click event. Said with different words, the DefaultSelectionEventManager only takes into consideration the Action returned by the translator if the event is a click event. IMO the correct behaviour would be that the EventManager performs the action returned by the translator no matter the event type. In fact this is the behaviour for a single-selection model but not for a multi- selection model. A'm I missing something? Many thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
why IsWidget is interface?
why the class IsWidget is interface and not an annotation? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is validation on client side enough or do I need both?
if is the same validation... I will create a shared class like FieldValidation on GwtExample On 8 abr, 10:17, Ben Imp benlee...@gmail.com wrote: Never trust a client. -Ben On Apr 8, 6:52 am, Stephan T stephan.tern...@gmail.com wrote: The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contains a-z. If not execution stops and an error is presented to the user. If all is good I send the Person object via an RPC call to the server. The question: When continuing execution on the server, can I be sure that the name only contains a-z or do I have to do server validation as well for protection from attackers? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is validation on client side enough or do I need both?
or http://code.google.com/p/google-web-toolkit/wiki/BeanValidation On 8 abr, 10:17, Ben Imp benlee...@gmail.com wrote: Never trust a client. -Ben On Apr 8, 6:52 am, Stephan T stephan.tern...@gmail.com wrote: The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contains a-z. If not execution stops and an error is presented to the user. If all is good I send the Person object via an RPC call to the server. The question: When continuing execution on the server, can I be sure that the name only contains a-z or do I have to do server validation as well for protection from attackers? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.2 CellTable dragging column widths with mouse ...
I don't want to render 10 rows, that's why I use the celltable and it's paging functionality. To handle the whole datatable on client side (sorting, filtering, ..) without server calls every time. CellTable can handle a big amount of data, the only thing I miss is column resizing on mouse dragging. GXT, SmartGWT look nice, but the datastructure needed to fit with this framework isn't useful for me and I don't want to use third party libraries in my project. On 8 Apr., 15:18, Diego Lovison diegolovi...@gmail.com wrote: If you would like rende 1000 rows I suggest you use lazy render... you can find this in gxt and smartgwt On 8 abr, 09:23, Gal Dolber gal.dol...@gmail.com wrote: why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote: @Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with more than 10 rows is impossible). The resizing functionallity from the Scrolltable implemented together with CellTable would be a great thing. Thanks Stephan On 17 Feb., 10:35, dflorey daniel.flo...@gmail.com wrote: Did you check out the tables in the gwt incubator? They support resizing of columns, fixed headers etc. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.2 CellTable dragging column widths with mouse ...
you have 100... the time to order in database is more fast that you return 10 and sort on a client side... ;) On 8 abr, 10:30, Musicman75 stephan.beu...@googlemail.com wrote: I don't want to render 10 rows, that's why I use the celltable and it's paging functionality. To handle the whole datatable on client side (sorting, filtering, ..) without server calls every time. CellTable can handle a big amount of data, the only thing I miss is column resizing on mouse dragging. GXT, SmartGWT look nice, but the datastructure needed to fit with this framework isn't useful for me and I don't want to use third party libraries in my project. On 8 Apr., 15:18, Diego Lovison diegolovi...@gmail.com wrote: If you would like rende 1000 rows I suggest you use lazy render... you can find this in gxt and smartgwt On 8 abr, 09:23, Gal Dolber gal.dol...@gmail.com wrote: why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote: @Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with more than 10 rows is impossible). The resizing functionallity from the Scrolltable implemented together with CellTable would be a great thing. Thanks Stephan On 17 Feb., 10:35, dflorey daniel.flo...@gmail.com wrote: Did you check out the tables in the gwt incubator? They support resizing of columns, fixed headers etc. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Cell widgets selection and EventTranslators
Issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6245 Thanks On 8 abr, 15:23, John LaBanca jlaba...@google.com wrote: It appears that you are correct. Can you create an issue to track this? Thanks, John LaBanca jlaba...@google.com On Fri, Apr 8, 2011 at 7:57 AM, Javier javierferre...@gmail.com wrote: I want to select a cell on mouse down event instead of click. This is how selection works in windows explorer (among others) and is very useful if for instance you want to start a drag operation inmediatelly after the mouse down. Creating a custom EventTranslator is great as it allows me to select the action to perform depending on the event type. However when doing multiple selection the action I return is ignored unless it is a click event. Said with different words, the DefaultSelectionEventManager only takes into consideration the Action returned by the translator if the event is a click event. IMO the correct behaviour would be that the EventManager performs the action returned by the translator no matter the event type. In fact this is the behaviour for a single-selection model but not for a multi- selection model. A'm I missing something? Many thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: development/production mode - different paths to same file?
That's what the getContextPath() is for on the server-side, and getHostPageBaseURL can be used on the client-side to approximate this (appending a relative path from your host page). -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
TextBox KeyPressEvent doesn't function in Firefox 4
Eg. txtPwd.addKeyPressHandler(new KeyPressHandler() { @Override public void onKeyPress(KeyPressEvent event) { if (event.getCharCode() == KeyCodes.KEY_ENTER) { btnLogin.click(); } } }); Regards. PD: I think in Firefox 3.x doesn't function. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: TextBox KeyPressEvent doesn't function in Firefox 4
As a workaround, you can use event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER 2011/4/8 Gabriel volpegabr...@gmail.com Eg. txtPwd.addKeyPressHandler(new KeyPressHandler() { @Override public void onKeyPress(KeyPressEvent event) { if (event.getCharCode() == KeyCodes.KEY_ENTER) { btnLogin.click(); } } }); Regards. PD: I think in Firefox 3.x doesn't function. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Anyone in Rome to catch up?
Hi all, I'll be until Monday in Rome - if anybody wants to catch up for an espresso or to, please drop me a line. Best, G. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC in onWindowClosing() problem
Hello Ania, This might be a browser related behavior - if the window is closed, all activities related with it are cancelled. It might be best if you tried an alternative aproach: instead of having the browser explicitly signing the user out of your application (which is what you are trying to implement by handling onWindowClosing), you might want to implement a keep alive mechanism. The browser would notify the server every X seconds, which counts as a logged in user. If the last notification is older than Y X seconds, your server may assume that the user logged out or just closed the window. On Apr 5, 1:40 am, Ania deanoz...@gmail.com wrote: Hi, I'm using RPC within onWindowClosing().It is supposed to delete certain data from database based on passed username but nothing happens.Is there any alternative way to modify database without using rpc on tab or browser closing? Thank you for any help! Ania -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: TextBox KeyPressEvent doesn't function in Firefox 4
Thanks Nicolas, that's work! 2011/4/8 Nicolas Antoniazzi nicolas.antonia...@gmail.com As a workaround, you can use event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER 2011/4/8 Gabriel volpegabr...@gmail.com Eg. txtPwd.addKeyPressHandler(new KeyPressHandler() { @Override public void onKeyPress(KeyPressEvent event) { if (event.getCharCode() == KeyCodes.KEY_ENTER) { btnLogin.click(); } } }); Regards. PD: I think in Firefox 3.x doesn't function. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- ** * Duke 'n' Tux* -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Automatic browser language detection
Hi, I am using GWT 2.2.0 and firefox 4.0. I would like my web app detect automatically the client property locale from Edit Preferences Languages. I have seem some solutions in GWT 2.3.0-M1 using set-configuration- property name=locale.useragent value=Y/ in the .gwt.xml file, but this detects the language of the browser not the language choose by the user into Preferences. Somebody know what should I do? Thanks in advance. Regards. Sebastian. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CellTable : can't do both Selection and Edit on lines ?
Hi ! I'm using GWT 2.2. I tried to have a celltable where I can both select lines and modify them. I added a SingleSectionModel to the celltable. It works. But as soon as I click on a DatePickerCell on any line, the selection stops working. To check if I did something wrong, I executed the CellTableFieldUpdaterExample from GWT documentation. I just added a SingleSelectionModel to the contact table. The selection mechanism breaks as soon as I click on the DatePickerCell that modifies Contact birthdate on the example. Maybee it's not possible to do both selection and edit on lines ? What I was trying to achieve is to display statistics on the 'clicked' line on another panel. And allow the user to edit the line on the celltable. I didn't want the user to click on a icon / button on the line, but just select the line. Is there another way to achieve this ? Any way to intercept a 'user clicked on a line' event on the celltable ? Thanks for your help -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Eclipse Plugin 2.2.1, GWT 1.5.2, Wont Run
Hi all New installation of Open Suse 11.3 with Eclipse Version: Helios Release Build id: 20100617-1415. I installed the GWT plugin manually from a downloaded zip (com.google.gdt.eclipse.suite.e36.update.site_2.2.1.v201103311225.zip). The new plugin works fine with GWT 2.1 which we use for our new prejects. However I have one project written using GWT 1.5.2. I have check that the project's Google properties uses the correct SDK (gwt- linux-1.5.2). If I right-click and attempt to run the project as Web Application, I get the following error in the Eclipse console: Unknown argument: -remoteUI Google Web Toolkit 1.5.2 GWTShell [-port port-number | auto] [-noserver] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logLevel level] [- gen dir] [-out dir] [-style style] [-ea] [url] where -port Runs an embedded Tomcat instance on the specified port (defaults to ) -noserver Prevents the embedded Tomcat server from running, even if a port is specified -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated) -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated) -logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -genThe directory into which generated files will be written for review -outThe directory to write output files into (defaults to current) -style Script output style: OBF[USCATED], PRETTY, or DETAILED (defaults to OBF) -ea Debugging: causes the compiled output to check assert statements. and url Automatically launches the specified URL Any ideas how I can get the GWT 1.5.2 project to run with the Eclipse plugin 2.2.1 or do I have to use an older version of the plugin and where can I download it from please? Thanks very much Aisling -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
java.lang.AssertionError after upgrading from gwt 1.5.2 to gwt 1.6.4 (when run in hosted mode)
After upgrading from gwt 1.5.2 to gwt 1.6.4, I run my application in hosted mode, it occurs the following errors: == Error 1 == [ERROR] Uncaught exception escaped java.lang.AssertionError: A widget that has an existing parent widget may not be added to the detach list at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose(RootPanel.java: 122) at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:197) == Error 2 == [ERROR] Uncaught exception escaped java.lang.AssertionError: The style name 'margin-top' should be in camelCase format at com.google.gwt.dom.client.Style$.assertCamelCase$(Style.java:63) at com.google.gwt.dom.client.Style$.setProperty$(Style.java:42) at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1208) Please help me fix these errors. Thanks so much :)) -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Question about compilation
Hi, im trying to put a new image in the directory of images (gwt/images) of my project. The problem is, when i compile, the compiler delete my new image. I think is a problem about cache, but im not sure. Can i solve the problem? Thank you all ;) -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: development/production mode - different paths to same file?
cool thanks for the info. On Fri, Apr 8, 2011 at 9:41 AM, Thomas Broyer t.bro...@gmail.com wrote: That's what the getContextPath() is for on the server-side, and getHostPageBaseURL can be used on the client-side to approximate this (appending a relative path from your host page). -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why IsWidget is interface?
To decouple actual widget implementations so we can provide fake widgets to methods during testing. Its primary use case is not to be a marker interface for widgets. JavaDoc of IsWidget: *Extended by view interfaces that are likely to be implemented by Widgets. Provides access to that widget, if it exists, without compromising the ability to provide a mock view instance in JRE unit tests.* * * * * If you do not have the ability to provide a mock/fake view instance during testing then you have to use a slow GWTTestCase instead of a fast JRE JUnit TestCase. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How can I intercept various event on cells ?
Hi ! I'm still attempting to extend the cells standard behaviour, like I used to do in Swing years ago. Maybe the similarities are decepting ? I tried overiding the onBrowserEvent on a TextColumn. Nothing fired I tried overiding the onBrowserEvent on a Cell in a Column : no better result. What is the standard way to extend the behaviour of cell components ? Thanks ! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How can I intercept various event on cells ?
onBrowserEvent is only called for those event types returned by getConsumedEventshttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/Cell.html#getConsumedEvents() -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory, Hibernate and versioned data
I stopped using hbm.xml files and used annotations instead, all is well now. On Apr 8, 10:39 am, Bappy richard.a.s...@googlemail.com wrote: Hi there, Since going from 2.1 to 2.2 RequestFactory has stopped transferring my Hibernate generated objects back to the client. The first error was this: com.google.gwt.requestfactory.server.UnexpectedException: The domain type Foo_$$_javassist_45 cannot be sent to the client I managed to fix this using a custom decorator, however now I get the following error: com.google.gwt.requestfactory.server.UnexpectedException: The persisted entity with id 1 has a null version As I don't use versioned data I'm not sure what to do to fix this, I just set the version to 1 before returning it and it works although this is a bit contrived! Do I need to get Hibernate to put a dummy version on it even if I don't use versioned data? Clearly now RequestFactory needs a non-null version, is there any way I can change this behaviour? Cheers, Bappy -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How do I apply styles??? Strange lack of expected behaviour...
Hi, I have a CSS file and CssResource. I define styles like .gwt-DatePicker, or .dateBoxPopup, in my CSS file, which I can see are applied to the GWT compeonents, but they are never used. I am adding the styles to my CssResource file, for example: String datePicker(); String dateBoxPopup(); @ClassName(gwt-DatePicker) String gwtDatePicker(); I am not referencing them anywhere lese in code, but I should not have to. I cannot figure this out. I was using the standard theme and thought that it may have been the cause, but to narow the problem down I am now not using ANY theme so it's not standard.css taking precedence. Help in understanding this greatly appreciated! Regards, Terra -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How do I apply styles??? Strange lack of expected behaviour...
you're going to need to make those styles marked as @External or @NotStrict on the CssResource inside the client bundle. Then you also have to do ClientBundle#CssResource()#ensureInjected() somewhere that is guaranteed to be called before you need it, to actually have those styles injected into your webpage. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC in onWindowClosing() problem
Thanks a lot! I kept onwindowclosing for some database deletions,but definitely i'm gonna do this keep alive mechanism for logging out. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt autocompile ;)
On Fri, Apr 8, 2011 at 8:23 AM, Diego Lovison diegolovi...@gmail.comwrote: hello, I would like to develop an application that the adm of the system can modify the view, add rules, buttons, fields, and others I have no idea what an 'adm' is. ok I can create something like google contacts, when you can add fields to edit... but in google contacts I cannot edit the source code... for example: *client1: validate for this field *client2: validate for this other fields... *client3: get the list of my database keep 3 source code for 3 client is easy, but if I have 5000 clients... is very difficult.. Why would an application 'like Google contacts' require more source code for more users? gwt problem: I can create dynamic code using javascript when I write and run... in gwt I need write, compile and so will run... Or you could run DevMode... gwt solution: gwt in my opinion is the best framework for web app, and I would like to use it for this project... any ideias? someone understood what I told? lol Is this an actual question or some kind of elaborate troll? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How can I intercept various event on cells ?
thanks a lot ! On 8 avr, 18:24, Thomas Broyer t.bro...@gmail.com wrote: onBrowserEvent is only called for those event types returned by getConsumedEventshttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl...() -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt autocompile ;)
I have no idea what an 'adm' is. adm = administrator Can be the people that is responsible of the application in the organization.. (IT resource) Organization is whom buy my software.. Why would an application 'like Google contacts' require more source code for more users? No For example: In google contacts, when you edit a contact, you can add fields to the form... But you cannot add business rules for the field that you added... I would like allow the adm modify the application, adding fields, business rules, etc... Or you could run DevMode... Is the final product. The organization that buy my software won't edit the real source code... I would like to offers to the client the possibility of customize my software according to your needs Is this an actual question or some kind of elaborate troll? For example in JavaScript I can write the code, save on database, return for the application and run the same code, and will work... But in GWT I need compile all my application again... The manner on that GWT was designed, this isn't possible... I would like to discuss one manner to do this... GWT is the best tool for develop web applications, on my oppinion.. is now more clear? thanks for your reply... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
HTML 5 Audio onComplete Listener
I am using the new features of the HTML 5 audio available in gwt 2.2. Is there any way for an onComplete Listener for the audio.Right now I am using a timer and checking if the currentTime = to the duration and then firing my own complete listener. I thought there should be something built in for this. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Mobile invite you to develop mobile apps with GWT
Will the GWT Mobile project use Maven to build? Thanks. Tonté Pouncil From: Dennis Z Jiang jiangzhi...@gmail.com To: Google Web Toolkit google-web-toolkit@googlegroups.com Sent: Fri, April 8, 2011 12:03:31 AM Subject: GWT Mobile invite you to develop mobile apps with GWT GWT Mobile is an open-source project that focus on developing mobile apps with GWT. It has three main features: 1. A set of mobile optimized UI widgets. 2. A PhoneGap wrapper that enables native phone functions for GWT apps. 3. A ORM module to persist objects to the browser database. As the creator of GWT Mobile, I invite anyone who is interested in developing mobile apps to to join the development of the open-source GWT Mobile project, to test it, or to use it in your mobile apps. http://www.gwtmobile.com Happy coding! -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Developper plugin without internet connection
The web browser plugin install when you need. Check that the url have append gwt.codesvr=127.0.0.7:9997http://www.google.com/url?sa=Dq=http://localhost:/Green_door.html%3Fgwt.codesvr%3D192.168.1.100:9997 See here http://code.google.com/intl/sv-SE/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s 2011/4/7 guymage gdon...@gmail.com Hi, This link only contains files for eclipse plugin installation, not for the web browser plugin ? On 7 avr, 22:12, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Seehttp://code.google.com/intl/es/eclipse/docs/install-from-zip.html http://www.google.com/url?sa=Dq=http://code.google.com/intl/es/eclip... Juan 2011/4/6 guymage gdon...@gmail.com Hi, I'm working on a computer which does not have any internet connection. I try to install the GWT Developper plugin for IE on this computer but it does not work because the installer (GwtDevPluginSetup.exe) tries to find the latest plugin version on the google web site. Is there any way to directly download the installer (gwt-dev- plugin.msi ?) ? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Tutorial: Using the HTML5 Canvas Element with the Google Web Toolkit (GWT)
Thanks for the links/demos. Could you possibly post some code of how you would manipulate items you draw on the canvas? I would like to be able to draw a box then be able to click on it and move it around etc... I can't seem to understand how you track the items in the canvas. Thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Tutorial: Using the HTML5 Canvas Element with the Google Web Toolkit (GWT)
You don't! It's bitmap painting, not vectors, not SVG. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
mouseover is fired twice within the scope of the same cell
Here's a little snippet of the code: if (click.equals(event.getType())) { onEnterKeyDown(context, parent, value, event, valueUpdater); } else if (mouseover.equals(event.getType())) { onMouseOver(context.getIndex(), event); } else if (mouseout.equals(event.getType())) { onMouseOut(context.getIndex(), event); } Well, when I first enter the cell with my mouse, onMouseOver is called, then when I move inside the same cell and mouse over the texte, onmouseover is called a second time. Someone have an idea how to fix this ? -- Christian Goudreau www.arcbees.com -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: mouseover is fired twice within the scope of the same cell
Ok no, it's not because of the text... it's fired the first time when the cell is white... then a second time when the cell is turning blue. On Fri, Apr 8, 2011 at 7:33 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Here's a little snippet of the code: if (click.equals(event.getType())) { onEnterKeyDown(context, parent, value, event, valueUpdater); } else if (mouseover.equals(event.getType())) { onMouseOver(context.getIndex(), event); } else if (mouseout.equals(event.getType())) { onMouseOut(context.getIndex(), event); } Well, when I first enter the cell with my mouse, onMouseOver is called, then when I move inside the same cell and mouse over the texte, onmouseover is called a second time. Someone have an idea how to fix this ? -- Christian Goudreau www.arcbees.com -- Christian Goudreau www.arcbees.com -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: mouseover is fired twice within the scope of the same cell
It's not even for that... lol Anyway, even with a deffered it happen. On Fri, Apr 8, 2011 at 7:35 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok no, it's not because of the text... it's fired the first time when the cell is white... then a second time when the cell is turning blue. On Fri, Apr 8, 2011 at 7:33 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Here's a little snippet of the code: if (click.equals(event.getType())) { onEnterKeyDown(context, parent, value, event, valueUpdater); } else if (mouseover.equals(event.getType())) { onMouseOver(context.getIndex(), event); } else if (mouseout.equals(event.getType())) { onMouseOut(context.getIndex(), event); } Well, when I first enter the cell with my mouse, onMouseOver is called, then when I move inside the same cell and mouse over the texte, onmouseover is called a second time. Someone have an idea how to fix this ? -- Christian Goudreau www.arcbees.com -- Christian Goudreau www.arcbees.com -- Christian Goudreau www.arcbees.com -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellTree question about varying cell composition
Is there a way to persuade people to answer questions here? Or even to suggest possibilities? Searching allows me to find lots of questions like this about CellTree, but I can't find any answers. Help? Someone? Thank you. On Apr 2, 11:52 pm, tomInNewEngland tsgou...@gmail.com wrote: Hi All: I have a CellTree and I want to use two different cells for the leaf and branch nodes. The leaf nodes are all to have a checkbox and the brances are not. Leaves and branches appear on the same levels. I constructed a CompositeCell out of a CheckboxCell and a homegrown cell (based on AbstractCellT), and I put a test in the CompositeCell.render() method, that looked something like this: if (cell instanceof CheckboxCell) { if (value.isLeaf()) { cell.render(context, hasCell.getValue(value), sb); } } With this code, the checkbox cell wasn't rendered at all for the branch nodes. This appeared to work at first, but selecting a branch node would give me an error that seemed to be at the Javascript level. It read: (Typeerror) elem is null. None of my code was identified in the stack trace, so I don't get what was wrong. Can someone suggest what that error might have meant, or better, suggest the right way to go about designing a cell that's different for leaf and branch nodes that might be siblings in the CellTree. Another question: when designing a cell to use, what is the right way to test the values that will be displayed in that cell? Besides including the checkbox or not, I'd like to vary the look based on other parameters. Many thanks, -Tom -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
InlineLabel doesn't display a subsequent blank space in IE (but does otherwise.)
The following simple structure in UiBinder produces different results in IE than in other browsers: pg:InlineLabel text='Hello'/ world!/p When debugging the bound widget I find in IE: HTML: DIVPSPAN class=gwt-InlineLabelHello/SPANworld!/P/DIV Display: Helloworld! in Firefox: HTML: divpspan class=gwt-InlineLabelHello/span world!/p/ div Display: Hello world! Is this a bug? If yes, any workarounds? Cheers. Luc. * Config * GWT 2.1.1 / IE7 -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Handle SafeHtml as return type in ui:text (issue1409802)
Reviewers: rjrjr, Description: Handle SafeHtml as return type in ui:text Review by: rj...@google.com Please review this at http://gwt-code-reviews.appspot.com/1409802/ Affected files: M user/src/com/google/gwt/uibinder/elementparsers/ComputedAttributeInterpreter.java M user/src/com/google/gwt/uibinder/elementparsers/UiTextInterpreter.java M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java M user/src/com/google/gwt/uibinder/rebind/XMLAttribute.java M user/src/com/google/gwt/uibinder/rebind/XMLElement.java Index: user/src/com/google/gwt/uibinder/elementparsers/ComputedAttributeInterpreter.java === --- user/src/com/google/gwt/uibinder/elementparsers/ComputedAttributeInterpreter.java (revision 9906) +++ user/src/com/google/gwt/uibinder/elementparsers/ComputedAttributeInterpreter.java (working copy) @@ -58,7 +58,16 @@ } if (att.hasComputedValue()) { -String attToken = writer.tokenForStringExpression(att.consumeStringValue()); +String attToken; +String returnValue = att.computedReturnValue(writer.getFieldManager(), +writer.getLogger()); + +if (returnValue.equals(SafeHtml)) { + attToken = writer.tokenForSafeHtmlMethod(att.consumeSafeHtmlValue()); +} else { + attToken = writer.tokenForStringExpression(att.consumeStringValue()); +} + attNameToToken.put(att.getName(), attToken); } else { /* @@ -77,5 +86,5 @@ // Return null because we don't want to replace the dom element return null; - } + } } Index: user/src/com/google/gwt/uibinder/elementparsers/UiTextInterpreter.java === --- user/src/com/google/gwt/uibinder/elementparsers/UiTextInterpreter.java (revision 9906) +++ user/src/com/google/gwt/uibinder/elementparsers/UiTextInterpreter.java (working copy) @@ -44,8 +44,9 @@ if (fieldRef == null) { logger.die(elem, Attribute 'from' not found.); } + return \ + + fieldRef + + \; -} + } return null; } } Index: user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java === --- user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java (revision 9906) +++ user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java (working copy) @@ -575,6 +575,13 @@ } /** + * Returns the fieldManager. + */ + public FieldManager getFieldManager() { +return fieldManager; + } + + /** * Returns the logger, at least until we get get it handed off to parsers via * constructor args. */ @@ -673,7 +680,7 @@ setFieldInitializer(fieldName, formatCode(new %s(%s), type.getQualifiedSourceName(), asCommaSeparatedList(args))); } - + /** * Like {@link #tokenForStringExpression}, but used for runtime expressions * that we trust to be safe to interpret at runtime as HTML without escaping, @@ -691,6 +698,18 @@ return token; } + /** + * Like {@link #tokenForStringExpression}, but used for runtime methods that + * return a value of type {@link com.google.gwt.safehtml.shared.SafeHtml SafeHtml}. + * + * @param expression + */ + public String tokenForSafeHtmlMethod(String expression) { +String token = tokenator.nextToken(expression); +htmlTemplates.noteSafeConstant(expression); +return token; + } + /** * Returns a string token that can be used in place the given expression * inside any string literals. Before the generated code is written, the Index: user/src/com/google/gwt/uibinder/rebind/XMLAttribute.java === --- user/src/com/google/gwt/uibinder/rebind/XMLAttribute.java (revision 9906) +++ user/src/com/google/gwt/uibinder/rebind/XMLAttribute.java (working copy) @@ -15,7 +15,9 @@ */ package com.google.gwt.uibinder.rebind; +import com.google.gwt.core.ext.TreeLogger.Type; import com.google.gwt.core.ext.UnableToCompleteException; +import com.google.gwt.core.ext.typeinfo.JType; import com.google.gwt.uibinder.attributeparsers.FieldReferenceConverter; import org.w3c.dom.Attr; @@ -33,8 +35,23 @@ this.w3cAttr = attr; } + public String computedReturnValue(FieldManager fieldManager, + MortalLogger logger) { +String attrValue = w3cAttr.getValue(); +String[] parts = attrValue.substring(1, attrValue.length() - 1).split(\\.); +JType type = fieldManager.lookup(parts[0]).getReturnType(parts, +new MonitoredLogger(logger.getTreeLogger().branch(Type.TRACE, +retrieving return type for + attrValue))); + +return type.getSimpleSourceName(); + } + public String consumeRawValue() { return xmlElem.consumeRawAttribute(w3cAttr.getName()); + } + + public String consumeSafeHtmlValue() throws
[gwt-contrib] Changes the eclipse formatter to put a space between [] and { in an (issue1411801)
Reviewers: jat, Description: Changes the eclipse formatter to put a space between [] and { in an array initializer. Please review this at http://gwt-code-reviews.appspot.com/1411801/ Affected files: M eclipse/settings/code-style/gwt-format.xml Index: eclipse/settings/code-style/gwt-format.xml === --- eclipse/settings/code-style/gwt-format.xml (revision 9943) +++ eclipse/settings/code-style/gwt-format.xml (working copy) @@ -216,7 +216,7 @@ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters value=do not insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration value=insert/ -setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer value=do not insert/ +setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant value=insert/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Changes the eclipse formatter to put a space between [] and { in an (issue1411801)
I broke out this change from another issue, as it should be totally non-controversial. http://gwt-code-reviews.appspot.com/1411801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fixes to cldr eclipse projects in GWT. (issue1410802)
Broke this out from issue 1402803 should be a non-controversial change. http://gwt-code-reviews.appspot.com/1410802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fixes to cldr eclipse projects in GWT. (issue1410802)
Reviewers: jat, Description: Fixes to cldr eclipse projects in GWT. Please review this at http://gwt-code-reviews.appspot.com/1410802/ Affected files: M eclipse/external/cldr-tools/.classpath M eclipse/tools/cldr-import/.classpath Index: eclipse/external/cldr-tools/.classpath === --- eclipse/external/cldr-tools/.classpath (revision 9963) +++ eclipse/external/cldr-tools/.classpath (working copy) @@ -4,7 +4,7 @@ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=var path=GWT_TOOLS/lib/xalan/xalan-2.7.1.jar/ classpathentry kind=var path=GWT_TOOLS/lib/apache/ant-1.7.1.jar/ - classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/icu4j.jar/ sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ + classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/icu4j.jar sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/utilities.jar sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ classpathentry kind=output path=bin/ /classpath Index: eclipse/tools/cldr-import/.classpath === --- eclipse/tools/cldr-import/.classpath(revision 9963) +++ eclipse/tools/cldr-import/.classpath(working copy) @@ -9,5 +9,6 @@ classpathentry combineaccessrules=false kind=src path=/cldr-tools/ classpathentry combineaccessrules=false kind=src path=/gwt-dev/ classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/utilities.jar sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ +classpathentry kind=var path=GWT_TOOLS/lib/cldr/1.8.1/cldr.jar / classpathentry kind=output path=bin/ /classpath -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Changes the eclipse formatter to put a space between [] and { in an (issue1411801)
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fixes to cldr eclipse projects in GWT. (issue1410802)
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9965 committed - Fixes to cldr eclipse projects in GWT....
Revision: 9965 Author: zun...@google.com Date: Fri Apr 8 07:51:16 2011 Log: Fixes to cldr eclipse projects in GWT. Review at http://gwt-code-reviews.appspot.com/1410802 Review by: j...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9965 Modified: /trunk/eclipse/external/cldr-tools/.classpath /trunk/eclipse/tools/cldr-import/.classpath === --- /trunk/eclipse/external/cldr-tools/.classpath Tue Oct 12 14:00:54 2010 +++ /trunk/eclipse/external/cldr-tools/.classpath Fri Apr 8 07:51:16 2011 @@ -4,7 +4,7 @@ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=var path=GWT_TOOLS/lib/xalan/xalan-2.7.1.jar/ classpathentry kind=var path=GWT_TOOLS/lib/apache/ant-1.7.1.jar/ - classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/icu4j.jar/ sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ + classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/icu4j.jar sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/utilities.jar sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ classpathentry kind=output path=bin/ /classpath === --- /trunk/eclipse/tools/cldr-import/.classpath Tue Mar 8 08:22:05 2011 +++ /trunk/eclipse/tools/cldr-import/.classpath Fri Apr 8 07:51:16 2011 @@ -9,5 +9,6 @@ classpathentry combineaccessrules=false kind=src path=/cldr-tools/ classpathentry combineaccessrules=false kind=src path=/gwt-dev/ classpathentry kind=var path=GWT_TOOLS/lib/icu4j/4.4.2/utilities.jar sourcepath=/GWT_TOOLS/lib/icu4j/4.4.2/icu4jsrc.jar/ +classpathentry kind=var path=GWT_TOOLS/lib/cldr/1.8.1/cldr.jar / classpathentry kind=output path=bin/ /classpath -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9966 committed - Changes the eclipse formatter to put a space between [] and { in an...
Revision: 9966 Author: zun...@google.com Date: Fri Apr 8 07:53:12 2011 Log: Changes the eclipse formatter to put a space between [] and { in an array initializer. Review at http://gwt-code-reviews.appspot.com/1411801 Review by: j...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9966 Modified: /trunk/eclipse/settings/code-style/gwt-format.xml === --- /trunk/eclipse/settings/code-style/gwt-format.xml Tue Mar 1 11:37:55 2011 +++ /trunk/eclipse/settings/code-style/gwt-format.xml Fri Apr 8 07:53:12 2011 @@ -216,7 +216,7 @@ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters value=do not insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration value=insert/ -setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer value=do not insert/ +setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration value=insert/ setting id=org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant value=insert/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Reindented pom.xml files (issue1410801)
LGTM http://gwt-code-reviews.appspot.com/1410801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Handle SafeHtml as return type in ui:text (issue1409802)
http://gwt-code-reviews.appspot.com/1409802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] removes extra source path entry from GWT datetimefmtcreator eclipse project (issue1406803)
Reviewers: pdr, jat, Description: removes extra source path entry from GWT datetimefmtcreator eclipse project Please review this at http://gwt-code-reviews.appspot.com/1406803/ Affected files: M eclipse/tools/datetimefmtcreator/.classpath Index: eclipse/tools/datetimefmtcreator/.classpath === --- eclipse/tools/datetimefmtcreator/.classpath (revision 9963) +++ eclipse/tools/datetimefmtcreator/.classpath (working copy) @@ -1,7 +1,6 @@ ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=core/src/ - classpathentry kind=src path=core/test/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry combineaccessrules=false exported=true kind=src path=/gwt-user/ classpathentry kind=var path=GWT_TOOLS/lib/icu4j/icu4j-4_4_1.jar/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9967 committed - Reindented pom.xml files...
Revision: 9967 Author: rchan...@google.com Date: Fri Apr 8 08:46:11 2011 Log: Reindented pom.xml files Review at http://gwt-code-reviews.appspot.com/1410801 Review by: drfibona...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9967 Modified: /trunk/samples/expenses/pom.xml /trunk/user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc === --- /trunk/samples/expenses/pom.xml Wed Mar 9 09:59:27 2011 +++ /trunk/samples/expenses/pom.xml Fri Apr 8 08:46:11 2011 @@ -1,652 +1,652 @@ ?xml version=1.0 encoding=UTF-8 standalone=no? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; - modelVersion4.0.0/modelVersion - groupIdcom.google.gwt.sample.expenses/groupId - artifactIdexpenses/artifactId - packagingwar/packaging - version0.1.0.BUILD-SNAPSHOT/version - nameexpenses/name - properties + modelVersion4.0.0/modelVersion + groupIdcom.google.gwt.sample.expenses/groupId + artifactIdexpenses/artifactId + packagingwar/packaging + version0.1.0.BUILD-SNAPSHOT/version + nameexpenses/name + properties gwt.version2.2.0/gwt.version - roo.version1.1.0.RELEASE/roo.version - spring.version3.0.3.RELEASE/spring.version - slf4j.version1.6.1/slf4j.version - gae.version1.4.2/gae.version +roo.version1.1.0.RELEASE/roo.version +spring.version3.0.3.RELEASE/spring.version +slf4j.version1.6.1/slf4j.version +gae.version1.4.2/gae.version gae-test.version1.4.2/gae-test.version gae.home${user.home}/.m2/repository/com/google/appengine/appengine-java-sdk/${gae.version}/appengine-java-sdk-${gae.version}/gae.home datanucleus.version1.1.5/datanucleus.version -/properties - repositories -repository -idspring-maven-release/id -nameSpring Maven Release Repository/name -urlhttp://maven.springframework.org/release/url -/repository -repository -idspring-maven-milestone/id -nameSpring Maven Milestone Repository/name -urlhttp://maven.springframework.org/milestone/url -/repository -repository -idspring-roo-repository/id -nameSpring Roo Repository/name - urlhttp://spring-roo-repository.springsource.org/release/url -/repository + /properties + repositories repository -idDataNucleus_2/id -urlhttp://www.datanucleus.org/downloads/maven2//url -nameDataNucleus/name -/repository + idspring-maven-release/id + nameSpring Maven Release Repository/name + urlhttp://maven.springframework.org/release/url +/repository repository -idJBoss Repo/id - urlhttps://repository.jboss.org/nexus/content/repositories/releases/url -nameJBoss Repo/name -/repository -/repositories -pluginRepositories + idspring-maven-milestone/id + nameSpring Maven Milestone Repository/name + urlhttp://maven.springframework.org/milestone/url +/repository +repository + idspring-roo-repository/id + nameSpring Roo Repository/name + urlhttp://spring-roo-repository.springsource.org/release/url +/repository +repository + idDataNucleus_2/id + urlhttp://www.datanucleus.org/downloads/maven2//url + nameDataNucleus/name +/repository +repository + idJBoss Repo/id + urlhttps://repository.jboss.org/nexus/content/repositories/releases/url + nameJBoss Repo/name +/repository + /repositories + pluginRepositories pluginRepository -idDataNucleus_2/id -urlhttp://www.datanucleus.org/downloads/maven2//url -/pluginRepository -/pluginRepositories - dependencies - !-- General dependencies for standard applications -- - dependency - groupIdjunit/groupId - artifactIdjunit/artifactId - version4.8.1/version - scopetest/scope - /dependency - dependency - groupIdlog4j/groupId - artifactIdlog4j/artifactId - version1.2.16/version - /dependency - dependency - groupIdorg.slf4j/groupId - artifactIdslf4j-api/artifactId - version${slf4j.version}/version - /dependency - dependency - groupIdorg.slf4j/groupId - artifactIdjcl-over-slf4j/artifactId - version${slf4j.version}/version - /dependency - dependency -
[gwt-contrib] Re: Auto-formats the GWT tools projects (excluding api-checker covered in (issue1402803)
I merged up, so rietveld thinks that every file changed, but in fact, there are no changes other than the removal of several files not related to the autoformat. http://gwt-code-reviews.appspot.com/1402803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196. (issue1407804)
Reviewers: drfibonacci, Description: Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196. Please review this at http://gwt-code-reviews.appspot.com/1407804/ Affected files: M user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc Index: user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc === --- user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc (revision 9967) +++ user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc (working copy) @@ -40,8 +40,21 @@ dependency groupIdjunit/groupId artifactIdjunit/artifactId - version4.4/version + version4.8.1/version scopetest/scope +/dependency +dependency + groupIdjavax.validation/groupId + artifactIdvalidation-api/artifactId + version1.0.0.GA/version + scopeprovided/scope +/dependency +dependency + groupIdjavax.validation/groupId + artifactIdvalidation-api/artifactId + version1.0.0.GA/version + classifiersources/classifier + scopeprovided/scope /dependency /dependencies @@ -55,6 +68,24 @@ plugin groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId + version2.2.0/version + dependencies + dependency +groupIdcom.google.gwt/groupId +artifactIdgwt-user/artifactId +version${gwtVersion}/version + /dependency + dependency +groupIdcom.google.gwt/groupId +artifactIdgwt-dev/artifactId +version${gwtVersion}/version + /dependency + dependency +groupIdcom.google.gwt/groupId +artifactIdgwt-servlet/artifactId +version${gwtVersion}/version + /dependency + /dependencies !-- JS is only needed in the package phase, this speeds up testing -- executions execution @@ -72,13 +103,14 @@ !-- Location of the develop-mode web application structure (gwt:run). -- hostedWebapptarget/www/hostedWebapp !-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -- - soyctrue/soyc + compileReporttrue/compileReport /configuration /plugin !-- Add source folders to test classpath in order to run gwt-tests as normal junit-tests -- plugin artifactIdmaven-surefire-plugin/artifactId + version2.5/version configuration additionalClasspathElements additionalClasspathElement${project.build.sourceDirectory}/additionalClasspathElement @@ -100,6 +132,7 @@ !-- Copy static web files before executing gwt:run -- plugin artifactIdmaven-resources-plugin/artifactId +version2.4.2/version executions execution phasecompile/phase @@ -121,6 +154,7 @@ !-- Delete gwt generated stuff -- plugin artifactIdmaven-clean-plugin/artifactId + version2.3/version configuration filesets filesetdirectorysrc/main/webapp/@renameTo/directory/fileset @@ -131,7 +165,25 @@ /filesets /configuration /plugin - + + plugin + artifactIdmaven-eclipse-plugin/artifactId + version2.7/version !-- Note 2.8 does not work with AspectJ aspect path -- + configuration + downloadSourcestrue/downloadSources + downloadJavadocsfalse/downloadJavadocs + wtpversion2.0/wtpversion + additionalBuildcommands +buildCommand + namecom.google.gwt.eclipse.core.gwtProjectValidator/name +/buildCommand + /additionalBuildcommands + additionalProjectnatures + projectnaturecom.google.gwt.eclipse.core.gwtNature/projectnature + /additionalProjectnatures + /configuration + /plugin + /plugins /build /project -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9968 committed - Some small refactors to Css Resource Generation...
Revision: 9968 Author: unn...@google.com Date: Fri Apr 8 11:20:03 2011 Log: Some small refactors to Css Resource Generation Review at http://gwt-code-reviews.appspot.com/1406802 http://code.google.com/p/google-web-toolkit/source/detail?r=9968 Deleted: /trunk/user/src/com/google/gwt/resources/client/CssResourceBase.java /trunk/user/src/com/google/gwt/resources/rg/CssObfuscationStyle.java Modified: /trunk/user/src/com/google/gwt/resources/client/CssResource.java /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java /trunk/user/test/com/google/gwt/resources/rg/CssTestCase.java === --- /trunk/user/src/com/google/gwt/resources/client/CssResourceBase.java Thu Apr 7 11:55:26 2011 +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2011 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the License); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.resources.client; - -/** - * Marker interface for all classes that should be obfuscated together in - * Css Resource generation. - * TODO(unnurg): Try to get rid of the global obfuscation scheme and delete - * this interface. - */ -public interface CssResourceBase extends ResourcePrototype { } === --- /trunk/user/src/com/google/gwt/resources/rg/CssObfuscationStyle.java Thu Apr 7 11:55:26 2011 +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2011 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the License); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.resources.rg; - -import com.google.gwt.core.ext.typeinfo.JClassType; - -/** - * Evaluates the obfuscation style the user selected and formats the obfuscated - * name accordingly. - */ -public enum CssObfuscationStyle { - VERBOSE (true, false, true, true), - STABLE_FULL_CLASSNAME (true, true, true, true), - STABLE_SHORT_CLASSNAME (true, true, true, false), - STABLE_NO_CLASSNAME (true, true, false, false), - OBFUSCATED (false, false, false, false); - - static CssObfuscationStyle getObfuscationStyle(String name) { -if (name.equalsIgnoreCase(pretty)) { - return VERBOSE; -} else if (name.equalsIgnoreCase(stable)) { - return STABLE_FULL_CLASSNAME; -} else if (name.equalsIgnoreCase(stable-shorttype)) { - return STABLE_SHORT_CLASSNAME; -} else if (name.equalsIgnoreCase(stable-notype)) { - return STABLE_NO_CLASSNAME; -} -return OBFUSCATED; - } - - private boolean isPretty; - private boolean isStable; - private boolean showClassName; - private boolean showPackageName; - - CssObfuscationStyle(boolean isPretty, boolean isStable, boolean showClassName, - boolean showPackageName) { -this.isPretty = isPretty; -this.isStable = isStable; -this.showClassName = showClassName; -this.showPackageName = showPackageName; - } - - public String getPrettyName(String method, JClassType type, String obfuscatedName) { -if (!isPretty()) { - return obfuscatedName; -} -String toReturn = method; - -/* - * Note that by dropping the type, or using it's short name, you are - * allowing name collisions in the css selector names. These options should - * only be used if you are sure that your GWT application is ensuring that - * there are no namespace collisions. - */ -if (showClassName) { - if (showPackageName) { -toReturn = type.getQualifiedSourceName().replaceAll([.$], -) + - + toReturn; - } else { -toReturn = type.getName() + - + toReturn; - } -} - -/* - * For stable styles the obfuscated class name is dropped from the pretty - * output. This results in class names that are constant, no matter how - * many other selectors are added. - */ -if (!isStable) { - toReturn = obfuscatedName += - + toReturn; -} -return toReturn; - } - - public boolean isPretty() { -return isPretty; - } -} === ---
[gwt-contrib] Re: Fixed pom.xml produced by WebAppCreator. Issue 4878 and Issue 6196. (issue1407804)
see note re: gwt-maven-plugin version 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): http://gwt-code-reviews.appspot.com/1407804/diff/1/user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc#newcode71 user/src/com/google/gwt/user/tools/templates/maven/pom.xmlsrc:71: version2.2.0/version 2.2.0-1 would pick up fix for copyWebapptrue/copyWebapp so it won't copy provided jars 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)
LGTM w/ caveat: gwt-user.jar and gwt-dev.jar show up in target/www/WEB-INF/lib but shouldn't. This is a result of copyWebapp copying everything, including provided jars. Try gwt-maven-plugin 2.2.0-1 or specifically add gwt-user into the clean section. http://gwt-code-reviews.appspot.com/1407804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9969 committed - Some small refactors to Css Resource Generation...
Revision: 9969 Author: unn...@google.com Date: Fri Apr 8 13:24:59 2011 Log: Some small refactors to Css Resource Generation Review at http://gwt-code-reviews.appspot.com/1406802 Review by: sce...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9969 Added: /trunk/user/src/com/google/gwt/resources/client/CssResourceBase.java /trunk/user/src/com/google/gwt/resources/rg/CssObfuscationStyle.java Modified: /trunk/user/src/com/google/gwt/resources/client/CssResource.java /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java /trunk/user/test/com/google/gwt/resources/rg/CssTestCase.java === --- /dev/null +++ /trunk/user/src/com/google/gwt/resources/client/CssResourceBase.java Fri Apr 8 13:24:59 2011 @@ -0,0 +1,24 @@ +/* + * Copyright 2011 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.resources.client; + +/** + * Marker interface for all classes that should be obfuscated together in + * Css Resource generation. + * TODO(unnurg): Try to get rid of the global obfuscation scheme and delete + * this interface. + */ +public interface CssResourceBase extends ResourcePrototype { } === --- /dev/null +++ /trunk/user/src/com/google/gwt/resources/rg/CssObfuscationStyle.java Fri Apr 8 13:24:59 2011 @@ -0,0 +1,91 @@ +/* + * Copyright 2011 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.resources.rg; + +import com.google.gwt.core.ext.typeinfo.JClassType; + +/** + * Evaluates the obfuscation style the user selected and formats the obfuscated + * name accordingly. + */ +public enum CssObfuscationStyle { + VERBOSE (true, false, true, true), + STABLE_FULL_CLASSNAME (true, true, true, true), + STABLE_SHORT_CLASSNAME (true, true, true, false), + STABLE_NO_CLASSNAME (true, true, false, false), + OBFUSCATED (false, false, false, false); + + static CssObfuscationStyle getObfuscationStyle(String name) { +if (name.equalsIgnoreCase(pretty)) { + return VERBOSE; +} else if (name.equalsIgnoreCase(stable)) { + return STABLE_FULL_CLASSNAME; +} else if (name.equalsIgnoreCase(stable-shorttype)) { + return STABLE_SHORT_CLASSNAME; +} else if (name.equalsIgnoreCase(stable-notype)) { + return STABLE_NO_CLASSNAME; +} +return OBFUSCATED; + } + + private boolean isPretty; + private boolean isStable; + private boolean showClassName; + private boolean showPackageName; + + CssObfuscationStyle(boolean isPretty, boolean isStable, boolean showClassName, + boolean showPackageName) { +this.isPretty = isPretty; +this.isStable = isStable; +this.showClassName = showClassName; +this.showPackageName = showPackageName; + } + + public String getPrettyName(String method, JClassType type, String obfuscatedName) { +if (!isPretty()) { + return obfuscatedName; +} +String toReturn = method; + +/* + * Note that by dropping the type, or using it's short name, you are + * allowing name collisions in the css selector names. These options should + * only be used if you are sure that your GWT application is ensuring that + * there are no namespace collisions. + */ +if (showClassName) { + if (showPackageName) { +toReturn = type.getQualifiedSourceName().replaceAll([.$], -) + - + toReturn; + } else { +toReturn = type.getName() + - + toReturn; + } +} + +/* + * For stable styles the obfuscated class name is dropped from the pretty + * output. This results in class names that are constant, no matter how + * many other selectors are added. + */ +if (!isStable) { + toReturn = obfuscatedName += - + toReturn; +} +return toReturn; + } + + public boolean isPretty() { +return isPretty; + } +}