Handling browser-based text size
My app is working pretty well but I would like to see if there is a way to handle the case where the user has set the text size in their browser to some larger size? I'm using pretty standard GWT widgets for everything and when used with normal sized fonts everything looks fine but when the user has changed the font I get text overflows and controls end up overrunning each other. I know this is going to involve some client-side work but want to make sure I'm not missing some simple cross-browser 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-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: FileUpload and IE8
So is this a known issue or just something IE8 does? On Oct 3, 4:27 pm, GeorgeS sxoutt...@gmail.com wrote: This is a cross-post but I realized I'd posted on the GAE forum and this likely belongs here. I have a Java app written using GAE and GWT and it makes use of the FileUpload control to send a file to a datastore. It has been working fine with IE9 and I started testing with other browsers and noticed a problem. All of the current crop of browsers seems to work fine on myuploadusing a standard looking GWT form but whenIE8uploads, the onSubmitComplete fires and regardless of what I do IE hangs up. SinceIE8has around 12% of the browser market I need to find a fix. Any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
FileUpload and IE8
This is a cross-post but I realized I'd posted on the GAE forum and this likely belongs here. I have a Java app written using GAE and GWT and it makes use of the FileUpload control to send a file to a datastore. It has been working fine with IE9 and I started testing with other browsers and noticed a problem. All of the current crop of browsers seems to work fine on my upload using a standard looking GWT form but when IE8 uploads, the onSubmitComplete fires and regardless of what I do IE hangs up. Since IE8 has around 12% of the browser market I need to find a fix. Any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: CellTable question
Jeff, that worked like a charm! Thanks for helping me make it up the Java curve! On Jul 28, 1:27 pm, Jeff Larsen larse...@gmail.com wrote: when you build the column, specify the number MyTextColumn extends TextColumnString[]{ public MyTextColumn(int index){ this.index = index; } public String getValue(String[] strings){ return strings[index]; } -- You received 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: CellTable question
I see mention of a DataGrid in 2.4? Is there any documentation on this yet? -- You received 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: CellTable question
I think what I'm not understanding is how to create the getValue portion of the column creation before I add the column to the cell table when it isn't pre-defined. When I have code like: TextColumnResultDocument fieldsColumn = new TextColumnResultDocument() { @Override public String getValue(ResultDocument resultDoc) { return resultDoc.documentFields; } }; I can see easily what to do but when that column is accessing the (for example) 8th value in a String [] then I can't see it. This is probably my newness to Java (again). On Jul 28, 12:22 pm, Magno Machado magn...@gmail.com wrote: You just have to read whatever information you need and then just call yourCellTableInstance.addColumn(...) as needed On Thu, Jul 28, 2011 at 12:52 PM, GeorgeS sxoutt...@gmail.com wrote: I see mention of a DataGrid in 2.4? Is there any documentation on this yet? -- You received 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. -- Magno Machado Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/ -- You received 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: CellTable question
To clarify... there are 1-n entries where I have no what n is until runtime so I can't hardcode stringValue[8]... On Jul 28, 12:55 pm, GeorgeS sxoutt...@gmail.com wrote: I think what I'm not understanding is how to create the getValue portion of the column creation before I add the column to the cell table when it isn't pre-defined. When I have code like: TextColumnResultDocument fieldsColumn = new TextColumnResultDocument() { @Override public String getValue(ResultDocument resultDoc) { return resultDoc.documentFields; } }; I can see easily what to do but when that column is accessing the (for example) 8th value in a String [] then I can't see it. This is probably my newness to Java (again). On Jul 28, 12:22 pm, Magno Machado magn...@gmail.com wrote: You just have to read whatever information you need and then just call yourCellTableInstance.addColumn(...) as needed On Thu, Jul 28, 2011 at 12:52 PM, GeorgeS sxoutt...@gmail.com wrote: I see mention of a DataGrid in 2.4? Is there any documentation on this yet? -- You received 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. -- Magno Machado Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/ -- You received 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: CellTable question
Thanks... I think that what I was looking for. I had also thought of creating an array of TextControls but this looks much cleaner. On Jul 28, 1:27 pm, Jeff Larsen larse...@gmail.com wrote: when you build the column, specify the number MyTextColumn extends TextColumnString[]{ public MyTextColumn(int index){ this.index = index; } public String getValue(String[] strings){ return strings[index]; } -- You received 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.
CellTable question
I'm working on an GAE app using GWT and I'm running to a problem using CellTable. I don't know until run time how many columns are needed and their type in my CellTable (Note: there are always two fixed columns) so I can't just hook up the columns at design time. The values I'm reading are currently three strings where the third string gets parsed into however many columns I need (just a simple split into a String []). Is there a way to do this? I'm still learning Java so I'm thinking there is some very simple way that I haven't discovered. -- You received 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.