Menu Button in GWT
Hi All, I want to develop the MenuButton in GWT. On click of the button I need to open the popup (like options menu) onselect of the menu is selected menu item should come as the button text. Similar component is available in GXT, but in my project I can't use GXT only we need to use GWT. Anyone suggest, is there any component available in GWT, If not how to develope the component. Helpe me ... Thanks Rushi -- 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: RequestFactory: Get entity ID on success of persist
On Thursday, January 12, 2012 3:24:38 PM UTC+1, Tapomay Dey wrote: Hi, I am using following code. Note: request is of type ? extends RequestContext entity is of type ? extends EntityProxy (request).persist().using(entity).fire( new ReceiverVoid() { @Override public void onSuccess(Void unUsed) { I need the entity ID generated in the DB here. If I do entity.getId(); it returns null obviously. As I don't know the ID here, I can't even refetch the persisted entity. You should be able to pass the entity.stableId() to RequestContext#find(). The Receiver should have received the updated entity as arg to its onSuccess. As Patrick said, make your persist() method return the entity, if that's what you want. Or you can make it return the entity ID if you prefer (smaller payload, but you have to make an additional request if you want to retrieve it; apply the 80/20 rule to choose between a smaller response payload or less requests). -- 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/-/xTzuj4Rs0MoJ. 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 unified navigation framework to work with gwt and android?
hi.. although this is not strictly related to gwt, it's partly is. i' started reading about anrdoid's SDK, and among other things the following stuck out: An *activity* represents a single screen with a user interface. For example, an email application might have one activity that shows a list of new emails, another activity to compose an email, and another activity for reading emails.a *broadcast receiver* is a component that responds to system-wide broadcast announcements. Three of the four component types—activities, services, and broadcast receivers—are activated by an asynchronous message called an *intent*. correct me if i'm wrong, but doesn't this remind of you of oh i dunno places(intents) ,EventBusHandler (Broadcast Receiver) and ah.. well activities? seriously how hard is it to come up with a single object model for these things and have gwt and android extend from 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/-/0GEHpOWKW6gJ. 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: Activities and Place design wizard
David: thanks for replying, when I have the solution, the comment in the forum. A.U.S Cristian Rinaldi Teléfono Móvil: (0342) 155 238 083 www.logikas.com Lisandro de la Torre 2643 Of 5 - 3000 - Santa Fe Teléfono Fijo: (0342) 483 5138 2012/1/12 David levy...@gmail.com I'm not sure why you would need additional activity management beyond the Place Controller that you are using. You could merely cache the stringified place tokens and use them in your breadcrumb or hold on to any other state that you may need. If you are using Gin then you can configure your activities as singletons so the state won't be lost when the Place Controller brings a different activity into fruition. If you are not using singleton activities then a static variable may suit your needs. Or , perhaps try a caching solution that ensures state in between browser refreshes. David On Jan 12, 5:26 am, Cristian Rinaldi cristian.rina...@logikas.com wrote: I need maintain the state between stages of wizard, therefore i need caching the Activity. I read over CachingActivityMapper, I just wanted to know if it was the appropriate solution. Thanks for reply A.U.S Cristian Rinaldi Teléfono Móvil: +54 9342 5238083 www.logikas.com Teléfono Fijo: +54 342 483 5138 2012/1/12 Ashwin Desikan ashwin.desi...@gmail.com whether you cache or not cache should be based on the user experience you want to provide. Are there objects which needs to be re-initialized when you move from one activity to other? if yes, don't cache or atleast have some sort of intialization method in the startActivity. In typical Wizards, the state is maintained between screens. If you want it behave similar to that including state maintenance, cache the activities. CheckOut the CachingActivityMapper. You may probably have to expand it in your case to cache all the activities which form the various screens of your wiazard. Regards Ashwin On Thursday 12 January 2012 07:05:03 AM IST, Cristian Rinaldi wrote: Any idea for this problems? A.U.S Cristian Rinaldi Teléfono Móvil: (0342) 155 238 083 www.logikas.comhttp://www.logikas.com/ Lisandro de la Torre 2643 Of 5 - 3000 - Santa Fe Teléfono Fijo: (0342) 483 5138 2012/1/10 Cristian Rinaldi csrina...@gmail.com mailto: csrina...@gmail.com Hello: I have a question about the design using Activities and Places. I have a set of activities that render their views in a section. The behavior I want is that each activity, after an event (by example: click in next button, click in activity represented in breadcrumbs) go to the next activity, hiding the previous view. Top of the section, I have a breadcrumbs with the activities that happened. Now, if I click on one of the parts of the breadcrumbs, must be return to the activity related and show the view with all his state. The question is: I make a map of activities that are cached? or do not use cache, and management behavior in the start method of activity, starting all over again. The view is singleton, and managed by GIN. The general behavior is like the behavior of a wizard. Any ideas? -- 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/-/W6fMEmnty14J. To post to this group, send email to google-web-toolkit@googlegroups.com mailto:google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-web-toolkit%2bunsubscr...@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 athttp:// groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group athttp:// groups.google.com/group/google-web-toolkit?hl=en. -- 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
GWT file download IFrames IE8
Dear all, I'm little bit struggling with an complex setup of an applications at the moment. I've build a GWT application which runs in an iFrame. In the application you can navigate trough pages which are marked for browserhistory in the GWT app. On one of the pages you can download a PDF file. When you want to download the file, in IE7 or IE8 you get the yellow download bar (something like: http://devintelligence.com/wp-content/uploads/2011/03/iewarning_thumb1.png). When you accept this yellow bar, the complete pages get refreshed. If you run the application without a frame, the application checks the parameters of the url and navigates back to the page on which you pressed the download button. Unfortunately, when you download the file within the iFrame, the page which has the iFrame gets refreshed and loads the default url of the iFrame (the one without the navigation parameters, the home page). For a lot of users this will be a problem, as they have to navigate all back to the download page. A workaround is to add the application url to 'trusted sites' in IE, however this will be way to cumbersome for many users. Do you guys have an idea to have another way to download the file, so IE7 and IE8 will not have the yellow download bar? Regards, Albert -- 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.
History onValueChange() not called when application is loaded?
Dear all, I am following the instructions for History management http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html but even though I register my history handler in onModuleLoad(), it does not fire when I load my application with a fragment in the URL. It does fire, however, when I manually change the fragment in the browser URL field. Does anybody have any idea what I might be doing wrong? Thanks, Kaspar -- 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: History onValueChange() not called when application is loaded?
Looking at the tutorial http://mangstacular.blogspot.com/2011/12/gwt-history-mechanism.html it seems that at application startup, no history change event is fired. I couldn't find any official documentation confirming this, but the text The application was just started and was passed a history token. on http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html makes me think it should be fired... On Jan 13, 1:48 pm, hbf kaspar.fisc...@dreizak.com wrote: Dear all, I am following the instructions for History managementhttp://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHist... but even though I register my history handler in onModuleLoad(), it does not fire when I load my application with a fragment in the URL. It does fire, however, when I manually change the fragment in the browser URL field. Does anybody have any idea what I might be doing wrong? Thanks, Kaspar -- 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: History onValueChange() not called when application is loaded?
You either have to call PlaceHistoryHandlerhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/place/shared/PlaceHistoryHandler.html#handleCurrentHistory()# handleCurrentHistoryhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/place/shared/PlaceHistoryHandler.html#handleCurrentHistory()or History#fireCurrentHistoryState depending on what you're currently using http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/place/shared/PlaceHistoryHandler.html#handleCurrentHistory()http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/place/shared/PlaceHistoryHandler.html#handleCurrentHistory() http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/History.html#fireCurrentHistoryState() -- 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/-/UaIgqXv8qX0J. 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 file download IFrames IE8
Use target=_blank on the link? -- 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/-/vO-xdXCPwdEJ. 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.
Hyperlink with PlaceHistoryMapper
I have a problem with Hyperlink, this code is part of my View: *g:Hyperlink ui:field = newTaskLink targetHistoryToken='newTask'New Task/g:Hyperlink* When I made a click over link, the URL change to: http://127.0.0.1:/main.html?gwt.codesvr=127.0.0.1:9997*#newTask* But PlaceHistoryMapper never is called, therefore, my ActivityMapper never know the change of place *(#newtask)* and I can never start the activity. Other places that do not use hyperlink going well. Some code: *AppPlaceHistoryMapper* @WithTokenizers({DefaultPlace.Tokenizer.class, NewTaskPlace.Tokenizer.class}) public interface AppPlaceHistoryMapper extends PlaceHistoryMapper { } *NewTaskPlace* public class NewTaskPlace extends Place { public static class Tokenizer implements PlaceTokenizerNewTaskPlace { @Override public NewTaskPlace getPlace(String token) { return new NewTaskPlace(); } @Override public String getToken(NewTaskPlace place) { return newTask; } } } *Part of CenterActivityMapper* @Override public Activity getActivity(Place place) { if (place instanceof DefaultPlace){ HomeActivity activity = homeActivity.get(); return activity; } else if (place instanceof NewTaskPlace ){ TaskActivity activity = taskActivity.get(); return activity; } return null; } 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/-/SXVHPftdQXYJ. 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: Hyperlink with PlaceHistoryMapper
Your targetHistoryToken has to be NewTaskPlace:newTask. By default GWT uses prefix:token as history token. The prefix can be configured by using the @Prefix annotation on your PlaceTokenizer class. If you don't do that, GWT will use the Place's class name as prefix. If you use the @Prefix annotation keep in mind that the prefix must be unique. -- 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/-/LhzBZoVp9J4J. 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: Hyperlink with PlaceHistoryMapper
Jim thank you very much!! When you are immersed in many lines of code ignores things simple. Regards. A.U.S Cristian Rinaldi Teléfono Móvil: (0342) 155 238 083 www.logikas.com Lisandro de la Torre 2643 Of 5 - 3000 - Santa Fe Teléfono Fijo: (0342) 483 5138 2012/1/13 Jens jens.nehlme...@gmail.com Your targetHistoryToken has to be NewTaskPlace:newTask. By default GWT uses prefix:token as history token. The prefix can be configured by using the @Prefix annotation on your PlaceTokenizer class. If you don't do that, GWT will use the Place's class name as prefix. If you use the @Prefix annotation keep in mind that the prefix must be unique. -- 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/-/LhzBZoVp9J4J. 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.
Google Product Forums for GWT
Hi, Google has some great new forum software, already active for Google App Engine and Google App Script, etc. http://code.google.com/intl/nl/appengine/forum/java-forum.html https://groups.google.com/a/googleproductforums.com/forum/#!forum/apps-script When is the turn for Google Web Toolkit? Looking forward to version 2.5 as well. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
UI handling doubt in MVP
Hi , Im a bit confused as in what does UI handling is meant in http://code.google.com/webtoolkit/articles/mvp-architecture.html, which is to be handled by the presenter. Say I have a case where when I change my combo box , I want a UI widget(Text Box ) to be disabled. Now here there are two things: 1. I have to check through the data which I clicked inside the combo Box, which I believe should make my event to be handled by the presenter as my UI shouldn't be aware of my data part(Models) 2. As i want to make an UI related change in my page, this event should be handled by the View class. Please let me know where and how should I delegate the event to event handlers on selection of the combo box item. Should it be handled within Presenter, which cant happen because the presenter doesn't has any knowledge of the View component(in our case the Text Box that is to be disabled) or it should be handled within the View class, but this shouldn't happen as the View should be unaware of the Data part.and want some inputs on Request factory also http://tbroyer.posterous.com/gwt-211-requestfactory-part-ii -- 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/-/BFI-pTM5--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.
Getting CellBrowser width, (re)position and re-size panel
Hello, I am new to gwt, and I'm having trouble building the user interface for my application. First, I would like my application to have a CellBrowser widget on the left side, and a panel on the right size that fill the remaining space left by the CellBrowser, in order to display some information, depending on the cell that the user selects. The problem is that I don't know how to set the panel width to fill the remaining space, because I don't know how to retrieve the width of the CellBrowser. I tried several solutions, wrapping the CellBrowser into different panel types, but none of them gave me the expected result. Also, I would like that when the CellBrowser expands to the right, the panel re-sizes to fill again the remaining width space (and the same for when it contracts). Would it be possible to implement such an interface? Which kind of panel would be the most suitable to do it? And how can I (re)position the panel to the right end of the CellBrowser? Thanks in advance for any help. Regards, Thibaut Le Guilly -- 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 Developer Plugin for Firefox 9
I'm having the same problem. What's the trick to get this thing? -- 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/-/ZZW0PewnTzYJ. 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.
Install GWT Designer plug-in in Eclipse Indigo from JAR
I got the following error while trying to install GWT Designer via Eclipse Indigo - Install new software Progress was made upto 37% and then it terminatedw with the following error: An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl.google.com/eclipse/inst/d2gwt/latest/3.7/plugins/com.google.gdt.eclipse.designer.doc.user_2.4.2.r37x201110181249.jar. Read timed out Unable to read repository at http://dl.google.com/eclipse/inst/d2gwt/latest/3.7/plugins/org.eclipse.wb.doc.user_1.2.0.r37x201109270322.jar. I got the following error while trying to install GWT Designer via Eclipse Indigo - Install new software Progress was made upto 37% and then it terminatedw with the following error: An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl.google.com/eclipse/inst/d2gwt/latest/3.7/plugins/com.google.gdt.eclipse.designer.doc.user_2.4.2.r37x201110181249.jar. Read timed out Unable to read repository at http://dl.google.com/eclipse/inst/d2gwt/latest/3.7/plugins/org.eclipse.wb.doc.user_1.2.0.r37x201109270322.jar. GWT , GAE SDKs and plugins have been successfully installed though. ( and is running too) I downloaded the JAR file from : http://dl.google.com/eclipse/inst/d2gwt/latest/3.7/plugins/com.google.gdt.eclipse.designer.doc.user_2.4.2.r37x201110181249.jar Now Where do I add this extension? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CellTable height shrinks upon paging
The behaviour of a CellTable when paging is to show the loading indicator (nothing if no indicator is configured) and then fill the new retrieved data. Whereas this sounds reasonably correct, I find it to be a problem the fact that the grid will momentarily shrink in height to accommodate only the loading indicator (or all the way up to the header if there's no indicator set). I understand it is a feature of this grid to take as much space as it is required by its content. However, I think the better behaviour would for the height not to resize while showing the loading indicator (if that's at all possible), or at least that when we turn off the indicator - setLoadingIndicator(null) - the current page is not wiped out but right before replacing it with the new data. The latter would prevent that momentary flickering when paging, just like you can see the grid behave in the GWT Showcase: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable Note that the Showcase doesn't present that flickering because the data is hardcoded in the provider (i.e. it's not asynchronously fetched). I've debugged and taken a look at the underlying implementation and it's not that easy to follow. I see there are a few loading states (loaded, loading, partially loaded), but not exactly sure about how to modify the logic to achieve what I want without breaking something else. So I'm wondering if somebody can give me some pointers about how to go ahead and extend the CellTable to make it work the way I describe (at least setting the indicator to null to indicate that the current page will be removed when the new one is passed). Also, does anybody know if this feature would be added soon to the celltable? I cannot imagine that this flickering is a desired effect, hence I'm also wondering if I should log a ticket? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI handling doubt in MVP
You want to put all of your logic into the presenter without putting any of the widget code in that would prevent tests from running. For the ListBox you want to declare a ChangeHandler on it in the Presenter. To do that you have the View return back the ListBox as an interface of HasChangeHandler. @UiHandler ListBox fooItems; public HasChangeHandler getHasChangeHandler() { return fooItems; } You will also have to have the View return back the selected item since I don't see any interfaces you can return to do that. public String getItem() { return fooItems.getItemText(fooItems.getSelectedIndex()); } Finally the view can return back the TextBox has a HasEnabled interface so the presenter can disable it. @UiBinder TextBox textBox; public HasEnabled getHasEnabled() { return textBox; } Now the presenter can call these to get the item when selected and disable the text box if needed. view.getHasChangeHandler().addChangeHandler(new ChangeHandler() { @Override public void onChange(ChangeEvent event) { view.getItem(); view.getHasEnabled().setEnabled(false); } } ); On Jan 13, 2:05 am, Qrunk kapil2ka...@gmail.com wrote: Hi , Im a bit confused as in what does UI handling is meant inhttp://code.google.com/webtoolkit/articles/mvp-architecture.html, which is to be handled by the presenter. Say I have a case where when I change my combo box , I want a UI widget(Text Box ) to be disabled. Now here there are two things: 1. I have to check through the data which I clicked inside the combo Box, which I believe should make my event to be handled by the presenter as my UI shouldn't be aware of my data part(Models) 2. As i want to make an UI related change in my page, this event should be handled by the View class. Please let me know where and how should I delegate the event to event handlers on selection of the combo box item. Should it be handled within Presenter, which cant happen because the presenter doesn't has any knowledge of the View component(in our case the Text Box that is to be disabled) or it should be handled within the View class, but this shouldn't happen as the View should be unaware of the Data part.and want some inputs on Request factory alsohttp://tbroyer.posterous.com/gwt-211-requestfactory-part-ii -- 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: Google Product Forums for GWT
Hi ! I'd say that you're already there : https://groups.google.com/forum/#!forum/google-web-toolkit. Best regards, Yannis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
ERROR java.lang.ClassFormatError in JavaScriptObject
Hi all.. I just tried to run my project in hosted mode using GWT 2.4 I got this ERROR and I am rather lost and do not know where to look further. Any ideas on what might cause this error? Thanks! 00:06:30.249 [ERROR] Unable to initialize static dispatcher java.lang.ClassFormatError: Duplicate method namesignature in class file com/google/gwt/core/client/JavaScriptObject$ at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1085) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.shell.JsValueGlue.set(JsValueGlue.java:220) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:332) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:680) -- 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/-/oeKlh22UdAcJ. 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: TabLayoutPanel Dynamic Resizing
The tablayoutpanel should not go bigger than the browser window. Instead of overflow try overflow-y. I think you are able to apply that to the container element and skip the extra widget. You should look at the W3 schools CSS tutorials... On Nov 24 2011, 1:21 am, Ashwani Gupta ashwani...@gmail.com wrote: The ScrollPanel option and ResizeLayoutPanel with Overflow = auto both works fine. Based on the screen shot i have attached i want to know why do i see two scroll bars. There should have been only one scroll bar. And on the other note why is there a need to add Scroll Panel or ResizeLayoutPanel. I thought that on resize the TabLayoutPanel will auto resize itself without the need of adding a child Scroll Panel or ResizeLayoutPanel. On Mon, Nov 21, 2011 at 10:02 PM, Ashwin Desikan ashwin.desi...@gmail.comwrote: you can add a scroll panel or use one of the layoutpanel's like a ResizeLayoutPanel, set it 100% height and also the additional style of Overflow : auto this would make it to scroll automatically when the height of the tabpanel changes ~Ashwin On Tuesday 22 November 2011 02:43:28 AM IST, Paul Stockley wrote: You need a ScrollPanel as the first child of the tab. You may also need to set the width and height on this panel to 100% -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visithttps://groups.google.com/d/** msg/google-web-toolkit/-/**zmz3phOOuHcJhttps://groups.google.com/d/msg/google-web-toolkit/-/zmz3phOOuHcJ . To post to this group, send email to google-web-toolkit@** googlegroups.com google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+** unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubscribe@googlegroups. com . For more options, visit this group athttp://groups.google.com/** group/google-web-toolkit?hl=enhttp://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.comgoogle-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+** unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubscribe@googlegroups. com . For more options, visit this group athttp://groups.google.com/** group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en **. TabLayoutPanel_DynamicResizingWithScrollPanel.PNG 102KViewDownload -- 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.