Re: RPC method invocation order
Though I am a newbie, but this is what I understand from the details. You need to do chainig... You need to call the second function in the call back of the first.. Cheers, Amit On Tue, Oct 21, 2008 at 12:01 PM, Muhannad Ali <[EMAIL PROTECTED]>wrote: > Hi, > > I'm working on GWT RPC and I have a problem with the method invocation > order; I have to invoke two methods m1() and m2() by this order (cause > m2 depends on the results of m1) but, I don't know why, the method > m2() is invoked before m1() even if I wrote: m1(); m2(); > > So, does RPC Asynchronous Callback implies that the methods could be > invoked out of order? If so, please how could I workaround that? > > For more details, here is what I exactly do: > > public RPCServiceAsync rpcService; > HashMap active_cats; > > public void onModuleLoad() { > ... > load_categories(); > load_objects(cat_id); > ... > } > > private void load_categories(){ > rpcService.getCategoryList(new AsyncCallback ActiveCategory>>(){ >public void onFailure(Throwable caught) { >} > >public void onSuccess(HashMap result) { >active_cats = result; >} > }); > } > > private void load_objects(final int cat_id){ > rpcService.getObjectList(cat_id, new > AsyncCallback>(){ >public void onFailure(Throwable caught) { >} > >public void onSuccess(ArrayList result) { >ActiveCategory cat = active_cats.get(cat_id); >cat.set_active_objects(result); >} > }); > } > > > -- > > public class ActiveCategory implements IsSerializable{ >private int cat_id; >private boolean displayed = false; >private ArrayList active_objects = new > ArrayList(); > } > > -- > > In this example, always the load_objects() is invoked before > load_categories() !?? Please help! > > > > > > > -- Warm Regards, Amit Dhingra --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
RPC method invocation order
Hi, I'm working on GWT RPC and I have a problem with the method invocation order; I have to invoke two methods m1() and m2() by this order (cause m2 depends on the results of m1) but, I don't know why, the method m2() is invoked before m1() even if I wrote: m1(); m2(); So, does RPC Asynchronous Callback implies that the methods could be invoked out of order? If so, please how could I workaround that? For more details, here is what I exactly do: public RPCServiceAsync rpcService; HashMap active_cats; public void onModuleLoad() { ... load_categories(); load_objects(cat_id); ... } private void load_categories(){ rpcService.getCategoryList(new AsyncCallback>(){ public void onFailure(Throwable caught) { } public void onSuccess(HashMap result) { active_cats = result; } }); } private void load_objects(final int cat_id){ rpcService.getObjectList(cat_id, new AsyncCallback>(){ public void onFailure(Throwable caught) { } public void onSuccess(ArrayList result) { ActiveCategory cat = active_cats.get(cat_id); cat.set_active_objects(result); } }); } -- public class ActiveCategory implements IsSerializable{ private int cat_id; private boolean displayed = false; private ArrayList active_objects = new ArrayList(); } -- In this example, always the load_objects() is invoked before load_categories() !?? Please 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
RPC method invocation order
Hi, I'm working on GWT RPC and I have a problem with the method invocation order; I have to invoke two methods m1() and m2() by this order (cause m2 depends on the results of m1) but, I don't know why, the method m2() is invoked before m1() even if I wrote: m1(); m2(); So, does RPC Asynchronous Callback implies that the methods could be invoked out of order? If so, please how could I workaround that? For more details, here is what I exactly do: public RPCServiceAsync rpcService; HashMap active_cats; public void onModuleLoad() { ... load_categories(); load_objects(cat_id); ... } private void load_categories(){ rpcService.getCategoryList(new AsyncCallback>(){ public void onFailure(Throwable caught) { } public void onSuccess(HashMap result) { active_cats = result; } }); } private void load_objects(final int cat_id){ rpcService.getObjectList(cat_id, new AsyncCallback>(){ public void onFailure(Throwable caught) { } public void onSuccess(ArrayList result) { ActiveCategory cat = active_cats.get(cat_id); cat.set_active_objects(result); } }); } -- public class ActiveCategory implements IsSerializable{ private int cat_id; private boolean displayed = false; private ArrayList active_objects = new ArrayList(); } -- In this example, always the load_objects() is invoked before load_categories() !?? Please help! Thank you very much 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Change POST Request Returns 200 OK Server Response to 302
i tried using response.sendError(302, "dummy") but got this exception Exception: at com.comp.prjct.client.gui.communication.Service_Proxy $115.onCompletionImpl(transient source for com.comp.prjct.client.gui.communication.Service_Proxy:7381) at com.comp.prjct.client.gui.communication.Service_Proxy $115.onCompletionAndCatch(transient source for com.comp.prjct.client.gui.communication.Service_Proxy:7365) at com.comp.prjct.client.gui.communication.Service_Proxy $115.onCompletion(transient source for com.comp.prjct.client.gui.communication.Service_Proxy:7359) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java: 126) at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java: 150) at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java: 293) at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java: 196) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java: 117) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java: 2966) at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:689) at com.google.gwt.dev.GWTShell.run(GWTShell.java:550) at com.google.gwt.dev.GWTShell.main(GWTShell.java:321) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Radio Button Bug?
Hi, I'm very sorry for the late reply. Here is how I code the radio buttons. Radio rb1 = new Radio("Label1","Group"); rb1.addListener(new CheckboxListenerAdapter() { public void onCheck(Checkbox field, boolean checked) { if (checked) { radioButtonAction(true); } else { radioButtonAction(false); } } }); // Check 'rb1' by default. rb1.setChecked(true); Radio rb2 = new Radio(GUIConstants.RADIO_BUTTON_LABEL_URL, GUIConstants.RADIO_BUTTON_GROUP_UPLOAD); /* no listener for rb2 */ and here is the metdod for the action: private void radioButtonAction(boolean show) { if (show) { someTextBox1.setVisible(true); someTextBox2.setVisible(false); } else { someTextBox1.setVisible(false); someTextBox2.setVisible(true); } } On Oct 3, 5:33 am, Alex D <[EMAIL PROTECTED]> wrote: > It looks like you are using the code in a wrong way, maybe you are > doing something recursive there. > > On Oct 3, 1:06 pm,Arji<[EMAIL PROTECTED]> wrote: > > > Hi Guys, > > > Is this a bug in the GWT? Or maybe I'm implementing it the wrong way. > > > Can anyone try this, having 2 Radio Buttons on the same group, both > > have added Listeners (CheckboxListenerAdapter). Sometimes it is > > throwing the "slow script" message. Is anyone experiencing 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Composite widgets
For the most part, i will usually extend flowpanel. Inside the flowpanel you can create your methods, and set the styles that you need to position each section correctly.The header, body, and footer would all be flowpanels(or any panel), and then the set methods will just set them and refresh the contents. On Oct 20, 11:15 pm, rlaferla <[EMAIL PROTECTED]> wrote: > I'd like to create a composite widget that contains three widgets: > header, body, and footer. These components can be any type of > Widget. I want to be able to add my composite widget to a panel just > like any other widget. I also want to be able to call setHeader(), > setBody() and setFooter() and have that widget REPLACED with the new > widget. > > What's the best way to design this? What class should I extend? > Composite? HTMLTable? Panel? Widget? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Query for row-border styling for a Grid
Thanks alex. It works. Just wonder, that styling is applicable on a cell basis, and not on row basis ;-) Thanks again Ajay Garg On Oct 20, 4:29 pm, "alex.d" <[EMAIL PROTECTED]> wrote: > Smth. like this probably? > > for(int i=0; i for(int j=0; j grid.getCellFormatter().addStyleName(i,j,"border"+i%2); > > Every even row(actually every cell in it) will have a "border"-style > assigned. Every odd row - "border1"-style. > > On 20 Okt., 13:07, Ajay Garg <[EMAIL PROTECTED]> wrote: > > > > > Hi all. > > > I am trying to apply styling to borders to a Grid, on a row by row > > basis. That is, apply color 1 on border of row 1, color 2 on border of > > row 2, and so on. I am aware of Grid's getRowFormatter() method, but > > haven't been able to apply the color at the bottom border of say, row > > numbered 'i'. > > > It may be a query of html more than of gwt, but I have seemed to give > > up. Any light in this regard will be highly appreciated. > > > Waiting for a reply. > > Ajay Garg- 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Composite widgets
I'd like to create a composite widget that contains three widgets: header, body, and footer. These components can be any type of Widget. I want to be able to add my composite widget to a panel just like any other widget. I also want to be able to call setHeader(), setBody() and setFooter() and have that widget REPLACED with the new widget. What's the best way to design this? What class should I extend? Composite? HTMLTable? Panel? Widget? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Does gwt NumberFormat support COMMA as decimal seperator?
Does gwt NumberFormat support COMMA as decimal seperator? (for LOCALE France 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Would LOVE some design help
Hi Andre, What you're planning to do could work, but there are a few thing to note: 1) The UI interaction when submitting "Add product to cart" messages is entirely a function of the API exposed by the Amazon service. Depending on the control given to you there, you may be able to add products behind the scenes while putting up a spinner style dialog box without any other UI interactions or you may not. Double-check what's available to you to see what you can do. 2) If there are UI interactions as a result of adding items to a shopping cart behind the scenes, you can't really freeze or turn the browser off to hide these from view, but you can use something like the GlassPanel in the GWT incubator project. The GlassPanel is essentially a transparent panel that you can place over the entire page to block out user interactions until some given process or action is complete. The only thing to watch out for with the GlassPanel is that it is indeed transparent by default, so although users won't be able to interact with the page as some given action is occurring, they will still be able to see what's going on behind the scenes. You could style the GlassPanel to be completely opaque, but that would still lead to a negative user experience as the user would lose all feedback with the page. Hope that helps, -Sumit Chandel On Thu, Oct 16, 2008 at 1:38 PM, aangel <[EMAIL PROTECTED]> wrote: > > Hi, everyone. > > I am running a store using Amazon's back end (http:// > store.postpeakliving.com). I have no access to the back end whatsoever > but I can change the HTML, add Javascript and thus can use GWT. > > One feature Amazon doesn't give its merchants is the ability to fill > the shopping cart with multiple items using only one click -- a sort > of "buy the kit" functionality. > > I'd like to use GWT to create that. > > Here is what I'm thinking: > * show a dialog box with the message "One moment as we fill your > shopping cart with those products." > * given a list of product SKUs (probably passed via a cookie), send > the "add product to cart" message for each one > > From a design perspective, it would be wonderful if the background > page didn't show that the products were being added. > > So here are my questions: > * is there a way to "turn off" the browser display or "freeze" it so > that I can work in the background? Then turn it back on? > * does anyone know of a tutorial similar to this task? > * are there any other hidden snafus to watch for? > > Thanks for any help you can provide. > > -Andre' > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWTCanvas image distortion
Hi Thad, Could you post up some code to help reproduce the problem? Also, if you had a public link available to the image you were using for you canvas, that would definitely help find out what's going on. Cheers, -Sumit Chandel On Thu, Oct 16, 2008 at 1:55 PM, Thad <[EMAIL PROTECTED]> wrote: > > I've been experimenting with gwt-canvas (gwt.canvas.client.Canvas) > 0.4.0 modified to add drawImage(). > > Today I tried GWTCanvas (gwt.canvas.client.Canvas) from Sept 4th. The > image I'm displaying is a 636x850 pixel PNG. This image displays fine > in IE but in Firefox and Safari, it is very distorted--zoomed and > stretched--with only a portion displayed (though I set the canvas to > the ImageElement size). > > Ideas? > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Persistent Ghost Connections in Tomcat after GWT App is reloaded
Hi ky, You're probably more likely to get a better reply on the tomcat-users mailing list since this issue has more to do with using Tomcat rather than working with GWT. You can find a link to the tomcat-users mailing list at the link below: http://tomcat.apache.org/lists.html#tomcat-users However, I did want to mention that what you're trying to do could definitely benefit from a comet design approach to your application, which as I read it, isn't what you're currently using. You can find some great details about using Comet with GWT on the thread linked below just in case you wanted to learn more about the design and possibly use it for your application. Using Comet with GWT: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/97d49bf5a3caa6ff/ebf84a76d9c63af7 Hope that helps, -Sumit Chandel On Thu, Oct 16, 2008 at 12:56 PM, ky <[EMAIL PROTECTED]> wrote: > > I wrote a very basic webapp that synchronizes a data model on a server > between many clients. Essentially, the model is the position of a > dialog box that clients can move a box around on their screen. When a > move occurs, that change is sent to the server and all other clients > immediately see the box update to its latest position on their screens > as well. > > The way I implemented this is through these methods: > > In DataServiceImpl.java, there is the getLatestModelFromServer() > method. The client calls this method through RPC to receive model > updates from the server when any changes are made. > > In the client code, whenever the client drags the dialog box and > releases (onmouseup), the client calls the updateServerModel() method > through RPC. > > > In getLatestModelFromServer(), there is the following loop: > > while(!thereAreUpdates) { > wait(); > } > // after update occurs, return the latest server model to the client. > > > In updateServerModel(), whenever a client updates the server's model > (i.e. the coordinate position of the dialog box), the method calls > NotifyAll() and sets thereAreUpdates to true, which makes all clients > waiting for a response from getLatestModelFromServer() get the latest > model. When they do, these clients call getLatestModelFromServer() > again (in the onSuccess method of the callback). Thus, clients always > have a persistent connection with the server, always waiting for > updates. > > The code works as designed, concurrency issues aside. One client can > drag the dialog box anywhere and when he releases the drag, all other > clients connected to the server through getLatestModelFromServer() > receive the new coordinates and see their box move from the old > position to the new one. But here is my problem: > > > In Tomcat Manager, one persistent request per client is created while > the webapp is running. However, when I close all the web browser > windows, the following shows up under Server Status: > > POST: /[application name]//DataService HTTP/1.1 > > ...and it shows up one per client I used! The oddest thing is, even > when I completely reload the application context, these ghost > connections are still there. I cannot get rid of these without > restarting the entire Tomcat server. > > I must not be understanding something because I thought reloading the > context resets this kind of thing. Does anyone know why these > connections persist even after the browser windows are closed and the > application is reloaded? Is there any way to terminate these > connections? Each ghost connection costs a thread =( > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Trouble getting splitpanel location/size inside panel.
Hi shaselai, It seems to me that what you're most interested in is actually the absolute position of the left and right widgets contained in the HorizontalSplitPanel rather than the panel's split position. I believe this makes sense since you want to retrieve and restore layout positions for widgets contained in the left and right panels contained in the split panel, rather than directly in the split panel itself. If that's the case, perhaps these calls are more what you're looking for rather than the getAbsoluteTop() and getOffsetWidth() calls you're making on the split panel, which will only return the positions for the split panel, and not the subpanels it contains: hsp.getLeftChild().getOffsetWidth(); hsp.getRightChild().getOffsetWidth(); Also, the reason why you may be getting the value of 0 for getAbsoluteTop() and getOffsetWidth() on the horizontal split panel could be because of the time at which you're making those calls. That is, if you're making those calls as your application is loading, it's possible that the calls are being made before the split panel is completely rendered on the page, which means you'll read uninitialized values instead of the actual position of the split panel. Try delaying the call to those methods a few seconds, you should be able to read in the right value for the split panel position. Hope that helps, -Sumit Chandel On Thu, Oct 16, 2008 at 12:41 PM, shaselai <[EMAIL PROTECTED]> wrote: > > I have a setup where I have a vertical panel that holds a horizontal > split panel. The horizontal split panel holds on its left a vertical > split panel containing two vertical panels and on its right a vertical > panel. I basically drag items to the right panel and restores them > through UI(open/load). The problem is the splitpanels are draggable > and when i save the location of the objects they are saved as the > location prior to any changes in the dragging of the splitpanels. So > if I dont drag the splitpanel the leftmost position inside the right > panel might be 150. However, if i drag the splitpane right and loads > up the items, the location (150,y) is no longer where it was supposed > to be. So I have to save the size relative to the scrollpanel's > location (ex. 20 to the right of the splitpanel). The problem arises > when I try to find the current location of the splitpanel. i tried the > getOffsetWidth, getAbsoluteLeft() of the panels and they all return 0. > Is there a way to find out the current location of the splitpanel's > "slider"(the thing you move left/right) so the items can be loaded > relative to that? > > 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Bug of shift operation of GWT?
I am doubting that there is a bug in bit shift '>>>' of GWT1.5. int num 0xf000f000; num |= num >>> 16; Isn't the result the same as bit shift '>>' ? Though it is necessary to have dealt sure, as follows, and provisionally. num |= 0x &(num >> 16); Is this a bug of GWT1.5? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How about such a usage of the history?
Hello everyone, I made the program that led the ball to the goal with GWT 1.5. It accompanies the calculation of coordinates of the battleship style. Sample2" : < http://www.ab.auone-net.jp/~sawaki/ja/predow3/Gwth.html > It shows the position only in a Japanese text without the display in graphic. Please refer to the source code to which here is greatly excerpted. - Topic 'how to open source' at September 8th 5:46PM - You might be seemed to be peculiar to work of the history button. Does it seem that the user rejects the movement of this history button? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Selenium IDE problem
We haven't used trees, but for everything else we had to use a global id generator: Widget x = ...; Ids.add(x); // set's the id of x to some unique id Joe On Oct 21, 2:25 am, Markuz05 <[EMAIL PROTECTED]> wrote: > I'm trying to use Selenium IDE to test my web application. > Is it possible that selenium doesn't record click on my item tree? > How can i resolve this problem? > I think that this tool could be very usefull for my tests but this > problem stops me ; > thank you > Markuz --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Help me!!!!!!
I completely agree with Paul's response. But for further clarification: if you need help, you need to include more information. I'm not certain what you are asking, and if I were to guess, I'm not certain why you'd want to do anything like what I think you're asking. The bottom line: please provide more information. This community IS here to help, but you have to give us a little to work with. Later, Shaffer On Oct 20, 5:42 pm, Paul Sullivan <[EMAIL PROTECTED]> wrote: > read the documentation > > > Date: Mon, 20 Oct 2008 16:09:10 -0700> Subject: Help me!!> From: [EMAIL > > PROTECTED]> To: Google-Web-Toolkit@googlegroups.com> > > hi there,> i need > > to know if i can use a GWT library in main method in java> project.> please > > help me> > > _ > > Win an Xbox 360 or £200 Top Shop > Vouchershttp://clk.atdmt.com/GBL/go/115454062/direct/01/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
RE: Help me!!!!!!
read the documentation > Date: Mon, 20 Oct 2008 16:09:10 -0700> Subject: Help me!!> From: [EMAIL > PROTECTED]> To: Google-Web-Toolkit@googlegroups.com> > > hi there,> i need to > know if i can use a GWT library in main method in java> project.> please help > me> > _ Win an Xbox 360 or £200 Top Shop Vouchers http://clk.atdmt.com/GBL/go/115454062/direct/01/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Help me!!!!!!
hi there, i need to know if i can use a GWT library in main method in java project. please help me --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
IDEA is a very nice tool and not even remotely dead at all. That is independent of the market for commercial add-ons for it. Just look at their add-on/plug-in pages and you will see exactly what I mean. The number of commercial add-ons is very small. Every IDE usage servey that I have seen (from multiple sources) shows that the Eclipse (and its many incarnations) user base is about 10x the user base of IDEA. On Oct 20, 12:54 pm, gregor <[EMAIL PROTECTED]> wrote: > Have you actually tried it (and I don't mean their Swing GUI builder > which is c**p)? Why are you so sure it's dead? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Date and Time serialization
Thank you so much Chris, this worked. On Oct 17, 8:49 pm, Chris <[EMAIL PROTECTED]> wrote: > As others replied, this is the expected behavior. However, I also had > the need to make sure the date object was not changed due to different > timezones of the client and server. There is another thread, I don't > have a link to it handy but you could search for something like "date > serialization", where it was suggested to replace the gwt default date > serialization logic. That is what I did. > > Warning, you need to compile the GWT java libraries yourself and this > change affects all Date serialization. Since that is what I wanted, I > didn't look for a more refined method that I could be applies to only > specific dates. Here is what I replaced: > > The following file is in the user/src directory of the gwt source > tree. > > Good luck, > Chris > > package com.google.gwt.user.client.rpc.core.java.util; > > import com.google.gwt.user.client.rpc.SerializationException; > import com.google.gwt.user.client.rpc.SerializationStreamReader; > import com.google.gwt.user.client.rpc.SerializationStreamWriter; > > import java.util.Date; > > /** > * Custom field serializer for [EMAIL PROTECTED] java.util.Date}. > */ > public final class Date_CustomFieldSerializer { > > public static void deserialize(SerializationStreamReader > streamReader, > Date instance) { > // No fields > } > > public static Date instantiate(SerializationStreamReader > streamReader) > throws SerializationException { > // return new Date(streamReader.readLong()); > return new > Date(streamReader.readInt(),streamReader.readInt(),streamReader.readInt(),s > treamReader.readInt(),streamReader.readInt()); > } > > public static void serialize(SerializationStreamWriter streamWriter, > Date instance) throws SerializationException { > // streamWriter.writeLong(instance.getTime()); > streamWriter.writeInt(instance.getYear()); > streamWriter.writeInt(instance.getMonth()); > streamWriter.writeInt(instance.getDate()); > streamWriter.writeInt(instance.getHours()); > streamWriter.writeInt(instance.getMinutes()); > } > > } --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 1.5 Float Serialization in a generic Map
So my mistake for not including the FULL source but I did discover something. The actual code that doesn't work isn't with the Map but with the @SearchableBoostProperty on the getter. This is an annotation we use for Compass/Lucene to boost/ score a document higher. The defaultValue property on that annotation is set to 1.0f and appears to be the cause of the SerializationException. Removing that annotation eliminates the Serialization issues we are experiencing but doesn't solve the over all issue since we need that annotation. @SpaceExclude() @SearchableBoostProperty() public float getRank() { Float f = (Float) properties.get("rank"); return ( f == null ? 1.0f : f.floatValue ); } On Oct 20, 1:07 pm, chicoman25 <[EMAIL PROTECTED]> wrote: > I've read through the Serialization guide but I'm still struggling > with a particular issue. > > We are using GWT as a front end to manage an application using > Gigaspaces. One design decision that was made early was to provide a > HashMap in the POJO transfer object so we could make > changes to the POJO w/o causing a side effect to the JavaSpace. The > way we do this is: > > class MyEntity{ >Map properties = new HashMap(); > >public float getRank() >{ > Float f = (Float) properties.get("rank"); > return ( f == null ? 1.0f : f.floatValue ); >} > >public void setRank(float f) >{ > ... > properties.put("rank", f ); >} > > } > > I understand that Object is not Serializable but float is. The error > that essentially comes from GWT on our call to > RPC.encodeResponseForSuccess is the following: > > com.google.gwt.user.client.rpc.SerializationException: Type > 'java.lang.Float' was not included in the set of types which can be > serialized by this SerializationPolicy or its Class object could not > be loaded. For security purposes, this type will not be serialized. > > It appears that GWT knows the Object is of type Float. Can anyone > tell me if it's possible to use GWT in this way or am I going about it > all wrong. Setting the HashMap to have String, Float isn't an option b/ > c the value can be any type of Serializable Object. It has to be > Serializable or else the JavaSpace wouldn't allow us to pass the data > across the space so there are checks else where. > > Thanks for any help. > > -Ryan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Background image
hey there, You can just add a css style to any panel. For instance, i used firebug to change the style on the box above so that there is a repeating background image of the google logo. The style looks like this. Screenshot http://drop.io/pytdu4r/asset/background-repeat .cb { background-image:url(http://www.google.com/intl/en_ALL/images/ logo.gif); } In the gwt code, you would have something like this: SimplePanel container; container.setStyle("cb") later, bryan On Oct 20, 7:56 am, "S. Oomes" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I ám currently checking out GWT and im really impressed. The only > thing i ren into was the fact that i did'nt get a background image in > the application i was making. I want to use instead of the white > background a image i made. It must repeat in the complete page as > background. Is this possible to do and how do i do that. > > I dont have any experience at all with java but im going to learn that > in my 4 semester (don't now the correct name) on my school. So if some > one knows the awnser please explain exact where i need to place the > code or code's. When you, the responder to this artikle, are dutch you > can mail me the dutch explanation in dutch. Or post it here when this > is allowed of course! > > I'm looking forward to hear from you, > > Greetings S. Oomes --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Help me!
Hi Kim Kha, It's hard to provide support for the problem you're experiencing without more detail. It seems like you're just getting started with GWT and having some trouble getting used to some of the core concepts on setting up and creating a GWT project. I would strongly recommend checking out our Getting Started guide and seeing if that helps get you up and running with GWT. If not, you can post back on the group and mention which step you're getting stuck on so we can provide more focused support. You can check out the getting started guide at the link below: http://code.google.com/webtoolkit/gettingstarted.html Once you've completed that, you might want to take a look at our new tutorial which walks you through building an actual GWT StockWatcher application from start to finish. You can check out the tutorial at the link below: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=GettingStarted Hope that helps, -Sumit Chandel On Sat, Oct 18, 2008 at 8:01 AM, Nguyen Kim Kha <[EMAIL PROTECTED]> wrote: > > I can't run GWT. I installed JDK 6 update 10, and I run other > applications well. When I click on gwt-dev-windows.jar to run GWT, > nothing appears. > > What are my errors? > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: i need implement gwt with email
You'll need to do that from the server side ... GWT is bound by what is possible in JavaScript on a web browser, and connecting directly to an email server is not. You can certainly create an email UI that runs in the browser, send the parts of the email (body, to, from, etc) to the server, and send the email from your server (using any number of server side technologies). -jason On Oct 20, 2008, at 8:27 AM, andres wrote: > > i need information about gwt implement with email, i need send email > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Deferred binding result type gone after refresh in hosted mode
Hi Ivo, Something that John mentioned could cause issues is if your generator isn't generating unique classnames for unique data. That is, each time the class that the generator would generate on a given run differs from the previous run, the classname of the class it would generate should be unique. Otherwise, the class will not be regenerated as the classname is the same and the generator subsystem assumes that the class doesn't need to be regenerated. Please check it out and let us know if this could be causing the problem. If not, we'll keep digging further until we find out what's going on. Hope that helps, -Sumit Chandel On Mon, Oct 20, 2008 at 1:15 PM, Sumit Chandel <[EMAIL PROTECTED]>wrote: > Hi Ivo, > Thanks for digging around and identifying the potential culprit. I'm > checking this out with John to see if this was a new change or existing > behaviour that you somehow got around in 1.4.x. > > In the meantime, could you refer us to the lines of code you traced this > down to? After checking that out, it's possible that we'll have to log this > as a bug in the Issue Tracker. > > Many thanks, > -Sumit Chandel > > On Mon, Oct 20, 2008 at 9:39 AM, Ivo <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> While trimming down the application to a minimal testcase (which is of >> course a form of debugging), >> I found the culprit: a bit of caching in the Generator that prevented >> the class from being generated >> anew on a refresh, if it was already generated earlier on. That goes >> to show that premature optimization >> is once again the root of all evil. :) >> >> Has there been a change in behaviour here, causing generated classes >> to be deleted and >> regenerated on a refresh? Now that I think of it, I actually expect >> the classes to be generated anew >> and it may have been entirely coincidental that it worked in the first >> place. >> >> Well, thanks for encouraging me to perform this bit of digging :) >> >> best regards, >> -- >> Ivo >> >> >> > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Deferred binding result type gone after refresh in hosted mode
Hi Ivo, Thanks for digging around and identifying the potential culprit. I'm checking this out with John to see if this was a new change or existing behaviour that you somehow got around in 1.4.x. In the meantime, could you refer us to the lines of code you traced this down to? After checking that out, it's possible that we'll have to log this as a bug in the Issue Tracker. Many thanks, -Sumit Chandel On Mon, Oct 20, 2008 at 9:39 AM, Ivo <[EMAIL PROTECTED]> wrote: > > Hi, > > While trimming down the application to a minimal testcase (which is of > course a form of debugging), > I found the culprit: a bit of caching in the Generator that prevented > the class from being generated > anew on a refresh, if it was already generated earlier on. That goes > to show that premature optimization > is once again the root of all evil. :) > > Has there been a change in behaviour here, causing generated classes > to be deleted and > regenerated on a refresh? Now that I think of it, I actually expect > the classes to be generated anew > and it may have been entirely coincidental that it worked in the first > place. > > Well, thanks for encouraging me to perform this bit of digging :) > > best regards, > -- > Ivo > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
IntelliJ does not have a d-n-d GUI designer for GWT. I think they were referring to the pretty-basic GWT plug-in that doesn't provide a GWT GUI builder. Tom JacoGr wrote: >> I use IntelliJ IDEA. >> > > I actually wan't aware that IDEA had a drag-n-drop GUI designer for > GWT. (I know about the GWT support, but though that was just > contextual.) > > GWT Designer for me - not perfect, but more or less does the job. > > Jaco > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
how to compile my xxxxServiceImpl.java
Hello, i have terminated my project, which runs under Eclipse. In that project, i use a servlet, which connect to MySQL with JDBC. Well, everything works fine. Now, i want to deploy it. So i have use my -compile file. I get my www/ directorie. Tomcat is well installed here. I now have to compile my MotServiceImpl.java. Im not used about the javac, mainly the CLASSPATH. when i type javac MotServiceImpl.java, i get a lot of errors, cause no package are found. Even if i put all the GWT jar files into my current dir, and even if i type javac -cp ../client/* MotServiceImpl.java the idea is that i tell javac to go ../client to find my packages, but still the same error : MotServiceImpl.java:13: package com.google.gwt.sample.stockwatcher.client does not exist (yeah, i have create my project using the stockwatcher tutorial example). I suppose all my problems are into the CLASSPATH, but im used to Eclipse, run as, ... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
gwt tomcat jdbc
Hello, with eclipse, i have deloped a little application, including a servlet. this servlet connect to my mysql server using jdbc. When i run it into the host mode, everythings perfect. the sql request are ok, etc... when i deploy my app into tomcat, everythings ok too, BUT it seems to fail when there is mysql request. The interface is ok, but when the app is supposed to take some informations by mysql, i wait in vain. nothing happen. 5 hours im on that tomcat stuffs... please help me --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
Bruce et all, On behalf of the Jetty team, can I say that we're delighted to hear the GWT team is considering using Jetty for hosted mode. According to NetCraft statistics, Jetty has around 70-80% of the market share of Tomcat for *visible* deployed servers. Of course, as Jetty is embedded in numerous products, like Eclipse IDE and Grails, then actually the number of Jetty installations out there is muuch bigger :) And there are some very very large production sites that run under Jetty, but mostly these commercial sites obscure the server id. As you probably already know, Jetty has been a leader in the area of async. servlet processing (aka "Continuations": http://docs.codehaus.org/display/JETTY/Continuations) and we've already integrated this capability into the GWT remoting framework (http://docs.codehaus.org/display/JETTY/GWT) - we'd love to work with the GWT team to make that integration even better. As far as Jetty/Tomcat differences go, since servlet spec 2.5 there is much less scope for spec ambiguities to cause different behaviour between the 2 servers, and generally speaking what runs on one will run on the other. We've hardly received any portability issues at all since spec 2.5. Of course, should a portability issue arise, we're more than happy to work with the GWT team to resolve it. best regards Jan On Oct 14, 9:48 am, "Bruce Johnson" <[EMAIL PROTECTED]> wrote: > Hi everyone, > Hope you're enjoying 1.5. > > The GWT team has started putting together a 1.6 roadmap, which we'll publish > as soon as we have it nailed down. Two of the areas we want to work on for > 1.6 are some improvements to hosted mode startup time and a friendlier > output directory structure (something that looks more .war-like). > > As part of this effort, we've all but decided to switch the hosted mode > embedded HTTP server from Tomcat to Jetty. Would this break you? (And if so, > how mad would you be if we did it anyway?) We figure most people who really > care about the web.xml and so on are already using "-noserver" to have full > control over their server config. > > Thanks, > Bruce --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Getting the alignment of a cell from a FlexTable.
Looking at the docs for FlexTable it seems that it is not possible to to see if any type of alignment has been set on a certain cell. Does anyone know if this is possible. Here is my problem: I'm using gwt-dnd and on a table it is possible to re-order a list. 2 of the 3 cells in this table are aligned center and middle for horizontal and vertical alignment respectively. If I drag and drop one time to another location the remove and add action "forgets" the alignment of the stuff inside the cells making it look ugly. I figured ok no problem I will just check each cell and copy over it's alignment when the new row is created. The problem is there is no method available to GET the alignment from a cell. Anyone have any ideas. I appreciate the 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Date and Time serialization
The issue here is that you don't seem to like the established behavior of dates. This is not a GWT issue, but rather the well known behavior of dates in general. If you don't want date behavior, then use a format that doesn't exhibit this behavior (Strings tend to work nicely). -jason On Oct 17, 2008, at 3:44 PM, sim123 wrote: > > Thanks for response Jason but what about dates, I am setting my > birhtday as today's date and somebody who is in different timezone, > GWT does conversion of birthdate (one day ahead or one day late), for > example if you set any date to be 10-15-2008 you will see same date as > either 10-14-2008 or 10-13-2008 respective to the server's time zone, > is it expected!! > > Another case is I sent an invite saying come to my home this monday at > 4:00 pm, if you are in different time zone you will see same thing as > come to my home on this Monday at 7:00 pm (as GWT did Time > conversion), is it expected too!! > > I think this is the data which is being converted and any program > should not play with user's data, GWT is doing this conversion then to > without any documentation, even if it is expected behavior, it should > be documented and there should be some way to disable this auto > conversion. I don't think passing Strings back and forth would be a > good idea, if I have Date object inside a map/list i need to traverse > through that list/map convert this date into String and return it to > client where client does same thing again, I can not construct a > String right from the beginning as database is returning me Date and > there could be so many different problems with different approaches, I > would prefer to write my own custom serializers in this case, can you > or anyone please tell me what is the problem with the serializer I > mentioned in my previous post? > > Thanks > > On Oct 18, 9:08 am, Jason Essington <[EMAIL PROTECTED]> wrote: >> Of course this is expected behavior! When you are talking about time, >> that time is relative to your location. Just because it is noon where >> you are, doesn't mean it is noon where I am. >> >> If you are in New York, and post a schedule to your server that >> indicates that you will be having a conference call at 4pm, when your >> associate in LA pulls up the schedule, you don't want it to say 4pm, >> you want it to say Noon, otherwise you'll miss each other by 4 hours. >> And what about your partners in India? you don't want them to have to >> guess at what time zone you set that schedule in, then try to figure >> the offset on their own. >> >> If you don't want to take into account timezones when passing date/ >> time back and forth between the server, simply serialize the data >> yourself to something that doesn't include time zones ... like a >> string "Jan 28, 2008 1:45pm" >> >> -jason >> >> On Oct 17, 2008, at 12:56 PM, sim123 wrote: >> >> >> >>> Oh!! so no one knows is it the expected behavior? Or it could be >>> changed? Can any one please suggest that creating custom serializers >>> for java classes is a good idea or not and what could be the pros >>> and >>> cons of this approach? >> >>> Thanks. >> >>> On Oct 18, 5:46 am, "Manuel Carrasco" <[EMAIL PROTECTED]> >>> wrote: I had the same problem passing java.util.Date from client to server. When they use different TZ, dates differ. Eventually I use String representation of the dates for client/server dialog, and use DateTimeFormat for transformations. >> On Fri, Oct 17, 2008 at 6:36 PM, Tahir Akhtar <[EMAIL PROTECTED]>wrote: >> > There is another issue related to serialization of dates that can > occur due to emulation of long with double in generated > JavaScript. >> > See: >> > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa > ... >> > On Oct 17, 2:57 am, sim123 <[EMAIL PROTECTED]> wrote: >> Can some one please reply to my post, please!!! >> I just want to know if it is expected behavior, and if it is >> can I >> create custom serializer for not doing this conversion for >> example I >> tried changing Date_CustomFieldSerializer .java's code in to GWT >> source to be >> >> public static void deserialize(SerializationStreamReader >> streamReader, >> Date instance) { >> // No fields >> } >> >> public static Date instantiate(SerializationStreamReader >> streamReader) >> throws SerializationException { >> Date d = Date.valueOf(streamReader.readString()); >> return d; >> } >> >> public static void serialize(SerializationStreamWriter >> streamWriter, >> Date instance) throws SerializationException { >> streamWriter.writeString(instance.toString()); >> } >> >> and it worked, it is not doing any conversion for Date, however I >> don't want to play with real GWT's code so just wondering if I >> could >> write
mapControls disappear and openInfoWindowTabs not working
mapControls disappear and openInfoWindowTabs not working Hi, I am using and application with gwt, google maps and ext. You can access it at http://debegesa.dreamhosters.com/map/SMap.html This Monday, without any code change, it has stop working. First, the controls to zoom the map and to select the active map layer are not showing anymore. Second, when you click a geotag, the new info window that should appear with the details of the geotag does not appear. Although I am getting no error, the application is not working properly. I am using previous version of the libraries (gwt 1.4, gwt-ext 0.9.4 and googlemaps_gwt_2.2.1) but the application has stop working properly suddenly this morning (20/10/2008). Any ideas about what could be wrong? Some changes in the googleMaps controls for previous versions? Some errors on my application? Thanks a lot for your help This is the code I am using to show the info window GInfoWindowOptions opts = new GInfoWindowOptions(); opts.setMaxWidth(25); marker.openInfoWindow(new HTML("algo"),opts); and for the map private void createMap() { // Create map widget mapWidget = new GMap2Widget("100px", "100px"); mapPanel.add(mapWidget); // renders the map gmap = mapWidget.getGmap(); //mapContainerPanel.add(new HTML( // "Loading..."), 200, 200); gmap.enableScrollWheelZoom(); // adds zoom, pan and type controll gmap.addControl(GControl.GMapTypeControl()); gmap.addControl(GControl.GOverviewMapControl()); gmap.addControl(GControl.GLargeMapControl()); gmap.addControl(GControl.GScaleControl()); setFullscreen(); gmap.setZoom(13); // move map center to san sebastian, spain gmap.panTo(new GLatLng(43.307005107782196, -2.3850631713867187)); } --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Hosted Mode and setFocus()/setTabIndex()
Issue already opened since Feb, 20 2007 Issue 712: Tab key does not change widget focus in Linux GWT Shell. Issue very annoying, plz vote for resolution On 20 out, 07:25, jbdhl <[EMAIL PROTECTED]> wrote: > Should I file an issue in the issue tracker about this problem? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
programatically react on changes of the splitter position of a SplitPanel
Hi there! I've got a problem. I would like to react on changes of the splitter position of a SplitPanel, for example for resetting the position to a minimum or maximum value that it is allowed to have. Since VerticalSplitPanel is final it is not possible to extend it. I've tried to make a copy of VerticalSplitPanel as some guys discussed there --> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/cf40722ccfd558f/9b3817141020448c This seemed to work at first, but some IE7 browser quirk workaround stopped working, and so my copy of VerticalSplitPanel doesn't work in IE7. Has anybody an idea how else it would be possible to run custom code after the Splitter has been moved? Or if not: how to copy the VerticalSplitPanel without breaking the IE7 browser quirk workaround? I called my copy of the VerticalSplitPanel "MyVerticalSplitPanel" and left it in the same package as the original VerticalSplitPanel. When i didn't rename the classname, my class kept beeing ignored. Thanks for your help guys! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Background image
Hello everyone, I ám currently checking out GWT and im really impressed. The only thing i ren into was the fact that i did'nt get a background image in the application i was making. I want to use instead of the white background a image i made. It must repeat in the complete page as background. Is this possible to do and how do i do that. I dont have any experience at all with java but im going to learn that in my 4 semester (don't now the correct name) on my school. So if some one knows the awnser please explain exact where i need to place the code or code's. When you, the responder to this artikle, are dutch you can mail me the dutch explanation in dutch. Or post it here when this is allowed of course! I'm looking forward to hear from you, Greetings S. Oomes --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Feedback on my gwt powered app
Hello, i just released the first version of my gwt powered project and like to use this opportunity to thank you for your support! GWT and this group are amazing! Thank you! My little pet project is an image gallery for landmarks/sightseeings, where everyone can join and upload images. It can be found on www.hihigu.com (english) and www.hihigu.de (german). Its written 100% in GWT and uses the google maps api. Feel free to play around with it and post a reply. Btw, what can i do to get hihigu listed on the gwt featured projects site at http://google-code-featured.blogspot.com/ ? I appreciate any feedback! 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
i need implement gwt with email
i need information about gwt implement with email, i need send email --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Hosted Mode and setFocus()/setTabIndex()
Issue 712: Tab key does not change widget focus in Linux GWT Shell. Reported by ted.andrews, Feb 20, 2007 Same for me on gwt 1.5.3 centos 5, java version "1.6.0_05" Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing) On 20 out, 07:25, jbdhl <[EMAIL PROTECTED]> wrote: > Should I file an issue in the issue tracker about this problem? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
dotnetnuke and GWT
Is it possible to use GWT generated code with dotnetnuke ? Dotnetnuke has a html editor. Is there a way we can use GWT generated code in it a dotnetnuke site ? any articles of success regarding 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Help me!
1.) Learn English 2.) RTFM @ http://code.google.com/webtoolkit/gettingstarted.html On 19 Okt., 01:54, Nguyen Kim Kha <[EMAIL PROTECTED]> wrote: > Yeh! Thank you very much! I run it very well... But, do you think GWT > need the installer? > > On Oct 19, 3:37 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > > > Read page 1 of the documentation > > Ian --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT 1.5 Float Serialization in a generic Map
I've read through the Serialization guide but I'm still struggling with a particular issue. We are using GWT as a front end to manage an application using Gigaspaces. One design decision that was made early was to provide a HashMap in the POJO transfer object so we could make changes to the POJO w/o causing a side effect to the JavaSpace. The way we do this is: class MyEntity{ Map properties = new HashMap(); public float getRank() { Float f = (Float) properties.get("rank"); return ( f == null ? 1.0f : f.floatValue ); } public void setRank(float f) { ... properties.put("rank", f ); } } I understand that Object is not Serializable but float is. The error that essentially comes from GWT on our call to RPC.encodeResponseForSuccess is the following: com.google.gwt.user.client.rpc.SerializationException: Type 'java.lang.Float' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. It appears that GWT knows the Object is of type Float. Can anyone tell me if it's possible to use GWT in this way or am I going about it all wrong. Setting the HashMap to have String, Float isn't an option b/ c the value can be any type of Serializable Object. It has to be Serializable or else the JavaSpace wouldn't allow us to pass the data across the space so there are checks else where. Thanks for any help. -Ryan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
Hi +1 for Jetty Thanks for a great UI toolkit! /Flemming On Tue, Oct 14, 2008 at 12:48 AM, Bruce Johnson <[EMAIL PROTECTED]> wrote: > Hi everyone, > Hope you're enjoying 1.5. > > The GWT team has started putting together a 1.6 roadmap, which we'll > publish as soon as we have it nailed down. Two of the areas we want to work > on for 1.6 are some improvements to hosted mode startup time and a > friendlier output directory structure (something that looks more > .war-like). > > As part of this effort, we've all but decided to switch the hosted mode > embedded HTTP server from Tomcat to Jetty. Would this break you? (And if so, > how mad would you be if we did it anyway?) We figure most people who really > care about the web.xml and so on are already using "-noserver" to have full > control over their server config. > > Thanks, > Bruce > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT in java framework
hi there, im just start to use a GWT library to make a java project and i would want to know if is possible to integrate this kind of library in java project contest. In other world, i need to call GWT's function in my java project main like: import com.google.gwt.core.client.*; public static void main(...) { SearchControlOptions options = new SearchControlOptions(); ... ... } Is this possible 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
necetio enviar correos desde gwt
me gustaria saber si alguiien me puede colaborar con el codigo que se necesita para enviar correos masivos desde gwt Gracias --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
> I use IntelliJ IDEA. I actually wan't aware that IDEA had a drag-n-drop GUI designer for GWT. (I know about the GWT support, but though that was just contextual.) GWT Designer for me - not perfect, but more or less does the job. Jaco --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Listener for moving split panel?
Hi Shaselai, I was half worried you would say "AbsolutePanel". If you use one, all bets are off as to how it works in resizing situations - it's basically up to you - I'm not competent to advise you how to best proceed. As I understand it, AbsolutePanel works fixed pixel by pixel over the browsers current window area, so if you move the panel itself (e.g. by moving the HSP splitter for example) anything you previously put into it will think it was where it was before you moved it, so to speak. I think working with D&D and AP's, you can't expect HSP to work properly, but I may be wrong. There may be a way to move the whole shooting match, but most cool examples of AP stuff I've seen have always been in a fixed position. No help I'm afraid gregor On Oct 20, 7:47 pm, shaselai <[EMAIL PROTECTED]> wrote: > Hi gregor, > > On my right side is an Absolutepanel. The API says it doesnt resize > automatically and I am using that panel for drag and drop which > requires an Absolutepanel so I don't think i can change that panel. > Now I tried putting the absolutepanel inside a verticalpanel instead. > What happens now is the absolutepanel need to be resized to 100%,100% > so it can fit inside the vertical panel. However, when i start drag > objects inside the absolutepanel/verticalpanel the verticalpanel's > scrollbar keeps extending in the X direction when there's more than > enough space. So if i drag a widget over it may have a huge width and > same height... kind of annoying especially it happens everytime i > drag. Do you know why this is happening? Also, is there a way to > listen to the HSP so when the user moves it i can dynamically change > the size of the absolutepanel so objects dont get squished? Or perhaps > there is a way to make the HSP non-draggable so i dont need to worry > about? > > thanks! > > AbsolutePanel dragPane; > VerticalPanel dragContainer; > dragPane.setSize("100%","100%") > dragContainer.setSize("100%","100%") > dragContainer.add(dragPanel); > > On Oct 20, 2:03 pm, gregor <[EMAIL PROTECTED]> wrote: > > > Hi Shaselai, > > > HSP can be complex in this respect - more details required for > > pinpoint assistance. > > > However in general: > > > - Use a container panel (maybe Composite?) for your RHS and set it's > > size to (100%,100%) > > - Place your RHS widgets in this container and size them in relation > > to it %-wise. > > - then leave the HSP to deal with overall sizing itself - don't get > > involved with managing this yourself > > > This works pretty much OK for horizontal sizing, but maybe won't for > > vertical sizing. HSP has an inbuilt ScrollPanel that will stretch the > > display downward (i.e. document-style) if required. Repost details if > > you have a problem with this. > > > regards > > gregor > > > On Oct 20, 5:36 pm, shaselai <[EMAIL PROTECTED]> wrote: > > > > I am using a horizontal splitpanel. I divided into 2 halves and the > > > right half has widgets in it. The problem arrives when I move the > > > split panel around by dragging the "dot" left and right. The widgets > > > on the right side appears to be "out of the panel" when i drag the bar > > > too much to the right. How do i listen to the drag so that when it > > > does happen i can increase the panel size on the right so widgets dont > > > "disappear"? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Listener for moving split panel?
Hi gregor, On my right side is an Absolutepanel. The API says it doesnt resize automatically and I am using that panel for drag and drop which requires an Absolutepanel so I don't think i can change that panel. Now I tried putting the absolutepanel inside a verticalpanel instead. What happens now is the absolutepanel need to be resized to 100%,100% so it can fit inside the vertical panel. However, when i start drag objects inside the absolutepanel/verticalpanel the verticalpanel's scrollbar keeps extending in the X direction when there's more than enough space. So if i drag a widget over it may have a huge width and same height... kind of annoying especially it happens everytime i drag. Do you know why this is happening? Also, is there a way to listen to the HSP so when the user moves it i can dynamically change the size of the absolutepanel so objects dont get squished? Or perhaps there is a way to make the HSP non-draggable so i dont need to worry about? thanks! AbsolutePanel dragPane; VerticalPanel dragContainer; dragPane.setSize("100%","100%") dragContainer.setSize("100%","100%") dragContainer.add(dragPanel); On Oct 20, 2:03 pm, gregor <[EMAIL PROTECTED]> wrote: > Hi Shaselai, > > HSP can be complex in this respect - more details required for > pinpoint assistance. > > However in general: > > - Use a container panel (maybe Composite?) for your RHS and set it's > size to (100%,100%) > - Place your RHS widgets in this container and size them in relation > to it %-wise. > - then leave the HSP to deal with overall sizing itself - don't get > involved with managing this yourself > > This works pretty much OK for horizontal sizing, but maybe won't for > vertical sizing. HSP has an inbuilt ScrollPanel that will stretch the > display downward (i.e. document-style) if required. Repost details if > you have a problem with this. > > regards > gregor > > On Oct 20, 5:36 pm, shaselai <[EMAIL PROTECTED]> wrote: > > > I am using a horizontal splitpanel. I divided into 2 halves and the > > right half has widgets in it. The problem arrives when I move the > > split panel around by dragging the "dot" left and right. The widgets > > on the right side appears to be "out of the panel" when i drag the bar > > too much to the right. How do i listen to the drag so that when it > > does happen i can increase the panel size on the right so widgets dont > > "disappear"? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Listener for moving split panel?
Hi Shaselai, HSP can be complex in this respect - more details required for pinpoint assistance. However in general: - Use a container panel (maybe Composite?) for your RHS and set it's size to (100%,100%) - Place your RHS widgets in this container and size them in relation to it %-wise. - then leave the HSP to deal with overall sizing itself - don't get involved with managing this yourself This works pretty much OK for horizontal sizing, but maybe won't for vertical sizing. HSP has an inbuilt ScrollPanel that will stretch the display downward (i.e. document-style) if required. Repost details if you have a problem with this. regards gregor On Oct 20, 5:36 pm, shaselai <[EMAIL PROTECTED]> wrote: > I am using a horizontal splitpanel. I divided into 2 halves and the > right half has widgets in it. The problem arrives when I move the > split panel around by dragging the "dot" left and right. The widgets > on the right side appears to be "out of the panel" when i drag the bar > too much to the right. How do i listen to the drag so that when it > does happen i can increase the panel size on the right so widgets dont > "disappear"? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: SuggestBox
I am not aware of a published Widget that would do this for you. On the surface, nothing you're asking for appears especially difficult to accomplish. Have you tried implementing this yourself with the GWT SuggestBox and a custom SuggestOracle? On Sun, Oct 19, 2008 at 2:42 PM, Sumved <[EMAIL PROTECTED]> wrote: > > Hi All, > > I wanted a SuggestBox, but with more feature like Address TextBox in > Compose mail section of GMail. > I will define the step: > > 1. Login to your GMail account. > 2. Click on Compose Mail. > 3. Type in something Address Box(with label "To"). > > You will see that whenever someone type 2-3 letters, it suggests you > different e-mail Ids. Selecting one of those, it add it into TextBox > but with one more character which is " ," (Comma). And, now you can > add one more e-mail Id and so on. > > I want exactly the same feature what I have describe. > Does GWT has this kind of widget or, any other GWT extended libraries? > > Thanking you. > > Regards, > Sumved Shami > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Announcing GWT 1.5.3
I'm seeing a same-origin security restriction exception in 1.5.3 where I didn't see it in 1.5.2. That is, I can switch my project back and forth between using 1.5.2 (no exception) and 1.5.3 (exception), with the same source code. I'm doing a RequestBuilder to "locahost:8080/url" in order to hit my server to POST some data. Means I'll be using 1.5.2 until I can figure out how to hit my local server from 1.5.3. Brian On Oct 20, 11:17 am, "nicolas.deloof" <[EMAIL PROTECTED]> wrote: > Hi, > > for maven users, this release will be available via maven central > repository in few hours (after rsync does its job). > > Nicolas > > On 18 oct, 00:22, Ray Ryan <[EMAIL PROTECTED]> wrote: > > > Hi, all. > > > We have just deprecated GWT 1.5.2, and replaced it with GWT 1.5.3. > > This new release has a small handful of patches, mainly aimed at > > fixing RPC problems with Android. You can download the update from the > > usual location: > > > http://code.google.com/webtoolkit/download.html > > > You may find that this pretty page hasn't updated yet in your neck of > > the woods. If so, try going straight to the download > > server:http://code.google.com/p/google-web-toolkit/downloads/list. > > > Enjoy, > > rjrjr > > > Release Notes for 1.5.3 > > > Fixed Issues > > > - RPC requests no longer fail on the embedded Android web browser > > > - Leaf TreeItems now line up with their non-leaf siblings > > > - Removing the last child node from a TreeItem no longer creates > > extra margins on the left > > > - HTTPRequest no longer uses POST instead of GET on some IE installs > > because of incorrect XHR selection > > > - Compiler now uses a more reliable check to prevent methods with > > local variables from being inlined > > getAbsoluteTop()/Left() can no longer return non-integral values > > > - Time.valueOf() no longer fails to parse "08:00:00" or incorrectly > > accepts "0xC:0xB:0xA". --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
noserver mode with ImageBundle
Hi, All images from my ImageBundle no longer appear in hosted mode when I use the -noserver flag. Everything else works fine. I've read this thread to no avail:- http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/991985d6e22a5d6c/49ac67d8ad5ff48a?lnk=gst&q=noserver+image#49ac67d8ad5ff48a In particular, I've made sure that the mosaic .png image is available in my own server, hosted at the same dir as the main html and js files. For example, if this is the URL in my hosted mode browser:- http://localhost:8080/main.html I'm able to access my mosaic file at http://localhost:8080/70E6A40FF1B3B30F365C2323E43B518C.cache.png However, the images from the bundle just do not appear in my app within the hosted browser. Any clues on what might be the problem? I'm using GWT 1.4.60. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
Hi Eric, 1) Like most folks, I've already forgotten about Swing! 2) I'd love to test drive your product, but 3) I'm afraid my IDEA is more important to me than your Designer! You've come up with the argument that nobody uses Intellij before, but I know a lot of people who use Intellij who used to use Eclipse - in fact I'd struggle to come up with a single case of someone voluntarily switching from IDEA to Eclipse. Kicking and screaming more like. The economics of IDEA are pretty much the same as yours IMO: infinitesimal in context. Have you actually tried it (and I don't mean their Swing GUI builder which is c**p)? Why are you so sure it's dead? regards gregor On Oct 20, 5:06 pm, Eric Clayberg - Instantiations <[EMAIL PROTECTED]> wrote: > 1) You should try Swing Designer (companion to GWT Designer). It is > completely bi-directional and reads and writes Java Swing code from > almost any source. I agree with you that tools that write to an extra > (redundant) XML file don't "cut it". In fact, the mere existence of > those intermediate files (which routinesly get lost) make them > dangerous and leave you with severe vendor lock in. A tool like Swing > Designer, in contrast, can read and write code written by any other > GUI builder and can reverse engineer 80-90% of code written by hand. > It provides support for dozens of code generation styles so you can > tune it to match yoru own style very easily. CodeGear, for example, > OEMs it for JBuilder 2008, and its code gen defaults in that > environment are set to match historical JBuilder code gen patterns. > > 2) The revserse engineering ability of GWT Designer makes it an ideal > tool for experimenting with GWT layouts. You can use the tool to mock > up a layout, look at the generated code, tweak the generated code > almost any way that you like, and then immediately see the effect in > the design view (w/o needing to constantly go in and out of hosted > mode). > > 3) Unfortunately, there is little or no marked for Intellij add-ons, > so for now, GWT Designer will remain an Eclipse-only tool (plus > JBuilder, MyEclipse, Rational, BEA, etc.). > > On Oct 20, 9:54 am, gregor <[EMAIL PROTECTED]> wrote: > > > I hand code as well. I have three main reasons for this: > > > 1) I used to write Swing stuff and found Swing GUI builders just > > didn't cut it, especially those that used intermediate XML files, > > largely because Swing's layout managers are difficult to represent as > > WYSIWYG in an IDE, organizing nested panel structures so I could see > > what was what was more trouble than it was worth, and I hated the way > > they wrote Java code. So I got used to writing GUI code by hand. > > 2) I found GWT to be much the same in the sense that the browsers were > > in control of layout, with the added spice that each browser is apt to > > behave slightly differently even with GWT. So hand coding enabled me > > to work out exactly how they worked, put me in control, enabled me to > > structure my GUI code as I wanted, and enabled me to find out things > > about how GWT worked I wouldn't have done if a GUI builder had done it > > for me. > > 3) I use Intellij IDEA for whichGWT Designeris not available so, > > partly because of the above two reasons, there is no way I would > > change back to Eclipse for the sake of a GWT GUI builder no matter how > > good it was. In that respect I'm biased, and I would probably have > > test drivenGWT Designerhad I been an Eclipse user, and I can't > > really say if I would have continued to use it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Deferred binding result type gone after refresh in hosted mode
Hi, While trimming down the application to a minimal testcase (which is of course a form of debugging), I found the culprit: a bit of caching in the Generator that prevented the class from being generated anew on a refresh, if it was already generated earlier on. That goes to show that premature optimization is once again the root of all evil. :) Has there been a change in behaviour here, causing generated classes to be deleted and regenerated on a refresh? Now that I think of it, I actually expect the classes to be generated anew and it may have been entirely coincidental that it worked in the first place. Well, thanks for encouraging me to perform this bit of digging :) best regards, -- Ivo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Listener for moving split panel?
I am using a horizontal splitpanel. I divided into 2 halves and the right half has widgets in it. The problem arrives when I move the split panel around by dragging the "dot" left and right. The widgets on the right side appears to be "out of the panel" when i drag the bar too much to the right. How do i listen to the drag so that when it does happen i can increase the panel size on the right so widgets dont "disappear"? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
If Jetty could get more configurable ( add jar files; bbdd connections, etc.. ) would be a great improvment. Simply using less memory and resources is a step ahead; +1 jetty For Gregor: both Tomcat and Jetty comply the Java servlet spec, so there are no expected problems on code if GWT swich from one to another. Oskar On 20 oct, 17:46, John <[EMAIL PROTECTED]> wrote: > Manuel Carrasco wrote:The most annoying issue with GWT is performance in > development mode. I mean, compiling, startng hosted mode and running GWT Unit > tests. So any action that improves these is welcome. > So my vote if for jetty > +1 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
1) You should try Swing Designer (companion to GWT Designer). It is completely bi-directional and reads and writes Java Swing code from almost any source. I agree with you that tools that write to an extra (redundant) XML file don't "cut it". In fact, the mere existence of those intermediate files (which routinesly get lost) make them dangerous and leave you with severe vendor lock in. A tool like Swing Designer, in contrast, can read and write code written by any other GUI builder and can reverse engineer 80-90% of code written by hand. It provides support for dozens of code generation styles so you can tune it to match yoru own style very easily. CodeGear, for example, OEMs it for JBuilder 2008, and its code gen defaults in that environment are set to match historical JBuilder code gen patterns. 2) The revserse engineering ability of GWT Designer makes it an ideal tool for experimenting with GWT layouts. You can use the tool to mock up a layout, look at the generated code, tweak the generated code almost any way that you like, and then immediately see the effect in the design view (w/o needing to constantly go in and out of hosted mode). 3) Unfortunately, there is little or no marked for Intellij add-ons, so for now, GWT Designer will remain an Eclipse-only tool (plus JBuilder, MyEclipse, Rational, BEA, etc.). On Oct 20, 9:54 am, gregor <[EMAIL PROTECTED]> wrote: > I hand code as well. I have three main reasons for this: > > 1) I used to write Swing stuff and found Swing GUI builders just > didn't cut it, especially those that used intermediate XML files, > largely because Swing's layout managers are difficult to represent as > WYSIWYG in an IDE, organizing nested panel structures so I could see > what was what was more trouble than it was worth, and I hated the way > they wrote Java code. So I got used to writing GUI code by hand. > 2) I found GWT to be much the same in the sense that the browsers were > in control of layout, with the added spice that each browser is apt to > behave slightly differently even with GWT. So hand coding enabled me > to work out exactly how they worked, put me in control, enabled me to > structure my GUI code as I wanted, and enabled me to find out things > about how GWT worked I wouldn't have done if a GUI builder had done it > for me. > 3) I use Intellij IDEA for whichGWT Designeris not available so, > partly because of the above two reasons, there is no way I would > change back to Eclipse for the sake of a GWT GUI builder no matter how > good it was. In that respect I'm biased, and I would probably have > test drivenGWT Designerhad I been an Eclipse user, and I can't > really say if I would have continued to use it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
There is no free version (other than the trial), but the product is very inexpensive and should pay for itself with a couple of hours of use. On Oct 20, 3:40 am, Yonatan Maman <[EMAIL PROTECTED]> wrote: > does it have a freeware edition ? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
GWT Designer should be able to use any custom widget that conforms to GWT / JavaBean standard practices. If you have extended/wrapped the standard GWT widgets in Composites as recommened by Google, you should have no problem using them in GWT Designer. On Oct 20, 6:15 am, Ed <[EMAIL PROTECTED]> wrote: > I wish I could useGWT Designeror the other one. > I tried it, but due to the GUI requirements it's not possible. > Almost all the GWT standard widgets are extended/wrapped in someway > such that I have a dozens of own components that I need to comply the > GUI requirements. I's hare to use these with aGWT designertool... > > So.. just by hand... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
Manuel Carrasco wrote: The most annoying issue with GWT is performance in development mode. I mean, compiling, startng hosted mode and running GWT Unit tests. So any action that improves these is welcome. So my vote if for jetty +1 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Change POST Request Returns 200 OK Server Response to 302
vineet schrieb: > In my application i need to return 302 as response code of 'Post' > request instead of 200. So we're talking of a request built with RequestBuilder? if that is the case, getThreadLocalResponse will return null if we're also talking about the implementation of doPost(...) > i tried using this.getThreadLocalResponse().setStatus(302) on server > side but not able to acheive that. > Please tell me how to acheive this. I haven't tried but with response.sendError(302, "dummy"); the response should be changed to this status, but I'm not sure how the GWT-client reacts if that is the response while using GWT-RPC. Regards, Lothar --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Change POST Request Returns 200 OK Server Response to 302
In my application i need to return 302 as response code of 'Post' request instead of 200. i tried using this.getThreadLocalResponse().setStatus(302) on server side but not able to acheive that. Please tell me how to acheive 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT - Secure / Unsecure pages
Hey all, I'm currently working on designing a module in GWT for an internal application and have a question regarding secure and unsecure pages. In the organization we currently have the cisco webvpn installed i.e we access the VPN through a SSL- enabled browser and have the options of remote desktopping, or accessing the internal applications we want through a portal site that is available upon logging into the VPN. So, in the case of accessing the applications through the portal site, the applications themselves are unsecure however we would be accessing them through the secure page. Has anyone had any trouble/solutions to implementing a similar idea of secure <-> unsecure pages with the GWT javascript. I just want to make sure this wouldn't be a showstopper. Thanks Suri --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Announcing GWT 1.5.3
Hi, for maven users, this release will be available via maven central repository in few hours (after rsync does its job). Nicolas On 18 oct, 00:22, Ray Ryan <[EMAIL PROTECTED]> wrote: > Hi, all. > > We have just deprecated GWT 1.5.2, and replaced it with GWT 1.5.3. > This new release has a small handful of patches, mainly aimed at > fixing RPC problems with Android. You can download the update from the > usual location: > > http://code.google.com/webtoolkit/download.html > > You may find that this pretty page hasn't updated yet in your neck of > the woods. If so, try going straight to the download > server:http://code.google.com/p/google-web-toolkit/downloads/list. > > Enjoy, > rjrjr > > Release Notes for 1.5.3 > > Fixed Issues > > - RPC requests no longer fail on the embedded Android web browser > > - Leaf TreeItems now line up with their non-leaf siblings > > - Removing the last child node from a TreeItem no longer creates > extra margins on the left > > - HTTPRequest no longer uses POST instead of GET on some IE installs > because of incorrect XHR selection > > - Compiler now uses a more reliable check to prevent methods with > local variables from being inlined > getAbsoluteTop()/Left() can no longer return non-integral values > > - Time.valueOf() no longer fails to parse "08:00:00" or incorrectly > accepts "0xC:0xB:0xA". --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
Hi all, Opinion on this thread seems pretty much one way, but I currently know little of Jetty. 1) Can anyone give a brief summary of why Jetty is "better" than Tomcat? 2) Can I be reassured I won't run into unforeseen difficulties deploying to JBoss? regards gregor On Oct 20, 2:03 pm, Alex <[EMAIL PROTECTED]> wrote: > Switching to jetty would be fine we me and my colleagues as well. We > use -noserver for hosted mode and unit testing (with some hackery). > > On Oct 13, 5:48 pm, "Bruce Johnson" <[EMAIL PROTECTED]> wrote: > > > Hi everyone, > > Hope you're enjoying 1.5. > > > The GWT team has started putting together a 1.6 roadmap, which we'll publish > > as soon as we have it nailed down. Two of the areas we want to work on for > > 1.6 are some improvements to hosted mode startup time and a friendlier > > output directory structure (something that looks more .war-like). > > > As part of this effort, we've all but decided to switch the hosted mode > > embedded HTTP server from Tomcat to Jetty. Would this break you? (And if so, > > how mad would you be if we did it anyway?) We figure most people who really > > care about the web.xml and so on are already using "-noserver" to have full > > control over their server config. > > > Thanks, > > Bruce --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
I hand code as well. I have three main reasons for this: 1) I used to write Swing stuff and found Swing GUI builders just didn't cut it, especially those that used intermediate XML files, largely because Swing's layout managers are difficult to represent as WYSIWYG in an IDE, organizing nested panel structures so I could see what was what was more trouble than it was worth, and I hated the way they wrote Java code. So I got used to writing GUI code by hand. 2) I found GWT to be much the same in the sense that the browsers were in control of layout, with the added spice that each browser is apt to behave slightly differently even with GWT. So hand coding enabled me to work out exactly how they worked, put me in control, enabled me to structure my GUI code as I wanted, and enabled me to find out things about how GWT worked I wouldn't have done if a GUI builder had done it for me. 3) I use Intellij IDEA for which GWT Designer is not available so, partly because of the above two reasons, there is no way I would change back to Eclipse for the sake of a GWT GUI builder no matter how good it was. In that respect I'm biased, and I would probably have test driven GWT Designer had I been an Eclipse user, and I can't really say if I would have continued to use it. regards gregor On Oct 20, 2:16 pm, Jack <[EMAIL PROTECTED]> wrote: > I use GWT Designer from Instantiations. There's decent support for > swapping between hand-writing your code and using the GUI, with some > notable exceptions which I won't go into unless someone really wants > to know. > > I start with the GUI to get a shell constructed and as things get more > complicated, stick with the handwriting, only using the GUI as a quick > way to visualize what I've just written by hand. > > On Oct 20, 8:39 am, "Arthur Kalmenson" <[EMAIL PROTECTED]> wrote: > > > I prefer hand writing the GUI because I have a lot more control over it. I > > haven't had good experience with GUI generating tools. Besides, it seems too > > .NETish > > > Regards, > > -- > > Arthur Kalmenson > > > On Sun, Oct 19, 2008 at 4:50 AM, Yonatan Maman <[EMAIL PROTECTED]> wrote: > > > > or do you prefer 'hand writing' GUI ? > > > > -- Yonatan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Not able to create new element in RichTextArea
Hi Vic, I have the same problem. If I change the generated JavaScript ($doc with document_0 in your example) everything is fine. If you look over the Document implementation you can see it creates new elements using the host document. But this is wrong! If I call myIFrameElement.getContentDocument().createLinkElement() I expect the result element to have its ownerDocument equal to myIFrameElement.getContentDocument() .. It should at least import the created element in the document on which we call createXXXElement() .. Is this a known bug? Marius On Sep 22, 12:26 pm, Vic <[EMAIL PROTECTED]> wrote: > I noticed that I have problem only on IE, with FF it works fine. I > looked at generated javascript and saw strange code > > function onClick_10(sender){ > var button, document_0; > document_0 = this.val$editor.element.contentWindow.document; > button = $doc.createElement(($clinit_6() , 'button')); > document_0.appendChild(button); > > } > > When GWTcreatenewelementit uses $doc instead of document_0, may be > there is a problem -elementis created in one document but insterted > to another? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Two Async Calls in one Method/Project - (using Tomcat )
You can have as many RPC servlets as you want in a GWT module, and each servlet can have as many methods as you want. How you structure it is up to you. I tend to group related use cases together as multiple methods in a single servlet. So in your login/security scenario, I would group all the services relating to this in one remote RPC servlet called LoginServiceImpl or SecurityServiceImpl or some such. That way when I need to add a new security use case, I just add a new method to the main SecurityService interface and my IDE prompts me to add it to the asynch interface and the RPC servlet implementation. The entries in your .gwt.xml file for your RPC servlets are just used for running in hosted mode using an embedded Tomcat instance. You will need to transfer these entries (and amend them somewhat) to web.xml when you want to deploy for web mode running. I would recommend using an Ant script to build a WAR file to deploy a GWT application - search the group for example ant scripts and web.xml definitions for RPC servlets. On Oct 20, 12:42 pm, Michi_de <[EMAIL PROTECTED]> wrote: > Hey guys! Thank you so far, you realy helped me. > I put all the logic into my servlet now, it works just fine. My > servlet returns a string now, which tells me what was done, eg. "user > allready exists" etc... its ok, but not perfect. I need then to > implement some code like this "if (doubleuser.equals("user allready > exists")) ... " to make it do something. Its working, but it doesnt > seem like good coding to me. > > Some other question on similar topic as my first posting: > How can i use different calls ? Did i make everything right in my .xml > files? Or is it not that easy, to implement 2 or more servlets? I > realy need another servlet now, in another file, but its the same > project so its the same .xml file and i havent wrote the code yet, but > im pretty sure it wont work, . ;-) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Selenium IDE problem
I'm trying to use Selenium IDE to test my web application. Is it possible that selenium doesn't record click on my item tree? How can i resolve this problem? I think that this tool could be very usefull for my tests but this problem stops me ; thank you Markuz --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
I use GWT Designer from Instantiations. There's decent support for swapping between hand-writing your code and using the GUI, with some notable exceptions which I won't go into unless someone really wants to know. I start with the GUI to get a shell constructed and as things get more complicated, stick with the handwriting, only using the GUI as a quick way to visualize what I've just written by hand. On Oct 20, 8:39 am, "Arthur Kalmenson" <[EMAIL PROTECTED]> wrote: > I prefer hand writing the GUI because I have a lot more control over it. I > haven't had good experience with GUI generating tools. Besides, it seems too > .NETish > > Regards, > -- > Arthur Kalmenson > > On Sun, Oct 19, 2008 at 4:50 AM, Yonatan Maman <[EMAIL PROTECTED]> wrote: > > > or do you prefer 'hand writing' GUI ? > > > -- Yonatan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
Switching to jetty would be fine we me and my colleagues as well. We use -noserver for hosted mode and unit testing (with some hackery). On Oct 13, 5:48 pm, "Bruce Johnson" <[EMAIL PROTECTED]> wrote: > Hi everyone, > Hope you're enjoying 1.5. > > The GWT team has started putting together a 1.6 roadmap, which we'll publish > as soon as we have it nailed down. Two of the areas we want to work on for > 1.6 are some improvements to hosted mode startup time and a friendlier > output directory structure (something that looks more .war-like). > > As part of this effort, we've all but decided to switch the hosted mode > embedded HTTP server from Tomcat to Jetty. Would this break you? (And if so, > how mad would you be if we did it anyway?) We figure most people who really > care about the web.xml and so on are already using "-noserver" to have full > control over their server config. > > Thanks, > Bruce --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to open new opage in samre window
Intro.html? On Oct 20, 8:04 am, avd <[EMAIL PROTECTED]> wrote: > Hello Sir, > > I have a problem in which i want to open a new page in the same > window. > For this i am using JSNI method in which i write $wnd.location.href = > newLoc; > where newLoc is the url of the new page. What url should i pass in > newLoc var. > I am passing TradeMark.html#Intro but this is not working.where intro > is another file name. > > with regards > Avdhesh --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
I prefer hand writing the GUI because I have a lot more control over it. I haven't had good experience with GUI generating tools. Besides, it seems too .NETish Regards, -- Arthur Kalmenson On Sun, Oct 19, 2008 at 4:50 AM, Yonatan Maman <[EMAIL PROTECTED]> wrote: > > or do you prefer 'hand writing' GUI ? > > -- Yonatan > > > > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: 1.5 final compiler warning
Unfortunately, the issue in com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSet persists as of GWT 1.5.3 :( On 29 Sep., 23:45, ben <[EMAIL PROTECTED]> wrote: > I'm using 1.5.2 and am getting the issue with a Hashmap, exact same > final error as Victor received. But everything seems to work, not > sure I want to suppress the problem though. > > Is this something that I have implemented incorrectly, or something > with the GWT compiler? > > On Sep 25, 11:46 am, Victor <[EMAIL PROTECTED]> wrote: > > > > > I've seen that many people solved their problems replacing the gwt- > > servlet.jar file with the new one, but I'm pretty sure I no more have > > the gwt-servlet-1.5RC1.jar file on my system. > > > How could I solve the problem ? > > > The exact message is : > > > Field 'privatefinal > > com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSet > > keys'willnotbeserializedbecauseit isfinal > > > Thank you, > > > On 5 sep, 19:23, "chris.f.jones" <[EMAIL PROTECTED]> wrote: > > > > Since this error sources from > > > com.google.gwt.i18n.client.impl.ConstantMap via > > > java.util.Map, shouldn't the > > > field: > > > privatefinalConstantMap.OrderedConstantSet > > > be declared as transient? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: running GWTTestCases without X
Thank you John! That worked! Now I just need to figure out how to add that to either Hudson or the Maven build... -- Arthur Kalmenson On Fri, Oct 17, 2008 at 7:16 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Oct 17, 1:52 pm, "Arthur Kalmenson" <[EMAIL PROTECTED]> wrote: > > Thanks for the reply. I installed xvfb and did the following: > > > > [EMAIL PROTECTED]:~/credentialing-msh/target/gwtTest$ Xvfb :5 >/dev/null > 2>&1 > > & > > [1] 5726 > > [EMAIL PROTECTED]:~/credentialing-msh/target/gwtTest$ proc=$! > > [EMAIL PROTECTED]:~/credentialing-msh/target/gwtTest$ ./ > > gwtTest-com.sinai.credentialing.client.GwtTestExampleA.sh > > > > However, the same error occurred. Xvfb is running: > > You also need to set your DISPLAY environment variable to point to the > Xvfb instance: > > DISPLAY=:5 ant run-tests > > -- > John A. Tamplin, Software Engineer (GWT), Google > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to open new opage in samre window
Hello Sir, I have a problem in which i want to open a new page in the same window. For this i am using JSNI method in which i write $wnd.location.href = newLoc; where newLoc is the url of the new page. What url should i pass in newLoc var. I am passing TradeMark.html#Intro but this is not working.where intro is another file name. with regards Avdhesh --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Two Async Calls in one Method/Project - (using Tomcat )
Hey guys! Thank you so far, you realy helped me. I put all the logic into my servlet now, it works just fine. My servlet returns a string now, which tells me what was done, eg. "user allready exists" etc... its ok, but not perfect. I need then to implement some code like this "if (doubleuser.equals("user allready exists")) ... " to make it do something. Its working, but it doesnt seem like good coding to me. Some other question on similar topic as my first posting: How can i use different calls ? Did i make everything right in my .xml files? Or is it not that easy, to implement 2 or more servlets? I realy need another servlet now, in another file, but its the same project so its the same .xml file and i havent wrote the code yet, but im pretty sure it wont work, . ;-) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Query for row-border styling for a Grid
Smth. like this probably? for(int i=0; i wrote: > Hi all. > > I am trying to apply styling to borders to a Grid, on a row by row > basis. That is, apply color 1 on border of row 1, color 2 on border of > row 2, and so on. I am aware of Grid's getRowFormatter() method, but > haven't been able to apply the color at the bottom border of say, row > numbered 'i'. > > It may be a query of html more than of gwt, but I have seemed to give > up. Any light in this regard will be highly appreciated. > > Waiting for a reply. > Ajay Garg --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Query for row-border styling for a Grid
Hi all. I am trying to apply styling to borders to a Grid, on a row by row basis. That is, apply color 1 on border of row 1, color 2 on border of row 2, and so on. I am aware of Grid's getRowFormatter() method, but haven't been able to apply the color at the bottom border of say, row numbered 'i'. It may be a query of html more than of gwt, but I have seemed to give up. Any light in this regard will be highly appreciated. Waiting for a reply. Ajay Garg --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
Bruce, If your objective is to embed it in GWT, then I would definitely recommend Jetty. Cheers On Oct 14, 9:48 am, "Bruce Johnson" <[EMAIL PROTECTED]> wrote: > Hi everyone, > Hope you're enjoying 1.5. > > The GWT team has started putting together a 1.6 roadmap, which we'll publish > as soon as we have it nailed down. Two of the areas we want to work on for > 1.6 are some improvements to hosted mode startup time and a friendlier > output directory structure (something that looks more .war-like). > > As part of this effort, we've all but decided to switch the hosted mode > embedded HTTP server from Tomcat to Jetty. Would this break you? (And if so, > how mad would you be if we did it anyway?) We figure most people who really > care about the web.xml and so on are already using "-noserver" to have full > control over their server config. > > Thanks, > Bruce --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to use Hyperlink
Dear all, How do I navigate from one Component to the other with Hyperlink? Can anyone give me an insight on how it works and how to use it please. I still don't understand on how to use it and how this component work. Help really appreciated. Thank you 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
I've been using -noserver since GWT 1.3 On Oct 13, 7:48 pm, "Bruce Johnson" <[EMAIL PROTECTED]> wrote: > Hi everyone, > Hope you're enjoying 1.5. > > The GWT team has started putting together a 1.6 roadmap, which we'll publish > as soon as we have it nailed down. Two of the areas we want to work on for > 1.6 are some improvements to hosted mode startup time and a friendlier > output directory structure (something that looks more .war-like). > > As part of this effort, we've all but decided to switch the hosted mode > embedded HTTP server from Tomcat to Jetty. Would this break you? (And if so, > how mad would you be if we did it anyway?) We figure most people who really > care about the web.xml and so on are already using "-noserver" to have full > control over their server config. > > Thanks, > Bruce --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC failure with no useful information.
Wonderful. Thanks for the explanation. It makes perfect sense. On Mon, Oct 20, 2008 at 3:35 AM, Lothar Kimmeringer <[EMAIL PROTECTED]>wrote: > > Larry White schrieb: > > That might have worked, but i worked around the problem. I tracked it > > down to a Serializable object that contained a date that was > > reconstructed from a Postgres DB using Apache's open JPA. > > something like > java.util.Date date = myResultSet.getDate(1); > If yes, the returned date will most likely be of type > java.sql.Date or java.sql.Timestamp. > > Both are derived from java.util.Date, so they can easily be > assigned to members of that type but as soon as you try > to serialize that, the serializer will see java.sql.Date > or java.sql.Timestamp and throw an exception. > > > Regards, Lothar > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Two Async Calls in one Method/Project - (using Tomcat )
Hi Miche_de, Basically your problems are around not waiting for your first asynch call to return before issuing the second one (a common error). doubleuser will aleways be null when you call getuser.getDefinedUser(vorname.getValue(), callbackFindUser); for the first time in this situation: AsyncCallback callbackFindUser = new AsyncCallback() { public void onFailure(Throwable caught) { //check error } public void onSuccess(String svar) { doubleuser = svar; } }; getuser.getDefinedUser(vorname.getValue(), callback); if (doubleuser == "user found") { < always null here! message2.setText("user allreay exists"); message2.setVisible(true); return; } However the second time you do it doubleuser has been set by the previous call so it appears to work. My favourite explanation of this is by Jason Essington here: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/faca1575f306ba0f/3be719c021aa19bd?lnk=gst&q=jason+essington+RPC+beer#3be719c021aa19bd You could fix this by putting all the code for second call inside a separate method that you call from the onSuccess(..) of the first after doubleuser is set. However I agree completely with Lothar that in this case you should perform all this logic on the server and make a single call. You could either return an exception as Lothar suggests, or you could design a Data Transfer Object that came back in different states depending on the result. Either way you reduce the number of RPC calls made (which is always good) and also remove some asynchronous spaghetti from your client side code. regards grergor On Oct 20, 9:05 am, Michi_de <[EMAIL PROTECTED]> wrote: > Now i just wanted to add one thing: when i try only the other method > as stand alone, to check for existing strings in the db i have some > trouble too. I just implement the call to check for existing strings. > If i find some, a message label apear and tells me that. The thing i > wounder now is, why its only pop up when i hit the button a second > time? It seems to me like, it checks for doulbe string but the "if ()" > is getting checked first. So it first says "if (userfind==true)" and > then it checks for the db with the string. But i first do this call: > > getuser.getDefinedUser(vorname.getValue(), > callbackFindUser); > > if (doubleuser == "user found") { > message2.setText("user allreay exists"); > message2.setVisible(true); > return; > } > > First the call, then the "if". So why it only seems to work when i hit > the button twice?? Any idea? > > On 20 Okt., 09:47, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > > > > > Michi_de schrieb: > > > > Actually i've some problem with my GWT project. I have some textfield > > > and a button. Clickin the button, a method starts and write the string > > > into a mysql database with a servlet. It works wonderfull. > > > Now i wanted some additional features in this method. I want to search > > > the database first, for the string, and if it finds a equal string in > > > my database it should return a error message and NOT put the new > > > string into the database. > > > Extend the first method by throwing an exception in that case. > > That way you don't need two calls for more or less the same > > thing. You can throw your own exception by extenting it from > > SerializableException. > > > Regards, Lothar > > Thanks for the fast reply. > So u think i should use only one call? Can u give me some help with > this exception thingy please? Where exactly to throw an exception? It > seems rather complex to me, this solution :P ;) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
"do you prefer 'hand writing' GUI ?" .. yes definitively , generated code is for newbies ... regards . 2008/10/20 Ed <[EMAIL PROTECTED]> > > I wish I could use GWT Designer or the other one. > I tried it, but due to the GUI requirements it's not possible. > Almost all the GWT standard widgets are extended/wrapped in someway > such that I have a dozens of own components that I need to comply the > GUI requirements. I's hare to use these with a GWT designer tool... > > So.. just by hand... > > > -- Eric Ponthiaux Consultant technique +33.687030001 [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
Yes definitively . 2008/10/20 Ed <[EMAIL PROTECTED]> > > I wish I could use GWT Designer or the other one. > I tried it, but due to the GUI requirements it's not possible. > Almost all the GWT standard widgets are extended/wrapped in someway > such that I have a dozens of own components that I need to comply the > GUI requirements. I's hare to use these with a GWT designer tool... > > So.. just by hand... > > > -- Eric Ponthiaux Consultant technique +33.687030001 [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
I wish I could use GWT Designer or the other one. I tried it, but due to the GUI requirements it's not possible. Almost all the GWT standard widgets are extended/wrapped in someway such that I have a dozens of own components that I need to comply the GUI requirements. I's hare to use these with a GWT designer tool... So.. just by hand... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: how to open a new page in same window in gwt
I don't understand what are you asking for. But, perhaps you are looking for these: - Open a new window Window.open(url,new_window_name, "") - Replace the content of the actual window Window.Location.assign(url); Manolo On Mon, Oct 20, 2008 at 11:17 AM, ship <[EMAIL PROTECTED]> wrote: > > hi, > > I have a application in which when i click on a button then in the > onClick function i want to open a new page i. e. a different java file > and previous java file should be remove from the window. > Pl tell me the solution to open a new page i. e. a new java file. > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Why is the servlet classes packaged with GWT library?
On 20 oct, 05:40, Joshua Partogi <[EMAIL PROTECTED]> wrote: > Dear all, > > Does anybody know the reason why the servlet classes are packaged with > the GWT library? So you don't have to add servlet.jar to your classpath when developping. That's the reason why gwt-user.jar shouldn't be deployed to your server and there's a gwt-servlet.jar for this, which doesn't include the servlet classes. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
2-Weeks trial version. On 20 Okt., 09:40, Yonatan Maman <[EMAIL PROTECTED]> wrote: > does it have a freeware edition ? > > On Oct 20, 8:30 am, "alex.d" <[EMAIL PROTECTED]> wrote: > > > Definitely GWT Designer. > > > On 20 Okt., 07:01, Joshua Partogi <[EMAIL PROTECTED]> wrote: > > > > I use IntelliJ IDEA. > > > > On Oct 19, 8:50 pm, Yonatan Maman <[EMAIL PROTECTED]> wrote: > > > > > or do you prefer 'hand writing' GUI ? > > > > > -- Yonatan > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT incubator help
and I tried to include Google maps Jar in my application and when i tried to use that i got the same error again...ie error in jar:and so on Can anybody please let me know where is the problem, i m tempted to think that theres some problem with the jar source. i read lot of posts in which there is problem with including jars 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Hosted Mode and setFocus()/setTabIndex()
Should I file an issue in the issue tracker about this problem? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: how to open a new page in same window in gwt
It's depend on the page you want to open.Is it a viewer?what do you want to open? ship a écrit : > hi, > > I have a application in which when i click on a button then in the > onClick function i want to open a new page i. e. a different java file > and previous java file should be remove from the window. > Pl tell me the solution to open a new page i. e. a new java file. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
how to open a new page in same window in gwt
hi, I have a application in which when i click on a button then in the onClick function i want to open a new page i. e. a different java file and previous java file should be remove from the window. Pl tell me the solution to open a new page i. e. a new java file. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Your opinion sought: Jetty or Tomcat?
The most annoying issue with GWT is performance in development mode. I mean, compiling, startng hosted mode and running GWT Unit tests. So any action that improves these is welcome. So my vote if for jetty On Mon, Oct 20, 2008 at 2:44 AM, Arthur Kalmenson <[EMAIL PROTECTED]>wrote: > If it makes hosted mode launch faster, go for it :) > > -- > Arthur Kalmenson > > > > On Mon, Oct 13, 2008 at 6:48 PM, Bruce Johnson <[EMAIL PROTECTED]> wrote: > >> Hi everyone, >> Hope you're enjoying 1.5. >> >> The GWT team has started putting together a 1.6 roadmap, which we'll >> publish as soon as we have it nailed down. Two of the areas we want to work >> on for 1.6 are some improvements to hosted mode startup time and a >> friendlier output directory structure (something that looks more >> .war-like). >> >> As part of this effort, we've all but decided to switch the hosted mode >> embedded HTTP server from Tomcat to Jetty. Would this break you? (And if so, >> how mad would you be if we did it anyway?) We figure most people who really >> care about the web.xml and so on are already using "-noserver" to have full >> control over their server config. >> >> Thanks, >> Bruce >> >> >> >> > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
gwt + spring ?
Hi Can I access spring bean that exposed using http invoker (server) from GWT application (client) ? If so is there any example / tutorial for that ? -- Yonatan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Two Async Calls in one Method/Project - (using Tomcat )
Now i just wanted to add one thing: when i try only the other method as stand alone, to check for existing strings in the db i have some trouble too. I just implement the call to check for existing strings. If i find some, a message label apear and tells me that. The thing i wounder now is, why its only pop up when i hit the button a second time? It seems to me like, it checks for doulbe string but the "if ()" is getting checked first. So it first says "if (userfind==true)" and then it checks for the db with the string. But i first do this call: getuser.getDefinedUser(vorname.getValue(), callbackFindUser); if (doubleuser == "user found") { message2.setText("user allreay exists"); message2.setVisible(true); return; } First the call, then the "if". So why it only seems to work when i hit the button twice?? Any idea? On 20 Okt., 09:47, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > Michi_de schrieb: > > > Actually i've some problem with my GWT project. I have some textfield > > and a button. Clickin the button, a method starts and write the string > > into a mysql database with a servlet. It works wonderfull. > > Now i wanted some additional features in this method. I want to search > > the database first, for the string, and if it finds a equal string in > > my database it should return a error message and NOT put the new > > string into the database. > > Extend the first method by throwing an exception in that case. > That way you don't need two calls for more or less the same > thing. You can throw your own exception by extenting it from > SerializableException. > > Regards, Lothar Thanks for the fast reply. So u think i should use only one call? Can u give me some help with this exception thingy please? Where exactly to throw an exception? It seems rather complex to me, this solution :P ;) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Two Async Calls in one Method/Project - (using Tomcat )
Michi_de schrieb: > Actually i've some problem with my GWT project. I have some textfield > and a button. Clickin the button, a method starts and write the string > into a mysql database with a servlet. It works wonderfull. > Now i wanted some additional features in this method. I want to search > the database first, for the string, and if it finds a equal string in > my database it should return a error message and NOT put the new > string into the database. Extend the first method by throwing an exception in that case. That way you don't need two calls for more or less the same thing. You can throw your own exception by extenting it from SerializableException. Regards, Lothar --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: what GUI creator are you using ?
does it have a freeware edition ? On Oct 20, 8:30 am, "alex.d" <[EMAIL PROTECTED]> wrote: > Definitely GWT Designer. > > On 20 Okt., 07:01, Joshua Partogi <[EMAIL PROTECTED]> wrote: > > > I use IntelliJ IDEA. > > > On Oct 19, 8:50 pm, Yonatan Maman <[EMAIL PROTECTED]> wrote: > > > > or do you prefer 'hand writing' GUI ? > > > > -- Yonatan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---