Re: Exporting Grid data to MS-Excel
He means 3 *lac http://en.wikipedia.org/wiki/Lakh* rows, which is 300,000 thousand rows. This isn't really a GWT discussion - but 65536 rows is the maximum excel can support. You can however create multiple sheets and get around that. --Sri On 30 May 2010 06:45, mP miroslav.poko...@gmail.com wrote: What is 3 lack of rows as a simple number? If you need to export more than 65536 rows and poi/jexcel can't handle that large amount maybe you need to ask the respective communities of eachnof those libs. It can't be a coincidence both libs only support 65536 rows, does excel support more than 65536 ? t -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: Menubar - retrieving the selected menu item within the Command object?
Thanks a log! It seems that its the style of java programming to instantiate new classes all the time. In this case, the normal way seems to be to declare a new class for every menu item and to instantiate each of these classes a single time, just to connect a menu item to a piece of code. Ist this the normal way in java? Doesn't this blow up the code in an unnecessary way?? Magnus On May 29, 8:25 pm, kozura koz...@gmail.com wrote: No, but you can do something close: m.addItem(Login, new MenuCmd(1)); m.addItem(Logout, new MenuCmd(2)); class MenuCmd implements Cmd { private int whichCmd; public MenuCmd(int which) {whichCmd = which;} public execute() { switch(whichCmd)... } } On May 29, 8:08 am, Magnus alpineblas...@googlemail.com wrote: Hi, I would like to give all my menu items the same command object: m.addItem (Login, cmd); m.addItem (Logout, cmd); m.addItem (Register,cmd); ... Is it possible to retrieve the selected menu item within the command object's method execute? The reason is that I want to keep my code compact, i. e. using a single method that reacts on menu item selections and distinguishes the items with a select statement... Many 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-tool...@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: Menubar - retrieving the selected menu item within the Command object?
The way kozura suggested means that you create a new instance with all the code for every possibility every time (as well as adding extra code for the switch). What have you got against creating a command with just the code that that menu item needs? How does that 'blow up the code in an unnecessary way'? Kozura's way is like going into a restaurant and, whatever you order, they prepare and bring you everything that there is on the menu but you are only allowed to eat what you ordered. All the rest is thrown away (but takes up space all the time you are there). Ian http://examples.roughian.com On 30 May 2010 11:21, Magnus alpineblas...@googlemail.com wrote: Thanks a log! It seems that its the style of java programming to instantiate new classes all the time. In this case, the normal way seems to be to declare a new class for every menu item and to instantiate each of these classes a single time, just to connect a menu item to a piece of code. Ist this the normal way in java? Doesn't this blow up the code in an unnecessary way?? Magnus On May 29, 8:25 pm, kozura koz...@gmail.com wrote: No, but you can do something close: m.addItem(Login, new MenuCmd(1)); m.addItem(Logout, new MenuCmd(2)); class MenuCmd implements Cmd { private int whichCmd; public MenuCmd(int which) {whichCmd = which;} public execute() { switch(whichCmd)... } } On May 29, 8:08 am, Magnus alpineblas...@googlemail.com wrote: Hi, I would like to give all my menu items the same command object: m.addItem (Login, cmd); m.addItem (Logout, cmd); m.addItem (Register,cmd); ... Is it possible to retrieve the selected menu item within the command object's method execute? The reason is that I want to keep my code compact, i. e. using a single method that reacts on menu item selections and distinguishes the items with a select statement... Many 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
does one gwt project support one corresponding html only?
can it support two or more html in the same project? else i need to create one gwt project for one html? thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send 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.
Upgrading to Visualization 1.1 with GWT
Let me know if there's a separate group fro this, but I've upgraded to visualization 1.1 today, but all the charts are still rendering in the 1.0 style. I see in the release notes it mentions using 'corechart' instead of the individual packages (like 'pichart') in JavaScript land, but I can't find any equivalent documentation for GWT and I've tried changing the strings and version numbers in the 'VisualizationUtils.loadVisualizationApi(...)' call, but to no avail. What am I missing? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
is one gwt project for one html only?
can one gwt project support more than one html? how to do this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: deploy gwt project
I think that the files under the war directory *should* be in a standard webapp structure. Just make sure that the .css file is referenced correctly relative to the file it is called in. Although, I have used Maven, in this blog post: http://nayidisha.com/techblog/using-gwt-in-an-enterprise-application I have several war files that deploy correctly (including css) to tomcat. makebe you can crack open one of the wars there and see if the dir struct is correct. HTH, Pankaj On May 28, 1:32 pm, leslie web...@me.com wrote: aditya sanas, Hi, Thank you for your reply. I've essentially done what you have suggested but in a different way. That is, I took the contents of the war directory and included them in the war file that I created. When I deploy the war file, Tomcat auto expands the file into a directory which contains the contents. I've managed to successfully deploy a gwt war file online once already, but it was several months ago and I can't remember how I did it. I've found the following online resourcehttp://code.google.com/webtoolkit/doc/latest/DevGuideDeploying.html Which mostly describes the files that are included, web.xml and the lib directory and so forth, but doesn't help me resolve my problem. That is I think I understand the components, but I can't seem to deploy them as a single file in such a way that the application runs as it does in the development environment of eclipse. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HTML5 Worker
The spec is at http://www.whatwg.org/specs/web-workers/current-work/ It includes an example/tutorial section as well as an excellently understandable spec. ~Joe On Sat, May 29, 2010 at 11:41 AM, Deepak Bammi deepak.ba...@gmail.com wrote: Please provide more info for Worker or just share your knowledge. Thanks, Dev On Sun, May 23, 2010 at 1:05 AM, Thomas Broyer t.bro...@gmail.com wrote: On 22 mai, 19:14, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, I just read something about HTML5 feature. One is Worker. Does this mean that in future we need to take care about concurrency in GWT? No. Web Workers don't share memory, they communicate through messages. JavaScript is inherently single-threaded and that won't change anytime soon. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. 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-tool...@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-tool...@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: About GWT poject Deployment
Watch New Indian Movies with discounted Price... Visit New Indian Movie.com! http://www.clicknearn.net/3527.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@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 to center a VerticalPanel on page with UiBinder
ui:style .centerStyle { width: 800px; margin: 0 auto 0 auto; } /ui:style Is where the definition for style.centerStyle comes from. Uibinder interprets the style elements and they can be accessed using style.stylename. On May 28, 9:19 am, Mike m...@sheridan-net.us wrote: Where did it get the definition for: {style.centerStyle} ??? Does UiBinder have access to all of the default style information provided by GWT? Usually, to center something horizontally, the technique is this: .centerStyle { margin-left: auto; margin-right: auto; } (I believe) Cheers Mike On May 28, 7:07 am, Mark rausch.pi...@gmail.com wrote: I finally found out how to do this: g:VerticalPanel ui:field=vertialPanel styleName='{style.centerStyle}' Hopefully this will help anybody else. On 27 Mai, 13:27, Mark rausch.pi...@gmail.com wrote: Hello, I am new to gwt and I hope you can help me. I want to center a VerticalPanel on the page. g:VerticalPanel ui:field=vertialPanel !-- this panel should be in the middle of the page -- g:Label Login Settings/g:Label g:Labeltitle/g:Label g:Labelplaceholder/g:Label g:TextAreatext1/g:TextArea g:TextAreatext2/g:TextArea g:Labelstats/g:Label /g:VerticalPanel I tried several things like: ui:style .centerStyle { width: 800px; margin: 0 auto 0 auto; } /ui:style g:VerticalPanel ui:field=vertialPanel class='{style.centerStyle}' or @UiField VerticalPanel vertialPanel; public void onModuleLoad() { vertialPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); vertialPanel.setWidth(100%); RootLayoutPanel.get().add(uiBinder.createAndBindUi(this)); } My solutions all ended up with a page showing nothing... Can you perhaps give me a hint where to read more about this hole Ui Binder stuff? I think the google page is not very detailed... Thank you very much. Mark -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Changing CSS on the fly
Hi, is there a way to change a CSS Property inside a Rule definition on the fly. I have defined a rule .myRule { height: 22px; width: 100px; overflow: hidden } I have hundreds of DIV elements with that rule. I will like to change the width property directly on the rule. Without iterating all the elements and inlining the new width. Is that possible? Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT.runAsync and Command Pattern
Hi, I am trying to split a GWT app that uses the command (action) pattern. The problem is that GWT.create(ActionService.class) causes every subclass of the return and parameter types to be included in the initial fragment. For instance, my action interface is: public interface ActionService extends RemoteService { T extends Response, V extends Request T execute(V req) throws ActionFailedException; } the problem is that module1.SomeRequest and module2.OtherRequest gets included in the initial fragment. Do you see a way around this? Thanks, Julio Faerman -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT.runAsync and Command Pattern
You might be running into this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4412 The compiler simply doesn't do enough analysis to do code split properly when inheritance is involved, staring the issue may help. Cheers On May 30, 7:38 am, Julio Faerman jfaer...@gmail.com wrote: Hi, I am trying to split a GWT app that uses the command (action) pattern. The problem is that GWT.create(ActionService.class) causes every subclass of the return and parameter types to be included in the initial fragment. For instance, my action interface is: public interface ActionService extends RemoteService { T extends Response, V extends Request T execute(V req) throws ActionFailedException; } the problem is that module1.SomeRequest and module2.OtherRequest gets included in the initial fragment. Do you see a way around this? Thanks, Julio Faerman -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to center a VerticalPanel on page with UiBinder
have you tried... g:HorizontalPanel width=100% g:Cell horizontalAlignment=ALIGN_CENTER g:VerticalPanel ui:field=verticalPanel ... /g:VerticalPanel /g:Cell /g:HorizontalPanel On May 28, 8:38 am, BryanPoit bryanp...@gmail.com wrote: ui:style .centerStyle { width: 800px; margin: 0 auto 0 auto; } /ui:style Is where the definition for style.centerStyle comes from. Uibinder interprets the style elements and they can be accessed using style.stylename. On May 28, 9:19 am, Mike m...@sheridan-net.us wrote: Where did it get the definition for: {style.centerStyle} ??? Does UiBinder have access to all of the default style information provided by GWT? Usually, to center something horizontally, the technique is this: .centerStyle { margin-left: auto; margin-right: auto; } (I believe) Cheers Mike On May 28, 7:07 am, Mark rausch.pi...@gmail.com wrote: I finally found out how to do this: g:VerticalPanel ui:field=vertialPanel styleName='{style.centerStyle}' Hopefully this will help anybody else. On 27 Mai, 13:27, Mark rausch.pi...@gmail.com wrote: Hello, I am new to gwt and I hope you can help me. I want to center a VerticalPanel on the page. g:VerticalPanel ui:field=vertialPanel !-- this panel should be in the middle of the page -- g:Label Login Settings/g:Label g:Labeltitle/g:Label g:Labelplaceholder/g:Label g:TextAreatext1/g:TextArea g:TextAreatext2/g:TextArea g:Labelstats/g:Label /g:VerticalPanel I tried several things like: ui:style .centerStyle { width: 800px; margin: 0 auto 0 auto; } /ui:style g:VerticalPanel ui:field=vertialPanel class='{style.centerStyle}' or @UiField VerticalPanel vertialPanel; public void onModuleLoad() { vertialPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); vertialPanel.setWidth(100%); RootLayoutPanel.get().add(uiBinder.createAndBindUi(this)); } My solutions all ended up with a page showing nothing... Can you perhaps give me a hint where to read more about this hole Ui Binder stuff? I think the google page is not very detailed... Thank you very much. Mark -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT.runAsync and Command Pattern
yes also i've faced this problem and didn't find any solution i'think the previous issue it's connected with this: http://code.google.com/p/google-web-toolkit/issues/detail?id=2374can=5 On 30 Mag, 15:48, Tristan tristan.slomin...@gmail.com wrote: You might be running into this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4412 The compiler simply doesn't do enough analysis to do code split properly when inheritance is involved, staring the issue may help. Cheers On May 30, 7:38 am, Julio Faerman jfaer...@gmail.com wrote: Hi, I am trying to split a GWT app that uses the command (action) pattern. The problem is that GWT.create(ActionService.class) causes every subclass of the return and parameter types to be included in the initial fragment. For instance, my action interface is: public interface ActionService extends RemoteService { T extends Response, V extends Request T execute(V req) throws ActionFailedException; } the problem is that module1.SomeRequest and module2.OtherRequest gets included in the initial fragment. Do you see a way around this? Thanks, Julio Faerman -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT.runAsync and Command Pattern
hi julio, the issue you mentioned exists, anyway your ActionService interface should be: T extends Response, V extends RequestT T execute(V req) throws ActionFailedException; on the other hands it's not possible at compile time to predict wich results are connected with wich requests On 30 Mag, 16:13, federico federico.mona...@gmail.com wrote: yes also i've faced this problem and didn't find any solution i'think the previous issue it's connected with this: http://code.google.com/p/google-web-toolkit/issues/detail?id=2374can=5 On 30 Mag, 15:48, Tristan tristan.slomin...@gmail.com wrote: You might be running into this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4412 The compiler simply doesn't do enough analysis to do code split properly when inheritance is involved, staring the issue may help. Cheers On May 30, 7:38 am, Julio Faerman jfaer...@gmail.com wrote: Hi, I am trying to split a GWT app that uses the command (action) pattern. The problem is that GWT.create(ActionService.class) causes every subclass of the return and parameter types to be included in the initial fragment. For instance, my action interface is: public interface ActionService extends RemoteService { T extends Response, V extends Request T execute(V req) throws ActionFailedException; } the problem is that module1.SomeRequest and module2.OtherRequest gets included in the initial fragment. Do you see a way around this? Thanks, Julio Faerman -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: does one gwt project support one corresponding html only?
Hi, you could supply as many host pages as you like. you could supply as many modules as you like. However, in general each browser application run in one browser window. But you can supply more the one in a WAR. Stefan Bachert http://gwtworld.de On 30 Mai, 05:55, cy dev cydevelo...@gmail.com wrote: can it support two or more html in the same project? else i need to create one gwt project for one html? thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send 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: using external jar library - No source code is available for type type; did you forget to inherit a required module?
Hi, I am trying to get started with my first GWT application myApp, and I would like to use my java library (mylib.jar, in this case for a subclass of java.lang.Method: mylib.Method). I am using eclipse and a separate project mylib, which uses an ant script via external tools that builds the mylib.jar file. Within the myApp directory, I added a symbolic link to mylib.jar in prj/war/WEB-INF/lib. And I added prj/war/WEB-INF/lib/mylib.jar to my project via Properties/Java Build Path/Libraries. Well, whenever I use something related to mylib.Method, I get the following error: No source code is available for type mylib.Method; did you forget to inherit a required module? What does this mean and how can I resolve it? 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-tool...@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.
Status of Joda/Goda time, future of Date handling
Hi, I think, many people (including myself) are a little bit unhappy with the current situation of date and time handling a) due to the use of deprecated methods of java.util.Date and b) due to the general weaknesses of the java Date API This topic crops up repeatedly on different forums, as well as in this GWT issue report: http://code.google.com/p/google-web-toolkit/issues/detail?id=603 There are several projects that have attempted to port Joda time to GWT: http://code.google.com/p/goda-time/ http://code.google.com/p/gwittir/ http://github.com/mping/gwt-joda-time http://code.google.com/p/gwt-time/ But all of them seem to be in alpha/beta status (or have licensing problems in the case of goda), and as far as I can see, they're not really active anymore (I hope, I'm wrong for at least one of the projects?) Are you using any of these projects, can you recommend one? Does the GWT team have plans to integrate a Joda-like API? Thanks Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: About GWT poject Deployment
fake post should be removed immediately. -- Aditya On Sun, May 30, 2010 at 11:12 AM, Saima Waseem saimawaseem2...@gmail.comwrote: Watch New Indian Movies with discounted Price... Visit New Indian Movie.com! http://www.clicknearn.net/3527.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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 one gwt project for one html only?
hi, yeah ofcourse it is absolutely possible to have n number of html pages in ur gwt project. if u wish to have a html page with gwt components then u need to add new module otherwise you have simple html pages as we have in web projects. Cheers -- Aditya On Sun, May 30, 2010 at 9:31 AM, cy dev cydevelo...@gmail.com wrote: can one gwt project support more than one html? how to do this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: MVP + appController useful for the big projects ?
i think one of the mvp frameworks could help. gwt-dispatch,gwt-presenter, mvp4g.. there are more.. HTH. Subhro. On Sun, May 30, 2010 at 11:05 PM, Rizen vianney.dep...@gmail.com wrote: Hello, I'm actually using the MVP pattern with an AppController, as Google advices via this link : http://code.google.com/intl/fr/webtoolkit/articles/mvp-architecture.html But I guess the AppController is necessary just for small projects. Indeed, the more the project expands, the less it's easy to develop cause of the AppController whose becoming too hugh. So, I don't know how to organize my project using the MVP pattern without have 10 000 differents class and files too big. I think it's just my code who is badly written. Or maybe have you the source code of a hugh project to see how the code is organized ? Thank you for your help. Kind regards. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: MVP + appController useful for the big projects ?
Watch New Indian Movies with discounted Price... Visit New Indian Movie.com! http://www.clicknearn.net/3527.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@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 one gwt project for one html only?
Watch New Indian Movies with discounted Price... Visit New Indian Movie.com! http://www.clicknearn.net/3527.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@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: eclipse: using external jar library - No source code is available for type type; did you forget to inherit a required module?
Search the forum for the literally dozens of answers to this... http://groups.google.com/group/google-web-toolkit/search?group=google-web-toolkitq=No+source+code+is+availableqt_g=Search+this+group Not all java can be use in the client code (see JRE emulation) and any external library code must include source and be specified in a library xml file. On May 30, 9:28 am, Magnus alpineblas...@googlemail.com wrote: Hi, I am trying to get started with my first GWT application myApp, and I would like to use my java library (mylib.jar, in this case for a subclass of java.lang.Method: mylib.Method). I am using eclipse and a separate project mylib, which uses an ant script via external tools that builds the mylib.jar file. Within the myApp directory, I added a symbolic link to mylib.jar in prj/war/WEB-INF/lib. And I added prj/war/WEB-INF/lib/mylib.jar to my project via Properties/Java Build Path/Libraries. Well, whenever I use something related to mylib.Method, I get the following error: No source code is available for type mylib.Method; did you forget to inherit a required module? What does this mean and how can I resolve it? 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-tool...@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.
bikeshed-expense source code (gwt-bikeshed.appspot.com)?
Hi, Is the source code for the bikeshed app available? You can find the app here (http://gwt-bikeshed.appspot.com/ Expenses.html). Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@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.runAsync and Command Pattern
Would it be possible to wrap / unwrap the request, removing the immediate inheritance or the compiler must generate the type serializers eagerly for all types ever reachable? Thanks for the advice on the interface, Frederico, i hope i can use it. In my case, code splitting is more important than commands, i wish they weren't mutually exclusive. On May 30, 11:17 am, federico federico.mona...@gmail.com wrote: hi julio, the issue you mentioned exists, anyway your ActionService interface should be: T extends Response, V extends RequestT T execute(V req) throws ActionFailedException; on the other hands it's not possible at compile time to predict wich results are connected with wich requests On 30 Mag, 16:13, federico federico.mona...@gmail.com wrote: yes also i've faced this problem and didn't find any solution i'think the previous issue it's connected with this: http://code.google.com/p/google-web-toolkit/issues/detail?id=2374can=5 On 30 Mag, 15:48, Tristan tristan.slomin...@gmail.com wrote: You might be running into this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4412 The compiler simply doesn't do enough analysis to do code split properly when inheritance is involved, staring the issue may help. Cheers On May 30, 7:38 am, Julio Faerman jfaer...@gmail.com wrote: Hi, I am trying to split a GWT app that uses the command (action) pattern. The problem is that GWT.create(ActionService.class) causes every subclass of the return and parameter types to be included in the initial fragment. For instance, my action interface is: public interface ActionService extends RemoteService { T extends Response, V extends Request T execute(V req) throws ActionFailedException; } the problem is that module1.SomeRequest and module2.OtherRequest gets included in the initial fragment. Do you see a way around this? Thanks, Julio Faerman -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to center a panel within another panel?
I suggest you to re-think the use CellPanels (this includes VerticalPanel, HorizontalPanel and almost every gwt Panel) to create the layout. They end up being html tables and normally you don't want that. The cleanest approach I found was to use only FlowPanels each one with their ID and then use CSS to do the layout. I hope it helped you 2010/5/29 kozura koz...@gmail.com You can place equal sized panels in the left/right (and/or top/bottom, not sure how you're trying to center) of the DockLayoutPanel, before adding the center panel. The center panel will then be centered between them. But note with the layout panel methodology, the center panel will take the full remaining width (height). It won't take a widget and center it based on the size of its contents. On May 28, 12:22 pm, Magnus alpineblas...@googlemail.com wrote: Hi, I use DockLayoutPanel as the RootPanel for my browser window. And I want to place another child panel within the dockpanels center. Well, the child panel is always aligned to the upper left. How can I achieve that: a) the DockLayoutPanel really covers the whole browser window b) the child panel is centered within the DockLayoutPanel's center (but not resized) Thank you 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: FastTree in GWT 2.0.3
Fast tree has always had a lot of bugs, we basically took some of the concepts from Fast Tree but wrote our own. On May 28, 5:03 am, jla ner...@gmail.com wrote: Hi, Are there any known problems about the GWT-Incubator fastTree and GWT 2.0.3. I can't seem to be able to get it to work properly. Even when copying the demo source code into my project. On the other hand the native Tree control is working fine. Thanks, Jerome -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.0.3: Cross-browser problems still?
When I came into GWT I thought it was going to be write-once for all browsers. Since I've been using it, I've had all kinds of cross- browser problems, in particular with events and graphics, and sometimes widgets. And I've had to do workarounds (which I still haven't fully resolved) to make it work the same in different browsers. I just wondered if everybody else has had smooth-sailing with browsers or if there are others with similar issues? I know this is a vent, but sometimes I wish I had used Flash instead! Maybe Google can write clear guidelines for third-party library developers, since some of their libraries with respect to events and graphics seem to contribute to (but are not the only) problem. And treat cross-browser differences as a priority e.g. the fact that the core widget focusPanel doesn't seem to register mouseMove events in Internet Explorer except on the widgets contained on it, but does so fine in Firefox/Chrome. I hope everything written in GWT works the same in all browsers one day. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Add a Widget into/onto Grid without resizing Grid Cell/Column
Anyone? Any thoughts? On May 27, 10:51 am, spierce7 spier...@gmail.com wrote: Hey, I'm making a calendar-like application, and right now I'm just messing around with different options. One of the things I absolutely need is to be able to place a group of widgets/panel on a panel on or over a table/grid that I've set up with click listeners, and have the Grid not resize to accomodate the size of the widgets/panel. Up until now I've just been using a single widget for tests, so I've been using a SimplePanel(), but I need to add a top and a bottom to the widget now, so I need to use a VerticalPanel(). I've got the program set up so that when I click a blank cell on the table, it creates a label and places it there. It's been doing what I wanted it to do, as in adding the label to the Grid, and not re-sizing the row to fit it's size (Here is an example:http://internetexample.appspot.com/If you view it in Firefox, it does what I want it too, but if you do it in chrome, it doesn't do what I want it to). How can I properly get it to work in all browsers, preferably with a label and a few widgets within a VerticalPanel. Thanks! ~Scott -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Status of Joda/Goda time, future of Date handling
I am using gwt-time. I haven't had any issues as yet. However, the biggest problem is that it adds 250 - 300 kb to the project js download. I was careful to avoid the dependency for the initial download fragment. On May 30, 12:36 pm, Chris Lercher cl_for_mail...@gmx.net wrote: Hi, I think, many people (including myself) are a little bit unhappy with the current situation of date and time handling a) due to the use of deprecated methods of java.util.Date and b) due to the general weaknesses of the java Date API This topic crops up repeatedly on different forums, as well as in this GWT issue report:http://code.google.com/p/google-web-toolkit/issues/detail?id=603 There are several projects that have attempted to port Joda time to GWT: http://code.google.com/p/goda-time/http://code.google.com/p/gwittir/http://github.com/mping/gwt-joda-timehttp://code.google.com/p/gwt-time/ But all of them seem to be in alpha/beta status (or have licensing problems in the case of goda), and as far as I can see, they're not really active anymore (I hope, I'm wrong for at least one of the projects?) Are you using any of these projects, can you recommend one? Does the GWT team have plans to integrate a Joda-like API? Thanks Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: FastTree in GWT 2.0.3
2.1M1 introduces a new fast tree implementation you might want to take a look at On May 30, 7:25 pm, hazy1 matt.egyh...@gmail.com wrote: Fast tree has always had a lot of bugs, we basically took some of the concepts from Fast Tree but wrote our own. On May 28, 5:03 am, jla ner...@gmail.com wrote: Hi, Are there any known problems about the GWT-Incubator fastTree and GWT 2.0.3. I can't seem to be able to get it to work properly. Even when copying the demo source code into my project. On the other hand the native Tree control is working fine. Thanks, Jerome -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to download gwt-2.0.3.zip
Latest? isn't 2.0.3 the latest? On May 29, 1:35 pm, Deepak Bammi deepak.ba...@gmail.com wrote: Just for information, latest gwt version is also released. Thanks, Dev Deepak Bammi +91.9818.528.834 Direct -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to run a unittest for a class in client folder of gwt which makes Async calls to the server
See this thread http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a870643861023d35 discussing GWT RPC calls from Java On May 28, 3:39 pm, Sumit Somani sumitsom...@google.com wrote: I am an engineering intern and want to write a test for a class which makes a Async Request to the server How do I juct mock it up or use some pre-built library. Please provide advise on resources -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Status of Joda/Goda time, future of Date handling
On May 31, 2:26 am, Paul Stockley pstockl...@gmail.com wrote: I am using gwt-time. I haven't had any issues as yet. However, the biggest problem is that it adds 250 - 300 kb to the project js download. That's massive, and it would be way too much for my project. I wonder, why it's that large - What does the SOYC compile report say? If it's mainly the timezone tables, maybe there's a way to reduce them. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Optimizing Dev Module with user.agent?
Hi, I'm told that dev mode run's directly against java classes. Could I expect reduced compile+build times by specifying my specific user.agent when running in dev mode? Is the user.agent even used when running in dev mode? Cheers. p.s. example: Firefox Only (from gwt.xml): set-property name=user.agent value=gecko1_8/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to download gwt-2.0.3.zip
Please find the latest gwt version in which some bugs are fixed. http://code.google.com/p/google-web-toolkit/downloads/list Thanks, Dev On Mon, May 31, 2010 at 6:42 AM, Luis Daniel Mesa Velasquez luisdanielm...@gmail.com wrote: Latest? isn't 2.0.3 the latest? On May 29, 1:35 pm, Deepak Bammi deepak.ba...@gmail.com wrote: Just for information, latest gwt version is also released. Thanks, Dev Deepak Bammi +91.9818.528.834 Direct -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Deepak Bammi +91.9818.528.834 Direct -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: SplitLayoutPanel, Resizing
Hi All. Back again. I have nailed this problem down to a rich text editor resize problem in Firefox. Other browsers work okay, but not great... very jerky. Any other widget resizes. I am now looking at the possible solutions with TinyMCE or just using something rolled with HTML5 as a rich text editor. On May 2, 12:39 am, kozura koz...@gmail.com wrote: As much as it tries to abstract, GWT is still bound underneath to html elements and thus you must tinker with styling/CSS to get layout right. And unlike most layout systems out there, there is no great child-type independent layout containers that work perfectly. LayoutPanels try, but still not perfect. Myself not coming into GWT as a CSS expert, I recommend using Firebug and a willingness to dicker with the different elements styling with height:100% or whatnot to figure out exactly what's needed to get the correct layout and repositioning/resizing action. Also, be sure you are following everything here:http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#La..., standard html mode, rootlayoutpanel to hold the SplitLayoutPanel or explicit sizing of it, etc. For #2, this is more the responsibility of your tomcat/jetty engine, which have the tools for dealing with this. Dunno what you're trying to do in #3, if you clear a listbox and repopulate it with new data, the new data should show up just fine? On Apr 30, 2:59 am, kirtcathey kirtcat...@gmail.com wrote: Hi All. Relatively new to GWT, but have given it about a 20,000 line test drive and oh, yeah I like. I like :-)) Just got all working on a hosting service a couple nights ago and am impressed with performance as well. A couple of questions (will update the post if I find the answer before response) 1) In my application I am implementing a splitlayoutpanel with two rich text editors - one in the NORTH panel and one in the CENTER panel (top and bottom). When the vertical adjustment slides up, I would like to anchor the bottom of the rich text editor to the bottom and of the CENTER split layout panel, and vice versa for the rich text editor that is in the NORTH panel. In other languages, there is usually a 'bind' or 'anchor' command on such sliders. I looked high and low for examples of resize, but found very little. If there is explanatory code, please send a link. 2) Is there a way with Java servlets to gauge the amount of sessions being served on a JVM - trying to setup a poor man's load balancer. 3) I cannot get any of my list boxes to refresh. I call projectListBox.clear(); and that seems to work, but the data that comes back up on the list boxes are the same. Is there a way to do this efficiently? Thank you. Kirt Cathey sysrisk.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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group athttp://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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.