Re: GWT webapp into an IFRAME
hi, yeah ofcourse it will work i have implemented it in my projects but you might require to check browser compatibility for frame size and some minor changes but this works for sure. -- Aditya On Wed, Feb 2, 2011 at 9:20 PM, obesga obe...@gmail.com wrote: Hello I've done a GWT app which is running on it's own page; but I've a request to embed the page into a portal. As I need to get the job done ASAP; I'm thinking about embedding the GWT weapp into a iframe, as iframe src=app/myapp.html/iframe Would it work ? Can a GWT app detect when it's running on a top page or on a iframe ? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Db Connectivity
Hi, The code you write in java gets converted into javascript this is what GWT does so GWT works on client side so there is some restriction on usage of classes and packages that u refer in GWT code just like *java.sql. or java.io* *these packages are not available on client side* So to use these classes,GWT has provided server side where you can access these classes so make ur connection on the server side do processing and send result back to client. Async calls would be helpful in this case. -- Aditya On Fri, Dec 10, 2010 at 1:21 AM, Vindhya vin...@gmail.com wrote: Hello Friends, I am new to GWT and I am developing an application, - a form based one, to insert/delete/edit tuples in a set of tables. I am facing problems with the connectivity to the database. I kept getting an error: java.sql.Connection can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly. The code I wrote is as follows: code package com.company.rulesengine.client; import java.sql.*; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.TextBox; /** * Entry point classes define codeonModuleLoad()/code. */ public class RulesEngineUI implements EntryPoint { public Connection conn= null; RulesEngineUI() { //establishing a database connection try { Class.forName(oracle.jdbc.driver.OracleDriver).newInstance(); String url = url; conn = DriverManager.getConnection(url, SYSTEM, vindhya); // doTests(); System.out.println(DONE!); conn.close(); } catch (Exception ex) {System.err.println(ex.getMessage());} } private Button clickMeButton; public void onModuleLoad() { RootPanel rootPanel = RootPanel.get(); clickMeButton = new Button(); rootPanel.add(clickMeButton, 232, 236); clickMeButton.setText(Insert); Label lblEmployeeId = new Label(Employee ID); rootPanel.add(lblEmployeeId, 30, 61); Label lblName = new Label(Employee Name); rootPanel.add(lblName, 26, 142); TextBox textBox = new TextBox(); rootPanel.add(textBox, 233, 59); TextBox textBox_1 = new TextBox(); rootPanel.add(textBox_1, 232, 142); clickMeButton.addClickHandler(new ClickHandler(){ public void onClick(ClickEvent event) { Window.alert(Hello, GWT World!); } }); } } /code Any help in this regard will be well appreciated. Thank you, Vindhya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Facing some problems after switching to GWT 2.1 from GWT 2.0.4
hi dominic, I m receiving key press event in all the browser the thing that i have noticed which doesn't work in GWT 2.1 is - *if(event.getCharCode()==KeyCodes.KEY_ENTER){ * the o/p of event.getCharCode() in GWT 2.1 is nothing not even 0 so i cnt compare it with KeyCodes.KEY_ENTER i had tried one more new method that has been introduced in GWT 2.1 which getUnicodeCode() which gives 0 whenever i presses ENTER but this is not the right because i m getting 0 even when i m pressing any arrow key. how to figure this out...? -- Aditya On Fri, Dec 3, 2010 at 5:46 PM, dominic jansen dom.jan...@googlemail.comwrote: hi aditya, i ve noticed that there are different behaviours for the KeyPressHandler for each browser (e.g. for me the safari browser did not recognize the keypressevent). maybe you can use the KeyDownHandler or KeyUpHandler instead of the KeyPressHandler. this worked for me best, dom 2010/12/3 Aditya 007aditya.b...@gmail.com: Hi, I have updated my GWT version to 2.1 and faced some of the problems regarding textbox' key press handlers... the code which works completely fine in previous version is txtPassword.addKeyPressHandler(new KeyPressHandler() { @Override public void onKeyPress(KeyPressEvent event) { if(event.getCharCode()==KeyCodes.KEY_ENTER){ // some processing here to send username password to server } // class closures. whenever user presses an ENTER key the code from 'if' condition gets executed but this does nt work in GWT 2.1 is there any other way to perform this validation to know user has striked ENTER or not...? Thanks, Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: TabPanel tabs size are not same
the verticalpanel inside that each tab must have fixed width and height as tab panel doesn't react in expected manner when we set its size in percentage so setSize of tabPanel and make that vertical panel in each tab of same size with fixed width and height. -- Aditya On Tue, Nov 2, 2010 at 5:43 PM, Fahad Baig mfahadb...@gmail.com wrote: I am using a tabPanel with 3 tabs. The problem i am having is that when i switch between tabs the size of the tab (height and width) varies which is annoying. How can i make all the tabs of same size in tabpanel irrespective of how widgets are placed inside them ? The snippet I am following right now is tabPanel.setWidth(100%); tabPanel.add(getTabPage1(), Tab 1); tabPanel.add(getTabPage2(), Tab 2); tabPanel.add(getTabPage3(), Tab 3); Each of the getTabPageX() method return a VerticalPanel which in turn contains actual components. Kindly advise how to make the tab size homogenous among all tabs -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: communication between two frames
thanks for ur reply and kind help. i am still searching for the right solution. I have implemented what u have specified in the la st thread as - $wnd.myBus.fire(myModule,initState) this works fine when i m opening both the modules in different (seperate) windows of the same browser. but whenever i try this using inner frame it doesn't work as it should be. so for guiding purpose if you can share a code snippet that might help me for better understand. And yes,we had thought of code splitting but we couldn't implemented it. thanks. -- Aditya On Mon, Oct 18, 2010 at 5:28 PM, ep eplisc...@googlemail.com wrote: ah ok got your point, well, if you write: @com.verisona.bridge.client.CandidateMainView::alertWindow(); for the GWT compiler is pretty same as a pure Java call - because that code is not actually native where as $wnd.alert(foo) is a real native code which is not handled by GWT compiler. the first line would not work cross anonymous modules (such as those which are not compiled within same compilation process) since the obfuscator will rename all the types/method names. when I've written native i really meant pure Java-Code which is not compiled by GWT compiler, but rather is supplied from a separate codeBase.js (javascript) file. because that code you always can use cross-modules like $wnd.myBus.fire(myModule,initState). The issue is that you have to compile all available modules in same compile process to get them working with each other via compile time binding (such as calling ModuleA.refresh() from ModuleB), after compilation (with obfuscation) there is no way to reach the code via API. Have you already tried code splitting feature to minimize the initial bootstrap? so that codebase from moduleX is loaded on demand? On 18 Okt., 12:25, aditya sanas 007aditya.b...@gmail.com wrote: yeah you are right my each of the module is compilable each is having entryPoint class associated with it but this is how we use to design a GWT module or is it possible to have GWT module without EntryPoint class associated with it...? actually we were having a single enrty point class for this module before but it was making page very heavy.And it was taking more than 10seconds each time to load when we deploy project online. So for this we had decided to split modules and each page will have different module associate with it. but still we are not able find a solution for communication between two modules. and i didn't get your last line. I m trying this as following method is from master class as CandidateMainView.java implements EntryPoint //... public static native void alertWindow()/*-{ $wnd.alert('hello there i m in main...'); }-*/; and i m trying to access this method from some other class which is getting loaded into the inner frame. CandidateAccountSetting.java implements EntryPoint //.. private native void registerAFunction() /*-{ @com.verisona.bridge.client.CandidateMainView::alertWindow(); }-*/; this should give an alert but it doesn't work. is this what u r suggesting ? -- Aditya On Mon, Oct 18, 2010 at 3:26 PM, ep eplisc...@googlemail.com wrote: actually, you could be using HandlerManager as an event bus between all your modules, but I guess you trying to treat each of your modules as separate gwt applications, each having an entry point and also each independently compilable / runnable? therefore you cannot just reference classes cross-wise? in this case you could create a small API allowing message interchange or you follow observer pattern and the host page (being a master) can provide the implementation as a native JS code. On 18 Okt., 11:20, aditya sanas 007aditya.b...@gmail.com wrote: yes those are from same host in the same window. I have somewhere about 10 modules in my project out of which 1 is main modules which contains a Frame(GWT). and in this frame i m loading other 9 modules in the same window. So i want main window and frame should communicate with each other. that is there is should be some kind of message passing between these two modules but i m finding it little difficult to do it as both are from different modules and so the objects in one module is not accessible to the other. -- Aditya On Mon, Oct 18, 2010 at 2:03 PM, ep eplisc...@googlemail.com wrote: hi, a small question, do you open contents from same host (as parent window) within your innerframe? On 18 Okt., 09:26, Aditya 007aditya.b...@gmail.com wrote: Hello Guys, I am designing a web application using GWT which has one inner frame which loads different modules whenever user selects any menu from TOP frame that is from a main window. The problem where i have stuck now is whenever there is some error occurred inside a frame which
Re: communication between two frames
yes those are from same host in the same window. I have somewhere about 10 modules in my project out of which 1 is main modules which contains a Frame(GWT). and in this frame i m loading other 9 modules in the same window. So i want main window and frame should communicate with each other. that is there is should be some kind of message passing between these two modules but i m finding it little difficult to do it as both are from different modules and so the objects in one module is not accessible to the other. -- Aditya On Mon, Oct 18, 2010 at 2:03 PM, ep eplisc...@googlemail.com wrote: hi, a small question, do you open contents from same host (as parent window) within your innerframe? On 18 Okt., 09:26, Aditya 007aditya.b...@gmail.com wrote: Hello Guys, I am designing a web application using GWT which has one inner frame which loads different modules whenever user selects any menu from TOP frame that is from a main window. The problem where i have stuck now is whenever there is some error occurred inside a frame which contains a different module then that should notify main window about it. So I can handle all failure messages in my main module. If anyone has implemented it before or has some threads that u have gone thr' then please do reply. I had referred thishttp://gwt-ext.com/forum/viewtopic.php?f=2t=2459 this works fine as it is opening a new window but i want to open a frame inside a same window which sends messages to parent window containing it. -- Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: communication between two frames
yeah you are right my each of the module is compilable each is having entryPoint class associated with it but this is how we use to design a GWT module or is it possible to have GWT module without EntryPoint class associated with it...? actually we were having a single enrty point class for this module before but it was making page very heavy.And it was taking more than 10seconds each time to load when we deploy project online. So for this we had decided to split modules and each page will have different module associate with it. but still we are not able find a solution for communication between two modules. and i didn't get your last line. I m trying this as following method is from master class as CandidateMainView.java implements EntryPoint //... public static native void alertWindow()/*-{ $wnd.alert('hello there i m in main...'); }-*/; and i m trying to access this method from some other class which is getting loaded into the inner frame. CandidateAccountSetting.java implements EntryPoint //.. private native void registerAFunction() /*-{ @com.verisona.bridge.client.CandidateMainView::alertWindow(); }-*/; this should give an alert but it doesn't work. is this what u r suggesting ? -- Aditya On Mon, Oct 18, 2010 at 3:26 PM, ep eplisc...@googlemail.com wrote: actually, you could be using HandlerManager as an event bus between all your modules, but I guess you trying to treat each of your modules as separate gwt applications, each having an entry point and also each independently compilable / runnable? therefore you cannot just reference classes cross-wise? in this case you could create a small API allowing message interchange or you follow observer pattern and the host page (being a master) can provide the implementation as a native JS code. On 18 Okt., 11:20, aditya sanas 007aditya.b...@gmail.com wrote: yes those are from same host in the same window. I have somewhere about 10 modules in my project out of which 1 is main modules which contains a Frame(GWT). and in this frame i m loading other 9 modules in the same window. So i want main window and frame should communicate with each other. that is there is should be some kind of message passing between these two modules but i m finding it little difficult to do it as both are from different modules and so the objects in one module is not accessible to the other. -- Aditya On Mon, Oct 18, 2010 at 2:03 PM, ep eplisc...@googlemail.com wrote: hi, a small question, do you open contents from same host (as parent window) within your innerframe? On 18 Okt., 09:26, Aditya 007aditya.b...@gmail.com wrote: Hello Guys, I am designing a web application using GWT which has one inner frame which loads different modules whenever user selects any menu from TOP frame that is from a main window. The problem where i have stuck now is whenever there is some error occurred inside a frame which contains a different module then that should notify main window about it. So I can handle all failure messages in my main module. If anyone has implemented it before or has some threads that u have gone thr' then please do reply. I had referred thishttp://gwt-ext.com/forum/viewtopic.php?f=2t=2459 this works fine as it is opening a new window but i want to open a frame inside a same window which sends messages to parent window containing it. -- Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: problem with asynchronism
One solution that i can suggest for this is keep that button in disable state until user fill up the form fields. and once all compulsory fields got filled properly make that button enable and will have seperate click handlers in that case. -- Aditya On Fri, Oct 15, 2010 at 3:32 PM, pepgrifell pepgrif...@gmail.com wrote: hi, I have a window with some form fields and 2 buttons, add and cancel. One of the fields has a listener associated. The listener does a RPC call to the server to do a validation and it can update the value. The listener is fired when the field loses the focus. The button add sends the data into the form fields to the server side with another RPC call. The problem that I have is: If I change the value of the field, and, without losing the focus, I click in the add button, then two RPC calls are done, the one inside the listener and the one associated to the button. I would like that the action associated with the button would be called after the listener action (RPC call) has finished. Is there any way of doing 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Refresh and back button not working
First of all,does ur login page has different module associated with it...? it is always a better GWT programming to have login module and other modules for post login functioning. It should be seperated. And for handelling back of ur browser u will need to maintain history using History class provided by GWT. -- Aditya On Fri, Oct 15, 2010 at 1:02 PM, Vibhuti Gupta guptavibh...@gmail.comwrote: Hi When I refresh any page in my GWT application it loads the login page as the browser URL does not change. Also clicking back button of the browser loads the login page. I need a way to load the page i am currently on when user refreshes the page instead of login page getting loaded. Anyone has any ideas how to achieve it. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Designer available on Google GWT-Homepage :-)
Yeah its a great opensource tool launched by Google. Fun using it. makes client side's job easier than before. I think this would be a great answer for all those questions which were raised in the past about GWT's future. Google is thinking about GWT and making it more and more easier to use. Cheers to Google. -- Aditya On Fri, Sep 17, 2010 at 2:10 PM, AlexG alexander.gauss.ax...@googlemail.com wrote: Hi @ all, On the Google GWT homepage, I found the GWT-Designer, ready to download. I just want to inform you, that it seems to be available. It´s OpenSource now, so have fun trying it. Greets Alex -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Designer available on Google GWT-Homepage :-)
here is the link for the reference - http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/smartgwt.html -- Aditya 2010/9/17 Jaroslav Záruba jaroslav.zar...@gmail.com Hopefully it will help making the out-of-the-box widget library a little bit richer. :) On Fri, Sep 17, 2010 at 12:45 PM, aditya sanas 007aditya.b...@gmail.comwrote: Yeah its a great opensource tool launched by Google. Fun using it. makes client side's job easier than before. I think this would be a great answer for all those questions which were raised in the past about GWT's future. Google is thinking about GWT and making it more and more easier to use. Cheers to Google. -- Aditya On Fri, Sep 17, 2010 at 2:10 PM, AlexG alexander.gauss.ax.ag@ googlemail.com wrote: Hi @ all, On the Google GWT homepage, I found the GWT-Designer, ready to download. I just want to inform you, that it seems to be available. It´s OpenSource now, so have fun trying it. Greets Alex -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to transmit an image over rpc?
Hello, i think u got it right. u can implement it in away as Thad has suggested. u can even implement it for simple img src as it is also hitting an URL so u can have a servlet and can give a src as download?imgID=demoImage and on the server side in the servlet which is serving a request for /download will send the content for that file. this works as i have used same method in my projects. -- Aditya On Wed, Sep 8, 2010 at 4:42 PM, Magnus alpineblas...@googlemail.com wrote: Hi, what I am trying to do is a photo album. There is a directory structure on the server with an index.xml file in each directory. On startup the index files are scanned and the content directory is passed over rpc to the client. The client displays nice menus and if the user selects an entry the images should be shown. If I pass URLs via rpc then the image directory must be world readable. Your advice with the servlet: Do you mean that the servlet should return the image data itself and the setURL method of the Image class knows that this is not a URL but the raw image data? Have I got you right? How would you realize what I want? Thanks Magnus On 8 Sep., 08:12, Thad thad.humphr...@gmail.com wrote: You can't, at least not directly. GWT does only what HTML does, and in HTML images are loaded via the SRC attribute in an IMG element. You can write basic doGet/doPost servlet that returns and image and put use its URL in com.google.gwt.user.client.ui.Image.setUrl() (which sets the SRC attribute). If you feel you must use an RPC call for the image, have the RPC call return a java.lang.String of the image (GIF, JPEG, or PNG) in Base 64. In the onSuccess() method, use that result String as the argument for setUrl(). On Sep 7, 9:25 am, Magnus alpineblas...@googlemail.com wrote: Hi, I tried to pass an Image object via RPC, but it doesn't work: com.google.gwt.user.client.ui.Image is not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' or 'java.io.Serializable' nor does it have a custom field serializer (reached via com.google.gwt.user.client.ui.Image How can I do that? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Powered by Google web toolkit
why not its a opensource technology so go ahead -- Aditya On Sat, Sep 4, 2010 at 12:29 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi, Can i show 'Powered by google web toolkit' in an application developed by gwt ? Regards Deepak -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Applets in GWT/GAE
It isnt that difficult The thing u will require to do is just write ur applet make it run in some other environment eg in netbeans and then have a code base of that and include that codebase under ur war folder and u r free to use ur applet into ur code using gwt. its just that simple. -- Aditya On Fri, Sep 3, 2010 at 11:49 PM, GKotta guruko...@gmail.com wrote: Does anyone know how to integrate applets into gwt while using gae? I tried using gwtai, but it doesn't seem to work because it uses some packages that gae doesn't support (such as javax.swing). Also, I will need to use the applet to communicate with the datastore. Does anyone know how to do 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Browser related issue
Including conditional CSS files accordingly as follows: * * *link type=text/css rel=stylesheet href=styles.css /* *!--[if IE 6]link rel=stylesheet href=style.ie6.css type=text/css /![endif]--* * * you can style ur page accordingly in style.ie6.css which will be applied to IE 6 only. In case of Chrome try and debug project what exactly happening while loading modules. do you get any error messages while displaying page in chrome? -- Aditya On Tue, Aug 31, 2010 at 11:30 AM, sathya ayyanar sathyaayyanar1...@gmail.com wrote: On Mon, Aug 30, 2010 at 11:10 AM, aditya sanas 007aditya.b...@gmail.comwrote: which version of IE are you using...? the problem you are facing here is with the styling of your page not the GWT issue so you have to include IE enabled css to counter this problem. -- Aditya On Mon, Aug 30, 2010 at 10:39 AM, sathya ayyanar sathyaayyanar1...@gmail.com wrote: I am using GWT-JAVA. The Login page displayed good in firefox. But In IE It is too slow and also Fonts are too big. In chrome it display only the background image. Nothing will be display. Is it GWT a browser dependent? Otherwise Can i change any other options or anything else? (Note: In NameFieldContainer I added the logoImage. And In SendButtonContainer I added the login form) Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. Thanks for your reply.response. But I want to know the following. You replied as, you have to include IE enabled css to counter this problem. . I didn't know about IE enabled css. Please give details about this. And also I want to show my project in chrome also. In chrome, the same code doesn't display the login page. Please give suggestion for this also. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Use ScrollPanel inside the HorizontalPanel
adjust the size of horizontal panel and then according to it adjust the size of scrolling panel... -- Aditya On Sat, Aug 28, 2010 at 9:33 AM, udayanga ranasinghe udayanga.u...@gmail.com wrote: Hi All, I try to put Scrollpanel into HorizontalPanel. The content in the scrollpanel is appear as it expected. But the scrolling property is not working. It 's not scrolling. :( What is the reason for that? Please help me to solve this problem. Thanks And Regards Udayanga Ranasinghe. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Dynamically changing an image on update
http://code.google.com/p/gwtupload/ http://code.google.com/p/gwtupload/this might help you -- Aditya On Sat, Aug 28, 2010 at 12:56 PM, annuk annut...@hotmail.com wrote: hii i m new to GWT. I m developing an add/update screen with image upload in it. While updating a screen if i upload a new image then i want the new image to displayed dynamically on that screen instead of the old image.. now i have to reload the page to see the changes.. Can anybody help me out with this... thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Use ScrollPanel inside the HorizontalPanel
At very first step set the size of horizontal panel as hrzPanel.setSize(350px,500px); then set the size for scrollpanel in percentage or you can set it same as above. this will work for sure. also if you want scrollbars bydefault then set the method for scrPanel.setAlwaysShowScrollBars(true); -- Aditya On Mon, Aug 30, 2010 at 9:07 PM, udayanga ranasinghe udayanga.u...@gmail.com wrote: Hi Aditya; Thanks your reply. But it doesnt work. If you have tested code please send me as soon as possible. I'm in big trouble with this issue. Thanks again. On Mon, Aug 30, 2010 at 5:49 PM, aditya sanas 007aditya.b...@gmail.comwrote: adjust the size of horizontal panel and then according to it adjust the size of scrolling panel... -- Aditya On Sat, Aug 28, 2010 at 9:33 AM, udayanga ranasinghe udayanga.u...@gmail.com wrote: Hi All, I try to put Scrollpanel into HorizontalPanel. The content in the scrollpanel is appear as it expected. But the scrolling property is not working. It 's not scrolling. :( What is the reason for that? Please help me to solve this problem. Thanks And Regards Udayanga Ranasinghe. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Thanks and Regards, Udayanga Ranasinghe BCSc(Hons) Senior Software Engineer | Wapice Lanka (Pvt) Ltd -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Browser related issue
which version of IE are you using...? the problem you are facing here is with the styling of your page not the GWT issue so you have to include IE enabled css to counter this problem. -- Aditya On Mon, Aug 30, 2010 at 10:39 AM, sathya ayyanar sathyaayyanar1...@gmail.com wrote: I am using GWT-JAVA. The Login page displayed good in firefox. But In IE It is too slow and also Fonts are too big. In chrome it display only the background image. Nothing will be display. Is it GWT a browser dependent? Otherwise Can i change any other options or anything else? (Note: In NameFieldContainer I added the logoImage. And In SendButtonContainer I added the login form) Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: click event in dialogbox
yeah it is possible. you just need to create Anchor(String ) from GWT and register a onclick event for this anchor as Anchor.addClickHandler(); using this you will be able to bind onclick with the link you desired. -- Aditya On Thu, Aug 26, 2010 at 5:19 AM, emilioF tarr...@gmail.com wrote: hi all, i have a dialogbox with some link as this a id=a class=docabc/ a and i want bind a click event on a link and get id link. In jquery is $(a.doc).bind(click, function(event) { var id = $ (this).attr(id);. In GWT how is 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to handle mouseOver event for FlexTable
hi, Okay.I understood how i will get notifications about events. will implement this flextable probably by this weekend as there are some other important task in the to do list has come up. will post if got stuck anywhere in the middle. Thank you for ur hints and suggestions -- Aditya On Wed, Aug 18, 2010 at 7:12 PM, spierce7 spier...@gmail.com wrote: This code is from my class that extends Grid: public GridMouseHandler gridMouseHandler = new GridMouseHandler(this); Later on in the workings of one of the functions I add my mouse handlers. For grids or flex tables they must currently be implemented as dom handlers: addDomHandler(gridMouseHandler, MouseDownEvent.getType()); addDomHandler(gridMouseHandler, MouseUpEvent.getType()); addDomHandler(gridMouseHandler, MouseMoveEvent.getType()); My function that finds which cell the mouse event happened on: public int[] getCellForEvent(MouseEvent? event) { final Element td = getEventTargetCell(Event.as(event.getNativeEvent())); if (td == null) { return null; } final Element tr = DOM.getParent(td); final Element table = DOM.getParent(tr); int returnEventPosition[] = new int[2]; returnEventPosition[rowPos] = DOM.getChildIndex(table, tr); returnEventPosition[colPos] = DOM.getChildIndex(tr, td); eventPosition[rowPos] = returnEventPosition[rowPos]; eventPosition[colPos] = returnEventPosition[colPos]; return returnEventPosition; } My GridMouseHandler class is just: public class GridMouseHandler implements MouseDownHandler, MouseUpHandler, MouseMoveHandler { and then implements the required methods such as onMouseUp, or onMouseMove, and when the mouse moves you can have them call a specific function. One of the functions you will want to call is your own function for finding which cell the event happened on, and then acting accordingly. Using this same method you can do similar things for any of the mouse handlers with Grid. On Aug 18, 3:42 am, Aditya 007aditya.b...@gmail.com wrote: Hi, I m trying to create a flextable which can handle mouseOver and mouseOut events.. I want to change the style of row which receives mouseOver and adds style accordingly. same for mouseOut.. Is anyone has implemented it...? Thank you. Regards, Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to integrate an open source web app into a GWT application
hello Anita, May I know which web server are you using for application development? I was speaking about file hierarchy inside the web applications root folder which is considered as main project folder for ur web project... we just need to copy modules which we got from GWT compilation (ie content from WAR folder ) to the main project folder of the web server or application server I hope this will clear ur doubts ... -- Aditya On Wed, Aug 18, 2010 at 2:46 PM, Anita anapont...@gmail.com wrote: Hello Aditya! Thank you very much for you idea, but i can´t understand what you´re trying to explain... :( The idea is to copy de .war generated by compiling my GWT app under the web app project folder???I can't see how can it work in a way i want it to do, because they need to share information (for example, if a press a button in a web app, i could write my name in any of the 2 frames) ...Could you be more explicit in your suggestion please??Sorry for that :( And thank you!!! On 17 ago, 15:30, aditya sanas 007aditya.b...@gmail.com wrote: Hi, Once you have GWT compiled code you can embed it any kind of web application just you will require to is the copy the content from WAR folder which is created in GWT project to the project folder under your web application. So consider if i m using Apache Tomcat then the content from WAR that is modules will be copied to the webapps/project_name/content From War I hope this work. -- Aditya On Tue, Aug 17, 2010 at 12:38 PM, Anita anapont...@gmail.com wrote: Hello Suersh, With this solution, ¿How can i solve the problem of catching the events on one application and doing something on the others? Thank you very much!!! Regards, Anita On 16 ago, 16:41, suersh babu sureshgbab...@gmail.com wrote: use div give id so that each id display differerent different information . On Thu, Aug 5, 2010 at 3:19 PM, Anita anapont...@gmail.com wrote: Hi, I’m new on GWT and i’m trying to do something but don´t know how…. My app has 2 panels (HorizontalSplitPanel and VerticalSplitPanel), in a way that i have my window divided in 3 parts. In each part i want 3 differents app to be runing. One of them is an open source web app, written in Java/JSP(no GWT), but i don´t know how to integrate it, in a way that i can access de events generated by it. I’m a little lost and any help would be very usefull. Thank in advance. Regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- your's truely suresh babu.g -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT serialization
Hi The basic requirement for you is to deal with XML file So we have jxl.jar which provides APIs to interact with tags and elements in xml so using these API's that are generally known as XML parsers that is SAX or DOC parsers. so use by using these parsers you will be able to deal with XML files. It wont be that difficult for you once you learn how to use these parsers. You will need external jar file jxl.jar -- Aditya On Tue, Aug 17, 2010 at 6:00 PM, Ciarán ciaran.mccann@gmail.com wrote: Hi, I am currently working on a GWT app that requires me to serializes an object client side into maybe XML/JSON or anything really. Then save that serialized object as a xml/json/.ser file. Then at a later date read that file and reconstruct my object from it. I have been searching for days for an answer to this, used several external library, read tutorials, GWT documentation and I still not closer to a solution. Am I totally missing something here? It was very easy to do this in plan Java, but GWT I just can seem to get it working. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to integrate an open source web app into a GWT application
Hi, Once you have GWT compiled code you can embed it any kind of web application just you will require to is the copy the content from WAR folder which is created in GWT project to the project folder under your web application. So consider if i m using Apache Tomcat then the content from WAR that is modules will be copied to the webapps/project_name/content From War I hope this work. -- Aditya On Tue, Aug 17, 2010 at 12:38 PM, Anita anapont...@gmail.com wrote: Hello Suersh, With this solution, ¿How can i solve the problem of catching the events on one application and doing something on the others? Thank you very much!!! Regards, Anita On 16 ago, 16:41, suersh babu sureshgbab...@gmail.com wrote: use div give id so that each id display differerent different information . On Thu, Aug 5, 2010 at 3:19 PM, Anita anapont...@gmail.com wrote: Hi, I’m new on GWT and i’m trying to do something but don´t know how…. My app has 2 panels (HorizontalSplitPanel and VerticalSplitPanel), in a way that i have my window divided in 3 parts. In each part i want 3 differents app to be runing. One of them is an open source web app, written in Java/JSP(no GWT), but i don´t know how to integrate it, in a way that i can access de events generated by it. I’m a little lost and any help would be very usefull. Thank in advance. Regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- your's truely suresh babu.g -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Clicking HyperLink Twice or more...
Hi, check for click handlers that you are registering for that particular link Ideally it should work fine... meanwhile if you are losing that event handler after first click then and then only this problem could be faced. I never faced such kind of situation with the links I used Anchor from GWT... -- Aditya On Thu, Aug 12, 2010 at 6:19 PM, Santosh kumar kopp@gmail.com wrote: Hi, I am using GWT HyperLinks in my Project, i want some clarification about these links. when i click on the link for the first time it works fine. Immediately when i click the same link its not working. Like control is not coming to that link.. is their any logic to get the control to the link when its get clicked continuously. please can any one answer to my doubt ??? -- Thanks Regards *S a n t o s h k u m a r . k* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: showing all the elements from SuggestOracle in suggestionBox
Hello, yes you are right we dont have direct access to SuggestBox Popups. I have already extended SuggestOracle and have overridden method requestSuggestion(request,callback); code for the following as follows : public class StartsWithSuggestOracle extends SuggestOracle { //... some other code... *@Override* *public void requestSuggestions(Request request, Callback callback) * *{ * *final List suggestions = computeItemsFor(request.getQuery().toLowerCase(),request.getLimit()); * *Response response = new Response(suggestions); * *callback.onSuggestionsReady(request, response); * *} * } and the underlined method computeItemsFor(); returns me the suggestions based upon request so as per my logic if request contains no character that is an empty string i have returned all suggestions from oracle object. so here i m able to get this response correctly but i m nt getting wht should be done next with this response. from where i should give a call to this method and how that list get populated. I have followed that link suggested by you but that was the same mechanism that used there. so i m lil confuse why its not showing the response. -- Aditya On Thu, Aug 12, 2010 at 5:50 PM, ctasada ctas...@gmail.com wrote: Hi Aditya, The problem is that you don't have direct access to the SuggestBox popup. If you want to see all the possible solutions you should extend the SuggestOracle and implement your own requestSuggestions method (see this link for some nice examples: http://development.lombardi.com/?p=39) In this way yo can simply return all your list, even ignoring the limit. Regards, Carlos. On Aug 12, 10:50 am, Aditya 007aditya.b...@gmail.com wrote: hi, I want to show all elements from the suggestoracle whenever suggestionbox recieves a focus. I did some search for it and i found something as follows : http://groups.google.com/group/google-web-toolkit/browse_thread/threa... Now i m able to recieve Response this.getSuggestOracle().requestSuggestions(request, new Callback() { @Override public void onSuggestionsReady(Request request, Response response) { // here I m getting complete list from suggestoracle } }); I am able to get list of suggestions in this response but i dnt knw what should i do next...? what should be done with this response how this will help me to populate suggestions...? Thank you. -- Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Incubator - GWTCanvas problems with image loading
* Look at this error message Aug 9, 2010 10:17:54 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /mywebapp/GoogleCode.png It is showing that server is trying that GoogleCode.png under /mywebapp/GoogleCode.png Where it is not finding So try and figure out where exactly it is searching for that image and you have to debug it by yourself as this is an issue of putting files in right place and referring those by right urls. -- *Aditya On Tue, Aug 10, 2010 at 7:54 AM, Gal Dolber gal.dol...@gmail.com wrote: try this: String[] imageUrls = new String[] {GWT.getHostPageBaseURL() + images/GoogleCode.png}; 2010/8/9 kstokes dada...@gmail.com Hi Aditya, Well I have two apps, once is an App Engine variant, and they are a little different in their response, although neither will display the image. My App Engine version (when running in hosted mode) displays in red on the console that two files can't be found: Aug 9, 2010 10:13:51 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico Aug 9, 2010 10:17:54 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /mywebapp/GoogleCode.png The hosted mode of the non-App Engine version types out some kind of information that looks like header info or request info, but no paths or filenames. In the browser, the image just doesn't show up, ( unless I use a full URL, that is. ) -Kevin On Aug 9, 5:23 am, aditya sanas 007aditya.b...@gmail.com wrote: do you get any error message while doing this...? probably that might help you to track exactly where it is searching for googlecode.png. -- Aditya On Mon, Aug 9, 2010 at 2:44 PM, kstokes dada...@gmail.com wrote: I'm using Eclipse on Windows. I have added a GWTCanvas to the demo app and am trying to load an image and display it with code which is omething like this: http://code.google.com/p/google-web-toolkit-incubator/wiki/ImageLoader My problem is that the image only loads and displays if I have a complete URL like // String[] imageUrls = new String[] { http://www.knivesplus.com/ media/SC-104OT.jpg}; /* This works fine */ String[] imageUrls = new String[] {images/GoogleCode.png}; /* This does not work. */ However, I have created an 'images' folder in my war folder in Eclipse, and the following image in the HTML displays just fine: img src=images/GoogleCode.pngimg I don't understand why the app has no problem reading the image from the relative path when displaying the HTML, but cannot find the image using the ImageLoader class. What can I do so that I can add images to my eclipse project which I can then use with GWTCanvas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Incubator - GWTCanvas problems with image loading
do you get any error message while doing this...? probably that might help you to track exactly where it is searching for googlecode.png. -- Aditya On Mon, Aug 9, 2010 at 2:44 PM, kstokes dada...@gmail.com wrote: I'm using Eclipse on Windows. I have added a GWTCanvas to the demo app and am trying to load an image and display it with code which is omething like this: http://code.google.com/p/google-web-toolkit-incubator/wiki/ImageLoader My problem is that the image only loads and displays if I have a complete URL like // String[] imageUrls = new String[] { http://www.knivesplus.com/ media/SC-104OT.jpg}; /* This works fine */ String[] imageUrls = new String[] {images/GoogleCode.png}; /* This does not work. */ However, I have created an 'images' folder in my war folder in Eclipse, and the following image in the HTML displays just fine: img src=images/GoogleCode.pngimg I don't understand why the app has no problem reading the image from the relative path when displaying the HTML, but cannot find the image using the ImageLoader class. What can I do so that I can add images to my eclipse project which I can then use with GWTCanvas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to integrate an open source web app into a GWT application
hello, @anita : plz be specific with your requirement first of all and give some more information that which type of web app that you wished to integrate with GWT it is possible ofcourse but without giving complete information it is hard to explain wht you want... -- Aditya On Mon, Aug 9, 2010 at 1:41 PM, Anita anapont...@gmail.com wrote: Hi Abhiram, Thank you very much for your answering!!! but i'm not sure that i understand your suggestion :( The application that already exists has a client side(js) and a server side(java servlets)... So you're suggesting that i should embed the client(js) part in html and make a html widget? Thank you very much! An On 9 ago, 09:25, abhiram wuntakal abhir...@gmail.com wrote: Hi, I am really not sure if this might be totally wrong. But u can take this as a suggestion from where you can start the solution. Embed the JSP code in html and make that part of a html widget. You can place this html widget in one of the panels. Then u can build any other GWT sub application in the other sub-panels. Not sure if this is exactly right, but I think this shud work.. HTH, Abhiram On Mon, Aug 9, 2010 at 12:51 PM, Anita anapont...@gmail.com wrote: Please, could anyone help me?? 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: add mouse handlers for document body?
if you are having any parent widget in your body element which embeds other widgets then you can override a method onBrowserEvent(Event event){ sinkEvents(eventType); // here you can specify events that you would like to handle } in this way you can receive events that are ignored by the gwt components bt can be caught by this method. -- Aditya On Fri, Aug 6, 2010 at 6:51 PM, spierce7 spier...@gmail.com wrote: What do you mean by document body? You might want to look into a DOMHandler. That's how I got mouse move handlers to work on my grid. Grid's don't have an obvious method that allows you to add a MouseMoveHandler like a lot of other things do (grids only have addMouseClickHandler). I'd take a look again at what you want to add the handler too and make sure it doesn't have an obvious method like that. Another option is wrapping things in an HTMLPanel, which would allow you to add a MouseMoveHandler, etc. ~Scott On Aug 5, 10:11 pm, Randy S. randy.sarg...@gmail.com wrote: I'd like to add a MouseMoveHandler and MouseUpHandler to the document's body, but haven't discovered how. Thanks in advance to anyone who can answer this. -- Randy -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: i18n translations
i can help u for marathi and hindi. -- Aditya On Thu, Aug 5, 2010 at 5:40 AM, igor mejia igorme...@gmail.com wrote: if you can i can help you with spanish 2010/8/4 ale aleee...@gmail.com Hi everybody, I'm finishing to develop a web application with GWT + GAE, and I want to publish in multiple languages. The application is about sport, and the message file is about 400 lines mostly consist of one word. Is there anyone who can translate it into his native language? In return he will receive my infinite gratitude, I will write his/her name in the thanks page of my site with a link to what he wants. And of course I will be happy to return the favor by translating into Italian! Any language is OK, even English, (I'n not speak wery well, so will be full of errors!) Thank you, thank you! Alessandro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Rocks!
In Marathi -- GWT lai bhari... -- Aditya On Fri, Jul 30, 2010 at 2:32 PM, Ignat Alexeyenko ignatalexeye...@gmail.com wrote: Hi. I'm developing a simple project with GWT (2.0.0) and Spring. Project is in early ALPHA stage. There is a login screen that sends request to a server (web application powered by Spring framework). You can checkout source from the SVN repository: https://simpleworklog.svn.sourceforge.net/svnroot/simpleworklog/ -- Kind regards, Ignat Alexeyenko. On Fri, Jul 30, 2010 at 10:04 AM, Deepak Singh deepaksingh...@gmail.comwrote: How can i integrate gwt 2.1 with Spring ? My need is to call cross-domain web service from gwt. So i thought to use spring on server side just for web services and integrate with gwt. kindly explain with codes. On Fri, Jul 30, 2010 at 6:42 AM, Craigo craig...@gmail.com wrote: With 6 developers, we used GWT to develop on online lending application. GWT was used as the front end, and it seamlessly plugged into the back end software via Spring. The developers were already skilled in Java, so the uptake of GWT was painless. Development was completed within a few weeks, and is now up and running without any problems. Everyone is happy, developers, business, and users. As a side project, I'm also using GWT to create a AJAX VNC viewer. Which shows just how flexible GWT is. On Jul 29, 12:56 pm, sakesun roykiatisak sake...@gmail.com wrote: Besides praising, could anybody please give some short story of your experience with GWT ? What kind of project are you working on ? How large is the project team? What is the typical work process ? What tool do you find essential in working with GWT ? Does GWT compile speed cause you any inconvenience ? I'm merely a antique desktop application developer who looking for a sane method to develop boring, enterprise-like, web-based, database application. I've tried a lot of stuffs, but none seem to convince me that my quality of life will be better than using my age old tools. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: TabPanel within TabPanel styling
try to use setSyleName instead addStyleName -- Aditya On Sun, Jul 25, 2010 at 9:00 PM, mobilekid mobilek...@googlemail.comwrote: My app's layout consists of a TapPanel, which holds another TabPanel. I'd like to have the two TabPanels look differently. Following the GWT tutorial on applying styles I did the following: TabPanel innerTabPanel= new TabPanel(); //carriersTabPanel.setSize(100%, 100%); innerTabPanel.addStyleName(inner-tabPanel); .gwt-TabPanel .inner-tabPanel{ width: 100%; height: 100%; } This, however, did not have any effect whatsoever. Then I tried the following, but that didn't work either: .inner-tabPanel{ width: 100%; height: 100%; } So how I can style the two panels separately? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Opening a file
I think this must be a server side issue should not be posted here. -- Aditya On Wed, Jul 21, 2010 at 11:08 AM, rajan kochhar rajan_kochhar2...@yahoo.com wrote: I am trying to read an excel file as follows: public class LMSServiceImpl extends RemoteServiceServlet implements LMSService{ public String getExcel(String path) { String r=null; try { File file = new File(D:/q.xls); FileInputStream is = new FileInputStream(file); Workbook workBook = Workbook.getWorkbook(is); Sheet sheet = workBook.getSheet(0); System.out.println(No of sheets=+workBook.getNumberOfSheets()); r=+sheet.getRows(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } return r; } } I am getting an exception : java.security.AccessControlException: access denied (java.io.FilePermission D:\q.xls read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.FileInputStream.init(Unknown Source) at com.cummins.lms.server.LMSServiceImpl.getExcel(LMSServiceImpl.java: 29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java: 100) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 562) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) Can someone please help in
Re: file upload set filter
how to embed form input type=file name=pic id=pic accept=image/gif, image/jpeg / /form into gwt file upload...? -- Aditya On Wed, Jul 21, 2010 at 2:00 AM, lineman78 linema...@gmail.com wrote: http://www.w3schools.com/TAGS/att_input_accept.asp On Jul 20, 2:01 pm, Paachu binu...@gmail.com wrote: Hi, I need to upload one csv file into my application. I am using FileUpload compontent to upload the File. But when I use FileUpload, the FileUploadDialog displayed All files.. I need to set it only for csv files . How can I set filter for that? thanks Paachu. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error: no html file found
check for entries in web.xml if it is containing any mapping for the file which is not in existing... -- Aditya On Wed, Jul 14, 2010 at 5:15 PM, Pragya pragya1...@gmail.com wrote: Hi, I am new to GWT and am trying to build a simple RPC application to add two numbers. There is no other error except that it gives a warning when i try to run it and says that the html file was not found. Here's the message that comes: Initializing AppEngine server Jul 14, 2010 6:52:38 AM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Jul 14, 2010 6:52:39 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:\eclipse\workspace\checkhello\war\WEB- INF/appengine-web.xml Jul 14, 2010 6:52:39 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\eclipse\workspace\checkhello\war\WEB- INF/web.xml Jul 14, 2010 12:22:42 PM com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/ Jul 14, 2010 5:05:20 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /Addnum.html Jul 14, 2010 5:05:23 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /Addnum.html Jul 14, 2010 5:07:09 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /Addnum.html Jul 14, 2010 5:07:09 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /Addnum.html What should I do? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to get classes from Cobogw
Problem solved guys... i had to include following statement in my module inherits name='org.cobogw.gwt.user.User' / -- Aditya On Wed, Jul 7, 2010 at 11:37 AM, Aditya 007aditya.b...@gmail.com wrote: Hello, I m trying a demo application using jar provided by Cobogw I have downloaded cobogw-1.3.1 and included it into project build path http://cobogw.googlecode.com/svn/demo/WidgetsDemo.html I have put this jar file under WEB-INF/lib/ I m running project under eclipse environment it doesnt show any error while importing that classes from this jar but whenever i try to compile my code it gives me following error : Compiling module com.ratings.demo.RatingDemo Validating newly compiled units [ERROR] Errors in 'file:/D:/Google_App_Engine/Java/RatingDemo/ src/com/ratings/demo/client/RatingDemo.java' [ERROR] Line 16: No source code is available for type org.cobogw.gwt.user.client.ui.Button; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.ratings.demo.client.RatingDemo' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly Anyone has solution for this...? Thanks, -- Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: the button and its infoLabel problem...
Is that a RPC call for searching...? Please explain what are you doing actually for searching...? -- Aditya On Wed, Jul 7, 2010 at 1:52 PM, Shelley gsun...@gmail.com wrote: hello all: i came across a strange problem which seems quite simple: i have a button and a label on a panel, the button has been registered a listener: Button searchButton = new Button( Search ); searchButton.addClickHandler( new ClickHandler() { @Override public void onClick( ClickEvent event ) { infoLabel.setText(Beginning); //do a search operation here which will take more than 5 seconds... infoLabel.setText(Completed...); } } ); that's all, but i never see the Beginning“ on the label, but only see the completed..., seem the label will not refresh it's text until onClick is finished? how can i achieved the function that display beginning... first and Completed... when the operation completed? thanks in advance. -Shelley -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to get the row number of a flex table
you can set buttons ID by the method getElement().setId(); you can set Id as row number and as whenever button get clicked you will have to check its id by getElement().getId() which is row number that we had set. -- Aditya On Mon, Jul 5, 2010 at 8:53 AM, Vik vik@gmail.com wrote: Hie I have a table extending a FlexTable. In every row there is Button. On clicking this button I want to know the row number of the table. Any idea on how to achieve this? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: TabPanel - 100% height for client widget?
I think for that you will require to set its border explicitly. that will settle this issue. you can add a dummy panel on tab home1 or home2 and set its height but here if you set height using % then it will not work you will have to set height in pixels or any other like em... i hope this will work. -- Aditya On Sat, Jul 3, 2010 at 7:09 PM, Magnus alpineblas...@googlemail.com wrote: In addition, it would set the wrong height! The height of the TabPanel (pnl) is ok, it covers 100 % of the available space. But the VerticalPanel p that I add as the client panel to one of the tab pages is not affected. Look at this screenshot: http://yfrog.com/4rtabpanelp The TabPanel (red border) is ok. But its child panel (blue border) is crunched at the top. How can I get the blue border maximized to the red border? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to make javascripts,static images and css cacheable...
@Andre Nirmal : Thank you very much for such valuable solution. I dont have htaccess file as my application is getting deployed on the google appengine so how to send headers along with html is a big question mark in front of me... i have found one solution for this is that manipulating appenging-web.xml which has one important parameter from cache point of view that is static-files include path=/**.png expiration=1d / include path=/**.jpg expiration=1d / include path=/**.gif expiration=1d / include path=/**.js expiration=1d / /static-files so by using this tag i can make my javascripts,htmls,images cacheable which could be one solution but as htaccess provide us direct way to manage html file's headers of our web application, i would like to implement something like that. if anybody has implemented it using appengine then please let me know. -- Aditya 2010/6/29 André Moraes andr...@gmail.com All the code generated by GWT (css, javascript, images). Are cacheable by default, since the name of the resource is generated by the hash of the contents (i think it is CRC 32, but not sure). The best way to cache things is to let your web-server handle this. Apache, nginx, tomcat have a very good cache mechanism which adds some special headers inside the HTTP Response and those headers are understood by almost any browser. You can configure your server to mark all *.cache.* files to be cached forever. If you change the code of your app, the GWT will change the name of the files and then change what is requested from the server, so the old files will not be used and the browser will discard them later. The only caution is to disable the cache for the files *.nocache.* because these files will not change and the browser must download them every time the user goes to your application. Luckly there are only a few files (sometimes can be only one file) that will be non-cacheable. The solution proposed by Nirmal is the way to go (especially the CacheFilter), but check the new docs because the way Css and ImageResources are handled changed to a better way in the more new version of GWT. On 29 jun, 09:25, Aditya 007aditya.b...@gmail.com wrote: hello, I m using GWT on client side which includes lots of code and lots of processing which makes my GWT modules little heavier and Whenever i test it online it loads little slower than it was expected when i searched around the web i found the solution that I can make my static content cacheable i have pure HTML pages i dont know how to make it cacheable. I have included meta tags in my pages but most of the browser doesn't support these meta tags. So what could be done in such situation...? -- Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to find 'Student.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
I m having 11-12 modules with having same inherits following files inherits name=com.google.gwt.user.User / inherits name=com.google.gwt.user.theme.standard.Standard/ inherits name='com.googlecode.gchart.GChart'/ these are common and none other than this. and forth one is for entry point. but i didn;t found a single module referencing that deleted student.gwt.xml module...! -- Aditya On Mon, Jun 28, 2010 at 3:59 PM, andreas horst.andrea...@googlemail.comwrote: Did you remove all inherits tags in all other modules referencing Student.gwt.xml? It may be a module still referencing it... On 28 Jun., 12:26, Aditya 007aditya.b...@gmail.com wrote: hello, Its been now long time i m using GWT , I am facing some problem with GWT modules. I was having several modules in my application but over the period I updated my application and just wanted to remove some unused stuff from the application. So I deleted the module Student and then i tried running application in hosted mode it worked fine but I got error on the console saying [ERROR] Unable to find 'Student.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? I am not able to figure out why I am getting this error as that is module is not present and I have deleted all the files which were associated with that module so no chance of having any reference. Still i m getting that error message and just because of that I can't run my application in debug mode so i cant hit the client side break points as by passing extra URL param application refuses to run. Any one has encountered this problem before if yes then please let me know. thank you -- Aditya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to find 'Student.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
@prashant : Can you please specify that file name which i should delete and exactly where it is located...? Thanks. -- Aditya On Mon, Jun 28, 2010 at 4:02 PM, Prashant nextprash...@gmail.com wrote: Delete old run configuration 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to find 'Student.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
Problem resolved. I deleted files from Run configurations . -- Aditya On Mon, Jun 28, 2010 at 4:08 PM, aditya sanas 007aditya.b...@gmail.comwrote: @prashant : Can you please specify that file name which i should delete and exactly where it is located...? Thanks. -- Aditya On Mon, Jun 28, 2010 at 4:02 PM, Prashant nextprash...@gmail.com wrote: Delete old run configuration 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Button look and feel
or you can have your custom style for that button and attach it using setStyleName(stylename); this will solve your problem. -- Aditya On Sat, Jun 26, 2010 at 2:44 AM, Jim Douglas jdoug...@basis.com wrote: Chris -- PushButton is a styled DIV, but Button is a standard HTML button object. You want to use Button, and override the default gwt-Button style. http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/Button.html On Jun 25, 3:50 am, Takapa tak...@gmail.com wrote: Hi, I have been using GWT for around 18 months via Smart GWT but have decided to create a pure GWT project but having a few hiccups. I'm having a seemingly trivial problem with look and feel at the moment. When I create a button it is coloured grey to white with a gradient fill. I just want a regular HTML button that matches my OS standard buttons. Can anyone tell me how to specify this either programatically or via CSS. Thanks, Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: VerticalPanel background-image
I can tell you about the background image to the button as you can set it by changing attached style name to your custom one as .mystyle{ background-image:url('imagePath.jpg'); display : block; } and attach this style to ur buttton using setStyleName(mystyle); this will do for sure. background for vertical panel has not been tried yet if found any solution will post for sure. Cheers -- Aditya On Fri, Jun 25, 2010 at 7:23 PM, kais blah kais.b...@gmail.com wrote: Hi, Please how to set a background-image for VerticalPanel and the sub widgets of the VerticalPanel will be on top. also a background-image of the PushButton. Thanks Regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Question about gwt from a newbie.
There is one more way to do this is to have notifiers which I have implemented in my application. suppose you have one interface say Step 1 : interface WidgetStateChangedNotifier{ // this will have method as per you requirement... } Step 2 : implement this interface in Widget A as widget A must get notification about state change in Widget B class WidgetA implements WidgetStateChangedNotifier{ // this class will implement that method and this method will get called whenever there is change in WidgetB } Step 3 : Now the state of widget B has changed and you wants to notify WidgetA about it for this purpose create an object of this interface pass it to the constructor of WidgetB. and call its method whenever there is a change in state of widget say widget must get notification whenever user clicks WidgetB then public void onClick(ClickEvent){ /// here we will give a call to the method of that interface which in turn will call method from WidgetA so Widget A got notification } I hope this will help you. -- Aditya On Thu, Jun 24, 2010 at 12:31 PM, Qian Qiao qian.q...@gmail.com wrote: On Thu, Jun 24, 2010 at 02:46, tank weakt...@gmail.com wrote: Assume i have two widgets A and B in host page. They bind to datasource DSA and DSB respectly. I do some stuff in A then DSA has changed. DSA's change leads to DSB's change. Question is: How to reflect DSB's change on B and where to put such code? I can let widget A has a reference of B. When the rpc call for changing DSA finished i call B's some function to refresh B's data. Another way is keeping widget A and B seperately and to put this logic in entrypoint. But first, refresh data always means refilling , i cant do it with an incremental manner. Second, when we have more than two widgets whose datasources all have relationship with other, the code will become more ugly and hard to maintain. I am not familiar with RIA, i used to write some jsps/servlets and just jump from page to page. I dont need worry about data refreshing.Then what's the common way in GWT? One option is to make it event driven. So once A is updated, it fires some sort of event, triggering all listeners on it to do whatever appropriate. The advantage of this approach is that as you add more Bs and Cs and Ds in, the complexity doesn't grow out of control. HTH. -- Joe -- Proper software development is like female orgasm. Some claim it's a myth, others try very hard to make it happen but don't know how, and most magazines, books and videos showing it are showing faked ones. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: create table with the server response
you can have asynchronous call and on success of this method u can draw up dialogbox in whichever way u want it. -- Aditya On Wed, Jun 16, 2010 at 5:58 AM, Luan luan.malakow...@gmail.com wrote: I would like to create a table with the server response. Example: Sending a name and age to the server and the answer should come within the DialogBox in table form. name | age -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problem with file upload
try adding a statement upload.setName(your form name); after creation of object for FileUpload. -- Aditya On Wed, Jun 16, 2010 at 1:24 PM, balachandra maddina chandu2...@gmail.comwrote: Hi There, Im trying a file upload using the below code but on my server side no file items are available but without changing the server code if i try using a plain html with a form then the server was able to see file items. please let me know if im missing anything here. GWT code: - uploadForm = new FormPanel(); uploadForm.reset(); uploadForm.setAction(../upload); uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); FileUpload upload = new FileUpload(); uploadForm.add(upload); uploadPanel.add(uploadForm); Server side code: - String contentType = request.getContentType(); if (!ServletFileUpload.isMultipartContent(request)) { return super.onSubmit(request, response, command, errors); } FileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new ServletFileUpload(factory); try { ListFileItem fileItems = upload.parseRequest(request); if (null != fileItems !fileItems.isEmpty()) { Your help is very much appreciated. Thank you, bala. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: AsyncCallback - returning values to enclosing block
LOL Thomas.[?] That was great example to determine async calls. anyway what you are saying is right. Its a bad design to have a method which returns something and then make async call which changes the state of some variable. -- Aditya On Wed, Jun 16, 2010 at 6:13 PM, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 1:09 pm, Magnus alpineblas...@googlemail.com wrote: Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? What is it that you don't understand in asynchronous? I mean, your getUsr call will *always* end after the return tmp_str_usr statement. So, on the first call and until the server responds and you AsyncCallback is called, you'll get the empty string (initial value of the field); then AsyncCallback will change its value, and on all subsequent calls until the server responds to the new requests (and AsyncCallback will be called again) you'll get that value. When you ask your wife to get you some beer, the beer won't be there until your wife come back from the kitchen; and while she's gone, the football match isn't paused and life continues. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. 360.gif
Re: FileUpload for Multiple selection
hi, selecting multiple files at ones is not provided Even if you are attaching a file to mail you have to add it one by one. So files will be submitted whenever we submit the form. and new GWT file upload widget is good to have in its simple and easy to implement as i have switched my traditional fileupload widget to new upload widget. Anyway do search for it and dont forget to post your reply if you find a solution for this. -- Aditya On Tue, Jun 15, 2010 at 4:15 AM, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: Hey, actually this does not do what I want... What this gwtupload library do I already do it using com.google.gwt.user.client.ui.FileUpload What I would like to do is select multiple files at once, avoid have to select one by one. an ideia ? html 5 ?... On Sun, Jun 13, 2010 at 6:38 PM, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: THANKS! ;) On Sun, Jun 13, 2010 at 6:24 PM, aditya sanas 007aditya.b...@gmail.comwrote: http://code.google.com/p/gwtupload/ http://code.google.com/p/gwtupload/this will help you probably. -- Aditya On Sun, Jun 13, 2010 at 10:35 PM, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: How to create a Multiple file selection for upload using ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: FileUpload for Multiple selection
http://code.google.com/p/gwtupload/ http://code.google.com/p/gwtupload/this will help you probably. -- Aditya On Sun, Jun 13, 2010 at 10:35 PM, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: How to create a Multiple file selection for upload using ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CAPS Lock 0n/off
Hello, You can either register textbox with onkeyuphandler which will give access to each keycode entered by using that if character entered is from A-Z that you can check as A has value 65... In this way you can achieve what you are trying to do and to show a message you can use anything as per your requirement. I hope this will solve your issue. Cheers, -- Aditya On Sat, Jun 12, 2010 at 2:53 PM, gopal gopalbhal...@gmail.com wrote: I have some code for login page. There are one dynamic have TextItem and PasswordItem. Now when user enter some keys in this textitem or password field i want to set warning for capsLock is on or off on both. How can i set this? Please give me some proper reply on this i m try to 2-3 days for this. Please reply earliest. Thanking You. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can't start with GWT
If you wish to run your application in debug mode then only you need to have that extra parameter in your URL e.g. http://localhost:/demoapp?gwt=127.1.0.1somthing like this but you want to run application just start the server and enter the url as http://localhost:/ or your application home directory. Do not include parameter. one more thing i would like to suggest that try to use if possible Eclipse Galileo it is recommended and good to use as most of the developers prefers eclipse. Anyway try your luck! Cheers, -- Aditya On Sat, Jun 12, 2010 at 7:58 PM, zeroed pis...@gmail.com wrote: Hello, everybody! I start my experience with GWT and have a problem at the beginning. I tried to setup new project in different IDE's: Eclipse, IDEA, NetBeans, but I failed in all cases. When I start my project and open browser (any browser) I get the following error: Plugin failed to connect to hosted mode server at 127.0.0.1:9997 If I do the same on work computer - everything is fine. I have Windows 7 at home and Windows XP at work. Also I have a lot of ethernet interfaces on my home laptop: VMWare Workstation generate it. Can you suggest me something? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Flashing cells for FlexTable
Hi, you can set particular styling for that cell for specific period of time say for 2 seconds and less than that and just remove this styling after that time. as flexttable has method as getFlexCellFormatter().setStyleName(stylename); remove this style after 2 seconds. so user will be notified as there is new addition has been done. Cheers, -- Aditya On Sat, Jun 12, 2010 at 12:31 PM, 82man augustinec...@gmail.com wrote: Hi all, I just started using GWT and so far its been pretty awesome. I am trying to implement a table where if a value changes it will do a flash ? For example, i have 3 cells and Cell A changes values , I would like flash on that cell (background changes color etc) to show the user that this particular cell has changed values. Any idea how i can do that? Cheers -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: About GWT poject Deployment
fake post should be removed immediately. -- Aditya On Sun, May 30, 2010 at 11:12 AM, Saima Waseem saimawaseem2...@gmail.comwrote: Watch New Indian Movies with discounted Price... Visit New Indian Movie.com! http://www.clicknearn.net/3527.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: is one gwt project for one html only?
hi, yeah ofcourse it is absolutely possible to have n number of html pages in ur gwt project. if u wish to have a html page with gwt components then u need to add new module otherwise you have simple html pages as we have in web projects. Cheers -- Aditya On Sun, May 30, 2010 at 9:31 AM, cy dev cydevelo...@gmail.com wrote: can one gwt project support more than one html? how to do this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: deploy gwt project
that is good cheers -- Aditya On Sat, May 29, 2010 at 5:08 PM, leslie web...@me.com wrote: *Resolved*. I got it. I just did some additional work on my hosting server, deleted old files, redeployed etc and it's working now. The only oddity is that the background color is showing up white. In eclipse it's blue as the stylesheet instructs. But outside of eclipse the background color is ignored. All the other instructions in the style sheet appear to be implemented, however. But this is a relatively trivial matter. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: deploy gwt project
As far as i understand when we had deploy our application into apache we had copied *content from war not war folder. * and no need to create war file using that command i.e. if ur apps name is 'demoapp' then create 'demoapp' folder inside webapps and put that content frm war inside this folder and try and access this using http://localhost:8080/demoapp/ i think this will do. try it out. Cheers -- Aditya On Fri, May 28, 2010 at 10:03 PM, leslie web...@me.com wrote: I'm developing a GWT application inside of Eclipse. I would like to deploy my application to a remote server online. Could anyone explain to me or point me in the direction of online instructions as to how to do this? What I've done so far is to copy the directory called war that is generated in my project folder to another directory, create a war file from this directory via the standard jar command - jar -cf myWarFile.war - and then copy this war file into the webapps directory of my local Tomcat installation. When I do this I can see the proper page, but the stylesheet instructions are ignored. It's as if the stylesheet isn't being applied. But I can access the stylesheet via URL. When I attempt to copy the war file to my online hosting account via FTP and access the page that way I get a 404 error. Thanks for any help. I appreciate 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: file upload without browse button
Hi guys, here is the solution which i have found on the gwt groups people who wants change look and feel of their file upload widget here is the ideal solution for those guys. http://code.google.com/p/gwtupload/wiki/GwtUpload_GettingStarted http://code.google.com/p/gwtupload/wiki/GwtUpload_GettingStartedplease follow link mentioned above. thank you. @bimboJones : thanks for ur response. -- Aditya On Thu, May 20, 2010 at 9:27 PM, BimboJones bimbojone...@gmail.com wrote: hi, You should check this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/df03709c2c9ea1db/5b5785f77167e6ec?lnk=gstq=style+of+FileUpload+widget#5b5785f77167e6ec On 19 Maio, 18:28, Chatak 007aditya.b...@gmail.com wrote: hi, i m having some problem with UI feature as i m having file upload widget on the UI which allows us to select a file to upload as we all know for that we need to click on browse button which is very traditional approach but due to little space i dont want user should click on browse button or click in that textbox which lets user to select file to upload In short i simply wants a single button or link with custom message say Choose File how it could be done? Thank you. Chatak -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Compile Issue
Please check for is your java code is not importing some unnecessary stuff which might be not supported by GWT. to remove unnecessary imorts you can opt for a short cut key : Ctrl+Shift+O and then try to compile. -- Aditya On Mon, May 24, 2010 at 2:00 PM, Sorinel C scristescu...@hotmail.comwrote: Try to add these line under this one: !-- Inherit the core Web Toolkit stuff.-- inherits name='com.google.gwt.user.User'/ ADD NE LINES: inherits name=com.google.gwt.core.Core/ inherits name=com.google.gwt.user.History/ Cheers! PS: more info about GWT 2.0: http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT designing
hi, you are seemed to little confuse with exactly what you want to do. In GWT which is module base, which loads a single class which override a method onModuleLoad() from entry point and which we specify in the module using entry-point class='com.weshine.intelltest.client.Admin'/ and it is not possible to have two entry points for one module. so what you are saying is not possible but i can suggest you if you want to show the content from java file B then you can have class B extends some widget. and now you will be able use functionality from class B in the class A. -- Aditya On Sat, May 22, 2010 at 11:02 AM, Rajalakshmi Subramanian raji.sm...@gmail.com wrote: Hello sir, I have two GWT java files in one package From file A using onModuleLoad() method i want to call another java file B. I created object for B and call the method..but it dosen't works. How to call that method when i clicked the hyperlink which is created in java file A. Regards, Raji On Sat, May 22, 2010 at 10:48 AM, Shyam Visamsetty shyamsunder...@gmail.com wrote: GWT is based on modules not files. Do you mean you wanted to redirect to another html file or a module in Java? If a HTML page you can use the following command. Window.open(linkURL, _self, ) HTH. -Shyam, On May 21, 6:55 am, Rajalakshmi Subramanian raji.sm...@gmail.com wrote: Hi.. I have created one gwt application. In the client package i inculded two java file contains gwt coding. In the first java program i included one Hyperlink when this Hyperlink is clicked it should redircted to Second file which also contains some GWT coding. I dont know how to redirect the java file. Help me on this issue... Regards, Raji -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- RAJI -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: difference between hosted mode and development mode
ohk i got it that means whenever i wish to deploy an application in developement mode the extra parameter for gwt plugin eg 'gwt=something' is required and at that time browser is using Java code instead of javascript. and in case of production mode it doesnt refer to java it just refer to the javascript which has been loaded into the browser which requires a compile. I hope what i m assuming is right. Thanks for ur replies and helping me to sort out queries. plz ignore any spelling and punctuation mistakes. -- Chatak On Fri, May 21, 2010 at 9:30 PM, Thomas Broyer t.bro...@gmail.com wrote: On 21 mai, 17:31, KeremTiryaki keremtiry...@gmail.com wrote: and I want to add something... Development mode doesn't care about optimization, It is showing the results as quick as possible Actually, dev mode runs Java whereas prod mode compiles to JavaScript. This means that un dev mode you're using the true java.lang.String or java.util.ArrayList for instance, whereas in prod mode it's the emulated version that's being used. It sometimes lead to different results (Java's Date is quite not the same as JavaScript's one) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Fail to open the GWT application when deployed on TomCat
Hi, I had faced this problem long ago but wht i did at that time, i was selecting checkbox for GAE and so it wasnt working well in Tomcat but after that i removed GAE from my project recompiled it and put my war folder under Tomcat hierarchy it workd fine so i thnk the problem wht u r facing is the similar one -- Aditya On Wed, May 19, 2010 at 12:29 AM, Katharina Probst kpro...@google.comwrote: Did you do a GWT compile? Your war directory should contain a bunch (depending on the # of permutations) of *.cache.html files, which are the actual GWT app compiled to JavaScript. See here: http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideJavaToJavaScriptCompilerfor more info. kathrin On Sun, May 16, 2010 at 2:08 PM, scheiner uri.schei...@gmail.com wrote: Hi all, I am a GWT-newbie and I have encountered the following problem: I am using intelliJ for development. when I run the application from intelliJ (using the JETTY-based GWT development mode) everything is fine. I tried to move my application to my TomCat server and when I tried to open the URL (without development mode) I got the 'The GWT module may need to be (re)compiled' message. When I add the gwt.codesvr=127.0.0.1:9997, everything works. This is how the tomcat webapps\Graph directory looks: 1. I took the compiled classes from the 'IntelliJIdea90\system\gwt \server.server55fdbcb4\GWTGraph.39caa101\run\www' and put it under 'classes' directory (ordered in the 'public', 'server', 'client' sub- directories) 2. The 'web-inf' directory contains the proper web.xml file 3. The 'lib' directory contains the gwt jars 4.The root directory of the application (webapps\Graph) contain these files * rpc file * clear.cache.gif *Graph.css *Graph.html *Graph.nocache.js *hosted.html Is there something I miss? I read some posts about the problem and I recompiled all the classes once again but it didn't fix the problem. Any 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: About Date object in GWT
Ignore deprecation warning u have only one option on client side i.e. Date() object from java.util so user getYear(),getMonth() etc. methods for getting hrs minutes secs and year -- Aditya On Mon, May 17, 2010 at 12:20 PM, Sabbir leo.sh...@gmail.com wrote: and how about reading the years, months, day, hour, minutes and seconds from the date object? On May 15, 6:13 am, Sabbir leo.sh...@gmail.com wrote: the methods inDateobjecat as getTime, getHour, etc are deprecated ones. And in GWT calendarobjectis not allowed. so how do set thedateobjectin GWT??? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Let users build a user interface in the browser
hi, Thats a great idea. all d best -- Aditya On Fri, May 14, 2010 at 2:55 PM, linuxdogm togroe...@googlemail.com wrote: Hello, I already read about the GWT UiBinder which lets developers easy build user interfaces from XML files. What I want is letting the users build user interfaces directly in the webbrowser (without coding). Maybe they have a list of components which they can select in the browser and can drag and drop them how they want them. Can this maybe be realised like the UiBinder technique? Or do you have different ideas? Thanks in advance for your suggestions. Tobias Gröger -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New to GWT
Hi, There are few GWT tutorials available online some f them are PPTs but currently there is no any book available for gwt so not a great news for novice programmers :( so if you really want to learn GWT you have to practice this tool its the only way that you can learn this. -- Aditya On Thu, May 13, 2010 at 5:33 PM, sehgal.prithvi java.programme...@gmail.com wrote: Dear All, I am completely new to GWT. I am not very well versed with Javascript or CSS, but i want to evaluate GWT as RIA framework. Can someone suggest me the beginning point? Which book i should start? Something cool which i can make as a beginner. Looking forward to hear from you. Best regards, Prithvi -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: log4j:WARN No appenders could be found for logger
hi, include tht jar file using java build path and problem will be solved. -- Aditya On Tue, May 11, 2010 at 1:31 PM, fomba collins fomba_coll...@yahoo.comwrote: Hi, I believe this error means that the log4j.properties is not seen in the class path. Please can someone help me with how to insert it into the classpath? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.