Re: GWT Developer Plugin for Firefox 6
Thanks a lot! it works for me! On 8月31日, 下午6時34分, Michael Vogt vmei...@googlemail.com wrote: Hello. Can you pass the path to download the plugin? I got it from here:http://google-web-toolkit.googlecode.com/svn/trunk/plugins/xpcom/preb... Greetings, Michael -- You received 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.
Problem in sending large size of data from GWT client to server by cross domain scripting
Dear All, I have followed the tutorial and the application is able to make cross site communication with GET request and query string in the URL. However, one of the function of my application is to send the XML String to the server from the GWT client in cross domain environment. The GET request cannot fulfill my need as it exceeds the standard query string size. What should I do to make it work? Can I make a post request to the the servlet in cross domain environment? Please kindly show me some tips on this. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Cross Domain Scripting problem
Dear All, I have met a problem about cross domain scripting. Here is my situation: Main Server A : It is a centralized GWT APPLICATION which generate the content according to the parameter pass in. The content is retrieved as JSON format from a Servlet. Client Server B : It is a general web application which is located at different domain from Main Server A. Client Server B will use JSTL c:import to included a JSP from Server A to display the content from Main Server A. The c:import also includes the parameters for retrieving the right content. Client Server B is nothing to do with GWT. Problems: I have followed the tutorial on http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html. I have add the add-linker name=xs/ to XXX.gwt.xml already. I have tried to add the response header filter according to https://developer.mozilla.org/En/Server-Side_Access_Control Loading the content directly from Server A is OK, but Server B is not. Just a blank page. I know that it should the problem of cross domain scripting. Did i miss something that should be configured? Please help me. Thanks a lot Renee -- You received 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.
Problems of inserting javascript dynamically under script tag in IE
Hi I have problem on inserting javascript under the scirpt tag. I am doing a kind of dynamic form which allow users to insert some simple javascript which associated with widget events. My problem is that the code works fine in FF and Chrome but not in IE browsers and after some investigation. It is found that IE is not allowed some javascript features to be run on its browser which will cause memory leakage. My code is very simple and shown as below: 1. Document document = Document.get(); 2. script = document.createElement(script); 3. script.setAttribute(type, text/javascript); 4. script.setAttribute(id, custom_javascript); 5. script.appendChild(document.createTextNode(javascripSource)); 6. document.getElementsByTagName(head).getItem(0).appendChild(script); The error message caused by line 5 is: Unexpected call to method or property access. It is because IE does not allowed appendChild in script tag so i changed to use innerText/innerHtml replace line 5 to script.setInnerHTML(javaScriptSrc); The error message is Unknown runtime error. No matter i wrote the code in GWT or use the native method to do it in javascript way. it fails. I have search the forum and google it for days but still no luck. Can anyone give me some ideas on how to fix it in IE browsers? Thanks in advance. Renee -- You received 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: Problems of inserting javascript dynamically under script tag in IE
Thanks for your reply, Bryan. Thanks! It works like a charm! Renee doc.createScriptElelment(); final Document doc = Document.get(); final ScriptElement script = doc.createScriptElement(); script.setType(text/javascript); script.setText(strJavascript); On Nov 21, 8:06 pm, Renee Lau rene...@gmail.com wrote: Hi I have problem on inserting javascript under the scirpt tag. I am doing a kind of dynamic form which allow users to insert some simple javascript which associated with widget events. My problem is that the code works fine in FF and Chrome but not in IE browsers and after some investigation. It is found that IE is not allowed some javascript features to be run on its browser which will cause memory leakage. My code is very simple and shown as below: 1. Document document = Document.get(); 2. script = document.createElement(script); 3. script.setAttribute(type, text/javascript); 4. script.setAttribute(id, custom_javascript); 5. script.appendChild(document.createTextNode(javascripSource)); 6. document.getElementsByTagName(head).getItem(0).appendChild(script); The error message caused by line 5 is: Unexpected call to method or property access. It is because IE does not allowed appendChild in script tag so i changed to use innerText/innerHtml replace line 5 to script.setInnerHTML(javaScriptSrc); The error message is Unknown runtime error. No matter i wrote the code in GWT or use the native method to do it in javascript way. it fails. I have search the forum and google it for days but still no luck. Can anyone give me some ideas on how to fix it in IE browsers? Thanks in advance. Renee -- You received 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.