Re: Error's , PLEASE HELP ME :)
King schrieb: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext.StatusBar' ist Null oder kein Objekt Have you searched for this error-message using your search-engine of least mistrust? There should be a lot of threads about this. I use: [...] GWT-EXT: 2.0.5.3 the wrapper-classes but not the Javscript-library of Ext... Regards, Lothar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Cannot run GWT application in hosted mode
Hi Basil, Its good that you got some trace messages, which could be used to locate the error. In my case I really struggled a lot as there were no traces available... I worked a bit on your problem. Few more clarity would enable to analyze more on it. Is this the only log got generated??? Because I suspect few logs should be available between Propery 'catalina.base' and Could not find messages. Check if tomcat folder has been created in ur GWT application's home directory with permissions to Read and Write. and even check if the application home directory is provided with Write access. Regards, ArunDhaJ www.arundhaj.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Build Navigation Panel mit TREE
Hello, i am just a beginner with GWT and i want to build an application with a navigation panel on the left side(WEST). If you choose an item on the navigation panel, it will be shown (CENTER) a new panel on the right side. i think it should be the same like an email application, or? By the way the code: [code] public void onModuleLoad() { Panel panel = new Panel(); panel.setBorder(false); panel.setPaddings(15); panel.setLayout(new FitLayout()); Panel borderPanel = new Panel(); borderPanel.setTitle(Use of BorderLayout, AccordionLayout and ColumnLayout); borderPanel.setLayout(new BorderLayout()); final AccordionLayout accordion = new AccordionLayout(); accordion.setAnimate(true); //create single Panels Panel northPanel = new Panel(); northPanel.setTitle(WILLKOMMEN BEIM); northPanel.add(img2); northPanel.setHeight(130); Panel westPanel = new Panel(); westPanel.setTitle(Men+uuml); westPanel.setCollapsible(true); westPanel.setWidth(200); westPanel.setLayout(accordion); Panel southPanel = new Panel(); southPanel.add(img); southPanel.setHeight(80); --//Single Panels for the WEST Panel (Navigation) Panel productionPanel = new Panel(); productionPanel.setTitle(Produktion); productionPanel.setAutoScroll(true); productionPanel.setBorder(false); productionPanel.setIconCls(folder-icon); --//Build a tree with ITEMS Tree tree1 = new Tree(); tree1.setAnimate(true); TreeItem fmachine = new TreeItem(Maschinen); tree1.getRootItem().add(machine); TreeItem ressource = new TreeItem(Rohstoffe); tree1.getRootItem().add(ressource); //family.addListener(eventType, listener) productionPanel.add(tree1); westPanel.add(productionPanel); //New Section for WEST Panel Panel hrPanel = new Panel(); hrPanel.setHtml(getShortBogusMarkup()); hrPanel.setTitle(Personal); hrPanel.setAutoScroll(true); hrPanel.setBorder(false); hrPanel.setIconCls(settings-icon); westPanel.add(hrPanel); //Settings for BORDERLAYOUT BorderLayoutData northData = new BorderLayoutData (RegionPosition.NORTH); northData.setSplit(false); northData.setFloatable(false); northData.setMargins(new Margins(10, 5, 15, 15)); borderPanel.add(northPanel,northData); BorderLayoutData westData = new BorderLayoutData (RegionPosition.WEST); westData.setSplit(true); westData.setMinSize(175); westData.setMaxSize(400); westData.setMargins(new Margins(15, 5, 0, 5)); westData.setCMargins(new Margins(15, 5, 5, 5)); borderPanel.add(westPanel, westData); Panel centerPanel = new Panel(); centerPanel.setAutoScroll(true); centerPanel.setLayout(new ColumnLayout()); centerPanel.add(new Humanresource()); BorderLayoutData centerData = new BorderLayoutData (RegionPosition.CENTER); centerData.setMargins(15, 0, 5, 5); borderPanel.add(centerPanel, centerData); BorderLayoutData southData = new BorderLayoutData (RegionPosition.SOUTH); southData.setMargins(5, 5, 5, 5); borderPanel.add(southPanel,southData); panel.add(borderPanel); new Viewport(panel); } [/code] So now i want to press on TREEITEM machine and on CENTER Panel should be opened the right panel for machine. this panel is perhaps implemented on another class or something like that. i think I have to use the TreeListener or? Or is there an other possiblity to solve this without TREE? sry for my awfull english ^^ kind regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-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: Cannot run GWT application in hosted mode
I appreciate your reply, Arun. Is this the only log got generated??? Because I suspect few logs should be available between Propery 'catalina.base' and Could not find messages. When I run the shell script with the -logLevel DEBUG option, I get a few more log records: [INFO] Starting HTTP on port [TRACE] Property 'catalina.base' not specified; checking for a standard catalina base image instead [TRACE] Refreshing resources [DEBUG] Searching for resources within file:/D:/ [DEBUG] No resources changed [WARN] Could not find com/google/gwt/dev/etc/tomcat/ [DEBUG] catalina.base = D:\!Devel\gwt-windows-1.5.3\Test\tomcat [TRACE] Starting tomcat server [TRACE] Starting Servlet Engine: Apache Tomcat/5.0.28 [TRACE] XML validation disabled [TRACE] Create Host deployer for direct deployment ( non-jmx ) [TRACE] Initializing Coyote HTTP/1.1 on http- [TRACE] Starting Coyote HTTP/1.1 on http- [TRACE] Starting URL: http://localhost:/test.Test/Test.html Check if tomcat folder has been created in ur GWT application's home directory with permissions to Read and Write. and even check if the application home directory is provided with Write access. No, the tomcat folder is not created, despite the fact that everyone has full perimissions to the application home directory :( --~--~-~--~~~---~--~~ You received 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: Are RPC servlets Thread safe
cheers! On Dec 26, 5:57 pm, byhisdeeds byhisde...@gmail.com wrote: Sorry for bothering everybody in this season of good cheer. I found the problem which was my own (of course). I had my json object instantiated per the RPC servlet class and not the servlet method. Think I'll go and have a drink now. John On Dec 26, 4:05 pm, byhisdeeds byhisde...@gmail.com wrote: Please forgive me if the question seems a bit daft. Its christmas and maybe I have had too much to drink. I have a GWT 1.5 application using RPC to access some server side code running under tomcat 6.xxx. I've just recently seen something that puzzles me. When I let fly with 10 or 20 independent RPC calls from my client, each of which queries a database and returns an entry for a single row in a table, I see all the calls being received by the server RPC method, but when I look at the response being sent back to the client (within the RPC method) I see some overwriting each other. That is, I instantiate a JSONObject (http://www.jason.orglibrary) within the RPC myMethod(String s){...} and see that different call to the RPC method result in the same values for the JSON object just before returning. Since I instantiate these within myMethod(String s){...} I expect that they should not interfere with each other. Am I missing something. John P.S. A merry Christmas and Happy New Year when it comes (even if you can';t help me solve my problem). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Profiling browser memory usage in a GWT application
Hi. I have a GWT application that I want to try and reduce the size of the memory footprint in the browser. What can I use to look at the memory foot print dynamically in firefox (or IE) so I can see when my code is stressing the browser. John --~--~-~--~~~---~--~~ You received 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: To draw a line
1. GWT Canvas 2. JSGraphics(Using GWT Widget Library). You have x and y co-ordinates of your two widgets. To calculate length of the line, do simple mathematics. Remember Pythagoras? Rakesh Wagh On Dec 25, 11:47 pm, arun theeperfection...@gmail.com wrote: Hi frends, I have a requirment to connect two widget by a line and also need to find the length of line to measure the distance between two widget. Please help me how can i draw the lne and calculate the distance. Any help would be appreciated. --~--~-~--~~~---~--~~ You received 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: IDE for GWT
Eclipse vs netbeans vs IntelliJ is actually matter of personal preference and any such comparison should probably be part of some other forum. None of thes IDE I believe has anything out of the box for GWT. And even if they did, most of those features are easy to do manually(of course with little practice). As far as application builder, project builder and drag and drop facilities are concerned, they are all beginners tool. For example, creating a debug/run configuration is matter of knowing what jars to include at runt time and what parameters to supply. Doing it manually some times is much simpler than running the creators! If I change or add a RPC method, changing 3 files is hardly a matter of few more seconds. As far as visual designers are concerned, I would recommend: Design the code such that it loads fast in hosted mode(use lazy initialization of objects, you can find many threads out here). This way you have complete control over your design/code and whatever changes you do, will be seen immediately in hosted mode on refresh. Again, all the assistance tools are good for beginners and small size application... but as the application grows, you are most of the time pretty much on your own.. and it is good to be that way so that you have the complete control and less unknowns. Any tool that helps you write java code should be equally helpful for gwt. vi ny1? ;) :) just my 2c. Rakesh Wagh On Dec 20, 7:48 pm, Eduardo Henrique eduardo.hi...@gmail.com wrote: What IDE are you using??? Do you use any Eclipse's Plugin for GWT? -- Eduardo Henrique(Hitek) -www.eduardohitek.blogspot.com Desenvolvimento SoftSite -www.softsite.com.br --~--~-~--~~~---~--~~ You received 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 -~--~~~~--~~--~--~---
Help to develop an editor like Google Knol
We are interested in developing an editor that is very similar to Google Knol. The basic features that we are interested in incorporating into the editor are as follows - Provide in-line edit capability from the same screen Insert Image directly into the text Save the content and present the content back with all the indentations (tabs, spaces) Provide Rich-Text editing features - bullets, bold, italics Spell checker Can someone point me to the sample code that we can use? --~--~-~--~~~---~--~~ You received 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: Get file from server with GWT-RPC
Cannot comment on what you are doing wrong without looking into the code. However I see no need for setUrl on server side. You should have a Servlet that will parse the parameters, read the appropriate image file(either file system or db or any doc mgmt system for that matter), set a proper content type and just spit out the byte stream. From the client just call this servlet with appropriate params for it to retrieve the image. In essence: Image img = new Image(); img.setUrl(/servlet?photoId=39934width=50); Rakesh Wagh On Dec 26, 4:26 pm, Daniele dany.hat...@gmail.com wrote: I cannot planning image manipulation. If images are on client sides, setUrl() etc it works. On server side, I have an undefined number of folders that represent photo category, but if I put on setUrl() method path to folders on server, it's not work. 2008/12/26 rakesh wagh rake...@gmail.com: ask yourself: Even if you get your image/files using rpc, what will you do with it? I mean there is no real application of getting binary files using rpc yet. Are you planning to do image manipulations like rotation, filters, etc on the client side? js is not yet ready for that. However if you wish, you can get the entire file using rpc method. But sticking it to the image tag is very difficult. Search through the group, some one mentioned how you can embed the actual bytes and construct a img tag that will display the image. Good luck, because that is very non standard and your millage can greatly vary. You might also want to look at Gears, it allows you to store and retrieve Blobs in client database... not sure if it has to do anything with your requirement but will come handy if you are playing a lot with files etc. .. Rakesh Wagh On Dec 24, 8:01 am, Daniele B dany.hat...@gmail.com wrote: Hi. I work on a photogallery application for my thesis. I have a problem. How can I do to retrieve image files stored on a server folder trought GWT-RPC? Thanks at all! Sorry fo my english!!! :) Daniele. --~--~-~--~~~---~--~~ You received 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 -~--~~~~--~~--~--~---
Application Navigation and Interaction Visualization
I have made up a image for visualization of the gwt application event interaction and navigation. This helped me better understand event interaction and url navigation so I could create core navigation strategy for my gwt applications. http://code.google.com/p/gwt-examples/wiki/Navigation --~--~-~--~~~---~--~~ You received 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 -~--~~~~--~~--~--~---