UI Binder and MVP
I am using the UI Binder to build a site. I like the MVP design pattern shown in the contacts example. However, when I try to put the ui binder in a view and have the appControler construct the presenter I get a blank page when ask for asWidget. I think this is because both the MCP entry point and the UI Binder creates a RootPanel. An thoughts on this topic? -- You received 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.
Javascript in HTML Object works in FF not IE
I have seen several postings about this, but have not seen a clear answer. I have some non compiled javascript that is loaded into an HTML object by using a requestBuilder call to my legacy jsp application. When clicking on a link in FF the javascript works fine. However, not is IE. I have seem recommendations that the javascript needs to be in the module HTML page. This works, however, does not scale very well. Two Questions: 1) Why is this working in FF and not IE. Some MAC browsers are also OK. I must be missing some basic concept. 2) What is the correct approach to having onClicked/ onSelect events in HTML access non compiled Javascript. Thanks for your time. -- You received 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: Javascript in HTML Object works in FF not IE
thanks for the reply. I am getting HTML with script language=JavaScript in the html for onClick events. Can you elaberate on eval? I do not see setInnerHTML in a HTML or HTMLPanel or ScrolPannel. after closer review, looks like I am setting the HTML in the constructor of the HTMLPanel. On Jun 29, 1:48 pm, André Moraes andr...@gmail.com wrote: How do you load the script? You add a script tag or download the javascript code and then make a call to eval? Another question, the information retreived by the requestbuilder is only javascript (json) or had html too? If your case is the second, you could use setInnerHTML. On 29 jun, 15:16, skippy a...@2lehmans.com wrote: I have seen several postings about this, but have not seen a clear answer. I have some non compiled javascript that is loaded into an HTML object by using a requestBuilder call to my legacy jsp application. When clicking on a link in FF the javascript works fine. However, not is IE. I have seem recommendations that the javascript needs to be in the module HTML page. This works, however, does not scale very well. Two Questions: 1) Why is this working in FF and not IE. Some MAC browsers are also OK. I must be missing some basic concept. 2) What is the correct approach to having onClicked/ onSelect events in HTML access non compiled Javascript. Thanks for your time.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Javascript in HTML Object works in FF not IE
To make sure you are clear as to what I am doing. public void onResponseReceived(Request request, Response response) { HTMLPanel htmlResponse = new HTMLPanel(response.getText()); Element temp = htmlResponse.getElementById(tranDateFrom); if (null == temp) { //error encountered tranDateFrom = ; tranDateTo = ; } else { tranDateFrom = temp.getAttribute(value); temp = htmlResponse.getElementById(tranDateTo); tranDateTo = temp.getAttribute(value); } ScrollPanel scrollPanel = new ScrollPanel(htmlResponse); scrollPanel.setHeight(100%); scrollPanel.setWidth(100%); lowerPanel.add(scrollPanel); wait.hide(); updateSectionHeading(tranDateFrom, tranDateTo, activityType); } }); On Jun 29, 3:23 pm, skippy a...@2lehmans.com wrote: thanks for the reply. I am getting HTML with script language=JavaScript in the html for onClick events. Can you elaberate on eval? I do not see setInnerHTML in a HTML or HTMLPanel or ScrolPannel. after closer review, looks like I am setting the HTML in the constructor of the HTMLPanel. On Jun 29, 1:48 pm, André Moraes andr...@gmail.com wrote: How do you load the script? You add a script tag or download the javascript code and then make a call to eval? Another question, the information retreived by the requestbuilder is only javascript (json) or had html too? If your case is the second, you could use setInnerHTML. On 29 jun, 15:16, skippy a...@2lehmans.com wrote: I have seen several postings about this, but have not seen a clear answer. I have some non compiled javascript that is loaded into an HTML object by using a requestBuilder call to my legacy jsp application. When clicking on a link in FF the javascript works fine. However, not is IE. I have seem recommendations that the javascript needs to be in the module HTML page. This works, however, does not scale very well. Two Questions: 1) Why is this working in FF and not IE. Some MAC browsers are also OK. I must be missing some basic concept. 2) What is the correct approach to having onClicked/ onSelect events in HTML access non compiled Javascript. Thanks for your time.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Javascript in HTML Object works in FF not IE
OK, well this is what I did. You need to take your javascript out of the jsp's that generate the HTML. Put them in one to meny .js files. include them in the same place you have your GWT compiled nochache.js. Less the Script tabs. Just Functions. On Jun 29, 4:16 pm, André Moraes andr...@gmail.com wrote: The eval alternative that i mentioned will work only if your was returning JavaScript, but in your case, looks like you are returning HTML from the server. Since it works in FF, i assume your server is returning something like this: span id=tranDateTo value=value/span span id=tranDateFrom value=value/span Of course the html tags can be diferent. Maybe you could have this strange behavior because you don't added the HTMLPanel to the DOM of the page. Maybe if you attach the **htmlResponse** to some widget you could have it working in IE (totaly hack, but maybe will work, who knowns :) ). As an alternative, if possible, you could change your JSP to return some valid XML and use the GWT Xml tools to extract the values from your JSP or (the much more easier way) you could return some JSON and use combined with native *eval* to extract the information that you want. On 29 jun, 17:31, skippy a...@2lehmans.com wrote: To make sure you are clear as to what I am doing. public void onResponseReceived(Request request, Response response) { HTMLPanel htmlResponse = new HTMLPanel(response.getText()); Element temp = htmlResponse.getElementById(tranDateFrom); if (null == temp) { //error encountered tranDateFrom = ; tranDateTo = ; } else { tranDateFrom = temp.getAttribute(value); temp = htmlResponse.getElementById(tranDateTo); tranDateTo = temp.getAttribute(value); } ScrollPanel scrollPanel = new ScrollPanel(htmlResponse); scrollPanel.setHeight(100%); scrollPanel.setWidth(100%); lowerPanel.add(scrollPanel); wait.hide(); updateSectionHeading(tranDateFrom, tranDateTo, activityType); } }); On Jun 29, 3:23 pm, skippy a...@2lehmans.com wrote: thanks for the reply. I am getting HTML with script language=JavaScript in the html for onClick events. Can you elaberate on eval? I do not see setInnerHTML in a HTML or HTMLPanel or ScrolPannel. after closer review, looks like I am setting the HTML in the constructor of the HTMLPanel. On Jun 29, 1:48 pm, André Moraes andr...@gmail.com wrote: How do you load the script? You add a script tag or download the javascript code and then make a call to eval? Another question, the information retreived by the requestbuilder is only javascript (json) or had html too? If your case is the second, you could use setInnerHTML. On 29 jun, 15:16, skippy a...@2lehmans.com wrote: I have seen several postings about this, but have not seen a clear answer. I have some non compiled javascript that is loaded into an HTML object by using a requestBuilder call to my legacy jsp application. When clicking on a link in FF the javascript works fine. However, not is IE. I have seem recommendations that the javascript needs to be in the module HTML page. This works, however, does not scale very well. Two Questions: 1) Why is this working in FF and not IE. Some MAC browsers are also OK. I must be missing some basic concept. 2) What is the correct approach to having onClicked/ onSelect events in HTML access non compiled Javascript. Thanks for your time.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
setHTML generates different HTML in Fire Fox then in IE8
I am trying to replace my GWT page with a logon jsp page when the session times out. This works great in Fire Fox, but not in IE. It looks like the HTML is not valid in IE. It is missing the in the tags. This code: HTML htmlResponse = new HTML(); htmlResponse.setHTML(response.getText()); RootPanel.get().clear(); RootPanel.get().add(htmlResponse); In Fire fox the object contains: Note the div class=gwt-HTML form name=targetForm method=post action=UserLogon? bankNumber=9Tamp;subProduct= input name=fieldKey value=error type=hidden input name=messageText value=Your session has ended. Please log in to reauthenticate. type=hidden script language=JavaScript document.targetForm.submit(); /script /form /div In IE8 the object contains: Note the lack of DIV class=gwt-HTML FORM method=post name=targetForm action=UserLogon? bankNumber=9Tamp;subProduct= INPUT value=error type=hidden name=fieldKey INPUT value=Your session has ended. Please log in to reauthenticate. type=hidden name=messageText SCRIPT language=JavaScript document.targetForm.submit(); /SCRIPT /FORM/DIV The HTML in IE is not valid. -- You received 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.
Upgrade problems with GWT 2.0.4
It looks like the methods DialogBox.setGlassEnabled and HighlightedFlexTable.removeAllRows may cause problems in version 2.0.4. I reverted to version 2.0.3 and was able to compile the classes using those methods successfully. Are there release notes that I am missing that explains this change? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Managing History with two tab panels
I am using a two row tab panel and am trying to incorporate history for back and forward navigations. I have reviewed and implemented some of the code in the CodingBasics - History - GWT - Google Code. I can back up on the lower tab panel, but I can't seem to back up past the top panel. This sounds like a complicated design. Anyone with some thoughts/ design patterns on the topic? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where can I put a File to be read/write from RPC Servlet ?
I would put the file in the WEB-INF/XML/ change the path to the file to xml/users.xml or /xml/user.xml On Jul 27, 1:57 pm, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Hello dane ! You're right in assuming something it's not working. Here's the thing... I need to read from the xml file so I can perform some operations on it and then save it again, here's the code I'm trying to get to work: import public class GreetingServiceImpl extends RemoteServiceServlet implements GreetingService { public String greetServer(String input) throws IllegalArgumentException { FileInputStream fin; try { fin = new FileInputStream (users.xml); System.out.println( new DataInputStream(fin).readLine() ); fin.close(); } catch (IOException e) { System.err.println (Unable to read from file); System.exit(-1); } return success reading file; } } And here's the exception I'm getting: Unable to read from file . . . Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.-1) ------ This last test was performed putting the file where you suggested. (src/org/jose/server. ) Thank you very much, Jose. On Jul 27, 1:13 pm, dane.molotok dane.molo...@gmail.com wrote: I guess I'm missing something in the question. Have you tried some things and it's not working like you'd expect? I would think you could put it in src/org/jose/server. On Jul 27, 11:21 am, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Good day everybody, I have this particular need, where I need to have a file (xml) within my GWT app. I have some data in this xml I must read, change, and then write (update) The file must be delivered or included within the Gwt App. Can anybody please tell me where can I place this file, so I can read/write it using java's file APi from an RPC Servlet. Here's a brief description of how my App's directory structure looks like: GwtApp |__ src | |__org | | |__jose | | |__client | | |__server | | |__shared | | | |__META-INF | |__ war |__gwtapp |__WEB-INF For my current needs, where would you suggest placing the file ? Thank you very much in advance, Have a nice day, Jose- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where can I put a File to be read/write from RPC Servlet ?
If that does not work, ping me again and I will provide a code sample. On Jul 27, 2:09 pm, skippy a...@2lehmans.com wrote: I would put the file in the WEB-INF/XML/ change the path to the file to xml/users.xml or /xml/user.xml On Jul 27, 1:57 pm, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Hello dane ! You're right in assuming something it's not working. Here's the thing... I need to read from the xml file so I can perform some operations on it and then save it again, here's the code I'm trying to get to work: import public class GreetingServiceImpl extends RemoteServiceServlet implements GreetingService { public String greetServer(String input) throws IllegalArgumentException { FileInputStream fin; try { fin = new FileInputStream (users.xml); System.out.println( new DataInputStream(fin).readLine() ); fin.close(); } catch (IOException e) { System.err.println (Unable to read from file); System.exit(-1); } return success reading file; } } And here's the exception I'm getting: Unable to read from file . . . Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.-1) ------ This last test was performed putting the file where you suggested. (src/org/jose/server. ) Thank you very much, Jose. On Jul 27, 1:13 pm, dane.molotok dane.molo...@gmail.com wrote: I guess I'm missing something in the question. Have you tried some things and it's not working like you'd expect? I would think you could put it in src/org/jose/server. On Jul 27, 11:21 am, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Good day everybody, I have this particular need, where I need to have a file (xml) within my GWT app. I have some data in this xml I must read, change, and then write (update) The file must be delivered or included within the Gwt App. Can anybody please tell me where can I place this file, so I can read/write it using java's file APi from an RPC Servlet. Here's a brief description of how my App's directory structure looks like: GwtApp |__ src | |__org | | |__jose | | |__client | | |__server | | |__shared | | | |__META-INF | |__ war |__gwtapp |__WEB-INF For my current needs, where would you suggest placing the file ? Thank you very much in advance, Have a nice day, Jose- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where can I put a File to be read/write from RPC Servlet ?
I would have tried your last example. It look like a access problem to the file. follow the access denied message. See what that get you. Sorry, I know how it does. On Jul 27, 2:36 pm, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Hi skippy ! I have tried your suggestion but unfortunately it did not work :( I changed the java APIs I used this time but the result is the same: ... try { File f = new File(xml/users.xml); FileReader reader = new FileReader(f); BufferedReader buffer = new BufferedReader(reader); buffer.readLine(); // Read a line of text System.out.println(buffer.readLine()); } The generated exception is: Caused by: java.security.AccessControlException: access denied (java.io.FilePermission \users.xml read) also, If I try it like this: /xml/users.xml with the forward slash a the beginning it goes for the root of the system which is C:/ and it still does not work, which I find weird because that's outside the application's context, right ? Anyways, please help me Skippy. Sincerely, Jose. On Jul 27, 2:13 pm, skippy a...@2lehmans.com wrote: If that does not work, ping me again and I will provide a code sample. On Jul 27, 2:09 pm, skippy a...@2lehmans.com wrote: I would put the file in the WEB-INF/XML/ change the path to the file to xml/users.xml or /xml/user.xml On Jul 27, 1:57 pm, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Hello dane ! You're right in assuming something it's not working. Here's the thing... I need to read from the xml file so I can perform some operations on it and then save it again, here's the code I'm trying to get to work: import public class GreetingServiceImpl extends RemoteServiceServlet implements GreetingService { public String greetServer(String input) throws IllegalArgumentException { FileInputStream fin; try { fin = new FileInputStream (users.xml); System.out.println( new DataInputStream(fin).readLine() ); fin.close(); } catch (IOException e) { System.err.println (Unable to read from file); System.exit(-1); } return success reading file; } } And here's the exception I'm getting: Unable to read from file . . . Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.-1) --- - -- This last test was performed putting the file where you suggested. (src/org/jose/server. ) Thank you very much, Jose. On Jul 27, 1:13 pm, dane.molotok dane.molo...@gmail.com wrote: I guess I'm missing something in the question. Have you tried some things and it's not working like you'd expect? I would think you could put it in src/org/jose/server. On Jul 27, 11:21 am, Jose Luis Estrella Campaña jlecamp...@gmail.com wrote: Good day everybody, I have this particular need, where I need to have a file (xml) within my GWT app. I have some data in this xml I must read, change, and then write (update) The file must be delivered or included within the Gwt App. Can anybody please tell me where can I place this file, so I can read/write it using java's file APi from an RPC Servlet. Here's a brief description of how my App's directory structure looks like: GwtApp |__ src | |__org | | |__jose | | |__client | | |__server | | |__shared | | | |__META-INF | |__ war |__gwtapp |__WEB-INF For my current needs, where would you suggest placing the file ? Thank you very much in advance, Have a nice day, Jose- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit
DatePicker and IE7 Problem
We are using the DatePicker object in GWT 2.0.3. In Fire Fox and IE8, everything is fine. In IE7, when clicking on the Date Box, the DatePicker is desplayed, but the screen behind it goes blank. Almost like a white sheet of glass is displayed. When you select a date, the date is set in the DateBox and the screen is redisplayed. Any help on this would be great. -- You received 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: DatePicker and IE7 Problem
So I see from the above link that others are having the same problem. Is ther a gwt-user.jar that contains the fix? Looks like version 2.0.4 does not fix the problem. I am on 2.0.3. Thanks On Aug 18, 3:21 pm, Vladi S vladislavs.sere...@googlemail.com wrote: hi, perhaps relates to http://code.google.com/p/google-web-toolkit/issues/detail?id=4532 best regards On 18 Aug., 22:08, skippy a...@2lehmans.com wrote: We are using the DatePicker object in GWT 2.0.3. In Fire Fox and IE8, everything is fine. In IE7, when clicking on the Date Box, the DatePicker is desplayed, but the screen behind it goes blank. Almost like a white sheet of glass is displayed. When you select a date, the date is set in the DateBox and the screen is redisplayed. Any help on this would be great.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Printit style sheets not used on all the text.
I am using printit and some fo the text prints with out the style sheet font and size. -- You received 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.
Data Presentation Widgets with expand/collapse controls
I am interested in using the Data Presentation Widgets. How ever, I need to be able to have sections of the list expand/collape using a image. Is this posible? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
ScrolPanel Question
I need to ack a scrolPanel if its vertical scrol bar is visible, If so, I need to adjust the width of the table. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrolPanel Question
Well, thanks for the respond. However, I was not all that clear. I have very picky users and here is the real scoop: I am using UIBinder and here is my ui.xml: g:FlowPanel styleName='{style.outer}' g:FlexTable ui:field='grandTotalHeader' / g:FlexTable ui:field='grandTotalData' / g:FlexTable ui:field='tableHeader' / g:ScrollPanel ui:field='scroller' tdcbWidget:TDCBFlexTable ui:field='tableData' / /g:ScrollPanel /g:FlowPanel As you can see, the heading is outside the scrollPanel list, This allows for the user to scrol the data without loosing the heading section. When the scrollbar is visible, the column headings do not match that of the list. Any ideas? On Sep 17, 1:47 am, Santosh kumar kopp@gmail.com wrote: Hi skippy, ScrollPanel, its automatically adjust the scroll bars. ScrollPanel scrollPanel = new ScrollPanel(); scrollPanel.setSize(width, height); scrollPanel.clear(); RootPanel.get(div-id).clear(); RootPanel.get(div-id).add(scrollPanel); On Sat, Sep 11, 2010 at 2:03 AM, skippy al.leh...@fisglobal.com wrote: I need to ack a scrolPanel if its vertical scrol bar is visible, If so, I need to adjust the width of the table. 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. -- Thanks Regards *S a n t o s h k u m a r . k*- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Show case example of the new Data Presentation Widget?
I would like to see a working example of the GWT 2.1 Data Presentation Widget. Is there a scrollbar that does not include the hearer? Does it/can it work liks the FlexTables today? I have asked several time on this topic, but nobody seems to know. Is this not ready for the enterprise? -- You received 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.
Upgrade to 2.1.0m3 failed.
I tried upgrading to version 2.1.0m3 to pick up some fixes related to blank/white pages. After the upgrade on our Solaris servers, all my RPC calls are failing when the first page is trying to load. Thoughts? -- You received 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: Upgrade to 2.1.0m3 failed.
OK, I do see the old version got checked into our source control environment. Let me clean that up and I will let you know. On Oct 5, 9:15 am, olivier nouguier olivier.nougu...@gmail.com wrote: Be sure to delete all generated files (hosted.htmt *.js etc ...). On Tue, Oct 5, 2010 at 4:00 PM, skippy al.leh...@fisglobal.com wrote: I tried upgrading to version 2.1.0m3 to pick up some fixes related to blank/white pages. After the upgrade on our Solaris servers, all my RPC calls are failing when the first page is trying to load. Thoughts? -- You received 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. -- Computers are useless. They can only give you answers. - Pablo Picasso -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
DecoratedTabPanel corner color
What controls the changing of the colors of the rounded tags? I see the css for: .wmsLowerDecoratedTabBar .tabTopLeft { background: url(http://localhost:/images/corner.png) no-repeat 0px -55px; -background: url(http://localhost:/images/corner_ie6.png) no- repeat 0px -55px; } .wmsLowerDecoratedTabBar .tabTopRight { background: url(http://localhost:/images/corner.png) no-repeat -6px -55px; -background: url(http://localhost:/images/corner_ie6.png) no- repeat -6px -55px; } Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Contacts Example Using MVP
I am trying to run the contacts example found in the MVP Architecture Section. I am getting a runtime error: java.lang.UnsupportedClassVersionError: Bad version number in .class file GWT 2.0 ,Java compiler 1.6, eclipse 3.5. Thanks for your help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.0 compile output using Eclipse plug-in
I am trying to integrate GWT 2.0 into a current Web Application. I want to override the location of the output from war/WEB-INF/ classes to WEB-INF/classes. Is there some xml I can add to the module definition xml file? ApplicartionName.gwt.xml? Thanks skippy -- You received 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.
Integrating the RemoteServiceServlet with existing J2EE application servlet
I ran into a road block using GWT 2.0 integrated with existing J2EE Servlet Applciation. I currently have a J2EE Servlet application which the mainServlet implements all kinds of security protection from cross site scripting, session management/timeout, and configuration loading. So, I need to continue to use this Servlet to process all requests from the client. I was thinking of using the requestbuilder to past request to my existing Servlet and this does work. But now I am looking at the Contacts sample application and RemoteServiceServlet is service implementation of the contacts service. This is by passing my existing application servlet. Hope this makes sense. Can someone help me understand how I can use this remoteServiceServlet and my existing application servlets in a fully integrated manner? Thanks you very much. -- You received 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.
Integrating the RemoteServiceServlet with existing J2EE application servlet
I ran into a road block using GWT 2.0 integrated with existing J2EE Servlet Applciation. I currently have a J2EE Servlet application which the mainServlet implements all kinds of security protection from cross site scripting, session management/timeout, and configuration loading. So, I need to continue to use this Servlet to process all requests from the client. I was thinking of using the requestbuilder to past request to my existing Servlet and this does work. But now I am looking at the Contacts sample application and RemoteServiceServlet is service implementation of the contacts service. This is by passing my existing application servlet. Hope this makes sense. Can someone help me understand how I can use this remoteServiceServlet and my existing application servlets in a fully integrated manner? Thanks you very much. -- You received 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.
IE8 showing blank page
I have read the postings on this problem and tried the work arounds with no luck. Has anyone sovled this problem? Any more current information would be great. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Window 7 IE8 Drop Down List Boxes open problem
In this configuration, the drop down list boxes open with the top out of the top of the browser and no scrollBar. GWT 2.0.4 Has anyone else seen this? Any chanse for a 2.0.5 fix? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Window 7 IE8 Drop Down List Boxes open problem
@UiField ListBox groupListBox; loadGroupListBox(workingLists, groupListBox); private void loadGroupListBox(ArrayListListBoxItem itemList, ListBox listBox) { for (int i = 0; i itemList.size(); ++i) { ListBoxItem item = itemList.get(i); listBox.addItem(item.getDesc(), item.getCode()); } } On Nov 1, 6:27 am, Nathan Wells nwwe...@gmail.com wrote: Do you have a snippet of code that can reproduce this problem? this sounds like a browser issue to me. On Oct 28, 6:20 am, skippy al.leh...@fisglobal.com wrote: In this configuration, the drop down list boxes open with the top out of the top of the browser and no scrollBar. GWT 2.0.4 Has anyone else seen this? Any chanse for a 2.0.5 fix? Thanks- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problem with DialogBox
I have several DialogBox popup views in my application, After adding a HTML object to one, it now opens in peices. You can not even tell it is a DialobBox. Like it is spilling out of itself. Any help would be great! Skippy -- You received 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 DialogBox
You can only call setWidget once on a DialogBox. When I use UI Binder, the compilers tells you that you can not do this. However, whe not UI Binder, you get that run time error. I was adding the HTML widget after a vertical panel rather then adding it to the vertidal panel. Thanks. I hope this helps the next person! On Nov 5, 11:02 am, John LaBanca jlaba...@google.com wrote: Can you send a screenshot? Thanks, John LaBanca jlaba...@google.com On Fri, Nov 5, 2010 at 11:51 AM, skippy al.leh...@fisglobal.com wrote: I have several DialogBox popup views in my application, After adding a HTML object to one, it now opens in peices. You can not even tell it is a DialobBox. Like it is spilling out of itself. Any help would be great! Skippy -- You received 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.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
The data from an external URL should be displayed in a GWT tab widget.
The data from an external URL should be displayed in a GWT tab widget. The parameters to the external URL, varies depending upon user preferences. This URL returns javascript code, that has to be embedded in script tag on GWT side so that the browser executes it to display the appropriate data. Embedding the javascript response in GWT, using a script tag, within the existing tab widget, is not rendering the script properly in Mozilla, whereas IE does not execute the script at all. Any ideas would be great! -- You received 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: Window 7 IE8 Drop Down List Boxes open problem
This is atill a problem. However, it is in IE8 on Windows 7. On Nov 3, 7:29 am, skippy al.leh...@fisglobal.com wrote: @UiField ListBox groupListBox; loadGroupListBox(workingLists, groupListBox); private void loadGroupListBox(ArrayListListBoxItem itemList, ListBox listBox) { for (int i = 0; i itemList.size(); ++i) { ListBoxItem item = itemList.get(i); listBox.addItem(item.getDesc(), item.getCode()); } } On Nov 1, 6:27 am, Nathan Wells nwwe...@gmail.com wrote: Do you have a snippet of code that can reproduce this problem? this sounds like a browser issue to me. On Oct 28, 6:20 am, skippy al.leh...@fisglobal.com wrote: In this configuration, the drop down list boxes open with the top out of the top of the browser and no scrollBar. GWT 2.0.4 Has anyone else seen this? Any chanse for a 2.0.5 fix? Thanks- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
HTTP Session Problem
I am using this in a serviceImpl class: HttpSession session = getThreadLocalRequest().getSession(); Sometimes when a user has two tabs in IE opened to different logons to different banks, the getSession() returns the wrong HTTP Session and the user is able to see data from the wrong bank. We are using GWT 2.0.4. -- You received 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: HTTP Session Problem
This is happining in production in a J2ee Struts like application. (Sun Blueprint MVC) Not Hosted mode. On Dec 21, 8:35 am, Jeff Schwartz jefftschwa...@gmail.com wrote: It would probably help to know if this is in dev or prod. On Dec 21, 2010 9:22 AM, skippy al.leh...@fisglobal.com wrote: I am using this in a serviceImpl class: HttpSession session = getThreadLocalRequest().getSession(); Sometimes when a user has two tabs in IE opened to different logons to different banks, the getSession() returns the wrong HTTP Session and the user is able to see data from the wrong bank. We are using GWT 2.0.4. -- You received 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Window 7 IE8 Drop Down List Boxes open problem
Any chance anyone else has this problem? On Dec 15 2010, 12:46 pm, skippy al.leh...@fisglobal.com wrote: This is atill a problem. However, it is in IE8 on Windows 7. On Nov 3, 7:29 am, skippy al.leh...@fisglobal.com wrote: @UiField ListBox groupListBox; loadGroupListBox(workingLists, groupListBox); private void loadGroupListBox(ArrayListListBoxItem itemList, ListBox listBox) { for (int i = 0; i itemList.size(); ++i) { ListBoxItem item = itemList.get(i); listBox.addItem(item.getDesc(), item.getCode()); } } On Nov 1, 6:27 am, Nathan Wells nwwe...@gmail.com wrote: Do you have a snippet of code that can reproduce this problem? this sounds like a browser issue to me. On Oct 28, 6:20 am, skippy al.leh...@fisglobal.com wrote: In this configuration, the drop down list boxes open with the top out of the top of the browser and no scrollBar. GWT 2.0.4 Has anyone else seen this? Any chanse for a 2.0.5 fix? Thanks- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RootPanel.get(tradeConfirmationPanel).getElement() exception in debug mode.
This works fine in runtime/development mode. GWT 2.0.4. In debug mode, the following code throws this exception: Uncaught exception: java.lang.AssertionError: A widget that has an existing parent widget may not be added to the detach list at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose(RootPanel.java: 136) at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211) at com.fis.tdcb.gwt.client.widget.HeadingSectionWidget $5.onClick(HeadingSectionWidget.java:245) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java: 54) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1) at com.google.gwt.event.shared.HandlerManager $HandlerRegistry.fireEvent(HandlerManager.java:65) at com.google.gwt.event.shared.HandlerManager $HandlerRegistry.access$1(HandlerManager.java:53) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java: 178) at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52) at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java: 116) at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java: 100) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307) at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1714) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 264) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188) at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java: 1669) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 222) at java.lang.Thread.run(Thread.java:619) -- You received 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.
UI Binder Alignment problems
I have the following UI Binder XML: g:ScrollPanel ui:field='outerPanel' g:VerticalPanel g:Cell verticalAlignment=ALIGN_TOP g:HorizontalPanel ui:field='topPanel' g:cell width=30% horizontalAlignment=ALIGN_LEFT // not working and does not show g:SimplePanel ui:field='logoPanel' / g:SimplePanel /g:cell g:cell width=70% horizontalAlignment=ALIGN_RIGHT // this looks center g:FlexTable ui:field='bannerArea' / /g:cell /g:HorizontalPanel /g:Cell g:Cell horizontalAlignment=ALIGN_CENTER g:SimplePanel ui:field='bodyPanel'/ /g:Cell g:Cell verticalAlignment=ALIGN_BOTTOM // not working g:HTML ui:field=footer/ /g:Cell /g:VerticalPanel /g:ScrollPanel -- You received 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: UI Binder Alignment problems
One follow up. I am using GWT 2.0.4 with the eclipse 3.5 and the plug-in On Feb 17, 9:34 am, skippy al.leh...@fisglobal.com wrote: I have the following UI Binder XML: g:ScrollPanel ui:field='outerPanel' g:VerticalPanel g:Cell verticalAlignment=ALIGN_TOP g:HorizontalPanel ui:field='topPanel' g:cell width=30% horizontalAlignment=ALIGN_LEFT // not working and does not show g:SimplePanel ui:field='logoPanel' / g:SimplePanel /g:cell g:cell width=70% horizontalAlignment=ALIGN_RIGHT // this looks center g:FlexTable ui:field='bannerArea' / /g:cell /g:HorizontalPanel /g:Cell g:Cell horizontalAlignment=ALIGN_CENTER g:SimplePanel ui:field='bodyPanel'/ /g:Cell g:Cell verticalAlignment=ALIGN_BOTTOM // not working g:HTML ui:field=footer/ /g:Cell /g:VerticalPanel /g:ScrollPanel -- You received 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.
IE8 Performance problems
We are having problems with IE8 and FlexTables and Grids. FireFox and Crome work great. In IE8 we will get that GWT message warning about a script running long, do you want to continue. I have implemented all the things I have found in the past. Not attaching the Flextable to the partent until after the load for example. Any help would be great. We are running GWT 2.0.4. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Browser Type and version
Can GWT help me determine the browser (IE FireFox) and the version? We want to tell users using old versions of IE like 6 and 7 that they need to upgrade due to performace problems when viewing large values of data. I just have not seen an example that has a conplete list. Also what is oprea? FireFox? 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problem applying stylesheet to FlexTable
first, the argument to getCellFormatter is row, column, style name. second, sometimes you need to remove style name first. On Jul 21, 12:46 pm, fny82 fze...@gmail.com wrote: I've included a StyleSheet in my GWT project (in the .gwt.xml file). I'm trying to set the first and third columns of this flex table to right alignment. I first tried to use getColumnFormatter(), but that didn't work. Specifically, I did this: myFlexTable.getColumnFormatter().addStyleName(0, myRightAlignStyle); myFlexTable.getColumnFormatter().addStyleName(2, myRightAlignStyle); This didn't change anything, though. The two columns still appeared aligned to the left. So I next tried getCellFormatter(): myFlexTable.getCellFormatter().addStyleName(0, 0, myRightAlignStyle); myFlexTable.getCellFormatter().addStyleName(2, 0, myRightAlignStyle); (etc.) This works, but it's obviously a longer way to do it. Is there anything peculiar that I need to know about getColumnFormatter(), or am I just messing it up? 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: keep building workspace after upgrade to eclipse 3.7
I have seen this also. Do you have a proxy server on your netwrok? Try this, when you are building, unplug your network cable and see if it takes off. If it does, go to Window/preference/general/network connection. Switch to manual add the http and https host and ports, manual and true, user and password here is the key, proxy bypass for localhost and 127.0.0.1 (your loop back address) Hope this helps! On Jul 21, 2:15 am, Alex Luya alexander.l...@gmail.com wrote: In the very beginning,I doubt it is a configuration issue,so created a brand new work space,dropped all .metadata,but problem is still existed. Sometime,make a little change,then save.eclipse take 20+ minutes to build workspace.no any useful message get printed on console view.Any solution to solve the 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.
Re: Browser Type and version
what about FireFox and the MAC Browsers? On Jul 20, 3:42 pm, Jim Douglas jdou...@basis.com wrote: Parse the navigator.userAgent string. http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...() http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx http://www.useragentstring.com/ On Jul 20, 1:30 pm, skippy al.leh...@fisglobal.com wrote: Can GWT help me determine the browser (IE FireFox) and the version? We want to tell users using old versions of IE like 6 and 7 that they need to upgrade due to performace problems when viewing large values of data. I just have not seen an example that has a conplete list. Also what is oprea? FireFox? Thanks- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to 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 applying stylesheet to FlexTable
By default, the original style is a GWT style. Sometimes they are documented in the java doc. or look in the generated GWT css files. On Jul 21, 2:00 pm, Frank Zecca fze...@gmail.com wrote: Thanks for the response. That was a typo in my post, I have the getCellFormatter() syntax properly in my application. It works fine when I do it that way, but the problem is that I have to have a pair of entries for each row in my FlexTable, which is a bit annoying. :) Regarding the getColumnFormatter(), how do I use removeStyleName() since I haven't applied any other styles to this FlexTable? The arguments for it call for the column number and the style to remove. For the hell of it, I tried using removeStyleName(0, myRightAlignStyle) but it didn't make a difference. I also tried using setStyleName(0, myRightAlignStyle) instead of addStyleName, but this too had no effect. On Jul 21, 2011, at 2:48 PM, skippy wrote: first, the argument to getCellFormatter is row, column, style name. second, sometimes you need to remove style name first. On Jul 21, 12:46 pm, fny82 fze...@gmail.com wrote: I've included a StyleSheet in my GWT project (in the .gwt.xml file). I'm trying to set the first and third columns of this flex table to right alignment. I first tried to use getColumnFormatter(), but that didn't work. Specifically, I did this: myFlexTable.getColumnFormatter().addStyleName(0, myRightAlignStyle); myFlexTable.getColumnFormatter().addStyleName(2, myRightAlignStyle); This didn't change anything, though. The two columns still appeared aligned to the left. So I next tried getCellFormatter(): myFlexTable.getCellFormatter().addStyleName(0, 0, myRightAlignStyle); myFlexTable.getCellFormatter().addStyleName(2, 0, myRightAlignStyle); (etc.) This works, but it's obviously a longer way to do it. Is there anything peculiar that I need to know about getColumnFormatter(), or am I just messing it up? 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.com. For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
Support for Tablets
We have an browser based application build using gwt 2.3 (IE9 compatible). We are going to try to test the application on some new tablets like the iPad2, xoom, and the BlackBerry Playbook. Is there any informaiton on the compatibility of the GWT 2.3 on these devices? 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestBuilder Question
I need to try to make a requestbuilder post to a servlet, but open a new browser first. I am creating a single singon to a different application. Link and launch like. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestBuilder Question
Or, when I return from the requestbuilder call, I want to do something like a Window.opent(ReturnedHTML,_blank) . On Aug 11, 3:28 pm, skippy al.leh...@fisglobal.com wrote: I need to try to make a requestbuilder post to a servlet, but open a new browser first. I am creating a single singon to a different application. Link and launch like. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestBuilder Question
Just to let anyone interested to know. Just do a Window.open(URL, _blank, ); This will first open a new browser. On Aug 11, 3:33 pm, skippy al.leh...@fisglobal.com wrote: Or, when I return from the requestbuilder call, I want to do something like a Window.opent(ReturnedHTML,_blank) . On Aug 11, 3:28 pm, skippy al.leh...@fisglobal.com wrote: I need to try to make a requestbuilder post to a servlet, but open a new browser first. I am creating a single singon to a different application. Link and launch like. Thanks- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Support for Tablets
So, an addtional question. When GWT starts up, it looks at the User Agent so see what compiled JS to send the browser. What is the answer when its a tablet? Our initial testing shows that the iPad2 works pretty good. A few differences/problems with popup windows. The Motorola xoom is in bad shape. It is the first generation of the Android tablet however. Links dont click, drop downs dont open, the Tabs dont click. We are going to see if there are some browser settings that may help. Does GWT 2.4 hold any added support for the tablets like SmartGWT? Thanks On Aug 11, 8:20 am, skippy al.leh...@fisglobal.com wrote: We have an browser based application build using gwt 2.3 (IE9 compatible). We are going to try to test the application on some newtabletslike the iPad2, xoom, and the BlackBerry Playbook. Is there any informaiton on the compatibility of the GWT 2.3 on these devices? 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Support for Tablets
Well, I just wonder why our old JSP based applications work just fine. iPad 2 work with all GWT components. Blackbarry playbook and xoom don't work at all. On Aug 16, 11:23 am, Jim Douglas jdou...@basis.com wrote: I must have been unclear. Android has various low level HTML/DOM/ JavaScript bugs. The specific development toolkit is irrelevant. On Aug 16, 9:10 am, Alain Ekambi jazzmatad...@googlemail.com wrote: I d simply recommand something lil Sencha Touch. It s better for mobile devices. 2011/8/16 Jim Douglas jdou...@basis.com One more: http://code.google.com/p/android/issues/detail?id=2118 On Aug 16, 8:57 am, Jim Douglas jdou...@basis.com wrote: Al -- If you're testing on Android devices, you might want to note several serious Android bugs that can affect the usability of GWT apps: http://code.google.com/p/android/issues/detail?id=6721http://code.goo .. On Aug 16, 8:21 am, skippy al.leh...@fisglobal.com wrote: So, an addtional question. When GWT starts up, it looks at the User Agent so see what compiled JS to send the browser. What is the answer when its a tablet? Our initial testing shows that the iPad2 works pretty good. A few differences/problems with popup windows. The Motorola xoom is in bad shape. It is the first generation of the Android tablet however. Links dont click, drop downs dont open, the Tabs dont click. We are going to see if there are some browser settings that may help. Does GWT 2.4 hold any added support for thetabletslike SmartGWT? Thanks On Aug 11, 8:20 am, skippy al.leh...@fisglobal.com wrote: We have an browser based application build using gwt 2.3 (IE9 compatible). We are going to try to test the application on some newtabletslike the iPad2, xoom, and the BlackBerry Playbook. Is there any informaiton on the compatibility of the GWT 2.3 on these devices? 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- GWT API for non Java based platformshttp://code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Need for the user agent
I have seen many posting for the need for the user agent string. Most just reply with what for. You should not need to. My need is I need to modify my appliation to adjust based on the ipad. So, if one of you smart GWT guys could help, that would be great! Thanks much! -a -- You received 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.
Don't compile for the MAC and IE* when developing.
When developing locally, I usually only test with one browser. Before moving to regression testing we test multiple browsers just for the fun of it. My question is, is there a way to easily turn off the compiling for the MAC and Fire Fox when not testing in that space? I have implemented the localWorker compiler option, but our application is starting to grow and compile times are on the rise. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Don't compile for the MAC and IE* when developing.
Thanks, I read that but did not get it at first. What is the user.agent for IE? On Nov 29, 2:51 pm, Jens jens.nehlme...@gmail.com wrote: You can create GWT modules for development/testing for each browser/rendering engine. For example: App.gwt.xml //your main app module ready for production DevApp.gwt.xml //inherits App.gwt.xml but enables logging for development DevAppSafari.gwt.xml //inherits DevApp.gwt.xml and sets user.agent property to safari (set-property name=user.agent value=safari /). This tells the GWT compiler to only compile for Safari/Chrome ( = WebKit browsers) DevAppGecko.gwt.xml // same as DevAppSafari but with user.agent = gecko1_8 for Firefox. Works pretty well. Just make sure to add the rename-to attribute from App.gwt.xml to all Dev*.gwt.xml modules so it compiles to the same directory. If your App.gwt.xml does not have such an attribute you also need to add it to all Dev*.gwt.xml modules and set it to the default name of your main app. You can find a small paragraph about it inhttp://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideOrgan... . Take a look at Renaming modules. -- J. -- You received 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.
Anchor setEnabled(false) does not work in FireFox and Chrome.
GWT 2.3, UI Binder. What am I missing? 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Anchor setEnabled(false) does not work in FireFox and Chrome.
Some additional informataion. This might be related to when I am trying to do this. In the onclicked event, I am disabling the Anchor: final Anchor link = new Anchor(Print); link.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { link.setEnabled(false); link.setTitle(Click GO to enable link); } }); -- You received 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: Anchor setEnabled(false) does not work in FireFox and Chrome.
Thanks, this is perfict. On Jan 30, 4:22 pm, Jens jens.nehlme...@gmail.com wrote: Take a look at: http://code.google.com/p/google-web-toolkit/issues/detail?id=2889 -- J. -- You received 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.
Multiple UI Binder XML file for one Widget?
This is an interesting question. I have a java widget that uses a UI binder xml file to define some HTML Structure to the widget. WE bind the to like this: public class PortfolioFrozenDateFilterWidget extends TDCBComposite { @UiTemplate(PortfolioFrozenDateFilterWidget.ui.xml) interface Binder extends UiBinderWidget, PortfolioFrozenDateFilterWidget { } Maybe I am just getting to old for this, but can I somehow have multiple ui.xml file for the same widget. This way I could reuse the java object with a different HTML structure. 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How do I define servlet init-parameters in my .gwt.xml file?
Dave: You don't use the Module.gwt.xml file to define servlets. The HTTP Servlet spec and pure java doesn't know about that module.gwt xml. Simply use you normal Web.xml to add servlets for the GWT RPC service calls. The standare onload stuff work just a before. remember, GWT is compiling you Java Script files to run the UI. HTH! On Feb 14, 1:42 pm, laredotornado laredotorn...@zipmail.com wrote: Hi, I'm using GWT 2.4. How do I define servlet init parameters in my module (.gwt.xml) file when defining a servlet? I'm writing one for testing, but apparently the XML I copied online servlet servlet-nameSaveServlet/servlet-name servlet-classcom.myco.clearing.web.SaveXmlServlet/servlet-class init-param param-namecacheServiceLocatorClass/param-name param-valuecom.myco.clearing.product.test.MockCacheServiceLocator/ param-value /init-param /servlet servlet-mapping servlet-nameSaveServlet/servlet-name url-pattern/save/url-pattern /servlet-mapping isn't valid because I'm getting a lot of errors like Cannot find 'path' attribute and what not. Any guidance is appreciated, - Dave -- You received 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.
Unspecified error
I am running some code that loops through all the rows of a Gird. If the first column of the row has a expand/collapes image, I eather make visable true or false. When the list is large, this error pops up several times. Any ideas? Uncaught exception: com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 132) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) -- You received 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.
Errer after GWT 2.4 upgrade.
I upgraded to GWT 2.4.0 from 2.3.0 When I try running the onload, I get a js error and a blank page. Object does not support in the cache.html. I have cleared my cache just for fun. After compiling the source in Detailed mode, This is the error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/ 4.0; chromeframe/17.0.963.83; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; .NET CLR 1.1.4322; Tablet PC 2.0) Timestamp: Tue, 27 Mar 2012 20:18:01 UTC Message: Object doesn't support this property or method Line: 72280 Char: 3 Code: 0 URI: http://localhost:8080/tdcb/tdcb/326F857FA6DED4A25577CB9F21813982.cache.html Line 72280 is: $wnd.addEventListener($intern_962, com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent, true); I seems to happen just after a few RPC calls. The last thing my entry point does is this JNSI init: private native void initNativePrintExportJSMethods(PrintExport pe) /*-{ $wnd.printExport = function (screenDef,Action,addParms) { p...@com.fis.tdcb.gwt.client.util.PrintExport::processAction(Ljava/lang/ String;Ljava/lang/String;Ljava/lang/String;)(screenDef,Action, addParms); }; }-*/; Any help would be great! We need this upgrade to us the Data Grid with sorting headings. -- You received 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: DockLayoutPanel.getOffsetHeight return zero even after calling forceLayout()
I have had this problem before. The widget needs to be visible before it knows the size atributes. Here is some code that might help you. you need to schedule a deferred commad. Do some searched to understand object. Hope this helps! public static void adjustHeight(final DockLayoutPanel topPanel, final SimplePanel bodyPanel, final DockLayoutPanel outerPanel, final boolean isIpad) { Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { public void execute() { int width = Window.getClientWidth() - 7; int height = Window.getClientHeight() - 7; if(isIpad) { width = width - 40; } On Mar 28, 5:46 am, tong123123 tong123...@gmail.com wrote: the code is attached as follow: public class ALS implements EntryPoint { ScrollPanel basePanel = new ScrollPanel(); DockLayoutPanel baseDockLayoutPanel = new DockLayoutPanel(Unit.PX); SimplePanel simpleContentPanel = new SimplePanel(); public void onModuleLoad() { RootLayoutPanel rootPanel = RootLayoutPanel.get(); rootPanel.add(basePanel); basePanel.add(baseDockLayoutPanel); baseDockLayoutPanel.setSize(1200, 800); baseDockLayoutPanel.addNorth(CommonPanel.getHeaderPanel(), 20); baseDockLayoutPanel.addSouth(CommonPanel.getFooterPanel(), 40); FlowPanel leftSidePanel = CommonPanel.getLeftSidePanel(); FlowPanel menuPanel = new FlowPanel(); menuPanel.setWidth(150px); menuPanel.addStyleName(menu); menuPanel.add(buildTree()); leftSidePanel.add(menuPanel); baseDockLayoutPanel.addWest(leftSidePanel, 220); baseDockLayoutPanel.add(simpleContentPanel); baseDockLayoutPanel.setSize(1024, 800); } Tree buildTree(){ Tree treeMenu = new Tree(); final TreeItem searchLogs = new TreeItem(Search Logs); treeMenu.addItem(searchLogs); searchLogs.setState(true); treeMenu.addSelectionHandler(new SelectionHandlerTreeItem(){ @Override public void onSelection(SelectionEventTreeItem event) { if (event.getSelectedItem().equals(advancedSearchLogs)){ //System.out.println(splitLayoutPanel.getWidgetCount()); simpleContentPanel.remove(simpleContentPanel.getWidget()); simpleContentPanel.add(new AdvancedSearchLogsPanel()); advancedSearchLogsPanel.forceLayout(); baseDockLayoutPanel.forceLayout(); int width = advancedSearchLogsPanel.getOffsetWidth() + 220; int height = advancedSearchLogsPanel.getOffsetHeight()+ 60; // Problem here, getOffSetheight() return zero!! // AdvancedSearchLogsPanel is a docklayoutPanel baseDockLayoutPanel.setSize(String.valueOf(width), String.valueOf(height)); } }}); return treeMenu; } } On Wednesday, March 28, 2012 4:08:00 PM UTC+8, tong123123 wrote: there is a simplePanel and the simplePanel add a DockLayoutPanel called AdvancedSearchPanel. in the AdvancedSearchPanel constructor, the width is set to 100% and height to 1800px. then there is a menu item and when it is clicked, I try to add the AdvancedSearchLogsPanel() to simplePanel and then called advancedSearchLogsPanel.forceLayout() before calling advancedSearchLogsPanel.getOffsetWidth() and advancedSearchLogsPanel.getOffsetHeight() but both return zero!! what is the problem come from? On Wednesday, March 28, 2012 4:08:00 PM UTC+8, tong123123 wrote: there is a simplePanel and the simplePanel add a DockLayoutPanel called AdvancedSearchPanel. in the AdvancedSearchPanel constructor, the width is set to 100% and height to 1800px. then there is a menu item and when it is clicked, I try to add the AdvancedSearchLogsPanel() to simplePanel and then called advancedSearchLogsPanel.forceLayout() before calling advancedSearchLogsPanel.getOffsetWidth() and advancedSearchLogsPanel.getOffsetHeight() but both return zero!! what is the problem come from?- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at
Re: Errer after GWT 2.4 upgrade.
Looks like my problem is related to the Crome-Frame installed but disabled, I have not seen a complete workaround. Does anyone have an update? Issue 6665:GWT2.4RC applies wrong DOMImpl with disabled chrome frame On Mar 27, 3:31 pm, skippy al.leh...@fisglobal.com wrote: I upgraded to GWT 2.4.0 from 2.3.0 When I try running the onload, I get a js error and a blank page. Object does not support in the cache.html. I have cleared my cache just for fun. After compiling the source in Detailed mode, This is the error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/ 4.0; chromeframe/17.0.963.83; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; .NET CLR 1.1.4322; Tablet PC 2.0) Timestamp: Tue, 27 Mar 2012 20:18:01 UTC Message: Object doesn't support this property or method Line: 72280 Char: 3 Code: 0 URI:http://localhost:8080/tdcb/tdcb/326F857FA6DED4A25577CB9F21813982.cach... Line 72280 is: $wnd.addEventListener($intern_962, com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent, true); I seems to happen just after a few RPC calls. The last thing my entry point does is this JNSI init: private native void initNativePrintExportJSMethods(PrintExport pe) /*-{ $wnd.printExport = function (screenDef,Action,addParms) { p...@com.fis.tdcb.gwt.client.util.PrintExport::processAction(Ljava/lang/ String;Ljava/lang/String;Ljava/lang/String;)(screenDef,Action, addParms); }; }-*/; Any help would be great! We need this upgrade to us the Data Grid with sorting headings. -- You received 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: Errer after GWT 2.4 upgrade.
Just some more details on the problems. This is when you use IE8 with Crome-Frame installed but not enabled. We recommend Crome-Frame for our application because of the poor performance of IE and grid tables. This looks like an old problem, yet little activity to correct it. I have tried the changes to the module xml file with no luck. Any help would be great! On Mar 28, 10:31 am, skippy al.leh...@fisglobal.com wrote: Looks like my problem is related to the Crome-Frame installed but disabled, I have not seen a complete workaround. Does anyone have an update? Issue 6665: GWT2.4RC applies wrong DOMImpl with disabled chrome frame On Mar 27, 3:31 pm, skippy al.leh...@fisglobal.com wrote: I upgraded to GWT 2.4.0 from 2.3.0 When I try running the onload, I get a js error and a blank page. Object does not support in the cache.html. I have cleared my cache just for fun. After compiling the source in Detailed mode, This is the error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/ 4.0; chromeframe/17.0.963.83; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; .NET CLR 1.1.4322; Tablet PC 2.0) Timestamp: Tue, 27 Mar 2012 20:18:01 UTC Message: Object doesn't support this property or method Line: 72280 Char: 3 Code: 0 URI:http://localhost:8080/tdcb/tdcb/326F857FA6DED4A25577CB9F21813982.cach... Line 72280 is: $wnd.addEventListener($intern_962, com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent, true); I seems to happen just after a few RPC calls. The last thing my entry point does is this JNSI init: private native void initNativePrintExportJSMethods(PrintExport pe) /*-{ $wnd.printExport = function (screenDef,Action,addParms) { p...@com.fis.tdcb.gwt.client.util.PrintExport::processAction(Ljava/lang/ String;Ljava/lang/String;Ljava/lang/String;)(screenDef,Action, addParms); }; }-*/; Any help would be great! We need this upgrade to us the Data Grid with sorting headings.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Errer after GWT 2.4 upgrade.
This is from Alex Russel: Disabling the BHO doesn't work well for the reason you cite below and we don't really expect this to be fixable. Your best bet is to uninstall GCF if it's not enabled. On Mar 29, 9:07 pm, JoseM jose.a.marti...@gmail.com wrote: Do you have any more details on how to do that exactly? -- You received 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.
IE8 getUserAgent returns Safari
I am trying to remove functions that don't work in Safari, but the IE8 user agent comes back with the word Safari in it. Window.Navigator.getUserAgent().contains(Safari) in IE* its true. -- You received 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: IE8 getUserAgent returns Safari
Yes I do, now what? On Apr 12, 1:23 pm, Jens jens.nehlme...@gmail.com wrote: Probably Chrome Frame installed in IE? http://www.chromium.org/developers/how-tos/chrome-frame-getting-start... -- J. Am Donnerstag, 12. April 2012 20:13:49 UTC+2 schrieb skippy: I am trying to remove functions that don't work in Safari, but the IE8 user agent comes back with the word Safari in it. Window.Navigator.getUserAgent().contains(Safari) in IE* its true.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE8 getUserAgent returns Safari
This seems to work. if (Window.Navigator.getUserAgent().contains(Safari) ! Window.Navigator.getUserAgent().contains(Chrome)) { setSafari(true); } On Apr 12, 1:34 pm, skippy al.leh...@fisglobal.com wrote: Yes I do, now what? On Apr 12, 1:23 pm, Jens jens.nehlme...@gmail.com wrote: Probably Chrome Frame installed in IE? http://www.chromium.org/developers/how-tos/chrome-frame-getting-start... -- J. Am Donnerstag, 12. April 2012 20:13:49 UTC+2 schrieb skippy: I am trying to remove functions that don't work in Safari, but the IE8 user agent comes back with the word Safari in it. Window.Navigator.getUserAgent().contains(Safari) in IE* its true.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Exclude gwt-dev.jar from a war deploy for Tomcat
I am not sure about what you are trying to go, but instead of running the deploy menu option try to right clicking on the build.xml and click run as Ant. then the xml file will not be re-generated. On Apr 17, 8:23 am, Magallo galletti.mat...@gmail.com wrote: Hi, all. I'm trying to create a .war file of my GWT project to deploy in Tomcat. I see that in Eclipse there is the possibility to deploy a war file just opening the context menu with right-click of the mouse on the module name file .java in the package explorer and choosing the Google Web Toolkit-Deploy module menu item. Doing this, Eclipse will automatically create a build.xml file. Then the build.xml script is generated and the package is created. This works but there is a problem. The file gwt-dev-jar is copied in the WEB-INF/lib directory and it is included in the war file. I know that gwt-dev.jar must not be deployed but for a reason that I don't uderstand, but in any case the build process copies it. Why? AnywayI would like to change this build.xml file to make some customization, but every time I build choosing Google Web Toolkit-Deploy module from the context menu, it is deleted and re-generated so I can't edit it manually. Where I can set some customization so that the automatically generated build.xml file does what I want? How can I customize it to exclude gwt-dev.jar? Please help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Why is the registration to Google I/O Closed?
Is the event full? -- You received 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: IE8 is showing script is unresponsive, any known fixes that can be easily applied
IE 8 has some known performance problems. We did a lot to optimize for it. Large flextables have the biggest impact. try to switch to a grid object. If you search this site you will find post with several other tips. Like don't attached the flextable to the root object until its done loading. So, remove it before reloading and then add it back at the end. At the end of the day all this was not enough for us. We implemented the Crome Frame plug-in for IE users. There is a simple change to the application to run the plug-in. There is a google site just for the crome frame: http://groups.google.com/group/google-chrome-frame On Apr 27, 8:55 am, Kishan balakisha...@gmail.com wrote: Frequently we are getting script is unresponsive in IE8, is any known fixes that can be easily applied. That will be helpful. Thanks, Balakishan -- You received 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.
Error with GWT 2.4
IE8, Window 7, not chrome plug-in. $wnd.addEventListener($intern_965, com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent, true); the error is: Object doesn't support this property of method Char:3. This is in a .cache.html file. Its also not happening to all IE8 users. I had the same problem when I have the chrome plug-in installed, but disabled. -- You received 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: Error with GWT 2.4
Thanks for the tip. ChromeFrame was not installed. This was a brand new build of a laptop. However, I found a registry setting in internet settings/user agent/ post platform/chromeframe/15.0.874.121. the full path of the key is: HKey_local_Machine/Software/microsoft/Windows/current version/internet settings/user agent/post Platform/chromeframe. Can we maybe get an error message indicating this situation? Thanks again for your help On May 25, 7:47 am, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, May 24, 2012 8:57:30 PM UTC+2, skippy wrote: IE8, Window 7, not chrome plug-in. Are you sure Chrome Frame is not installed, but disabled? DOMImplStandard should not be used in IE. Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=6665 -- You received 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: Unable To install GWT Developer Plug in for IE
I have seen this when there is a proxy server between you and that site. I have to go home to install the plug-in. Try downloading the jar/zip file. There are instructions on installing from local. On May 23, 1:57 pm, David dhy...@gmail.com wrote: I am getting 404 errors for both the IE and IE 64 bit install urls. I am blocked. -- You received 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.
XMLParser Problems
I am trying to load this xml file into a hashmap or list using XMLParser. What ever I try, I keep getting a node list of 1 with all the nodes in it. Here is an example of the xml file: item ACCT00031MEB0009/ACCT000 ACCT068C. WALKER - SHORT TITLE LINE/ACCT068 ACCT069C. WALKER - LONG TITLE LINE/ACCT069 ACCT070C. WALKER - LONG TITLE LINE/ACCT070 ACCT071 /ACCT071 ACCT072 /ACCT072 ACCT073 /ACCT073 ACCTA9531/ACCTA95 ACCTA70BROWN DEER/ACCTA70 ACCT324 /ACCT324 ACCT325 /ACCT325 ACCT00606261997/ACCT006 ACCT008/ACCT008 ACCT004 /ACCT004 ACCT00550vlst /item just one note that when I get the data from the requestbuilder call, there are not CR and LFs in the data. Here is some of the code I am trying: com.google.gwt.xml.client.Document doc = XMLParser.parse(item); //NodeList elements = doc.getElementsByTagName(ITEM); NodeList elements = doc.getChildNodes(); int fieldCount = elements.getLength();// always 1 Window.alert(String.valueOf(fieldCount)); for(int i = 0; i fieldCount; i++) { Node element = elements.item(i); String name = element.getNodeName(); String value = element.getNodeValue(); Window.alert(Name = +name); Window.alert(Value = +value); } Any help would be great! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: XMLParser Problems
On Thursday, March 14, 2013 8:02:13 AM UTC-5, skippy wrote: I am trying to load this xml file into a hashmap or list using XMLParser. What ever I try, I keep getting a node list of 1 with all the nodes in it. Here is an example of the xml file: item ACCT00031MEB0009/ACCT000 ACCT068C. WALKER - SHORT TITLE LINE/ACCT068 ACCT069C. WALKER - LONG TITLE LINE/ACCT069 ACCT070C. WALKER - LONG TITLE LINE/ACCT070 ACCT071 /ACCT071 ACCT072 /ACCT072 ACCT073 /ACCT073 ACCTA9531/ACCTA95 ACCTA70BROWN DEER/ACCTA70 ACCT324 /ACCT324 ACCT325 /ACCT325 ACCT00606261997/ACCT006 ACCT008/ACCT008 ACCT004 /ACCT004 ACCT00550vlst /item just one note that when I get the data from the requestbuilder call, there are not CR and LFs in the data. Here is some of the code I am trying: com.google.gwt.xml.client.Document doc = XMLParser.parse(item); //NodeList elements = doc.getElementsByTagName(ITEM); NodeList elements = doc.getChildNodes(); int fieldCount = elements.getLength();// always 1 Window.alert(String.valueOf(fieldCount)); for(int i = 0; i fieldCount; i++) { Node element = elements.item(i); String name = element.getNodeName(); String value = element.getNodeValue(); Window.alert(Name = +name); Window.alert(Value = +value); } Any help would be great! I am using GWT 2.4 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: XMLParser Problems
Thanks for the response. I have one more question. I am reusing assets from a XSLT Translation application in a GWT application. I want to reuse the XML Page layouts and XML Data payloads. My question is, can I use a more Xpath like parsing? Like first parse the Filter/column nodes. Then parse the heading/column nodes. Then parce the list/column nodes. This would allow me o control what parts of the xml layout go into what part to the GWT Flextable. Thanks for your help. On Mar 18, 12:40 am, Andy King andyk...@greatlogic.com wrote: First, it appears that your XML is invalid ... your last child element has a beginning tag of ACCT005 and an ending tag of vlst. Assuming that this isn't your only problem, I think you are just not getting the child nodes of the item element, but instead you are getting the child nodes of the document (which would be the item element node). This is how I'd fulfill your requirements: final Document doc = XMLParser.parse(item); final Element itemElement = (Element)doc.getElementsByTagName(item).item(0); Node node = itemElement.getFirstChild(); while (node != null) { if (node.getNodeType() == Node.ELEMENT_NODE) { // node is an account element } node = node.getNextSibling(); } Note that not all child nodes will necessarily be Element nodes ... hence the check for NodeType == Node.ELEMENT_NODE. Andy On Thursday, March 14, 2013 6:02:13 AM UTC-7, skippy wrote: I am trying to load this xml file into a hashmap or list using XMLParser. What ever I try, I keep getting a node list of 1 with all the nodes in it. Here is an example of the xml file: ... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Using Totoe
Does anyone have any examples of using Totoe XML Parser? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Need some help with Totoe and XML
I have this XML: I need to get at Group Name=ACCT00305” and at all the children and values like this: ACCT000 31MEB0009 NAME055 Miss Taylor R Williams REMT000 1 REMT001 BANTMEK Data Group Name=ACCT00305 ITEM ACCT000 31MEB0009/ACCT000 NAME055 Miss Taylor R Williams/NAME055 REMT000 1/REMT000 REMT001 BANTMEK/REMT001 NAME002 987-00-0082/NAME002 REMT027 vlst vitm code=' ' desc='NONE' / /vlst /REMT027 REMT018 vlst vitm code=' ' desc='NONE' / /vlst /REMT018 /ITEM ITEM ACCT000 31MEB0009/ACCT000 NAME055 Mr. Taylor R Brown/NAME055 REMT000 2/REMT000 REMT001 GIP5/REMT001 NAME002 /NAME002 REMT027 vlst vitm code=' ' desc='NONE' / /vlst /REMT027 REMT018 vlst vitm code=' ' desc='NONE' / /vlst /REMT018 /ITEM ITEM ACCT000 31MEB0009/ACCT000 NAME055 Mrs. Jamie N Walker/NAME055 REMT000 5/REMT000 REMT001 BROWTJK/REMT001 NAME002 /NAME002 REMT027 vlst vitm code=' ' desc='NONE' / /vlst /REMT027 REMT018 vlst vitm code=' ' desc='NONE' / /vlst /REMT018 /ITEM ITEM ACCT000 31MEB0009/ACCT000 NAME055 Miss Pat G Wilson/NAME055 REMT000 00010/REMT000 REMT001 TAYLOAK/REMT001 NAME002 /NAME002 REMT027 TAvlst vitm code='TA' desc='Receive Tax Letters' / /vlst /REMT027 REMT018 vlst vitm code=' ' desc='NONE' / /vlst /REMT018 /ITEM /Group /Data Alan B. Lehman IT Architect Specialist FIS Wealth Management Solutions Phone: 414-815-2049 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: XMLParser Problems
Hi Andy: Thanks for the post above. I did not see this the other day. you need to ask the child for the next sibling not the parent. node = node.getNextSibling(); By the way, the Totoe project using xpath works nicely. It take some to get to know how to use it. On Wednesday, March 20, 2013 11:24:23 AM UTC-5, Andy King wrote: I don't know of any way to use XPath against the GWT XML library, but that's not to say that you can't do so. In my work with it I just walk through the Document object and extract the elements and attributes into my own structure. If you know the structure of your XML ahead of time then this is really very easy. Andy -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Problems adding Click Handler to Grid
I am trying to add a Click Handler to a Grid object, but it never fires. tableData.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(I am here); } }); Any ideas would be great. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Problems adding Click Handler to Grid
I am using GWT 2,4 if that helps. On Apr 4, 10:35 am, skippy al.leh...@fisglobal.com wrote: I am trying to add a Click Handler to a Grid object, but it never fires. tableData.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(I am here); } }); Any ideas would be great. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Error in Totoe XML Parser.
This code works fine for me in IE but fails in Firefox. I get the error Bad format on namespace decleration(s) given. String namespaces = xmlns:default=\http://code.google.com/p/totoe\; + xmlns:Group=\http://code.google.com/p/totoe/Group\; + xmlns:Item=\http://code.google.com/p/totoe/Item\; ; dataGroupDocument = new XmlParser().parse(dataGroup,namespaces); XML us like this: Group Name=ACCT00305 ITEM ACCT000 31MEB0009/ACCT000 NAME055 Miss Taylor R Williams/NAME055 REMT000 1/REMT000 REMT001 BANTMEK/REMT001 NAME002 987-00-0082/NAME002 REMT027 /REMT027 REMT018 /REMT018 /ITEM /Group -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Error in Totoe XML Parser.
Thanks, that seems to take care of it. On Apr 5, 2:52 am, Harald Pehl harald.p...@gmail.com wrote: Why do you setup namespaces? Your XML does not seem to use them? - Harald Am Donnerstag, 4. April 2013 19:54:04 UTC+2 schrieb skippy: This code works fine for me in IE but fails in Firefox. I get the error Bad format on namespace decleration(s) given. String namespaces = xmlns:default=\http://code.google.com/p/totoe\; + xmlns:Group=\http://code.google.com/p/totoe/Group\; + xmlns:Item=\http://code.google.com/p/totoe/Item\; ; dataGroupDocument = new XmlParser().parse(dataGroup,namespaces); XML us like this: Group Name=ACCT00305 ITEM ACCT000 31MEB0009/ACCT000 NAME055 Miss Taylor R Williams/NAME055 REMT000 1/REMT000 REMT001 BANTMEK/REMT001 NAME002 987-00-0082/NAME002 REMT027 /REMT027 REMT018 /REMT018 /ITEM /Group- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Problems adding Click Handler to Grid
I had a onBrowserEvent method in my ancestor class that was consuming the event. On Apr 5, 4:49 pm, Michael Prentice splak...@gmail.com wrote: I just tried this: grid.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { System.out.println(Grid Clicked!); } }); And it works just fine. What Window class are you importing? I just tried it with import com.google.gwt.user.client.Window; and it worked fine in dev mode. On Thursday, April 4, 2013 1:27:43 PM UTC-4, skippy wrote: I am using GWT 2,4 if that helps. On Apr 4, 10:35 am, skippy al.leh...@fisglobal.com wrote: I am trying to add a Click Handler to a Grid object, but it never fires. tableData.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(I am here); } }); Any ideas would be great. Thanks- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Problem with TabSelector Widget.
I have a TabSelector Wedgit that I am adding and removing different objects based on the users navigation. The problem is that the objects that I remove are still around and catching event from the bus. Is there a way to distroy the objects after removing them from the tabSelector? Thanks public void handleSelectedLinkTab(String linkTabName) { this.remove(1); int groupIndex = rmHomeTab.getSelectedGroupIndex(); int acctIndex = rmHomeTab.getSelectedAccountIndex(); if (Characteristics.equals(linkTabName)) { this.add(v4PageGeneratorTab,linkTabName, false); v4PageGeneratorTab.launchLinkTab(groupIndex, acctIndex,linkTabName); }else if (Holdings By Category.equals(linkTabName)) { this.add(holdingsByCategoryTab,linkTabName, false); holdingsByCategoryTab.processGoEvent(groupIndex, acctIndex); }else if (Recipients - All.equals(linkTabName)) { this.add(v4PageGeneratorTab,linkTabName, false); v4PageGeneratorTab.launchLinkTab(groupIndex, acctIndex,linkTabName); } this.selectTab(1); } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Problem with TabSelector Widget.
The base object is DecoratedTabPanel On Apr 10, 10:48 am, skippy al.leh...@fisglobal.com wrote: I have aTabSelectorWedgit that I am adding and removing different objects based on the users navigation. The problem is that the objects that I remove are still around and catching event from the bus. Is there a way to distroy the objects after removing them from thetabSelector? Thanks public void handleSelectedLinkTab(String linkTabName) { this.remove(1); int groupIndex = rmHomeTab.getSelectedGroupIndex(); int acctIndex = rmHomeTab.getSelectedAccountIndex(); if (Characteristics.equals(linkTabName)) { this.add(v4PageGeneratorTab,linkTabName, false); v4PageGeneratorTab.launchLinkTab(groupIndex, acctIndex,linkTabName); }else if (Holdings By Category.equals(linkTabName)) { this.add(holdingsByCategoryTab,linkTabName, false); holdingsByCategoryTab.processGoEvent(groupIndex, acctIndex); }else if (Recipients - All.equals(linkTabName)) { this.add(v4PageGeneratorTab,linkTabName, false); v4PageGeneratorTab.launchLinkTab(groupIndex, acctIndex,linkTabName); } this.selectTab(1); } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Problem with DecoratedTabPanel.
I have a DecoratedTabPanel that I am adding and removing different objects based on the users navigation. The problem is that after the object is removed they are still around and catching event from the bus. Is there a way to distroy the objects after removing them from the DecoratedTabPanel? Thanks public void handleSelectedLinkTab(String linkTabName) { this.remove(1); int groupIndex = rmHomeTab.getSelectedGroupIndex(); int acctIndex = rmHomeTab.getSelectedAccountIndex(); if (Characteristics.equals(linkTabName)) { this.add(v4PageGeneratorTab,linkTabName, false); v4PageGeneratorTab.launchLinkTab(groupIndex, acctIndex,linkTabName); }else if (Holdings By Category.equals(linkTabName)) { this.add(holdingsByCategoryTab,linkTabName, false); holdingsByCategoryTab.processGoEvent(groupIndex, acctIndex); }else if (Recipients - All.equals(linkTabName)) { this.add(v4PageGeneratorTab,linkTabName, false); v4PageGeneratorTab.launchLinkTab(groupIndex, acctIndex,linkTabName); } this.selectTab(1); } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Eclipse Junu 64 bit version
Is there a GWT Plug-in for this version and does this effect the browser plug-in for debugging? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
IE11 degubber mode and the plug-in
In IE11, when I try to get into debugger mode using the ?Codesvr=, the browser told GWT that it is firefox and it can't install the XPI file. I don't want to put the brower into a compatability vieiw because I am trying to get my application working in standard IE11 mode. Is there support in GWT 2.6 for standard IE11? Is there a date for this? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
IE11 and the Debugger mode and the plug-in
In IE11, when I try to get into debugger mode using the ?Codesvr=, the browser told GWT that it is firefox and it can't install the XPI file. I don't want to put the brower into a compatability vieiw because I am trying to get my application working in standard IE11 mode. Is there support in GWT 2.6 for standard IE11? Is there a date for this? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IE11 and the Debugger mode and the plug-in
Thanks for the update. That seemed to work. I just wanted to add that you need to use the F12-developers mode/ Emulation tab to change the version of IE to 10. However, I am not having problems with binding to the cross server debugger. Any thoughts? I am testing on a VM with IE11 trying to connect to my development server. I am using my IP address and not localhost. Do I still point to 127.0.0.1:9997? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Cross Server Debugging
I am not having problems with binding to the cross server debugger. Any thoughts? I am testing on a VM with IE11 trying to connect to my development server. I am using my IP address and not localhost. When I try to bind to the code server, I get that connection error: Plugin failed to connect to Development Mode server at 127.0.0.1:9997 Do I still point to ?codesrv=127.0.0.1:9997? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.