Re: Can't upgrade my Gwt 2.4. Where did the "gwt-html5-storage.jar" dissapear?
Thank you so much Thomas, deeply appreciated... On Sunday, November 14, 2021 at 7:53:35 PM UTC+3 t.br...@gmail.com wrote: > You don't need it anymore: > http://www.gwtproject.org/doc/latest/DevGuideHtml5Storage.html > (basically change your imports from com.google.code.gwt.storage to > com.google.gwt.storage, there might be other changes needed, I never did > such migration myself) > > On Sunday, November 14, 2021 at 5:28:38 PM UTC+1 Haluk Acar Güner wrote: > >> Since the punch cards for the last 40 years, I managed to solve almost >> all my problems, but miserably failed to upgrade my GWT 2.4 App. Where did >> the "gwt-html5-storage.jar" dissapear? What is the best strategy to >> eventually upgrade to 2.9? >> >> Could anyone point me in the right direction please? >> >> -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/72364cfb-7701-4ffa-b89a-5b6f29952d7en%40googlegroups.com.
Re: Can't upgrade my Gwt 2.4. Where did the "gwt-html5-storage.jar" dissapear?
You don't need it anymore: http://www.gwtproject.org/doc/latest/DevGuideHtml5Storage.html (basically change your imports from com.google.code.gwt.storage to com.google.gwt.storage, there might be other changes needed, I never did such migration myself) On Sunday, November 14, 2021 at 5:28:38 PM UTC+1 Haluk Acar Güner wrote: > Since the punch cards for the last 40 years, I managed to solve almost all > my problems, but miserably failed to upgrade my GWT 2.4 App. Where did the > "gwt-html5-storage.jar" dissapear? What is the best strategy to eventually > upgrade to 2.9? > > Could anyone point me in the right direction please? > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/80981a44-e73e-4513-b95c-09861d98d4d8n%40googlegroups.com.
Can't upgrade my Gwt 2.4. Where did the "gwt-html5-storage.jar" dissapear?
Since the punch cards for the last 40 years, I managed to solve almost all my problems, but miserably failed to upgrade my GWT 2.4 App. Where did the "gwt-html5-storage.jar" dissapear? What is the best strategy to eventually upgrade to 2.9? Could anyone point me in the right direction please? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5002b449-fdec-453a-9e62-077d5e59b256n%40googlegroups.com.
Re: Gwt 2.4 browser compatibility
And the error is ? We are also using ANT, that isn't a problem for GWT2.8.2 -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Gwt 2.4 browser compatibility
I am tried to upgrade to gwt 2.8.2 but I am getting gwt compilation error. We are using Ant. On Mon, Jul 9, 2018 at 10:20 AM Frank wrote: > And updating to GWT 2.8.2 should be a fairly quick and easy process if you > are concerned about this. > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Gwt 2.4 browser compatibility
And updating to GWT 2.8.2 should be a fairly quick and easy process if you are concerned about this. -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Gwt 2.4 browser compatibility
On Monday, July 9, 2018 at 11:50:46 AM UTC+2, srinivas...@gmail.com wrote: > > Hi, I am working on a legacy application which is developed using gwt 2.4. > But the application does not work properly on windows 10 machine with edge. > Any inputs are appreciated. As I answered yesterday on StackOverflow (https://stackoverflow.com/a/51231718/116472), GWT 2.4 predated even IE10, and cannot be expected to be OK with any recent browser (that leaves only IE9 and earlier). You need to upgrade to a newer version of GWT (and remember that only the very latest is supported, currently 2.8.2) -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Gwt 2.4 browser compatibility
Hi, I am working on a legacy application which is developed using gwt 2.4. But the application does not work properly on windows 10 machine with edge. Any inputs are appreciated. -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT 2.4 timezone issue
Date object does not have a time zone information. You see a time zone when you print/display the date object, and the machine is using its own time zone by default. I save all dates in the datastore as Long values: date.getTime(). When I need to display a date in a browser, I pass the GWT TimeZone object. For example, private static DateTimeFormat format = DateTimeFormat.getFormat(PredefinedFormat.DATE_MEDIUM); public void setDate(Long date, TimeZone timeZone) { setValue(date == null ? null : format.format(new Date(date), timeZone)); } You can read more about GWT TimeZone here: http://www.gwtproject.org/javadoc/latest/com/google/gwt/i18n/client/TimeZone.html -- 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.
GWT 2.4 timezone issue
Hi From few days I am fighting with different Timezone issues of server and GWT client. but cannot get any success. Scenario is Server is in UTC timezone let say Client A is in IST timezone. When client select a date (with time) I pushed to server but date is automatically changed to server's timezone. I dig around this issue and I found multiple solutions like 1. create custom serializer (No idea how to do that can't found any proper example) 2. transfer date as a string to server and convert it to server timezone and store it. and when fetching data convert again from server's timezone to client local timezone. sounds good idea. So my query is. 1. Any other solutions? 2. which is best way to manage this ? 3. any sample code or link? -- 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: GWT 2.4 timezone issue
If you're using RPC, do a subclass of Date: public class LocalDate extends Date { public LocalDate() { super(); } public LocalDate(Date date) { this(date.getTime()); } @SuppressWarnings(deprecation) public LocalDate(int year, int month, int date) { super(year, month, date); } public LocalDate(Long date) { super(date); } } and then make a custom serializer for it: public final class LocalDate_CustomFieldSerializer extends CustomFieldSerializerLocalDate { public static void deserialize(com.google.gwt.user.client.rpc.SerializationStreamReader reader, com.practiware.types.LocalDate instance) { } public static LocalDate instantiate(SerializationStreamReader streamReader) throws SerializationException { try { int year = streamReader.readInt(); int month = streamReader.readInt(); int day = streamReader.readInt(); return new LocalDate(year, month, day); } catch (Throwable e) { throw new SerializationException(e); } } @SuppressWarnings(deprecation) public static void serialize(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter, com.practiware.types.LocalDate instance) throws SerializationException { try { int month = instance.getMonth(); int year = instance.getYear(); int day = instance.getDate(); streamWriter.writeInt(year); streamWriter.writeInt(month); streamWriter.writeInt(day); } catch (Exception e) { throw new SerializationException(e); } } @Override public void deserializeInstance(SerializationStreamReader streamReader, LocalDate instance) throws SerializationException { LocalDate_CustomFieldSerializer.deserialize(streamReader, instance); } @Override public boolean hasCustomInstantiateInstance() { return true; } @Override public LocalDate instantiateInstance(SerializationStreamReader streamReader) throws SerializationException { return LocalDate_CustomFieldSerializer.instantiate(streamReader); } @Override public void serializeInstance(SerializationStreamWriter streamWriter, LocalDate instance) throws SerializationException { LocalDate_CustomFieldSerializer.serialize(streamWriter, instance); } } You can use a regular Date in this case for getters/setters, but then wrap it into a LocalDate in the setter. Making a subclass will allow you to keep other dates where you have a time inside the date object that you might want to be converted to the user's local time. If you're using RequestFactory, you'll want to have it converted to UTC or whatever time zone your server is on before sending it across in the date field. If you're using DateBox, there's an example of one that converts to UTC here: http://gwt-traction.googlecode.com/hg/demo/com.tractionsoftware.gwt.demo.utcdatebox.UTCDateBoxDemo/UTCDateBoxDemo.html On Thursday, June 5, 2014 2:41:08 AM UTC-5, Mayank pandya wrote: Hi From few days I am fighting with different Timezone issues of server and GWT client. but cannot get any success. Scenario is Server is in UTC timezone let say Client A is in IST timezone. When client select a date (with time) I pushed to server but date is automatically changed to server's timezone. I dig around this issue and I found multiple solutions like 1. create custom serializer (No idea how to do that can't found any proper example) 2. transfer date as a string to server and convert it to server timezone and store it. and when fetching data convert again from server's timezone to client local timezone. sounds good idea. So my query is. 1. Any other solutions? 2. which is best way to manage this ? 3. any sample code or link? -- 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: Add Scroll Handler to DataGrid (GWT 2.4)
Check this link ;) http://stackoverflow.com/questions/11997130/lazy-load-data-in-a-gwt-datagrid On Thursday, September 22, 2011 5:35:01 AM UTC+3:30, TheSultan wrote: I need to add a ScrollHandler to the body of a DataGrid. I've tried the following: dataGrid.addHandler(new ScrollHandler() { @Override public void onScroll(ScrollEvent event) { Window.alert(yes!!); } }, ScrollEvent.getType()); but it's not working. Any ideas? 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: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree
The issue is due to CellTree preventing the default browser event on space. The reason for that is to prevent scrolling. You can listen for KEYDOWN in TextInputCells and then add the space in the input manually. As to how to get the input element, you can traverse the DOM from the parent Element or use something like GQuery. Nicholas On Wednesday, May 8, 2013 7:24:03 AM UTC-4, Michael Altmann wrote: I am facing the same issue and cannot figure out how the original poster set up event handling to get this working. Any help would be greatly appreciated. Right now my CellTree with TextInputCells will not accepts spaces. On Wednesday, August 29, 2012 5:30:10 AM UTC-5, BhaskerT wrote: Hi James, Thanks for the post and reply. I am facing similar issue. I am not able to type the white space character in the MyEditCell extends AbstractInputCell. i have also over ridden the below method: *public* SetString getConsumedEvents() { SetString events = *new* HashSetString(); events.add(focus); events.add(blur); events.add(keydown); events.add(change); *return* events; } But, Still no luck. Can you please suggest something. Thanks, Bhasker On Thursday, 29 December 2011 21:38:09 UTC+5:30, James Scott wrote: Looks like it boils down to events. After looking at the TextInputCell and AbstractInputCell source, I added focus and change events to the list of events consumed by the CompositeCell, and that addressed both issues. Incidentally, I tried out the EditTextCell in the CompositeCell, and to get that working, I needed to add keyup and keydown events to the CompositeCell. Clearly I do not yet have my mind wrapped around how the events are propagated in a CompositeCell, but at least I've solved my immediate problems. JLS On Dec 28, 3:49 pm, James Scott j...@jls.cx wrote: Hi all- I feel like I'm missing something obvious here, but I haven't been able to figure this out. In short, I have a CellTree whose leaf nodes are populated with CompositeCells. Each CompositeCell has an ImageResourceCell, a TextCell, and a TextInputCell. These are displaying in the tree correctly. I have attached an onClick event to the ImageResourceCell that deletes the item from the tree, and that works as expected. The intent for the TextInputCell is to display a field from the entity associated with the cell, and update the field on the entity when the user changes the value in the TextInputCell. However, I'm having a couple of problems with the TextInputCell. First, when I type in the TextInputCell, the space key is ignored - well, it's probably being consumed by something else but the upshot is that when I type a space character, it doesn't appear in the TextInputCell. I thought this might have to do with the SelectionModel or KeyboardSelectionPolicy on the CellTree, but I've set the tree to KeyboardSelectionPolicy.DISABLED and the TreeViewModel to NoSelectionModel and it's still happening.[snip] -- 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/groups/opt_out.
Re: GWT 2.4 Jetty nocache.js files
hey can I use the same code for my application? what else will change if I have to use for mine? This filter will help us with cache issues right? On Wednesday, July 18, 2012 10:57:41 AM UTC-5, brent...@gmail.com wrote: I figured out the answer. All I had to do was add this to my web.xml file. servlet servlet-namedefault/servlet-name servlet-classorg.eclipse.jetty.servlet.DefaultServlet/servlet-class init-param param-namecacheControl/param-name param-valuepublic, max-age=0, must-revalidate/param-value /init-param /servlet servlet-mapping servlet-namedefault/servlet-name url-pattern/myApp/*.nocache.js/url-pattern /servlet-mapping Thanks! On Wednesday, July 18, 2012 10:50:15 AM UTC-4, brent...@gmail.com wrote: In this gwt webhttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html says to place a *.htaccess config file like this to avoid caching main javascript gwt application. Files *.nocache.* ExpiresActive on ExpiresDefault now Header merge Cache-Control public, max-age=0, must-revalidate /Files Files *.cache.* ExpiresActive on ExpiresDefault now plus 1 year /Files Is there a way to do the same with Jetty ? (whithout needing to use httpd jetty module) We're using an embedded jetty container version 7.3.1.v20110307. -- 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/groups/opt_out.
Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses
I have a related follow-up question. I was getting a stack overflow at runtime because of the polymorphic hierarchy and was not using @ExtraTypes. My hierarchy was 3 levels deep. Top level is GenericType, next level is CategoryType and EventType, and next level is four subtypes of CategoryType and 4 subtypes of EventType. I finally got it working by putting @ExtryTypes in my request factory. It only worked when I put the @ExtraTypes with the full list of 10 types above GenericType. Initially I had tried to put @ExtraTypes with just 2 types above GenericType and @ExtraTypes with 4 types each above CategoryType and EventType. This did not work. Is this how it is intended to work? A related question. At one point I download all GenericTypes in the datastore (I use Objectify) and I want to see which of the lowest 8 types a particular entity is. I am currently comparing the String of the class I am looking for with substring of the class name of the GenericType. When I do getClass().getName() on the GenericType, returned from the datastore, I get something like: com.packagename.shared.proxy.LevelThreeTypeProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory$1 If I am trying to see if this is a 'com.packagename.shared.proxy.LevelThreeTypeProxy', i compare that string to the left substring with length of whatever the fully qualified name I'm looking for is. Is there a better way to do this? Thanks, Jonathan On Saturday, February 23, 2013 6:33:55 AM UTC-5, Thomas Broyer wrote: On Saturday, February 23, 2013 5:20:23 AM UTC+1, Bademus ᵗʰᵉ wrote: It seems that GenTool goes into infinite loop again Version: gwt 2.5.1-rc1 Code: public interface EntityBaseProxy extends EntityProxy { ... } @ExtraTypes(AuthorProxy.class) public interface UserProxy extends EntityBaseProxy { ... } public interface AuthorProxy extends UserProxy { ... } It's no news actually (and Brad was right, and I was wrong): https://code.google.com/p/google-web-toolkit/issues/detail?id=6912 Workaround: don't put @ExtraTypes on the super-interface of the extra interfaces (e.g. move @ExtraTypes to a RequestContext) -- 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/groups/opt_out.
Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree
I am facing the same issue and cannot figure out how the original poster set up event handling to get this working. Any help would be greatly appreciated. Right now my CellTree with TextInputCells will not accepts spaces. On Wednesday, August 29, 2012 5:30:10 AM UTC-5, BhaskerT wrote: Hi James, Thanks for the post and reply. I am facing similar issue. I am not able to type the white space character in the MyEditCell extends AbstractInputCell. i have also over ridden the below method: *public* SetString getConsumedEvents() { SetString events = *new* HashSetString(); events.add(focus); events.add(blur); events.add(keydown); events.add(change); *return* events; } But, Still no luck. Can you please suggest something. Thanks, Bhasker On Thursday, 29 December 2011 21:38:09 UTC+5:30, James Scott wrote: Looks like it boils down to events. After looking at the TextInputCell and AbstractInputCell source, I added focus and change events to the list of events consumed by the CompositeCell, and that addressed both issues. Incidentally, I tried out the EditTextCell in the CompositeCell, and to get that working, I needed to add keyup and keydown events to the CompositeCell. Clearly I do not yet have my mind wrapped around how the events are propagated in a CompositeCell, but at least I've solved my immediate problems. JLS On Dec 28, 3:49 pm, James Scott j...@jls.cx wrote: Hi all- I feel like I'm missing something obvious here, but I haven't been able to figure this out. In short, I have a CellTree whose leaf nodes are populated with CompositeCells. Each CompositeCell has an ImageResourceCell, a TextCell, and a TextInputCell. These are displaying in the tree correctly. I have attached an onClick event to the ImageResourceCell that deletes the item from the tree, and that works as expected. The intent for the TextInputCell is to display a field from the entity associated with the cell, and update the field on the entity when the user changes the value in the TextInputCell. However, I'm having a couple of problems with the TextInputCell. First, when I type in the TextInputCell, the space key is ignored - well, it's probably being consumed by something else but the upshot is that when I type a space character, it doesn't appear in the TextInputCell. I thought this might have to do with the SelectionModel or KeyboardSelectionPolicy on the CellTree, but I've set the tree to KeyboardSelectionPolicy.DISABLED and the TreeViewModel to NoSelectionModel and it's still happening.[snip] -- 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: LocaleInfo.getAvailableLocaleNames() regression in GWT 2.4 and 2.5.
On Thursday, May 2, 2013 3:30:44 AM UTC+2, Arkady wrote: Hi, I have the following settings in my gwt.xml file: extend-property name=locale values=en/ extend-property name=locale values=zh_CN/ set-property-fallback name=locale value=en/ In GWT 2.3, when I invoked LocaleInfo.getAvailableLocaleNames(), I got back: default, en, en_AS, en_AU, en_BE, en_BW, en_BZ, en_CA, en_GB, en_GU, en_HK, en_IE, en_IN, en_JM, en_MH, en_MP, en_MT, en_NA, en_NZ, en_PH, en_PK, en_SG, en_TT, en_UM, en_US, en_VI, en_ZA, en_ZW, zh_CN, zh_Hans_CN. In GWT 2.5, the same call returns: default, en, en_AS, en_AU, en_BE, en_BW, en_BZ, en_CA, en_GB, en_GU, en_HK, en_IE, en_IN, en_JM, en_MH, en_MP, en_MT, en_NA, en_NZ, en_PH, en_PK, en_SG, en_TT, en_UM, en_US, en_VI, en_ZA, en_ZW, zh, zh_CN, zh_SG, zh_Hans, zh_Hans_CN, zh_Hans_HK, zh_Hans_MO, zh_Hans_SG. I am wondering, why zh and all its locales are included in the list, when I configured zh_CN only? It is a regression from 2.3. Is there any other API available that will return only locales that adhere to the configuration? No idea but would you mind filing an issue; this clearly looks like a bug to me. -- 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.
LocaleInfo.getAvailableLocaleNames() regression in GWT 2.4 and 2.5.
Hi, I have the following settings in my gwt.xml file: extend-property name=locale values=en/ extend-property name=locale values=zh_CN/ set-property-fallback name=locale value=en/ In GWT 2.3, when I invoked LocaleInfo.getAvailableLocaleNames(), I got back: default, en, en_AS, en_AU, en_BE, en_BW, en_BZ, en_CA, en_GB, en_GU, en_HK, en_IE, en_IN, en_JM, en_MH, en_MP, en_MT, en_NA, en_NZ, en_PH, en_PK, en_SG, en_TT, en_UM, en_US, en_VI, en_ZA, en_ZW, zh_CN, zh_Hans_CN. In GWT 2.5, the same call returns: default, en, en_AS, en_AU, en_BE, en_BW, en_BZ, en_CA, en_GB, en_GU, en_HK, en_IE, en_IN, en_JM, en_MH, en_MP, en_MT, en_NA, en_NZ, en_PH, en_PK, en_SG, en_TT, en_UM, en_US, en_VI, en_ZA, en_ZW, zh, zh_CN, zh_SG, zh_Hans, zh_Hans_CN, zh_Hans_HK, zh_Hans_MO, zh_Hans_SG. I am wondering, why zh and all its locales are included in the list, when I configured zh_CN only? It is a regression from 2.3. Is there any other API available that will return only locales that adhere to the configuration? Thanks. Best regards, Arkady. . -- 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: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses
On Saturday, February 23, 2013 5:20:23 AM UTC+1, Bademus ᵗʰᵉ wrote: It seems that GenTool goes into infinite loop again Version: gwt 2.5.1-rc1 Code: public interface EntityBaseProxy extends EntityProxy { ... } @ExtraTypes(AuthorProxy.class) public interface UserProxy extends EntityBaseProxy { ... } public interface AuthorProxy extends UserProxy { ... } It's no news actually (and Brad was right, and I was wrong): https://code.google.com/p/google-web-toolkit/issues/detail?id=6912 Workaround: don't put @ExtraTypes on the super-interface of the extra interfaces (e.g. move @ExtraTypes to a RequestContext) -- 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: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses
It seems that GenTool goes into infinite loop again Version: gwt 2.5.1-rc1 Code: public interface EntityBaseProxy extends EntityProxy { ... } @ExtraTypes(AuthorProxy.class) public interface UserProxy extends EntityBaseProxy { ... } public interface AuthorProxy extends UserProxy { ... } Result: Exception in thread main java.lang.StackOverflowError at java.util.Collections$UnmodifiableCollection.init(Collections.java:990) at java.util.Collections$UnmodifiableList.init(Collections.java:1145) at java.util.Collections$UnmodifiableRandomAccessList.init(Collections.java:1222) at java.util.Collections.unmodifiableList(Collections.java:1131) at com.google.web.bindery.requestfactory.gwt.rebind.model.EntityProxyModel.getExtraTypes(EntityProxyModel.java:110) at com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visitExtraTypes(RequestFactoryGenerator.java:123) at com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visit(RequestFactoryGenerator.java:95) at com.google.web.bindery.requestfactory.gwt.rebind.model.EntityProxyModel.accept(EntityProxyModel.java:101) at com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visitExtraTypes(RequestFactoryGenerator.java:125) at com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visit(RequestFactoryGenerator.java:95) *...* On Thursday, September 8, 2011 7:54:30 PM UTC+2, Brad Leupen wrote: Hey Thomas, Thanks for the reply. I think I actually tried that at one point on the RC and ran into a stack overflow. Regardless, the design still wont really work for me because the base Component proxy object really has no idea what it's subclasses are or its subclasses' dependent ValueProxies. -- 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.
Building gwt-2.4
Hi guys! I'm trying to build google web toolkit 2.4; need to try a thing with the legacy code. I am following the steps in 'Making gwt better', took GWT from http://google-web-toolkit.googlecode.com/svn/releases/2.4 I am using tools from http://google-web-toolkit.googlecode.com/svn/tools According to the group postinghttp://comments.gmane.org/gmane.org.google.gwt/68121 i did revert tools to the older version (10. However, I am still getting error (though of the other kind) - compile: [gwt.javac] /home/lexaux/work/gwt/2_4/user/build.xml:94: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [gwt.javac] Compiling 22 source files to /home/lexaux/work/gwt/2_4/build/out/user/bin [gwt.javac] /home/lexaux/work/gwt/2_4/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java:34: error: name clash: find(EntityProxyId?) in FindRequest and Pfind(EntityProxyIdP) in RequestContext have the same erasure, yet neither overrides the other [gwt.javac] RequestEntityProxy find(EntityProxyId? proxy); [gwt.javac]^ [gwt.javac] where P is a type-variable: [gwt.javac] P extends EntityProxy declared in method Pfind(EntityProxyIdP) [gwt.javac] 1 error Any clues? Thanks in advance! -- Alexander Cherednichenko [ the only way out is the way up ] -- 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: Building gwt-2.4
Hi again. I managed to build that with jdk 1.6. Looks like generic treatment has changed a little from 1.6 to 1.7 Works now like a charm. Regards, Alex. On Wednesday, 13 February 2013 16:12:33 UTC+2, Alexander Cherednichenko wrote: Hi guys! I'm trying to build google web toolkit 2.4; need to try a thing with the legacy code. I am following the steps in 'Making gwt better', took GWT from http://google-web-toolkit.googlecode.com/svn/releases/2.4 I am using tools from http://google-web-toolkit.googlecode.com/svn/tools According to the group postinghttp://comments.gmane.org/gmane.org.google.gwt/68121 i did revert tools to the older version (10. However, I am still getting error (though of the other kind) - compile: [gwt.javac] /home/lexaux/work/gwt/2_4/user/build.xml:94: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [gwt.javac] Compiling 22 source files to /home/lexaux/work/gwt/2_4/build/out/user/bin [gwt.javac] /home/lexaux/work/gwt/2_4/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java:34: error: name clash: find(EntityProxyId?) in FindRequest and Pfind(EntityProxyIdP) in RequestContext have the same erasure, yet neither overrides the other [gwt.javac] RequestEntityProxy find(EntityProxyId? proxy); [gwt.javac]^ [gwt.javac] where P is a type-variable: [gwt.javac] P extends EntityProxy declared in method Pfind(EntityProxyIdP) [gwt.javac] 1 error Any clues? Thanks in advance! -- Alexander Cherednichenko [ the only way out is the way up ] -- 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: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4
Thanks, actually I didn't read the example before adding the comment :-) Changed it to extend UIObject and removed getElement method. The changes will be pushed with the next release. On Thu, Feb 7, 2013 at 4:27 PM, Jens jens.nehlme...@gmail.com wrote: Am Freitag, 8. Februar 2013 00:38:37 UTC+1 schrieb Goktug Gokdogan: FYI, documentation is updated to emphasize that related code sample will not work with widgets. A bit more should be corrected. The simple Hello World class example is IMHO terrible for starters. public class HelloWorld { interface MyUiBinder extends UiBinderDivElement, HelloWorld {} private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class); @UiField SpanElement nameSpan; public HelloWorld() { setElement(uiBinder.createAndBindUi(this)); } public void setName(String name) { nameSpan.setInnerText(name); } public void Element getElement() { return nameSpan; } } HelloWorld helloWorld = new HelloWorld(); // Don't forget, this is DOM only; will not work with GWT widgets Document.get().getBody().appendChild(helloWorld.getElement()); helloWorld.setName(World); First, HelloWorld has no super class but uses the (undefined) method setElement() in its constructor. Second, getElement() returns the nameSpan variable and is used in the second code example to append the Hello World UiBinder to the body element. A starter sees code that does not compile and if he assumes that setElement() is maybe the corresponding setter for getElement() { return nameSpan; } then its totally wrong because nameSpan is already assigned via @UiField. To make things clear getElement() should return the DivElement returned by createAndBindUi() *or* HelloWorld should extend UiObject and have its getElement() { return nameSpan; } method removed. -- J. -- 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. -- 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: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4
FYI, documentation is updated to emphasize that related code sample will not work with widgets. On Fri, Jan 11, 2013 at 2:44 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, January 10, 2013 2:47:30 PM UTC+1, Nils Schröder wrote: Just for your notice: I had exactly the same Problem this way. Takes 2 hours to find this post -.- What do you think? Is there a possibility that some one update the Documentation? Just because of small, cute and new GWT Developers like me :D Feel free to file an issue on the tracker so we can at least track it. Eventually the documentation sources should be open-sourced as well so anyone could propose patches, but it won't happen any time soon I'm afraid. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XViZOjEufWAJ. 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. -- 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: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4
Am Freitag, 8. Februar 2013 00:38:37 UTC+1 schrieb Goktug Gokdogan: FYI, documentation is updated to emphasize that related code sample will not work with widgets. A bit more should be corrected. The simple Hello World class example is IMHO terrible for starters. public class HelloWorld { interface MyUiBinder extends UiBinderDivElement, HelloWorld {} private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class); @UiField SpanElement nameSpan; public HelloWorld() { setElement(uiBinder.createAndBindUi(this)); } public void setName(String name) { nameSpan.setInnerText(name); } public void Element getElement() { return nameSpan; } } HelloWorld helloWorld = new HelloWorld(); // Don't forget, this is DOM only; will not work with GWT widgets Document.get().getBody().appendChild(helloWorld.getElement()); helloWorld.setName(World); First, HelloWorld has no super class but uses the (undefined) method setElement() in its constructor. Second, getElement() returns the nameSpan variable and is used in the second code example to append the Hello World UiBinder to the body element. A starter sees code that does not compile and if he assumes that setElement() is maybe the corresponding setter for getElement() { return nameSpan; } then its totally wrong because nameSpan is already assigned via @UiField. To make things clear getElement() should return the DivElement returned by createAndBindUi() *or* HelloWorld should extend UiObject and have its getElement() { return nameSpan; } method removed. -- J. -- 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.
GWT 2.4 issue with Firefox latest version
I have an web page developed with GWT 2.4 and I am using latest version of Firefox. Since Firefox 13, release my GWT code for the 'onclickEvent' does not seems to work properly. On click of a button I am opening a window and when clicking the button again(without closing the pop up window) I m focusing the new window Now, when I am closing the window(pop up widow) and clicking the button for the second time, this time the op up window is not working . Many thanks to helpers -- 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: GWT 2.4 DevMode almost always hangs at Checking for updates
This option only works for the GWT compile. Is there a way to disable update checks when running DevMode? On Tuesday, November 13, 2012 8:04:56 AM UTC-8, Sanjiv Jivan wrote: It found the option : -XdisableUpdateCheck The reason I need to disable this is because of classloader issues I'm running into with a custom PreferencesFactory implementation that our app uses. The DevMode check for update initializes the Preferences class outside the web app context class loader and the Preferences class uses a static final member variable for the factory. On Tue, Nov 13, 2012 at 10:18 AM, Sanjiv Jivan sanjiv...@gmail.comjavascript: wrote: How can this check be disabled? Thanks, Sanjiv On Fri, Aug 10, 2012 at 10:21 AM, Thomas Broyer t.br...@gmail.comjavascript: wrote: It's browser independent, but OS dependent. You can disable the update check though. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XOTHOZV1iaQJ. To post to this group, send email to google-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/b0pzwSRz_UcJ. 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: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4
On Thursday, January 10, 2013 2:47:30 PM UTC+1, Nils Schröder wrote: Just for your notice: I had exactly the same Problem this way. Takes 2 hours to find this post -.- What do you think? Is there a possibility that some one update the Documentation? Just because of small, cute and new GWT Developers like me :D Feel free to file an issue on the tracker so we can at least track it. Eventually the documentation sources should be open-sourced as well so anyone could propose patches, but it won't happen any time soon I'm afraid. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XViZOjEufWAJ. 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: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4
Just for your notice: I had exactly the same Problem this way. Takes 2 hours to find this post -.- What do you think? Is there a possibility that some one update the Documentation? Just because of small, cute and new GWT Developers like me :D -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/oPHy9cm2m78J. 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: GWT 2.4 DevMode almost always hangs at Checking for updates
How can this check be disabled? Thanks, Sanjiv On Fri, Aug 10, 2012 at 10:21 AM, Thomas Broyer t.bro...@gmail.com wrote: It's browser independent, but OS dependent. You can disable the update check though. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XOTHOZV1iaQJ. 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. -- You received 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: GWT 2.4 DevMode almost always hangs at Checking for updates
It found the option : -XdisableUpdateCheck The reason I need to disable this is because of classloader issues I'm running into with a custom PreferencesFactory implementation that our app uses. The DevMode check for update initializes the Preferences class outside the web app context class loader and the Preferences class uses a static final member variable for the factory. On Tue, Nov 13, 2012 at 10:18 AM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: How can this check be disabled? Thanks, Sanjiv On Fri, Aug 10, 2012 at 10:21 AM, Thomas Broyer t.bro...@gmail.comwrote: It's browser independent, but OS dependent. You can disable the update check though. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XOTHOZV1iaQJ. 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. -- You received 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.
Security vulnerability in GWT 2.4: what's this?
I read in the 2.5 release notes here: https://developers.google.com/web-toolkit/release-notes#Release_Notes_Current Security vulnerability from 2.4 to 2.5 Final The GWT team recently learned that the Security vulnerability discovered in the 2.4 Beta and Release Candidate releases was only partially fixed in the 2.4 GA release. A more complete fix was added to the 2.5 GA release. If you have an app that's been built with GWT 2.4 or one of the 2.5 RCs, then you'll need to get the latest 2.5 release, recompile your app, and redeploy. I can't find any recent announcement of a security vulnerability or related posts in the group. Is there some information around about what this issue is? Having some applications in production with 2.4 we want to decide whether to wait for the Eclipse update or not. Thank you all Lorenzo -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Q-gfSXgRxc8J. 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: Security vulnerability in GWT 2.4: what's this?
On Monday, November 12, 2012 2:44:17 PM UTC+1, l.denardo wrote: I read in the 2.5 release notes here: https://developers.google.com/web-toolkit/release-notes#Release_Notes_Current Security vulnerability from 2.4 to 2.5 Final The GWT team recently learned that the Security vulnerability discovered in the 2.4 Beta and Release Candidate releases was only partially fixed in the 2.4 GA release. A more complete fix was added to the 2.5 GA release. If you have an app that's been built with GWT 2.4 or one of the 2.5 RCs, then you'll need to get the latest 2.5 release, recompile your app, and redeploy. I can't find any recent announcement of a security vulnerability or related posts in the group. Is there some information around about what this issue is? It's always delicate to disclose the details of security issues when you know that some people (including high-traffic apps) still use the vulnerable version. However a git log --grep security gives http://code.google.com/p/google-web-toolkit/source/detail?r=10458, and there indeed are other changes to these 2 files between 2.4 and 2.5. Only people with the GWT DevMode plugin installed are at risk of XSSI here. An example of what was *fixed* in 2.4: Having some applications in production with 2.4 we want to decide whether to wait for the Eclipse update or not. What does Eclipse has to do with GWT?! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HKaydOP_uE0J. 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: Security vulnerability in GWT 2.4: what's this?
Thanks Thomas, I meant Eclipse Plugin (we develop and compile using Eclipse and update GWT version with the plugin - managing update by hand lead to some trouble with out-of-date jars found in some builds). The real problem is not the plugin availability (just updated) but the couple of days to go through compiling and deploying all apps, so we wanted to know which ones to recompile first *and* if the vulnerability depended on some features of GWT not used in our applications - so we can skip the upgrade for them. I appreciate the caution of the team, still believe that knowing exactly what is vulnerable helps everyone schedule a faster update if it's really needed. Thanks for your collaboration. Regards Lorenzo On Monday, November 12, 2012 5:45:25 PM UTC+1, Thomas Broyer wrote: On Monday, November 12, 2012 2:44:17 PM UTC+1, l.denardo wrote: I read in the 2.5 release notes here: https://developers.google.com/web-toolkit/release-notes#Release_Notes_Current Security vulnerability from 2.4 to 2.5 Final The GWT team recently learned that the Security vulnerability discovered in the 2.4 Beta and Release Candidate releases was only partially fixed in the 2.4 GA release. A more complete fix was added to the 2.5 GA release. If you have an app that's been built with GWT 2.4 or one of the 2.5 RCs, then you'll need to get the latest 2.5 release, recompile your app, and redeploy. I can't find any recent announcement of a security vulnerability or related posts in the group. Is there some information around about what this issue is? It's always delicate to disclose the details of security issues when you know that some people (including high-traffic apps) still use the vulnerable version. However a git log --grep security gives http://code.google.com/p/google-web-toolkit/source/detail?r=10458, and there indeed are other changes to these 2 files between 2.4 and 2.5. Only people with the GWT DevMode plugin installed are at risk of XSSI here. An example of what was *fixed* in 2.4: Having some applications in production with 2.4 we want to decide whether to wait for the Eclipse update or not. What does Eclipse has to do with GWT?! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5V6cFEfkKMgJ. 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 to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )
I'll see if I can get some time to getting a patch together for this. On 6 September 2012 17:32, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, September 6, 2012 4:58:31 PM UTC+2, Chris Lercher wrote: On Thursday, September 6, 2012 3:58:34 PM UTC+2, Thomas Broyer wrote: Would you mind filing an issue in the tracker (if no one already did it) ? I did a few years ago: http://code.google.com/p/** google-web-toolkit/issues/**detail?id=5729http://code.google.com/p/google-web-toolkit/issues/detail?id=5729 It was closed as a duplicate of http://code.google.com/p/** google-web-toolkit/issues/**detail?id=5394http://code.google.com/p/google-web-toolkit/issues/detail?id=5394, which is fixed and released in 2.4... but it doesn't really fix 5729. Well, it obfuscates all type and method names, *but* the RequestFactory name (as it's needed to load the DeobfuscatorBuilder class) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2yp-mCXMgfMJ. 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. -- You received 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 to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )
I'm also very interested in this; I'd looked briefly going back but didn't find anything either. On 5 September 2012 11:01, zz zhi.z...@gmail.com wrote: Hi, I've searched all over the web, but didn't quite get my question answered. How to obfuscate the type name of my request factory interface that extends RequestFactory? I can only see operations on service are obfuscated. For gwt-rpc, it's enabled by adding below to module file. inherit name='com.google.gwt.user.**RemoteServiceObfuscateTypeName**shttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/RemoteServiceObfuscateTypeNames.gwt.xml?r=9519' / Is there anything similar required to enable obfuscation for RequestFactory? Regards, zz -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ggMXO4wGPiEJ. 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. -- You received 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 to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )
I haven't tried it but I suppose you could implement the mapping on the server-side in a ServiceLayerDecorator's resolveRequestFactory method. The problem would be doing it on the client-side (both in the GWT generator and the VM implementation). A hackish way for GWT code could be to do a search/replace on the generated JS code. The proper way would be to add an annotation on the RequestFactory sub-interfaces that the generator and InProcessRequestFactory would use instead of the interface's binary name. Note that the ServiceLayerDecorator would still be needed on the server-side, but maybe we could provide a simple one. Would you mind filing an issue in the tracker (if no one already did it) ? (it's a rather simple patch –change the implementation of getFactoryTypeToken()– so if you really need/want it, feel free to jump ahead and contribute it!) On Thursday, September 6, 2012 2:29:33 PM UTC+2, James Horsley wrote: I'm also very interested in this; I'd looked briefly going back but didn't find anything either. On 5 September 2012 11:01, zz zhi@gmail.com javascript: wrote: Hi, I've searched all over the web, but didn't quite get my question answered. How to obfuscate the type name of my request factory interface that extends RequestFactory? I can only see operations on service are obfuscated. For gwt-rpc, it's enabled by adding below to module file. inherit name='com.google.gwt.user.**RemoteServiceObfuscateTypeName**shttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/RemoteServiceObfuscateTypeNames.gwt.xml?r=9519' / Is there anything similar required to enable obfuscation for RequestFactory? Regards, zz -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ggMXO4wGPiEJ. To post to this group, send email to google-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7LShJ0O9v0MJ. 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 to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )
On Thursday, September 6, 2012 3:58:34 PM UTC+2, Thomas Broyer wrote: Would you mind filing an issue in the tracker (if no one already did it) ? I did a few years ago: http://code.google.com/p/google-web-toolkit/issues/detail?id=5729 It was closed as a duplicate of http://code.google.com/p/google-web-toolkit/issues/detail?id=5394, which is fixed and released in 2.4... but it doesn't really fix 5729. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/K7InVqQH19cJ. 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 to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )
On Thursday, September 6, 2012 4:58:31 PM UTC+2, Chris Lercher wrote: On Thursday, September 6, 2012 3:58:34 PM UTC+2, Thomas Broyer wrote: Would you mind filing an issue in the tracker (if no one already did it) ? I did a few years ago: http://code.google.com/p/google-web-toolkit/issues/detail?id=5729 It was closed as a duplicate of http://code.google.com/p/google-web-toolkit/issues/detail?id=5394, which is fixed and released in 2.4... but it doesn't really fix 5729. Well, it obfuscates all type and method names, *but* the RequestFactory name (as it's needed to load the DeobfuscatorBuilder class) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2yp-mCXMgfMJ. 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.
How to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )
Hi, I've searched all over the web, but didn't quite get my question answered. How to obfuscate the type name of my request factory interface that extends RequestFactory? I can only see operations on service are obfuscated. For gwt-rpc, it's enabled by adding below to module file. inherit name='com.google.gwt.user.RemoteServiceObfuscateTypeNameshttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/RemoteServiceObfuscateTypeNames.gwt.xml?r=9519' / Is there anything similar required to enable obfuscation for RequestFactory? Regards, zz -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ggMXO4wGPiEJ. 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: Migrating CSS to GWT 2.4
They're in gwt-user.jar, in subdirectories of package com.google.gwt.user.theme. You can also view them in the subversion browser, e.g. http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css The css files will be copied automatically to a subdirectory of your war folder (mymodulename/gwt/...), if your module inherits e.g. inherits name='com.google.gwt.user.theme.standard.StandardResources'/ If you also want to automatically inject the standard.css into your host HTML page, then you would use inherits name='com.google.gwt.user.theme.standard.Standard'/ instead. On Thursday, August 30, 2012 3:23:17 AM UTC+2, GWTFan wrote: We are in the process of migrating from GWT 1.5.3 to 2.4. I have moved the gwt folder containing css files from public to war folder. But as they were from 1.5.3 apparently some new definitions are missing. Where do I find the standard.css and other css files for GWT 2.4? Thanks and appreciate any pointers. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TvwvsllyIAsJ. 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: Migrating CSS to GWT 2.4
Thanks. I had copied the old gwt folder with the css that was causing GWT not to refresh with new version. After I removed the folder containing the old css and inherited the standard.css, GWT created the newer css files/folde.r Thanks for your help! On Wednesday, August 29, 2012 11:08:03 PM UTC-7, Chris Lercher wrote: They're in gwt-user.jar, in subdirectories of package com.google.gwt.user.theme. You can also view them in the subversion browser, e.g. http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css The css files will be copied automatically to a subdirectory of your war folder (mymodulename/gwt/...), if your module inherits e.g. inherits name='com.google.gwt.user.theme.standard.StandardResources'/ If you also want to automatically inject the standard.css into your host HTML page, then you would use inherits name='com.google.gwt.user.theme.standard.Standard'/ instead. On Thursday, August 30, 2012 3:23:17 AM UTC+2, GWTFan wrote: We are in the process of migrating from GWT 1.5.3 to 2.4. I have moved the gwt folder containing css files from public to war folder. But as they were from 1.5.3 apparently some new definitions are missing. Where do I find the standard.css and other css files for GWT 2.4? Thanks and appreciate any pointers. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/v3BFtqJYjssJ. 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: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree
Hi James, Thanks for the post and reply. I am facing similar issue. I am not able to type the white space character in the MyEditCell extends AbstractInputCell. i have also over ridden the below method: *public* SetString getConsumedEvents() { SetString events = *new* HashSetString(); events.add(focus); events.add(blur); events.add(keydown); events.add(change); *return* events; } But, Still no luck. Can you please suggest something. Thanks, Bhasker On Thursday, 29 December 2011 21:38:09 UTC+5:30, James Scott wrote: Looks like it boils down to events. After looking at the TextInputCell and AbstractInputCell source, I added focus and change events to the list of events consumed by the CompositeCell, and that addressed both issues. Incidentally, I tried out the EditTextCell in the CompositeCell, and to get that working, I needed to add keyup and keydown events to the CompositeCell. Clearly I do not yet have my mind wrapped around how the events are propagated in a CompositeCell, but at least I've solved my immediate problems. JLS On Dec 28, 3:49 pm, James Scott j...@jls.cx wrote: Hi all- I feel like I'm missing something obvious here, but I haven't been able to figure this out. In short, I have a CellTree whose leaf nodes are populated with CompositeCells. Each CompositeCell has an ImageResourceCell, a TextCell, and a TextInputCell. These are displaying in the tree correctly. I have attached an onClick event to the ImageResourceCell that deletes the item from the tree, and that works as expected. The intent for the TextInputCell is to display a field from the entity associated with the cell, and update the field on the entity when the user changes the value in the TextInputCell. However, I'm having a couple of problems with the TextInputCell. First, when I type in the TextInputCell, the space key is ignored - well, it's probably being consumed by something else but the upshot is that when I type a space character, it doesn't appear in the TextInputCell. I thought this might have to do with the SelectionModel or KeyboardSelectionPolicy on the CellTree, but I've set the tree to KeyboardSelectionPolicy.DISABLED and the TreeViewModel to NoSelectionModel and it's still happening.[snip] -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sbcpyw5-Ns8J. 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.
Migrating CSS to GWT 2.4
We are in the process of migrating from GWT 1.5.3 to 2.4. I have moved the gwt folder containing css files from public to war folder. But as they were from 1.5.3 apparently some new definitions are missing. Where do I find the standard.css and other css files for GWT 2.4? Thanks and appreciate any pointers. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CA3DnvTGWRMJ. 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: GWT 2.4 App doesn't run on IEs 9 anymore. Got error on GWT's Image class.
Ok, solved it :D. Was issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6665 with Google Chrome Frame for Internet Explorer... Regards, Max On Monday, August 20, 2012 5:37:12 PM UTC+2, Jens wrote: Image itself is included with User.gwt.xml and the only deferred binding that Image uses can be found in ClippedImage.gwt.xml (defines special behavior for IE6, and is also included via User.gwt.xml). So GWT.create(Image.class) should just work. Maybe its just a cache issue? Clean the gwt-UnitCache folder and the browsers cache and reload the page. If this does not help, increase the log level of dev mode to Trace/Debug and see what the deferred binding logs tell you when using IE9 -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/3ZlDREiXFLcJ. 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 2.4 App doesn't run on IEs 9 anymore. Got error on GWT's Image class.
Hello GWT community. For some reason, we can't run our webpage on IEs 9. We are still using GWT 2.4.0 and it's UIBInders and before the following occur, we had that error never before. What's the matter with this? Why Image? And why it says we should inherit it? This has been never required before: 2012-08-20 17:05:48,676 FATAL [btpool0-8] gwt-log: Uncaught Exception: java.lang.RuntimeException: Deferred binding failed for 'com.google.gwt.user.client.ui.Image' (did you forget to inherit a required module?) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) at com.google.gwt.core.client.GWT.create(GWT.java:97) at com.eee.client.EEEController_MyUiBinderImpl.createAndBindUi(EEEController_MyUiBinderImpl.java:79) at com.eee.client.EEEController_MyUiBinderImpl.createAndBindUi(EEEController_MyUiBinderImpl.java:1) at com.eee.client.EEEController.init(EEEController.java:152) at com.eee.client.EEEController.getInstance(EEEController.java:158) at com.eee.client.ntryPointHome$1.execute(ntryPointHome.java:43) at com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50) at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:228) at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:388) at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78) at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) 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:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:680) Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:503) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) ... 37 more In IE9 and all other browsers we don't get that and never before. Regards, Max -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/F2dPeaEg4K0J. 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: GWT 2.4 App doesn't run on IEs 9 anymore. Got error on GWT's Image class.
Image itself is included with User.gwt.xml and the only deferred binding that Image uses can be found in ClippedImage.gwt.xml (defines special behavior for IE6, and is also included via User.gwt.xml). So GWT.create(Image.class) should just work. Maybe its just a cache issue? Clean the gwt-UnitCache folder and the browsers cache and reload the page. If this does not help, increase the log level of dev mode to Trace/Debug and see what the deferred binding logs tell you when using IE9 -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PP-VDg-aIucJ. 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: GWT 2.4 DevMode almost always hangs at Checking for updates
The error occurs on the server side. (The name of the method is misleading.) At the point where the error occurs, I have not yet opened a browser. Tim On Friday, August 10, 2012 6:05:18 AM UTC-4, Dominique L. wrote: I have never had this problem. Do you use Internet Explorer (see CheckForUpdatesIE6) ? Can you try with Firefox ? Dominique. On Aug 8, 8:29 pm, Tim Boemker t...@boemker.com wrote: When I try to launch a GWT project, com.google.gwt.dev.DevMode hangs about 90% of the time after writing Checking for updates to the console. Here's the stack trace for the threads that look interesting: Thread [main] (Suspended) DevMode(DevModeBase).ensureCodeServerListener() line: 925 DevMode(DevModeBase).doStartup(File) line: 915 DevMode.doStartup() line: 424 DevMode(DevModeBase).startUp() line: 1058 DevMode(DevModeBase).run() line: 811 DevMode.main(String[]) line: 311 Thread [Thread-0] (Suspended) URLClassPath.getLoader(int) line: 279 URLClassPath.getResource(String, boolean) line: 168 URLClassLoader$1.run() line: 194 AccessController.doPrivileged(PrivilegedExceptionActionT, AccessControlContext) line: not available [native method] Launcher$AppClassLoader(URLClassLoader).findClass(String) line: 190 Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 306 Launcher$AppClassLoader.loadClass(String, boolean) line: 301 Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 247 DescriptorProtos$DescriptorProto.init() line: 1539 DescriptorProtos$DescriptorProto.clinit() line: 1144 DescriptorProtos$FileDescriptorProto$Builder.mergeFrom(CodedInputStream, ExtensionRegistryLite) line: 769 DescriptorProtos$FileDescriptorProto$Builder.mergeFrom(CodedInputStream, ExtensionRegistryLite) line: 593 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(CodedInputStream) line: 244 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(CodedInputStream) line: 182 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessageLite$BuilderBu ilderType).mergeFrom(byte[], int, int) line: 161 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(byte[], int, int) line: 642 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(byte[], int, int) line: 182 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessageLite$BuilderBu ilderType).mergeFrom(byte[]) line: 152 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(byte[]) line: 635 DescriptorProtos$FileDescriptorProto.parseFrom(byte[]) line: 542 Descriptors$FileDescriptor.internalBuildGeneratedFileFrom(String[], Descriptors$FileDescriptor[], Descriptors$FileDescriptor$InternalDescriptorAssigner) line: 276 DescriptorProtos.clinit() line: 8623 DescriptorProtos$FileOptions$OptimizeMode.clinit() line: 4717 DescriptorProtos$FileOptions.init() line: 4745 DescriptorProtos$FileOptions.clinit() line: 4635 DescriptorProtos$FileDescriptorProto.init() line: 428 DescriptorProtos$FileDescriptorProto.clinit() line: 332 Descriptors$FileDescriptor.internalBuildGeneratedFileFrom(String[], Descriptors$FileDescriptor[], Descriptors$FileDescriptor$InternalDescriptorAssigner) line: 276 RemoteMessageProto.clinit() line: 10853 RemoteMessageProto$Message$MessageType.clinit() line: 97 RemoteMessageProto$Message.init() line: 9822 RemoteMessageProto$Message.clinit() line: 15 MessageTransport$3.run() line: 320 Thread.run() line: 662 Daemon Thread [GWT Update Checker] (Suspended) ProviderConfig.getProvider() line: 188 ProviderList.getProvider(int) line: 215 ProviderList.getService(String, String) line: 313 GetInstance.getInstance(String, Class, String) line: 140 CertificateFactory.getInstance(String) line: 148 PKCS7.parseSignedData(DerValue) line: 244 PKCS7.parse(DerInputStream, boolean) line: 141 PKCS7.parse(DerInputStream) line: 110 PKCS7.init(byte[]) line: 92 SignatureFileVerifier.init(ArrayList, ManifestDigester, String, byte[]) line: 80 JarVerifier.processEntry(ManifestEntryVerifier) line: 267 JarVerifier.update(int, byte[], int, int, ManifestEntryVerifier) line: 199 JarFile.initializeVerifier() line: 323 JarFile.getInputStream(ZipEntry) line: 388 JarIndex.getJarIndex(JarFile, MetaIndex) line: 120
Re: GWT 2.4 DevMode almost always hangs at Checking for updates
I have never had this problem. Do you use Internet Explorer (see CheckForUpdatesIE6) ? Can you try with Firefox ? Dominique. On Aug 8, 8:29 pm, Tim Boemker t...@boemker.com wrote: When I try to launch a GWT project, com.google.gwt.dev.DevMode hangs about 90% of the time after writing Checking for updates to the console. Here's the stack trace for the threads that look interesting: Thread [main] (Suspended) DevMode(DevModeBase).ensureCodeServerListener() line: 925 DevMode(DevModeBase).doStartup(File) line: 915 DevMode.doStartup() line: 424 DevMode(DevModeBase).startUp() line: 1058 DevMode(DevModeBase).run() line: 811 DevMode.main(String[]) line: 311 Thread [Thread-0] (Suspended) URLClassPath.getLoader(int) line: 279 URLClassPath.getResource(String, boolean) line: 168 URLClassLoader$1.run() line: 194 AccessController.doPrivileged(PrivilegedExceptionActionT, AccessControlContext) line: not available [native method] Launcher$AppClassLoader(URLClassLoader).findClass(String) line: 190 Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 306 Launcher$AppClassLoader.loadClass(String, boolean) line: 301 Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 247 DescriptorProtos$DescriptorProto.init() line: 1539 DescriptorProtos$DescriptorProto.clinit() line: 1144 DescriptorProtos$FileDescriptorProto$Builder.mergeFrom(CodedInputStream, ExtensionRegistryLite) line: 769 DescriptorProtos$FileDescriptorProto$Builder.mergeFrom(CodedInputStream, ExtensionRegistryLite) line: 593 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(CodedInputStream) line: 244 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(CodedInputStream) line: 182 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessageLite$BuilderBu ilderType).mergeFrom(byte[], int, int) line: 161 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(byte[], int, int) line: 642 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(byte[], int, int) line: 182 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessageLite$BuilderBu ilderType).mergeFrom(byte[]) line: 152 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilde rType).mergeFrom(byte[]) line: 635 DescriptorProtos$FileDescriptorProto.parseFrom(byte[]) line: 542 Descriptors$FileDescriptor.internalBuildGeneratedFileFrom(String[], Descriptors$FileDescriptor[], Descriptors$FileDescriptor$InternalDescriptorAssigner) line: 276 DescriptorProtos.clinit() line: 8623 DescriptorProtos$FileOptions$OptimizeMode.clinit() line: 4717 DescriptorProtos$FileOptions.init() line: 4745 DescriptorProtos$FileOptions.clinit() line: 4635 DescriptorProtos$FileDescriptorProto.init() line: 428 DescriptorProtos$FileDescriptorProto.clinit() line: 332 Descriptors$FileDescriptor.internalBuildGeneratedFileFrom(String[], Descriptors$FileDescriptor[], Descriptors$FileDescriptor$InternalDescriptorAssigner) line: 276 RemoteMessageProto.clinit() line: 10853 RemoteMessageProto$Message$MessageType.clinit() line: 97 RemoteMessageProto$Message.init() line: 9822 RemoteMessageProto$Message.clinit() line: 15 MessageTransport$3.run() line: 320 Thread.run() line: 662 Daemon Thread [GWT Update Checker] (Suspended) ProviderConfig.getProvider() line: 188 ProviderList.getProvider(int) line: 215 ProviderList.getService(String, String) line: 313 GetInstance.getInstance(String, Class, String) line: 140 CertificateFactory.getInstance(String) line: 148 PKCS7.parseSignedData(DerValue) line: 244 PKCS7.parse(DerInputStream, boolean) line: 141 PKCS7.parse(DerInputStream) line: 110 PKCS7.init(byte[]) line: 92 SignatureFileVerifier.init(ArrayList, ManifestDigester, String, byte[]) line: 80 JarVerifier.processEntry(ManifestEntryVerifier) line: 267 JarVerifier.update(int, byte[], int, int, ManifestEntryVerifier) line: 199 JarFile.initializeVerifier() line: 323 JarFile.getInputStream(ZipEntry) line: 388 JarIndex.getJarIndex(JarFile, MetaIndex) line: 120 URLClassPath$JarLoader$1.run() line: 608 AccessController.doPrivileged(PrivilegedExceptionActionT) line: not available [native method] URLClassPath$JarLoader.ensureOpen() line: 599 URLClassPath$JarLoader.init(URL, URLStreamHandler, HashMapString,Loader) line: 583 URLClassPath$3.run() line: 333
Re: GWT 2.4 DevMode almost always hangs at Checking for updates
It's browser independent, but OS dependent. You can disable the update check though. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XOTHOZV1iaQJ. 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 2.4 DevMode almost always hangs at Checking for updates
When I try to launch a GWT project, com.google.gwt.dev.DevMode hangs about 90% of the time after writing Checking for updates to the console. Here's the stack trace for the threads that look interesting: Thread [main] (Suspended) DevMode(DevModeBase).ensureCodeServerListener() line: 925 DevMode(DevModeBase).doStartup(File) line: 915 DevMode.doStartup() line: 424 DevMode(DevModeBase).startUp() line: 1058 DevMode(DevModeBase).run() line: 811 DevMode.main(String[]) line: 311 Thread [Thread-0] (Suspended) URLClassPath.getLoader(int) line: 279 URLClassPath.getResource(String, boolean) line: 168 URLClassLoader$1.run() line: 194 AccessController.doPrivileged(PrivilegedExceptionActionT, AccessControlContext) line: not available [native method] Launcher$AppClassLoader(URLClassLoader).findClass(String) line: 190 Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 306 Launcher$AppClassLoader.loadClass(String, boolean) line: 301 Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 247 DescriptorProtos$DescriptorProto.init() line: 1539 DescriptorProtos$DescriptorProto.clinit() line: 1144 DescriptorProtos$FileDescriptorProto$Builder.mergeFrom(CodedInputStream, ExtensionRegistryLite) line: 769 DescriptorProtos$FileDescriptorProto$Builder.mergeFrom(CodedInputStream, ExtensionRegistryLite) line: 593 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilderType).mergeFrom(CodedInputStream) line: 244 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilderType).mergeFrom(CodedInputStream) line: 182 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessageLite$BuilderBuilderType).mergeFrom(byte[], int, int) line: 161 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilderType).mergeFrom(byte[], int, int) line: 642 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilderType).mergeFrom(byte[], int, int) line: 182 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessageLite$BuilderBuilderType).mergeFrom(byte[]) line: 152 DescriptorProtos$FileDescriptorProto$Builder(AbstractMessage$BuilderBuilderType).mergeFrom(byte[]) line: 635 DescriptorProtos$FileDescriptorProto.parseFrom(byte[]) line: 542 Descriptors$FileDescriptor.internalBuildGeneratedFileFrom(String[], Descriptors$FileDescriptor[], Descriptors$FileDescriptor$InternalDescriptorAssigner) line: 276 DescriptorProtos.clinit() line: 8623 DescriptorProtos$FileOptions$OptimizeMode.clinit() line: 4717 DescriptorProtos$FileOptions.init() line: 4745 DescriptorProtos$FileOptions.clinit() line: 4635 DescriptorProtos$FileDescriptorProto.init() line: 428 DescriptorProtos$FileDescriptorProto.clinit() line: 332 Descriptors$FileDescriptor.internalBuildGeneratedFileFrom(String[], Descriptors$FileDescriptor[], Descriptors$FileDescriptor$InternalDescriptorAssigner) line: 276 RemoteMessageProto.clinit() line: 10853 RemoteMessageProto$Message$MessageType.clinit() line: 97 RemoteMessageProto$Message.init() line: 9822 RemoteMessageProto$Message.clinit() line: 15 MessageTransport$3.run() line: 320 Thread.run() line: 662 Daemon Thread [GWT Update Checker] (Suspended) ProviderConfig.getProvider() line: 188 ProviderList.getProvider(int) line: 215 ProviderList.getService(String, String) line: 313 GetInstance.getInstance(String, Class, String) line: 140 CertificateFactory.getInstance(String) line: 148 PKCS7.parseSignedData(DerValue) line: 244 PKCS7.parse(DerInputStream, boolean) line: 141 PKCS7.parse(DerInputStream) line: 110 PKCS7.init(byte[]) line: 92 SignatureFileVerifier.init(ArrayList, ManifestDigester, String, byte[]) line: 80 JarVerifier.processEntry(ManifestEntryVerifier) line: 267 JarVerifier.update(int, byte[], int, int, ManifestEntryVerifier) line: 199 JarFile.initializeVerifier() line: 323 JarFile.getInputStream(ZipEntry) line: 388 JarIndex.getJarIndex(JarFile, MetaIndex) line: 120 URLClassPath$JarLoader$1.run() line: 608 AccessController.doPrivileged(PrivilegedExceptionActionT) line: not available [native method] URLClassPath$JarLoader.ensureOpen() line: 599 URLClassPath$JarLoader.init(URL, URLStreamHandler, HashMapString,Loader) line: 583 URLClassPath$3.run() line: 333
How to do Collapse/expand CellTable in GWT 2.4
I would like to have a CellTable with Collapse/Expand rows. I have seen that in GWT 2.5 has a way to do that but I've not been able to find a way to do that in GWT 2.4. I tried to do with CellTree, but CellTree only supports one column and I need 3 or 4 columns in the child node. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/iz2olLvgZzYJ. 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.
Migration to GWT 2.4 - RequestFactory validation tool not running
Hi, I'm currently running my project under GWT 2.3 and trying to migrate to GWT 2.4. However, the Validation Tool is not running. The code compiles just fine and I get the URL to load the project, but when I do load it, I get the following error message: *The RequestFactory ValidationTool must be run for the RequestFactory type * I'm using Maven and so I followed all the information here: http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidationand here: http://googlewebtoolkit.blogspot.com/2011/09/working-with-maven-and-requestfactory.html - However, that is not working. I already tried with Ecipse 3.6 and 3.7, but the result is the same. I also tried to change the eclipse configuration but nothing happens. Does anyone have any idea of what I'm missing? Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.4 istantiate Activity
Hi Pablo, how? In my principal view I've something this: ... g:tab g:header size='30' bTrattamenti/b /g:header l:ListaTrattamentoViewImpl/l:ListaTrattamentoViewImpl /g:tab ... where ListaTrattamentoViewImpl is a subview that have to stay in a tab. But where I create the place for my principal view how I can create the activity for the ListaTrattamentoViewImpl? The ActivityManager will not invoke the start method on the activity of ListaTrattamentoViewImpl but only in the my principal view. Thanks Il giorno lunedì 30 luglio 2012 20:01:46 UTC+2, Juan Pablo Gardella ha scritto: Use event bus to communicate the view with the activity. 2012/7/30 bond daniele.re...@gmail.com Hi, anyone has some ideas about this problem? It is strange that no one has this need! Thanks Il giorno sabato 14 luglio 2012 10:44:14 UTC+2, bond ha scritto: Any ideas? Thanks! Il giorno giovedì 12 luglio 2012 14:53:09 UTC+2, bond ha scritto: Hi guys, I've a design question about mvp pattern in GWT. I'm using Activity,Place and View. I've some view that shows a list of products (every view show a particular list of objects). I'd like to group these views in a single view that has a TabPanel and in every tab I want to show the view that I created (see attachment). I'd like to include every view in the one that include all but I can't because in this way the Activity is not associated to the view. Which is the best way to model this scenario? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Hj0mktV_kLgJ. 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. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7DsyB3OwHjIJ. 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: GWT 2.4 Javascript exception when selecting an element in a CellBrowser
The problem was Why I get this exception for no reason?. I finally fixed the issue by redeploying the application and cleaning the browser cache. On Wednesday, August 1, 2012 12:48:56 AM UTC+2, Joseph Lust wrote: Sydney, Do you know if it's a problem with my code, or if it's a GWT compiler bug? Trying to understand the issue here. You are trying to catch uncaught exceptions, and display your customized error, right? What you provided as the output looks pretty close to what I'd expect the code you wrote to do. Can you explain how this trace is different from the message you're trying to create, that is, what the 'problem' is? Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kKb2Sc2XN4wJ. 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 2.4 firefox 10.0.6 ListBox bug
I have a sub-editor class that represents priority of a task public class EditorListBox extends ListBox implements LeafValueEditorPriorityType in constructor of the parent editor I construct the sub-editor and call setItemSelected(1); Things used to work fine but after a recent upgrade of the firefox on my centos 5 getSelectedItem() returns -1!; All works fine on chromium 11.0. Any clues/workarounds? cheers -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: GWT 2.4 Javascript exception when selecting an element in a CellBrowser
Sydney, Do you know if it's a problem with my code, or if it's a GWT compiler bug? Trying to understand the issue here. You are trying to catch uncaught exceptions, and display your customized error, right? What you provided as the output looks pretty close to what I'd expect the code you wrote to do. Can you explain how this trace is different from the message you're trying to create, that is, what the 'problem' is? Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LUU04tT57HoJ. 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: GWT 2.4 istantiate Activity
Hi, anyone has some ideas about this problem? It is strange that no one has this need! Thanks Il giorno sabato 14 luglio 2012 10:44:14 UTC+2, bond ha scritto: Any ideas? Thanks! Il giorno giovedì 12 luglio 2012 14:53:09 UTC+2, bond ha scritto: Hi guys, I've a design question about mvp pattern in GWT. I'm using Activity,Place and View. I've some view that shows a list of products (every view show a particular list of objects). I'd like to group these views in a single view that has a TabPanel and in every tab I want to show the view that I created (see attachment). I'd like to include every view in the one that include all but I can't because in this way the Activity is not associated to the view. Which is the best way to model this scenario? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Hj0mktV_kLgJ. 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: GWT 2.4 istantiate Activity
Use event bus to communicate the view with the activity. 2012/7/30 bond daniele.re...@gmail.com Hi, anyone has some ideas about this problem? It is strange that no one has this need! Thanks Il giorno sabato 14 luglio 2012 10:44:14 UTC+2, bond ha scritto: Any ideas? Thanks! Il giorno giovedì 12 luglio 2012 14:53:09 UTC+2, bond ha scritto: Hi guys, I've a design question about mvp pattern in GWT. I'm using Activity,Place and View. I've some view that shows a list of products (every view show a particular list of objects). I'd like to group these views in a single view that has a TabPanel and in every tab I want to show the view that I created (see attachment). I'd like to include every view in the one that include all but I can't because in this way the Activity is not associated to the view. Which is the best way to model this scenario? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Hj0mktV_kLgJ. 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. -- You received 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 2.4 Javascript exception when selecting an element in a CellBrowser
My application works fine in DevMode but after deployment on appengine, I get JavascriptException. I have a CellBrowser with 3 levels. What is strange is that the exception only occurs on some element of the first and third level. The behavior is correct, meaning that when I select a first level element, the corresponding elements shows in the second level. I have a class that implements UncaughtExceptionHandler where I log the stack trace: @Override public void onUncaughtException(Throwable e) { StringBuffer sb = new StringBuffer(); sb.append(Exception type: + e.getClass()).append(\n); sb.append(Message: ).append(e.getMessage()).append(\n); Window.alert(sb.toString()); if (e instanceof JavaScriptException) { Window.alert(JSException); if (e.getStackTrace().length == 0) { e.fillInStackTrace(); } sb.append(e.getClass()).append( - ).append(e.getMessage()).append( \n); for (StackTraceElement stackTrace : e.getStackTrace()) { sb.append(stackTrace.getClassName()).append(.).append( stackTrace.getMethodName()).append(().append( stackTrace.getFileName()).append(:).append( stackTrace.getLineNumber()).append()); sb.append(\n); } Window.alert(sb.toString()); } When the exception occurs after selecting one element of the CellBrowser, the log is: Exception type: class com.google.gwt.core.client.JavaScriptException Message: (TypeError): Cannot read property 'firstChild' of undefined class com.google.gwt.core.client.JavaScriptException - (TypeError): Cannot read property 'firstChild' of undefined Unknown.com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(null:-1) Unknown.com_google_gwt_user_cellview_client_CellBrowser$BrowserCellList_getCellParent__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(null:-1) Unknown.com_google_gwt_user_cellview_client_CellList_resetFocusOnCell__Z(null:-1) Unknown.com_google_gwt_user_cellview_client_AbstractHasData$View$1_execute__V(null:-1) Unknown.com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(null:-1) Unknown.com_google_gwt_core_client_impl_SchedulerImpl_$flushPostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(null:-1) Unknown.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_execute__Z(null:-1) Unknown.com_google_gwt_core_client_impl_SchedulerImpl_execute__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2Z(null:-1) Unknown.com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(null:-1) Unknown.com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(null:-1) Do you know if it's a problem with my code, or if it's a GWT compiler bug? I also try to run the compiled version of my app locally but I always get the message `GWT module may need to be (re)compiled). I don't understand because in Eclipse click I run the Gwt Compile Project command. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/GUGZlTjhQkwJ. 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 2.4 Jetty nocache.js files
In this gwt webhttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html says to place a *.htaccess config file like this to avoid caching main javascript gwt application. Files *.nocache.* ExpiresActive on ExpiresDefault now Header merge Cache-Control public, max-age=0, must-revalidate /Files Files *.cache.* ExpiresActive on ExpiresDefault now plus 1 year /Files Is there a way to do the same with Jetty ? (whithout needing to use httpd jetty module) We're using an embedded jetty container version 7.3.1.v20110307. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/o64ilkF9CSQJ. 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: GWT 2.4 Jetty nocache.js files
I figured out the answer. All I had to do was add this to my web.xml file. servlet servlet-namedefault/servlet-name servlet-classorg.eclipse.jetty.servlet.DefaultServlet/servlet-class init-param param-namecacheControl/param-name param-valuepublic, max-age=0, must-revalidate/param-value /init-param /servlet servlet-mapping servlet-namedefault/servlet-name url-pattern/myApp/*.nocache.js/url-pattern /servlet-mapping Thanks! On Wednesday, July 18, 2012 10:50:15 AM UTC-4, brent...@gmail.com wrote: In this gwt webhttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html says to place a *.htaccess config file like this to avoid caching main javascript gwt application. Files *.nocache.* ExpiresActive on ExpiresDefault now Header merge Cache-Control public, max-age=0, must-revalidate /Files Files *.cache.* ExpiresActive on ExpiresDefault now plus 1 year /Files Is there a way to do the same with Jetty ? (whithout needing to use httpd jetty module) We're using an embedded jetty container version 7.3.1.v20110307. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/--Zb9sbWUMwJ. 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: GWT 2.4 Jetty nocache.js files
You just need to add a filter to your web.xml file. This is lifted from a SO articlehttp://stackoverflow.com/questions/2789386/liferay-customise-the-web-xml-headerfilter-added-during-portlet-deloyment. This example just does the *.cache.* files, but adding another filter with the proper regex would also handle your *.nocache.* files. filter filter-nameHeader Filter/filter-name filter-classcom.liferay.portal.kernel.servlet.PortalClassLoaderFilter/filter-class init-param param-namefilter-class/param-name param-valuecom.liferay.portal.servlet.filters.header.HeaderFilter/param-value /init-param init-param param-nameurl-regex-pattern/param-name !-- the following matches everything except files ending .nocache.js -- param-value![CDATA[^.+(?!nocache\.js)$]]/param-value /init-param init-param param-nameCache-Control/param-name param-valuemax-age=31536, public/param-value /init-param init-param param-nameExpires/param-name param-value31536/param-value /init-param/filter Sincerely, Jospeh -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mTdNG3kPR5QJ. 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 2.4 AutoBean example not working
You need org.json classes in your class path. gwt-servlet-deps.jar contains them if you need it. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ef-DrCiX0nMJ. 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: GWT 2.4 AutoBean example not working
That worked. Thanks! We should get that added to the wiki documentation some how... On Monday, July 16, 2012 2:38:42 AM UTC-4, Thomas Broyer wrote: You need org.json classes in your class path. gwt-servlet-deps.jar contains them if you need it. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7_uKU3y_dcEJ. 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: GWT 2.4 AutoBean example not working
On Monday, July 16, 2012 12:53:47 PM UTC+2, brent...@gmail.com wrote: That worked. Thanks! We should get that added to the wiki documentation some how... It should no longer be a problem with 2.5.0-rc1, as org.json classes are now bundled into gwt-dev.jar. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rmjivOpBuJMJ. 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: GWT 2.4 istantiate Activity
Any ideas? Thanks! Il giorno giovedì 12 luglio 2012 14:53:09 UTC+2, bond ha scritto: Hi guys, I've a design question about mvp pattern in GWT. I'm using Activity,Place and View. I've some view that shows a list of products (every view show a particular list of objects). I'd like to group these views in a single view that has a TabPanel and in every tab I want to show the view that I created (see attachment). I'd like to include every view in the one that include all but I can't because in this way the Activity is not associated to the view. Which is the best way to model this scenario? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/3T2_QdRuz-YJ. 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.
Undefined Character and Class methods in GWT 2.4
Greetings, I'm attempting to port some code to GWT 2.4 and experiencing the following errors when the module is loaded: [ERROR] [starterwithsequins] - Line 424: The method isJavaIdentifierStart(char) is undefined for the type Character [ERROR] [starterwithsequins] - Line 426: The method isJavaIdentifierPart(char) is undefined for the type Character [ERROR] [starterwithsequins] - Line 452: The method isWhitespace(char) is undefined for the type Character [ERROR] [starterwithsequins] - Line 607: The method forName(String) is undefined for the type Class [ERROR] [starterwithsequins] - Line 608: The method newInstance() is undefined for the type Classcapture#2-of ? [ERROR] [starterwithsequins] - Line 626: The method forName(String) is undefined for the type Class [ERROR] [starterwithsequins] - Line 627: The method newInstance() is undefined for the type Classcapture#4-of ? Character.toString() isn't reported as undefined, so I'm uncertain what the error means other than possibly a missing JS implementation. Am I missing another inheritance or two? Do I need to use substitute methods or classes? Any pointers would be appreciated. Thanks in advance, Alfonso Guerra -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ydt7IoVDQlsJ. 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: A good book to understand GWT 2.4
Thank you all, for all these responses. Thanks a lot. :) On Tuesday, 26 June 2012 04:13:55 UTC+5:30, Rob wrote: Hi, The book: Google App Engine Java and GWT Application Development has some good coverage of MVP. EventBus, UI Binder, ClientBundle, Authentication and GAE. - http://www.packtpub.com/google-app-engine-java-and-gwt-application-development/book You should also check out the GWT Dev Guide: - https://developers.google.com/web-toolkit/doc/latest/DevGuide And check out GWT-related blog pots: - http://arcbees.wordpress.com/ - http://turbomanage.wordpress.com/category/google-web-toolkit/ - http://tbroyer.posterous.com/ - http://uptick.com.au/blog Cheers Rob Kiahu.com On Monday, June 25, 2012 11:04:40 PM UTC+10, Qrunk wrote: Hi , Please let me know any good book with all updated features of GWT (i.e. till 2.4) this will make a great help. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dO31LLxnEIYJ. 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.
A good book to understand GWT 2.4
Hi , Please let me know any good book with all updated features of GWT (i.e. till 2.4) this will make a great help. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/d_II_WLmLC4J. 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: A good book to understand GWT 2.4
Hi, This is hard to answer because I don't know which version of GWT you reference. But try this one: http://www.manning.com/tacy/ Cheers, Johannes Am 25.06.2012 um 15:04 schrieb Qrunk: Hi , Please let me know any good book with all updated features of GWT (i.e. till 2.4) this will make a great help. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/d_II_WLmLC4J. 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. -- You received 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: A good book to understand GWT 2.4
Frankly, I think the GWT developer docs from Google are the best reference. Any book is just going to be parroting those back to you for a fee. The things that I've not seen covered well, or most times at all, in these books are extensive UiBinder, i18n, code generators, client bundles, and code splitting. Get a book if you want a paper version of the GWT docs, otherwise just read them. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sNFtPPZe4XUJ. 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: A good book to understand GWT 2.4
Hi, The book: Google App Engine Java and GWT Application Development has some good coverage of MVP. EventBus, UI Binder, ClientBundle, Authentication and GAE. - http://www.packtpub.com/google-app-engine-java-and-gwt-application-development/book You should also check out the GWT Dev Guide: - https://developers.google.com/web-toolkit/doc/latest/DevGuide And check out GWT-related blog pots: - http://arcbees.wordpress.com/ - http://turbomanage.wordpress.com/category/google-web-toolkit/ - http://tbroyer.posterous.com/ - http://uptick.com.au/blog Cheers Rob Kiahu.com On Monday, June 25, 2012 11:04:40 PM UTC+10, Qrunk wrote: Hi , Please let me know any good book with all updated features of GWT (i.e. till 2.4) this will make a great help. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/K_94T9dIer0J. 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: Error with GWT 2.4
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. See http://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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xHiXcLtP6lAJ. 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
Skippy, If you don't mind my asking, why are you using JSNI here to apply the listener rather than the DOM.sinkEvents() and DOM.setEventListener? Doing so is highly advised against in the documentation due to the high likelihood of memory leaks. It also mean's you're not getting permutation specific event handler implementations, which can lead to the famous Object doesn't support this property of method IE exception. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7iTu4Nzs3t0J. 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: Local storage doesn't work with ie8 in gwt 2.4
If you want to force IE8-super-standards mode (even when the user has compatibility mode set), add the following meta tag: meta http-equiv=X-UA-Compatible content=IE=8 http://code.google.com/p/google-web-toolkit/wiki/IE8Support#Deferred_Binding On Sunday, October 9, 2011 8:16:34 PM UTC+4, haluk wrote: I know that there is local storage support in ie8 but when I do Storage.getLocalStorageIfSupported() in gwt 2.4, I get null value for ie8, but it works for other browsers (chrome, firefox safari). Does anyone have any idea, what am I doing wrong? Do I need to handle ie8 differently? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ksu4xf3z2gcJ. 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 to create war file in GWT 2.4 / Eclipse Indigo
On Thu, May 17, 2012 at 8:19 PM, Assiya EL missweb...@gmail.com wrote: you must to create a web project and add jar of GWT2.4 and not create a project gwt with plugin it is possible to have a war of the project with this step good luck I create a normal GWT Application (from the Eclipse plugin). Then export the src folder into a .jar file in war/WEB-INF/lib/ and then use the warbuilder.xml available from this[1] site. Works like a charm. :) [1] http://blog.elitecoderz.net/gwt-and-tomcat-create-war-using-eclipse-to-deploy-war-on-tomcat/2009/12/ -- You received 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 to create war file in GWT 2.4 / Eclipse Indigo
Thank you Carlos, your info are very helpful, greetings from Ecuador ! -- You received 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 to create war file in GWT 2.4 / Eclipse Indigo
Hi, I have the same trouble, can you solve it maybe? I'm trying, but there are no results... Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nfnJ-uNNZjkJ. 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 to create war file in GWT 2.4 / Eclipse Indigo
Hi, I have the same trouble, can you solve it maybe? I'm trying, but there are no results... Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/iAGwmIfEI-4J. 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 to create war file in GWT 2.4 / Eclipse Indigo
you must to create a web project and add jar of GWT2.4 and not create a project gwt with plugin it is possible to have a war of the project with this step good luck 2012/5/16 Davilin david.davila1...@gmail.com Hi, I have the same trouble, can you solve it maybe? I'm trying, but there are no results... Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nfnJ-uNNZjkJ. 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. -- Assiya EL Master Qualité du Logiciel Plz consider environment - Only print this if necessary -- You received 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: GWT 2.4 editor framework ui for create weak one2many relation
thanks for your attention Brandon ! I didn't understand your first way completely. I don't use App engine. our application use spring and jpa and I use eclipse and currently we run application on jetty. in our previous application, we used jsf and we could implement such scenarios for entities with owned collection and after copying collections from ui into entity, hibernate handle persisting entity and it's owned collection and we didn't do anything. in that application when we annotate a property with cascade=all-delete- orphan and ask hibernate to save(entity), it saves it's owned collections too. I want to know how to implement such scenarios, when we use gwt 2.4 with editor framework. and is there any sample or tutorial for doing this on web ? On May 8, 8:03 pm, Brandon Donnelson branflake2...@gmail.com wrote: Two ways I build relationships are. Just depends where else I need that entity. 1. I use owned collections, which means I can create the context all at once and persist it and App engine can build the relationship in the key. This is my favorite, but has some limitations if you want to have another entity use it too. 2. Another way I do it is, in the parent I use HashSetLong and set the children Ids to it I which is using Long Ids to link the relationships of the children, but the entity has to be created and the Id retrieved before you add it to the parent. Brandonhttp://c.gwt-examples.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to add multiselection to tree in gwt 2.4
please help me to fix this On May 7, 6:18 pm, Dayananda B V dayanand...@gmail.com wrote: Hi all, How to add multiselection totreein gwt 2.4, I created MultiSelectionModel, i tried to set multiselectionmodel totree, but i don't see any multiselection method to add. Thanks Dayananda B V -- You received 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 to add multiselection to tree in gwt 2.4
In your TreeViewModel for CellTree you have to have to implement TreeViewModel.getNodeInfo(..). A default implementation of NodeInfo is DefaultNodeInfo which takes a SelectionModel in its constructor. http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/view/client/TreeViewModel.NodeInfo.html -- J. Am Montag, 7. Mai 2012 15:18:48 UTC+2 schrieb Dayananda B V: Hi all, How to add multiselection to tree in gwt 2.4, I created MultiSelectionModel, i tried to set multiselectionmodel to tree, but i don't see any multiselection method to add. Thanks Dayananda B V -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/MbzyKc_aF7QJ. 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 to add multiselection to tree in gwt 2.4
thank you so much for replay, Actually i used Tree. Is it i need to use CellTree to get support for multiselection? On May 8, 3:57 pm, Jens jens.nehlme...@gmail.com wrote: In your TreeViewModel for CellTree you have to have to implement TreeViewModel.getNodeInfo(..). A default implementation of NodeInfo is DefaultNodeInfo which takes a SelectionModel in its constructor. http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/g... -- J. Am Montag, 7. Mai 2012 15:18:48 UTC+2 schrieb Dayananda B V: Hi all, How to add multiselection to tree in gwt 2.4, I created MultiSelectionModel, i tried to set multiselectionmodel to tree, but i don't see any multiselection method to add. Thanks Dayananda B V- 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: how to add multiselection to tree in gwt 2.4
You don't have to. You could also write your own class that defines some logic how to select items in a Tree. If you plan to display lots of data in a Tree then you should switch to CellTree as its a lot faster for large data sets. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fV7MqqX67cEJ. 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: GWT 2.4 editor framework ui for create weak one2many relation
Two ways I build relationships are. Just depends where else I need that entity. 1. I use owned collections, which means I can create the context all at once and persist it and App engine can build the relationship in the key. This is my favorite, but has some limitations if you want to have another entity use it too. 2. Another way I do it is, in the parent I use HashSetLong and set the children Ids to it I which is using Long Ids to link the relationships of the children, but the entity has to be created and the Id retrieved before you add it to the parent. Brandon http://c.gwt-examples.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NN67omqSiLEJ. 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: Need help with GWT 2.4 project
If you want strict MVP, I'd suggest using GWTP, http://code.google.com/p/gwt-platform/. We exclusively use this at Arcbees.com. You can build presenters and child presenters. But with MVP there is some additional overhead that takes place to conform. I don't always dig the additional over head so I don't follow it strictly myself. For me MVP is not always the solution needed for the challenge, but thats my take on it. I've been building my current projects with MVP using request factory activities and places just fine but like I said thats my take :). For me the UiBinder is enough and with deferred binding you can do some nice separation between the views. Brandon Donnelson http://c.gwt-examples.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/hP9y2jmSJdQJ. 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 to add multiselection to tree in gwt 2.4
Thank you so much Jens, appreciate your timely help. I am displaying lot of data on tree, maybe I need to reconsider to use Tree. On May 8, 5:36 pm, Jens jens.nehlme...@gmail.com wrote: You don't have to. You could also write your own class that defines some logic how to select items in a Tree. If you plan to display lots of data in a Tree then you should switch to CellTree as its a lot faster for large data sets. -- 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.
how to add multiselection to tree in gwt 2.4
Hi all, How to add multiselection to tree in gwt 2.4, I created MultiSelectionModel, i tried to set multiselectionmodel to tree, but i don't see any multiselection method to add. Thanks Dayananda B V -- You received 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: Need help with GWT 2.4 project
Hi Shwetha D, we use GWT with MVP in a really big enterprise project. I can tell you that GWT is the only solution if you try to handle big javascript applications without hours of searching for spelling misstakes or things like this. Maybe you already found samples like Bithttp://code.google.com/p/gwt-mvp-sample/ or Hive Development's examplehttp://blog.hivedevelopment.co.uk/2009/08/google-web-toolkit-gwt-mvp-example.html or the tips from Google itself on GWT MVPhttps://developers.google.com/web-toolkit/articles/mvp-architecture . As you can imagine it's very difficult to point out more (and bigger) mvp examples because of most of them are not open source of any kind. If you specify more exactly what you need - maybe I can tell you little more. Greetz, mukarev Am Mittwoch, 2. Mai 2012 06:05:20 UTC+2 schrieb Shwetha D: Hi, We are starting a new initiative of developing a huge web app... We have pretty much locked down the backed technologies, but still struggling with the front end. Have looked around and found tons of javascript frameworks and libs and tools to build them, but GWT really caught our attention. Can anyone pls point out to one good example using GWT2.4 with activities, places and MVP. I am looking at an enterprise level (huge app) example.. Thank you.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/k4y9115q4nEJ. 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 2.4 editor framework ui for create weak one2many relation
I want to create a ui for creating an entity which has a weak one to many relation with another entity using GWT 2.4 editor framework, but I can't find a sample for doing this. I try to use spring roo for generating such ui and change Pet clinic sample roo script to generate GWT code. but although they put a cascade = CascadeType.ALL property on @OneToMany annotation, they didn't generate a proper ui for this. weak entity should be created in it's crud scenario and in OwnerEditView_Roo_Gwt should be used like @UiField WeakEntitySetEditor entities; and it uses weak entities generated in another scenario using a combo. for example in a shop system we have 'Order' and 'OrderItem` objects which Order has a one2many relation with OrderItem and OrderItem is a weak entity and it does not mean without Order, and in the application, in Order crud scenario , OrderItem will be created and we don't have OrderItem crud scenario. I want to know how to use gwt editor framework for create a UI for creating and editing Orders which have a list of OrderItem that will be created and saved in this scenario ? I want a sample which weak entites that added to a list, created and save in owner creation scenario. Does anyone have any suggestion ? -- You received 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 help with GWT 2.4 project
Hi, We are starting a new initiative of developing a huge web app... We have pretty much locked down the backed technologies, but still struggling with the front end. Have looked around and found tons of javascript frameworks and libs and tools to build them, but GWT really caught our attention. Can anyone pls point out to one good example using GWT2.4 with activities, places and MVP. I am looking at an enterprise level (huge app) example.. Thank you.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
Entities in GWT 2.4
Hi, I am using GWT2.4 version. how to use value proxies without entities? If possible please provide me some sample example. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VZMr_N4-kSsJ. 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: does any Breedcrumb widget in gwt 2.4?
Hi guys. I'm one of gwt-bootstrap commiter. GWT-bootstrap is library to use Twitter's interface library with Google Web Toolkit. Right now,we don't provide Breedcrumb widgets. we don't plan providing it on our first release *yet*. But we plan to implement all Bootstrap features. ;-) If you guys have any questions, Please post our mailing list. http://groups.google.com/group/gwt-bootstrap -- You received 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: Entities in GWT 2.4
https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory Look there for ValueProxy. They provide a concise example. Regards, Alfredo On Fri, Apr 27, 2012 at 5:41 AM, Ashu swathi.kambhamp...@gmail.com wrote: Hi, I am using GWT2.4 version. how to use value proxies without entities? If possible please provide me some sample example. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VZMr_N4-kSsJ. 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. -- Alfredo Quiroga-Villamil AOL/Yahoo/Gmail/MSN IM: lawwton -- You received 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 2.4
Could you please provide me the detail sample example for multiple activities and places using UIBinder. I have a requirement that- in the UI I must have 1.Header part - That contains image and currentdate 2.Menubar - contains menu 3.when i click on the menu on the other part it should display some other ui Please provide me the detila sample example for this. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: GWT 2.4
can any one help me in this?? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.