Re: Navigate to new page
Another way!!! You can have this loginpanel in an absolute panel which is present in the root panel. When u are navigating to the next page, just remove this absolute panel from the root panel and call the next entry point. U can follow the same process for navigating to all the pages that would come up. regards, abhiram On Wed, Jun 3, 2009 at 2:50 PM, ashik wrote: > > Hi I am using GWT in my application. I want to navigate to next page. > I have login page where user name and password are entered. After > successfully entering user and password a button is pressed. After > that it should move to a new page where i can have more option. > > Please help me how to do this using GWT > > Thanks & Regards > > Ashik > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Doubleclick event handling
Could I please get some clarification on how to use the double click event handling? The classes are there (e.g. http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/event/dom/client/HasDoubleClickHandlers.html) but don't seem to be implemented anywhere. I would like to add double click handling to an Image, could someone please give me some example snippet of code on how to do this? I've tried simple things like extending Image and implementing HasDoubleClickHandlers, e.g. private class CommandButton extends Image implements DoubleClickHandler, HasDoubleClickHandlers { private HandlerManager clickHandlers = new HandlerManager(this); public CommandButton(){ super("images/favicon-2.png"); addDoubleClickHandler(this); } @Override public void onDoubleClick(DoubleClickEvent event) { Log.debug("doubleclicked command button"); } @Override public HandlerRegistration addDoubleClickHandler(DoubleClickHandler handler) { return clickHandlers.addHandler(DoubleClickEvent.getType(), handler); } @Override public void fireEvent(GwtEvent event){ handlers.fireEvent(event); } } but of course this doesn't handle double click events. 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: Communication of gwt with Flash/Flex(gwt+Flash/Flex)
Also, I forgotted to mention the following: I am using gwt 1.5.3 and Flash CS3 with ActionScript 3.0. Srihari.Ch --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Communication of gwt with Flash/Flex(gwt+Flash/Flex)
Hi all, I am new to Flash environment as well as gwt environment. How can we pass gwt data from gwt clientside to Flash/Flex? (OR) How can we access gwt data into Flash/Flex from gwt clientside? Is there any Flash/Flex developer who worked with gwt (or) Any gwt developer who worked with Flash/Flex, please spend 2 minutes in posting the reply. Please come forward send/post the replies regarding this. Or anyone who worked with gwt+Flex (or) gwt+Flash, I think you will reply something useful to me regarding this problem. Waiting for your replies. 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: need help with GWT-buttons (image & text)
May be you can try inserting the html when creating the button. (I haven't tried this) This class has a constructor: Button(String html) --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 10:57 PM, tech84 wrote: > > Hi everybody, > > > i hope you can help me. How can I create a button, which contains text > (right) and an image (left)? I only have found buttons, which > contains an image OR a text :-( how can I achieve this? > > > Please describe it ( if possible) step by step because I'm a GWT- > newbie :-) > > thanks! > > greets, tech.. > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Cross domain issue - not w/ RPC... Please help
What I am trying to do seems trivial but I must be missing something... I want to host the GWT application (CSS, JavaScript) on one domain: http://www.server-a.com/gwtApp/ and then have the html that hosts the application live on various other domains (sort like what adWords does): http://www.server-b.com/hostpage.html I haven't gotten to the point where I'm doing RPC (I plan to use JSONP). The issue seems to be in the sniffer code for deferred binding -- like it's having trouble loading the right cache.js file. When I compile w/ PRETTY and look at the errors in Firebug i see the following... Permission denied to get property Window.prototypea [Break on this error] if ($wnd.prototypea) $wnd.prototypea.onScriptLoad (); I have seen references to a "mashup mode" in the forums but i have a feeling that's not around anymore. Please help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Calling java scrip function
Hi, You can use a native method call to execute a javascript function. public native void callFunction() /*-{ if (typeof myFunction== 'function') { myFunction(); } }-*/; Now inside your onClick() method call this method. public void onClick(Widget sender) { callFunction(); } Cheers, Kamal --- Kamal Mettananda http://lkamal.blogspot.com On Thu, Jun 4, 2009 at 9:31 AM, subbu wrote: > > How can we call a java script function GWT components event,such as > click > > > --~--~-~--~~~---~--~~ 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: JSF with GWT
You can find it here. http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial.html --- Kamal Mettananda http://lkamal.blogspot.com On Thu, Jun 4, 2009 at 9:33 AM, subbu wrote: > could you please provide a link to your tutorial. > > On Jun 3, 8:33 pm, Kamal Chandana Mettananda wrote: > > Hi Subash, > > > > I have used GWT and Servlets inside one project. Just a thought; I guess > > integrating JSF with GWT will also be feasible. I wrote a simple tutorial > on > > this as well. > > > > Cheers, > > Kamal > > > > --- > > Kamal Mettanandahttp://lkamal.blogspot.com > > > > On Wed, Jun 3, 2009 at 10:04 AM, subbu > wrote: > > > > > I want to migrate my enitre project from jSF to GWT.So som times i > > > need to integrate this two technology. > > > > > On May 29, 5:07 pm, mikedshaffer wrote: > > > > Yes it is. GWT is simply a different way to do AJAX, and my > > > > understanding of JSF is that they are extremely compatible. > > > > > > That being said, whenever I'm asked "Can GWT work with $PRODUCT" > where > > > > $PRODUCT is Struts, PHP, JSF, ASPX, whatever, I ask "what are you > > > > trying to accomplish?". Are you doing a little GWT and a lot of > > > > $PRODUCT? Or is it vice versa? Basically, what are you wanting GWT > > > > to do, and what do you want $PRODUCT to do? What is you skill set > > > > with $PRODUCT? How familiar are you with GWT? How familiar are you > > > > with AJAX in general? Answering these questions can go a long ways > to > > > > really addressing this query. > > > > > > I simply Googled "JSF" and "GWT" and found a number of interesting > > > > links. Give G4jsf a look. > > > > > > Later, > > > > > > Shaffer > > > > > > On May 28, 7:44 am, subbu wrote: > > > > > > > Is it possible to integrate jsf with GWT.If so please provide some > > > > > useful links. > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Calling java scrip function
How can we call a java script function GWT components event,such as click --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Multiple modules but deploy common code to common place
I have a very large application that I need to deploy with multiple module. Our application is made of with smartgwt as well. When we compile there seems to be a lot of duplicate "common" code. Each module has the same css and theme information. So after compiliation I end up with ... Module A - it's specific files - it's common stuff that it could share with other modules like it's images. Module B - it's specific files - it's common stuff that it could share with other modules like it's images. Module C - it's specific files - it's common stuff that it could share with other modules like it's images. Is there a way to direct all that common stuff to a common stuff particularly the images and theme stuff since that takes up the bulk of the app size. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RequestBuilder and native XSL stylesheet processing
On May 30, 2:38 am, Jeff Chimene wrote: > Well, You're not going to like this answer very much but: no :) see below. > It seems unnecessarily cruel to burden your users with the wait time of > downloading an XSLT transform engine when you could do such processing > on your server. The thing is... I actually cannot! Otherwise I wouldn't go through all these hoops, I am not crazy ;) Long story short: this is a temporary solution as we cannot have any server-side code while waiting on some upcoming upgrade of our infrastructure and servers. Painful, but I don't have much choice. It's a low-tech approach that satisfies the crossed-requirements of having to develop a new website without having anything permanent or stable to host it on. > I know it's cool to do XSLT processing on the client, but this app > doesn't sound like it's worth punishing your users by asking them to > wait while downloading "all that stuff" It will pretty much be only menu descriptions and some content loaded in the background. >From what I tested, this is actually not bad at all, and if you have a normal connection you wouldn't really notice a difference. It is a news-centric website, so most of the contents are rather short items composed mainly of text. Therefore it is possible to preload the next hits in the background (or at least, the predictable ones). > FWIW, I do this in one app: a report generator that constructs > client-side XML, sends it to a server, then gets back HTML. The report > generation process is iterative by design. I only want to transfer > human-generated content over the wire. This design also gives me history > support "for free", as I can cache previous reports on the server and > reload them when requested. Thanks anyway. -- LaurentMalvert Analyst Programmer Macquarie University, NSW 2109, Australia Office of Institutional Advancement p: +61-2-9850-1385 m: +61-4-1095-7130 e:laurent.malv...@mq.edu.au w:http://www.comp.mq.edu.au/ CRICOS Provider No 2J --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
delayTestFinish is not delaying the test
I'm using the GWT Eclipse plugin with the latest GWT 1.6. My test looks like this: public class MyTests extends GWTTestCase { public String getModuleName() { ... } public void testAddAction() { MyServiceProxy proxy = new MyServiceProxy( new MyServiceCallback() { public void OnData(Data data) { finishTest(); } }); proxy.GetData(); // Execute Web Service (REST) call delayTestFinish(6000); // Delay for 1 minute } } I'm running this test with "Rght-Click/Run As/GWT Junit test" on the function. The test running successfully, and the call to the remote service is executed, but there is not enough time to get the callback since the delayTestFinish is not waiting for the specified delay. In fact it's not waiting at all - it just jumps through. When I check the source code for the delayTestFinish function I see something like this: public abstract class GWTTestCase extends TestCase { ... protected final void delayTestFinish(int timeoutMillis) { // implemented in the translatable version of this class } ... } What is the translatable version of the class. How can I see what is the generated result? What am I doing wrong? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Regarding Multiple movable windows inside Tabpanel
Hello All, I am new to GWT development and so any help will be appreciable. My question : I have a tabpanel and when I click on one of the tabs multiple windows should open that have inbuilt tabs. I tried using window manager but it didn't work.Can anyone help me how to get movable windows overlapping each other inside the tabpanel. Thanks in advance. -Kinjal. --~--~-~--~~~---~--~~ 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.0 features and roadmap
Are the following features included in GWT 2.0: 1. Native drag and drop. 2. some widgets including cancas in Incubator What is the roadmap? Thanks, Jim On Jun 3, 6:46 pm, Todd Seiber wrote: > Here is what I got out of the talks: > > - Code Splitting: GWT.runAsync(): allows the developer insert sections > of code to split. You initial code might be maybe 1MB of script but > code splitting can get it down to a couple hundred kb to load faster. > Code will be loaded asynchronously as needed. > > - OOPHM (Out of Process Hosted Mode): will be available in GWT 2.0. > Search for OOPHM for details. I am currently using it with trunk and > love it. :) > > - SOYC (Story of Your Compile): This is a new tool that will help > developers see the impact of code splitting. > > - improved layout for several Widget (ex: DockPanel) > > - Javascript compiler optimizations. > > On Jun 3, 4:23 pm, Jim wrote: > > > > > Whoever attended Google I/O conference can tell me about GWT 2.0 > > features and roadmap? I can not find useful information by searching > > "GWT 2.0". > > > I appreciate your help. > > > Jimhttp://www.gwtorm.com-GWT ORMhttp://code.google.com/p/dreamsource-orm/- > > 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 -~--~~~~--~~--~--~---
$doc.selection is undefined in GWT
I have a native method which uses $doc.selection.createRange() I am not sure why the $ before doc. I simply copied it from some sample code. this method works find when in hosted mode. but after compile and called directly from a browser I get the $doc.selection is undefined error. any one knows what's wrong with this? sorry if this is second posting. I posted this question a few days ago, but it does not come up in search. --~--~-~--~~~---~--~~ 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 Dynamic Menu from XML File. How to Reflect Class of the Composite?
Hello Todd, Thanks for your quick answer. Yes I know I can do that, but that way, everytime that I want to change the menu, I have to change the code, and thats what I want to avoid. I really want to do that because I'm starting a project, and I know (by experience) that the menu will have a lot of changes. But do you think that I souldn't use the client side solutions? Like the "gwt-ent" and "gwt reflection" libraries? What is the problem with them? My last solution is to generate all the menu from the XML, and interpret the actions with a client side function. Example, every action like doAction("Home"). This solution is very likely yours, and I get a semi-dynamic Menu. Regards. On Jun 3, 11:34 pm, Todd Seiber wrote: > You might want to avoid anything to do with reflection altogether. If > you xml is something like this: > > > > Button1 > Widget1 > > > Button2 > Widget2 > > > > Try something like > > if ("Widget1".equals(menuItem.getName())) { > horizontalPanel.add(new Widget1());} else if > ("Widget1".equals(menuItem.getName())) { > > horizontalPanel.add(new Widget2()); > > } > > Unless you have tons of Widgets this will be manageable. I believe > this method may also help avoid issues with the -XdisableClassMetadata > flag in the upcoming GWT 2.0. > > On Jun 3, 3:44 pm, ukrania wrote: > > > Hello Everyone, I'm trying to make an Dynamic Menu in GWT, reading it > > from an XML file. The XML file must have the button name and the > > action (the composite associated that will be added to an Horizontal > > Panel). > > > To make the action, a need to do Reflection of the Class, wish is > > given me a lot of problems. I've tried 2 different solution, Client > > Side and Server Side. On Client Side I've tried "gwt-ent" and "gwt > > reflection" libraries, but I've got a lot of errors and its necessary > > to set what Classes will be reflected (which I don't want because I > > want a completely dynamic Menu, and not semi-dynamic). On Server Side, > > I've tried to return the menu but its not possible to deal with client > > side widgets on server side. So I tried to make the reflection and > > return the instance to the client, but on server side its no possible > > to get an client side Class. > > > Anyone knows other solution? I'm doing something wrong? How can I > > reflect the class to put the Composite on the Horizontal Panel? > > > Thansk for your help. Regards. --~--~-~--~~~---~--~~ 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: Compile/Browse issue
Look at the compiler output. It failed to compile. On Jun 2, 2:08 am, praveen wrote: > Hi, > > I am facing a issue when I am clicking on compile/browse button,Error > message generate when click on > compile/Brows > "gwt module 'module name' needs to be (re)compiled,please run a > compile or use the Compile/Browse button in hosted mode" > > I am using > > Library Version > GWT 1.6.4 > GWT-EXT 2.0.4 > JRE 1.6 > and I am also use GILEAD in my project > > It is working fine in GWT 1.5 > > Thanks > Praveen ojha --~--~-~--~~~---~--~~ 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 set iframe frameborder attribute
This has worked for me. DOM.setElementAttribute(frame.getElement(), "frameBorder", "0"); On Jun 2, 7:56 pm, babyblue007 wrote: > Hi, > > I'm using com.google.gwt.user.client.ui.Frame to embed an external > url. There seem to be a small inset border even though I have > everything set to 0 in the css. I think this is because of iframe has > a separate frameborder attribute. How can I set this attribute? I > don't see the function in Frame, there is one in IFrameElement, but I > can't figure out how to go from Frame to IFrameElement. > > > Frame frame = new Frame(url); > frame.setStyleName("widget-Frame"); > > > .widget-Frame { > margin: 0px; > border: 5px solid blue; > padding: 10px;} > > > > 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: How does a user change the default css theme?
The xml file for your module (Module.gwt.xml) is used to compile your application and is not used at runtime. By including the in your module you are telling the compiler that it needs to inject the standard.css file into your application. If you want to change styles you will have to use something like JSP or PHP to add a tag in the header like . On Jun 3, 10:12 am, Booth wrote: > GWT 1.6 has three css themes, standard, chrome, and dark. As time > passes I expect there will be more. With that in mind I want to use > those themes, and let each user choose his/her own theme for the > application. > > My intention is to have a listbox with the available themes, thus > allowing the user to choose a theme and have that theme saved from > session to session, probably with a cookie. I am having a couple of > problems. > > 1) I have no idea how to fill the listbox, other than by hardcoding > the theme names. > 2) I have no idea how to tell the xml that we are changing themes. (I > am not even sure that the xml is where the change needs to happen.) > > I have looked and so far haven't found a tutorial or example that > deals with this issue. > > Any help would be appreciated. --~--~-~--~~~---~--~~ 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: Hyperlink changing style
I think you want element.class[:pseudoclass] (ex: a.gwt- Hyperlink:link). On Jun 3, 12:37 pm, Zenon wrote: > I was trying to change style on hyperlink when clicked, but no change > happens > > Here's the code to change Hyperlink default: > > .gwt-Hyperlink a:link { > > } > > .gwt-Hyperlink a:hover { > > } > > .gwt-Hyperlink a:visited { > > } > > .gwt-Hyperlink a:active { > > } > > Now, how I should write the css when I add a style ? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Multimodule GWT with App Engine
After attending Google I/O this year and seeing the magic of GWT, I've recently switched my developer tools to include Java and GWT. Please excuse my questions if they have obvious answers, I'm only just beginning in both of these areas. I'm building an application hosted on App Engine with GWT for client presentation and logic. I'm using Eclipse and the Google plugin. I have everything working smoothly and am very impressed with the Google team's thinking and organization. I understand clearly how to setup an Eclipse project for GAE and a single GWT Client App, but in my particular case, I need to build multiple GWT clients that all access one GAE app. The GWT clients aren't related except that they access the same models/data/services in my GAE app. For example, I may have a GWT front end for the general public, a separate GWT application for administration, and several 'widget' applications for the public to embed in their own web pages. In this scenario, I need to setup at least 3 completely independent GWT modules in Eclipse in the same project. My GAE servlet/RPC code is also in this project. Can anyone suggest how I might accomplish this? Even if I do get it setup, I'm wondering about these potential issues: 1. How do I make sure that each GWT client gets compiled when I do a 'run..' in Eclipse? 2. How do I specify which client runs when testing? I'm assuming a suggestion might be to build independent Eclipse projects, BUT I really want to keep the whole thing together and post the entire project to GAE at once... 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.0 features and roadmap
Here is what I got out of the talks: - Code Splitting: GWT.runAsync(): allows the developer insert sections of code to split. You initial code might be maybe 1MB of script but code splitting can get it down to a couple hundred kb to load faster. Code will be loaded asynchronously as needed. - OOPHM (Out of Process Hosted Mode): will be available in GWT 2.0. Search for OOPHM for details. I am currently using it with trunk and love it. :) - SOYC (Story of Your Compile): This is a new tool that will help developers see the impact of code splitting. - improved layout for several Widget (ex: DockPanel) - Javascript compiler optimizations. On Jun 3, 4:23 pm, Jim wrote: > Whoever attended Google I/O conference can tell me about GWT 2.0 > features and roadmap? I can not find useful information by searching > "GWT 2.0". > > I appreciate your help. > > Jimhttp://www.gwtorm.com- GWT ORMhttp://code.google.com/p/dreamsource-orm/ --~--~-~--~~~---~--~~ 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: Request and submit a XML file to external Webserver
You may find this article helpful. http://code.google.com/support/bin/answer.py?answer=65632&topic=11368 On Jun 3, 5:04 pm, jobzino wrote: > hi all, > i have this problem > > i want to develop a client that make request to a external webserver > (ex. other domain ). The communcation between my gwt webapp and this > external server is through XML files. > > for each operation on my gwt client i make a request to this external > web server for confirm and other features. > > i read that with request builder is not possible for Cross-Site > Scripting, There is a solution for this problem? I'm a newbie and i > hope that somebody can help me with detailed explanation. > > Thank you for your answer. > Regards > jobzino > > P.s > Sorry for my bad english. --~--~-~--~~~---~--~~ 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 Dynamic Menu from XML File. How to Reflect Class of the Composite?
You might want to avoid anything to do with reflection altogether. If you xml is something like this: Button1 Widget1 Button2 Widget2 Try something like if ("Widget1".equals(menuItem.getName())) { horizontalPanel.add(new Widget1()); } else if ("Widget1".equals(menuItem.getName())) { horizontalPanel.add(new Widget2()); } Unless you have tons of Widgets this will be manageable. I believe this method may also help avoid issues with the -XdisableClassMetadata flag in the upcoming GWT 2.0. On Jun 3, 3:44 pm, ukrania wrote: > Hello Everyone, I'm trying to make an Dynamic Menu in GWT, reading it > from an XML file. The XML file must have the button name and the > action (the composite associated that will be added to an Horizontal > Panel). > > To make the action, a need to do Reflection of the Class, wish is > given me a lot of problems. I've tried 2 different solution, Client > Side and Server Side. On Client Side I've tried "gwt-ent" and "gwt > reflection" libraries, but I've got a lot of errors and its necessary > to set what Classes will be reflected (which I don't want because I > want a completely dynamic Menu, and not semi-dynamic). On Server Side, > I've tried to return the menu but its not possible to deal with client > side widgets on server side. So I tried to make the reflection and > return the instance to the client, but on server side its no possible > to get an client side Class. > > Anyone knows other solution? I'm doing something wrong? How can I > reflect the class to put the Composite on the Horizontal Panel? > > Thansk for your help. Regards. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Debug not working with 1.6 in eclipse ganymede (3.4) on Ubuntu Jaunty (9.04)
Eclipse seems to function just fine, and I am able to debug regular java applications, but when I run a GWT app in hosted mode it ignores my break points. I know that it is executing the code. but it does not matter where the breakpoint is it does not stop. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Deploying GWT 1.6.4 RPC Web App to Knopflerfish OSGi Framework
Hi everyone! I'm trying to get the simple Web application in GWT 1.6.4 featuring GWT RPC to work in Knopflerfish OSGi framework 2.3.1 (an implementation of the OSGi framework like Equinox). For that matter I created an OSGi bundle from the GWT project and added an implementation of BundleActivator in which I register the client-side Web page and the server-side GWT RemoteServiceServlet with the OSGi-defined HTTP Service. Separately, I created an OSGi bundle from gwt-user.jar and exported the required packages for RPC but not javax.servlet as this is already exported by the JSDK in Knopflerfish. When I start the bundle created from the GWT project, the BundleActivator.start() method is executed and the client-side Web page is successfully registered in the HTTP Service. When I open my Web browser (Mozilla Firefox) and point it to the given address, I can view the Web page. Unfortunately, I get a java.lang.IncompatibleClassChangeError during execution of the start method from within the Knopflerfish OSGi framework apparently due to javax.servlet.Servlet. If I try to define a traditional Servlet in the same project and register it from the BundleActivator, everything works fine. Thus, my conclusion is that the problem is related to RemoteServiceServlet inheritance of javax.servlet.Servlet which doesn't comply with Knopflerfish OSGi framework definition of javax.servlet.Servlet. It looks like as if a definition of Servlet is used when I compile the GWT project with GWT-generated Ant file and another one is made available by the Knopflerfish OSGi framework, if I'm not mistaken about the meaning of java.lang.IncompatibleClassChangeError. I tried both to export and not to export javax.servlet from the OSGi bundle encapsulating gwt-user.jar but this didn't change anything. Some related info. I read the post by Ian Bull on his blog at http://blog.ianbull.com/2008/09/gwt-and-osgi.html but that refers to a previous version of GWT and uses Eclipse Equinox, not Knopflerfish. Thus, I couldn't figure it out from there. Thanks in advance, Gia --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
dictionary or overlay type?
I've been using dictionaries for a while and they've worked well but I needed something a bit more expressive so I turned to overlay types. (side note: docs seem to claim this is a new feature to 1.6 but what makes it a 1.6 feature?) The overlay types are great because I can use them directly or if I need a bit more control I can wrap them around JSON types. But my question is ... why would anyone ever use dictionaries? Aren't overlay types much more powerful? --~--~-~--~~~---~--~~ 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: FormPanel's hidden target frame duplicates - can't receive state - in multi GWT app
I've got the same problem in GWT 1.6.4. I've tried to manually create another named frame, but response is just displayed there so I don't know that the answer arrived. Have anyone found solution to this problem?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Request and submit a XML file to external Webserver
hi all, i have this problem i want to develop a client that make request to a external webserver (ex. other domain ). The communcation between my gwt webapp and this external server is through XML files. for each operation on my gwt client i make a request to this external web server for confirm and other features. i read that with request builder is not possible for Cross-Site Scripting, There is a solution for this problem? I'm a newbie and i hope that somebody can help me with detailed explanation. Thank you for your answer. Regards jobzino P.s Sorry for my bad english. --~--~-~--~~~---~--~~ 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: Referencing Shared Library
Does that mean the shared library has to be a module? I'd prefer to keep the shared library a simple Java project with no dependencies on libraries and only containing POJOs. On Jun 3, 12:26 pm, Jim wrote: > In your .gwt.xml, you need one entry to specify a module like > . In the module, there is a > source code folder like . > > Jimhttp://www.gwtorm.com- GWT ORMhttp://code.google.com/p/dreamsource-orm/ > > On Jun 3, 1:27 pm, Scott wrote: > > > I have code a set of Java POJOs within my project that are used to > > transfer information around the application. I'd like to move them > > into a simple Eclipse project so that they may be used by other > > components. When I create a new Java project and move the POJOs to > > this project, I add the new project to the existing Project's build > > path. This resolves all classpath issues within Eclipse, but at > > runtime the GWT application fails with messages such as: > > > "No source code is available for type foo; did you forget to inherit a > > required module?" > > > How can I setup a relationship in GWT to access the shared library? > > Does the shared library need to be a GWT module? Ideally, I'd like to > > keep it as a simple, non-GWT Java library with no dependencies. --~--~-~--~~~---~--~~ 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 Dynamic Menu from XML File. How to Reflect Class of the Composite?
Hello Everyone, I'm trying to make an Dynamic Menu in GWT, reading it from an XML file. The XML file must have the button name and the action (the composite associated that will be added to an Horizontal Panel). To make the action, a need to do Reflection of the Class, wish is given me a lot of problems. I've tried 2 different solution, Client Side and Server Side. On Client Side I've tried "gwt-ent" and "gwt reflection" libraries, but I've got a lot of errors and its necessary to set what Classes will be reflected (which I don't want because I want a completely dynamic Menu, and not semi-dynamic). On Server Side, I've tried to return the menu but its not possible to deal with client side widgets on server side. So I tried to make the reflection and return the instance to the client, but on server side its no possible to get an client side Class. Anyone knows other solution? I'm doing something wrong? How can I reflect the class to put the Composite on the Horizontal Panel? Thansk for your help. Regards. --~--~-~--~~~---~--~~ 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.0 features and roadmap
Whoever attended Google I/O conference can tell me about GWT 2.0 features and roadmap? I can not find useful information by searching "GWT 2.0". I appreciate your help. Jim http://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm/ --~--~-~--~~~---~--~~ 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: IE: history token lost on http --> https redirect
I has some issues like this also, what i did was update my site to always use fully qualified names. How I did this for GWT, i created a RPC call back to the server to get the web server name and then always added this to my pages. Below is the code on the server side. package com.cindiescreations.CindiesCreations.server; import javax.servlet.http.HttpServletRequest; import com.cindiescreations.CindiesCreations.client.RootURL; import com.google.gwt.user.server.rpc.RemoteServiceServlet; public class RootURLImpl extends RemoteServiceServlet implements RootURL { private static final long serialVersionUID = 1L; @Override public String getRootURL(String nop) { HttpServletRequest req = getThreadLocalRequest(); String reqUrl = req.getRequestURL().toString(); reqUrl = reqUrl.substring(0, reqUrl.length()-25); return reqUrl; } } On Jun 3, 7:06 am, Martin Trummer wrote: > we have some public (plain HTML) pages, that are not ssl encrypted > these pages have (relative) links to a GWT application > some of those links in the public area use history tokens, to open > certain views of the GWT application: so you click the link, > thenhttp:///secure/GWTApp.html#sometokenis called > the webserver notices that this resource is secured an sends a > redirect to https > then the browser requestshttps:///secure/GWTApp.html#sometoken > > that works fine in all browsers, except... > you'll never guess it > ...here it comes: > Internet Explorer (tested in IE6 and IE7) > > the only workarounds I can think of: > * use absolute URLs in the public pages: > https://my.domain.com/.../secure/GWTApp.html#sometoken> > I don't like that, because the domain is different for the > development/test/productiontest servers > * I could use a special URL parameters to wrap the historytoken > http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT 2.0 features and roadmap
Whoever attended Google I/O can tell me about GWT 2.0 features and a roadmap? I can not get useful information through searching "GWT 2.0". Jim http://www.gwtorm.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: Referencing Shared Library
In your .gwt.xml, you need one entry to specify a module like . In the module, there is a source code folder like . Jim http://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm/ On Jun 3, 1:27 pm, Scott wrote: > I have code a set of Java POJOs within my project that are used to > transfer information around the application. I'd like to move them > into a simple Eclipse project so that they may be used by other > components. When I create a new Java project and move the POJOs to > this project, I add the new project to the existing Project's build > path. This resolves all classpath issues within Eclipse, but at > runtime the GWT application fails with messages such as: > > "No source code is available for type foo; did you forget to inherit a > required module?" > > How can I setup a relationship in GWT to access the shared library? > Does the shared library need to be a GWT module? Ideally, I'd like to > keep it as a simple, non-GWT Java library with no dependencies. --~--~-~--~~~---~--~~ 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: PushButton w/ image: How to avoid grey background
Anders, I do this in my app. I call it an InvisibleButton. All you need to do is alter the CSS. I copied the CSS from GWT's PushButton and renamed the gwt-PushButton part to mm-InvisibleButton. You don't even need to do that if you want that behavior for all of your push buttons. Simply alter the gwt-PushButton CSS. Here's the CSS I use for my InvisibleButton: .mm-InvisibleButton-up, .mm-InvisibleButton-up-hovering, .mm-InvisibleButton-up-disabled, .mm-InvisibleButton-down, .mm-InvisibleButton-down-hovering, .mm-InvisibleButton-down-disabled { margin: 0; text-decoration: none; } .mm-InvisibleButton-up, .mm-InvisibleButton-up-hovering, .mm-InvisibleButton-up-disabled { padding: 3px 5px 3px 5px; } .mm-InvisibleButton-up { cursor: pointer; cursor: hand; } .mm-InvisibleButton-up-hovering { cursor: pointer; cursor: hand; } .mm-InvisibleButton-up-disabled { cursor: default; opacity: .5; filter: alpha(opacity=40); zoom: 1; } .mm-InvisibleButton-down, .mm-InvisibleButton-down-hovering, .mm-InvisibleButton-down-disabled { padding: 4px 4px 2px 6px; } .mm-InvisibleButton-down { cursor: pointer; cursor: hand; } .mm-InvisibleButton-down-hovering { cursor: pointer; cursor: hand; } .mm-InvisibleButton-down-disabled { cursor: default; opacity: 0.5; filter: alpha(opacity=40); zoom: 1; } HTH, Chad On Jun 2, 2:40 pm, dduck wrote: > Hi, > > I would live to create a button that works just like a pushbutton, but > without the grey background. Is there an easy way to just remove th > egrey button outline, or will I have to roll my own component? > > Regards, > Anders S. Johansen, ange.dk --~--~-~--~~~---~--~~ 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 1.6.4 war deployment
It can be done using the cypal gwt eclipse plugin by going file > export > web > war file I used this prior to eclipse plugin. I use google gwt for running in eclipse and cypal one for war only now. I also believe there is ant script out there have just not used it yet Cheers Noel On Jun 2, 6:24 pm, Miguel Méndez wrote: > We don't currently support exporting to a war from the IDE. You could do a > clean build in eclipse, then perform a GWT compile, then you can simply war > the contents of the war folder. > We are tracking the export war request as part of the following > issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=3584. > > On Tue, Jun 2, 2009 at 12:57 PM, Efren wrote: > > > Is there a way to deploy a Eclipse GWT Project to a war file ? > > Im using Eclipse 3.4, GWT 1.6.4, GWT plugin for Eclipse. I want to > > deploy to Websphere Application Server Community Edition server. > > -- > Miguel --~--~-~--~~~---~--~~ 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: RPC/Serialization problem with StockWatcher tutorial
Thanks! I guess I missed that line earlier in the tutorial. On Wed, Jun 3, 2009 at 2:08 PM, Isaac Truett wrote: > > Your StockPrice doesn't have a no-arg constructor. > > > On Wed, Jun 3, 2009 at 1:27 PM, james.o...@gmail.com > wrote: > > > > I'm going through the StockWatcher tutorial and I get to the RPC part > > (http://code.google.com/webtoolkit/tutorials/1.6/RPC.html). > > > > At the first test point I get this error message as expected ... > > > > [ERROR] Type 'com.google.gwt.sample.stockwatcher.client.StockPrice' > > was not serializable > > and has no concrete serializable subtypes > > > > However, after putting in the code to "fix" it ... I still get the > > same error. What am I missing? > > > > Here is my StockPrice class ... > > > > package com.google.gwt.sample.stockwatcher.client; > > > > import java.io.Serializable; > > > > public class StockPrice implements Serializable { > >private String symbol; > >private double price; > >private double change; > > > >public StockPrice(String symbol, double price, double change) { > >this.symbol = symbol; > >this.price = price; > >this.change = change; > >} > > > >public String getSymbol() { return this.symbol; } > >public double getPrice() { return this.price; } > >public double getChange() { return this.change; } > > > >public double getChangePercent() { > >return 100.0 * this.change / this.price; > >} > > > >public void setSymbol(String symbol) { this.symbol = symbol; } > >public void setPrice(double price) { this.price = price; } > >public void setChange(double change) { this.change = change; } > > } > > > > > > > > > > > --~--~-~--~~~---~--~~ 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: Referencing other projects
1. StartMenu needs to be part of a GWT module. 2. You need to inherit that module. 3. It won't work anyway, since you can't use JFrames in a GWT client. Reference: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html There used to be a page on modules, too, but I can't find it in the 1.6 docs. Anyone know what happened to it? On Wed, Jun 3, 2009 at 2:02 PM, Aximilli302 wrote: > > Good day all. I'm having a slight issue with what was(hopefully) to be > a simple application using GTW. > > All I am doing is creating a button which, when clicked, refences > another project I have created, to play a pacman game. Here is the > click handler for the button. > > public void onClick(ClickEvent event) { > new StartMenu(); > } > > StartMenu is the opening class, which creates a new JFrame, and begins > the game. I have imported the project already, however, I have > recieved the following error- > > No source code is available for type Gui.StartMenu; did you forget to > inherit a required module? > Note- Gui is the package > > The source code is there, as I can look at it. Any thoughts? > > Oh, I also use eclipse, so if that makes a difference. > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Referencing other projects
Good day all. I'm having a slight issue with what was(hopefully) to be a simple application using GTW. All I am doing is creating a button which, when clicked, refences another project I have created, to play a pacman game. Here is the click handler for the button. public void onClick(ClickEvent event) { new StartMenu(); } StartMenu is the opening class, which creates a new JFrame, and begins the game. I have imported the project already, however, I have recieved the following error- No source code is available for type Gui.StartMenu; did you forget to inherit a required module? Note- Gui is the package The source code is there, as I can look at it. Any thoughts? Oh, I also use eclipse, so if that makes a difference. --~--~-~--~~~---~--~~ 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: RPC/Serialization problem with StockWatcher tutorial
Your StockPrice doesn't have a no-arg constructor. On Wed, Jun 3, 2009 at 1:27 PM, james.o...@gmail.com wrote: > > I'm going through the StockWatcher tutorial and I get to the RPC part > (http://code.google.com/webtoolkit/tutorials/1.6/RPC.html). > > At the first test point I get this error message as expected ... > > [ERROR] Type 'com.google.gwt.sample.stockwatcher.client.StockPrice' > was not serializable > and has no concrete serializable subtypes > > However, after putting in the code to "fix" it ... I still get the > same error. What am I missing? > > Here is my StockPrice class ... > > package com.google.gwt.sample.stockwatcher.client; > > import java.io.Serializable; > > public class StockPrice implements Serializable { > private String symbol; > private double price; > private double change; > > public StockPrice(String symbol, double price, double change) { > this.symbol = symbol; > this.price = price; > this.change = change; > } > > public String getSymbol() { return this.symbol; } > public double getPrice() { return this.price; } > public double getChange() { return this.change; } > > public double getChangePercent() { > return 100.0 * this.change / this.price; > } > > public void setSymbol(String symbol) { this.symbol = symbol; } > public void setPrice(double price) { this.price = price; } > public void setChange(double change) { this.change = change; } > } > > > > --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
Cooo Maybe we should start a kind of www.GwtGamePlaza.com for all kind of funny gwt games... Keep up the good work... -- Ed --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
RPC/Serialization problem with StockWatcher tutorial
I'm going through the StockWatcher tutorial and I get to the RPC part (http://code.google.com/webtoolkit/tutorials/1.6/RPC.html). At the first test point I get this error message as expected ... [ERROR] Type 'com.google.gwt.sample.stockwatcher.client.StockPrice' was not serializable and has no concrete serializable subtypes However, after putting in the code to "fix" it ... I still get the same error. What am I missing? Here is my StockPrice class ... package com.google.gwt.sample.stockwatcher.client; import java.io.Serializable; public class StockPrice implements Serializable { private String symbol; private double price; private double change; public StockPrice(String symbol, double price, double change) { this.symbol = symbol; this.price = price; this.change = change; } public String getSymbol() { return this.symbol; } public double getPrice() { return this.price; } public double getChange() { return this.change; } public double getChangePercent() { return 100.0 * this.change / this.price; } public void setSymbol(String symbol) { this.symbol = symbol; } public void setPrice(double price) { this.price = price; } public void setChange(double change) { this.change = change; } } --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
DockLayoutPanel from Google I/O
Hi all, At the GWT sessions at Google I/O last week, we saw a demo of the new DockLayoutPanel with horizontal and vertical splitters. I think the speakers mentioned that this panel would be available in the trunk, but we checked out the code and can't find this widget anywhere. I was wondering if this panel even is in the trunk, and, if not, if it will be made available to us any time soon. It does exactly what we are striving to do with our layout and would be perfect for our application. 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 -~--~~~~--~~--~--~---
Referencing Shared Library
I have code a set of Java POJOs within my project that are used to transfer information around the application. I'd like to move them into a simple Eclipse project so that they may be used by other components. When I create a new Java project and move the POJOs to this project, I add the new project to the existing Project's build path. This resolves all classpath issues within Eclipse, but at runtime the GWT application fails with messages such as: "No source code is available for type foo; did you forget to inherit a required module?" How can I setup a relationship in GWT to access the shared library? Does the shared library need to be a GWT module? Ideally, I'd like to keep it as a simple, non-GWT Java library with no dependencies. --~--~-~--~~~---~--~~ 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-buttons (image & text)
Hi everybody, i hope you can help me. How can I create a button, which contains text (right) and an image (left)? I only have found buttons, which contains an image OR a text :-( how can I achieve this? Please describe it ( if possible) step by step because I'm a GWT- newbie :-) thanks! greets, tech.. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Hyperlink changing style
I was trying to change style on hyperlink when clicked, but no change happens Here's the code to change Hyperlink default: .gwt-Hyperlink a:link { } .gwt-Hyperlink a:hover { } .gwt-Hyperlink a:visited { } .gwt-Hyperlink a:active { } Now, how I should write the css when I add a style ? --~--~-~--~~~---~--~~ 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: Expire an idle session
I can remember that I used this method for setting the time out through the code; however not quite sure why that method is not working for you. --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 10:44 PM, hezjing wrote: > Hi Kamal > I removed the cookies too. > > BTW, I saw some example that set the timeout like the following: > > HttpSession session = getThreadLocalRequest().getSession(); > session.setMaxInactiveInterval(1000 * 60); > > > I tried the above code before adding session-timeout in web.xml. > That doesn't work in my case, do you have any idea when to > use HttpSession.setMaxInactiveInterval()? > > > On Thu, Jun 4, 2009 at 12:59 AM, Kamal Chandana Mettananda < > lka...@gmail.com> wrote: > >> Seems you have set the session time out in server side. So what is the use >> of Cookies here? >> >> --- >> Kamal Mettananda >> http://lkamal.blogspot.com >> >> >> On Wed, Jun 3, 2009 at 10:00 PM, hezjing wrote: >> >>> Hi >>> >>> Yes, it is working by setting the timeout in the server. >>> >>> To summarize, the following are what I did: >>> >>> 1) Configured the session timeout in web.xml (say for 1 minute): >>> >>> >>> 1 >>> >>> >>> >>> 2) Then create a session in the login RemoteServiceServlet: >>> >>> /* user is authenticated */ >>> HttpSession session = getThreadLocalRequest().getSession(); >>> >>> >>> 3) And check if a session has expired at the beginning of every RPC >>> method: >>> >>> HttpSession session = getThreadLocalRequest().getSession(false); >>> if (session == null) { >>> /* means the session has expired */ >>> } >>> >>> >>> >>> >>> On Wed, Jun 3, 2009 at 11:12 PM, Kamal Chandana Mettananda < >>> lka...@gmail.com> wrote: >>> Hi Hez, As Tony said, setting the session time out in the server would be the better way. I guess that you are trying to set this timeout in client side because you let individual users configure their session time out period. If that is the case, then you will have to follow the way that have mentioned. HTH, Kamal --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 1:32 AM, Tony Strauss < tony.stra...@designingpatterns.com> wrote: > > What about timing out the session on the server? > > Assuming that you're using a Java application container on the server, > you can add the following to web.xml: > > 5 > > > This will cause the server to time out connections after five minutes > of inactivity. With this technique, it's actually possible to > intercept requests made after a time out in the onFailure() handler > and to take some kind of action (i.e., redirect to a login screen). > > Tony > -- > Tony Strauss > Designing Patterns, LLC > http://www.designingpatterns.com > http://blogs.designingpatterns.com > > On Jun 2, 11:05 am, hezjing wrote: > > Hi > > > > I want the session to be expired if the it is idle for 5 minutes. > > > > I have the following client code after a successful login: > > > > String sessionID = /* (Get sessionID from server's response to login > > request.) */ ; > > long DURATION = 1000 * 60 * 5; > > Date expires = new Date(System.currentTimeMillis() + DURATION); > > // the sid cookie will be expired after 5 min > > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > > > The problem with the above code is that the session cookie will be > expired 5 > > minutes from the time the session is created and not from the time > the last > > request to the server. > > For example, if a session is created at 00:00, followed by a request > at > > 00:04, the cookie will still expire at 00:05 instead of 00:09. > > > > To do this, I have to reset the expiry time of the cookie in every > RPC call > > like the following: > > > > public void onFailure(Throwable caught) { > > ... > > // re-calculate the expiry time > > Date expires = new Date(System.currentTimeMillis() + DURATION) > > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > > > } > > > > public void onSuccess(...) { > > ... > > // re-calculate the expiry time > > Date expires = new Date(System.currentTimeMillis() + DURATION) > > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > > > } > > > > May I know if there a more elegant way of doing this? > > > > -- > > > > Hez > > >>> >>> >>> -- >>> >>> Hez >>> >>> >>> >> >> >> > > > -- > > Hez > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the
Re: Expire an idle session
Hi Kamal I removed the cookies too. BTW, I saw some example that set the timeout like the following: HttpSession session = getThreadLocalRequest().getSession(); session.setMaxInactiveInterval(1000 * 60); I tried the above code before adding session-timeout in web.xml. That doesn't work in my case, do you have any idea when to use HttpSession.setMaxInactiveInterval()? On Thu, Jun 4, 2009 at 12:59 AM, Kamal Chandana Mettananda wrote: > Seems you have set the session time out in server side. So what is the use > of Cookies here? > > --- > Kamal Mettananda > http://lkamal.blogspot.com > > > On Wed, Jun 3, 2009 at 10:00 PM, hezjing wrote: > >> Hi >> >> Yes, it is working by setting the timeout in the server. >> >> To summarize, the following are what I did: >> >> 1) Configured the session timeout in web.xml (say for 1 minute): >> >> >> 1 >> >> >> >> 2) Then create a session in the login RemoteServiceServlet: >> >> /* user is authenticated */ >> HttpSession session = getThreadLocalRequest().getSession(); >> >> >> 3) And check if a session has expired at the beginning of every RPC >> method: >> >> HttpSession session = getThreadLocalRequest().getSession(false); >> if (session == null) { >> /* means the session has expired */ >> } >> >> >> >> >> On Wed, Jun 3, 2009 at 11:12 PM, Kamal Chandana Mettananda < >> lka...@gmail.com> wrote: >> >>> Hi Hez, >>> >>> As Tony said, setting the session time out in the server would be the >>> better way. >>> >>> I guess that you are trying to set this timeout in client side because >>> you let individual users configure their session time out period. If that is >>> the case, then you will have to follow the way that have mentioned. >>> >>> HTH, >>> Kamal >>> --- >>> Kamal Mettananda >>> http://lkamal.blogspot.com >>> >>> >>> >>> >>> On Wed, Jun 3, 2009 at 1:32 AM, Tony Strauss < >>> tony.stra...@designingpatterns.com> wrote: >>> What about timing out the session on the server? Assuming that you're using a Java application container on the server, you can add the following to web.xml: 5 This will cause the server to time out connections after five minutes of inactivity. With this technique, it's actually possible to intercept requests made after a time out in the onFailure() handler and to take some kind of action (i.e., redirect to a login screen). Tony -- Tony Strauss Designing Patterns, LLC http://www.designingpatterns.com http://blogs.designingpatterns.com On Jun 2, 11:05 am, hezjing wrote: > Hi > > I want the session to be expired if the it is idle for 5 minutes. > > I have the following client code after a successful login: > > String sessionID = /* (Get sessionID from server's response to login > request.) */ ; > long DURATION = 1000 * 60 * 5; > Date expires = new Date(System.currentTimeMillis() + DURATION); > // the sid cookie will be expired after 5 min > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > The problem with the above code is that the session cookie will be expired 5 > minutes from the time the session is created and not from the time the last > request to the server. > For example, if a session is created at 00:00, followed by a request at > 00:04, the cookie will still expire at 00:05 instead of 00:09. > > To do this, I have to reset the expiry time of the cookie in every RPC call > like the following: > > public void onFailure(Throwable caught) { > ... > // re-calculate the expiry time > Date expires = new Date(System.currentTimeMillis() + DURATION) > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > } > > public void onSuccess(...) { > ... > // re-calculate the expiry time > Date expires = new Date(System.currentTimeMillis() + DURATION) > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > } > > May I know if there a more elegant way of doing this? > > -- > > Hez >>> >>> >>> >> >> >> -- >> >> Hez >> >> >> > > > > -- Hez --~--~-~--~~~---~--~~ 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 and ExtGWT Licensing
On 06/02/2009 03:46 PM, Kango_V wrote: > I just wanted to ask you guys about this topic as our IP lawyers have > found a potential problem. > > * ExtGWT extends classes in GWT therefore creating a derivative > work. > * ExtGWT is licensed under the GPLv3 and GWT under ASFv2. > > Now, we know that these are compatible. But, only ONE WAY! > > You can include GPLv3 code in your ASFv2 licensed project, but NOT the > other way around. > > So, if I wanted to distribute my ExtGWT app under the GPLv3 (open > sourcing all my code which does not require an Ext license) I cannot, > as I cannot relicense the ASF licensed code (GWT). > > As far as we can see there is NO way of legally distributing an ExtGWT > applicattion under the GPLv3. > > IANAL, so I can only go on what our lawyers tell me. > > This is indeed a blow to us, as I cannot see a way round this. If any > of you have distributed an ExtGWT app under the GPLv3, then you have > broken the terms of the ASFv2 and therefore have no rights to > distribute GWT! > > I'm off to bed now :( > Well, at the risk of completely misunderstanding the issue: you're not contributing code to the ASF; you're creating a derivative work based on code that's licensed under GPL3 and ASF2. Here is what Sam Ruby has to say on that subject: http://intertwingly.net/blog/2007/06/29/GPL-Compatible Pay particular attention to the paragraph that begins "I’ll attempt to do that and more:" --~--~-~--~~~---~--~~ 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: Expire an idle session
Seems you have set the session time out in server side. So what is the use of Cookies here? --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 10:00 PM, hezjing wrote: > Hi > > Yes, it is working by setting the timeout in the server. > > To summarize, the following are what I did: > > 1) Configured the session timeout in web.xml (say for 1 minute): > > > 1 > > > > 2) Then create a session in the login RemoteServiceServlet: > > /* user is authenticated */ > HttpSession session = getThreadLocalRequest().getSession(); > > > 3) And check if a session has expired at the beginning of every RPC method: > > HttpSession session = getThreadLocalRequest().getSession(false); > if (session == null) { > /* means the session has expired */ > } > > > > > On Wed, Jun 3, 2009 at 11:12 PM, Kamal Chandana Mettananda < > lka...@gmail.com> wrote: > >> Hi Hez, >> >> As Tony said, setting the session time out in the server would be the >> better way. >> >> I guess that you are trying to set this timeout in client side because you >> let individual users configure their session time out period. If that is the >> case, then you will have to follow the way that have mentioned. >> >> HTH, >> Kamal >> --- >> Kamal Mettananda >> http://lkamal.blogspot.com >> >> >> >> >> On Wed, Jun 3, 2009 at 1:32 AM, Tony Strauss < >> tony.stra...@designingpatterns.com> wrote: >> >>> >>> What about timing out the session on the server? >>> >>> Assuming that you're using a Java application container on the server, >>> you can add the following to web.xml: >>> >>> 5 >>> >>> >>> This will cause the server to time out connections after five minutes >>> of inactivity. With this technique, it's actually possible to >>> intercept requests made after a time out in the onFailure() handler >>> and to take some kind of action (i.e., redirect to a login screen). >>> >>> Tony >>> -- >>> Tony Strauss >>> Designing Patterns, LLC >>> http://www.designingpatterns.com >>> http://blogs.designingpatterns.com >>> >>> On Jun 2, 11:05 am, hezjing wrote: >>> > Hi >>> > >>> > I want the session to be expired if the it is idle for 5 minutes. >>> > >>> > I have the following client code after a successful login: >>> > >>> > String sessionID = /* (Get sessionID from server's response to login >>> > request.) */ ; >>> > long DURATION = 1000 * 60 * 5; >>> > Date expires = new Date(System.currentTimeMillis() + DURATION); >>> > // the sid cookie will be expired after 5 min >>> > Cookies.setCookie("sid", sessionID, expires, null, "/", false); >>> > >>> > The problem with the above code is that the session cookie will be >>> expired 5 >>> > minutes from the time the session is created and not from the time the >>> last >>> > request to the server. >>> > For example, if a session is created at 00:00, followed by a request at >>> > 00:04, the cookie will still expire at 00:05 instead of 00:09. >>> > >>> > To do this, I have to reset the expiry time of the cookie in every RPC >>> call >>> > like the following: >>> > >>> > public void onFailure(Throwable caught) { >>> > ... >>> > // re-calculate the expiry time >>> > Date expires = new Date(System.currentTimeMillis() + DURATION) >>> > Cookies.setCookie("sid", sessionID, expires, null, "/", false); >>> > >>> > } >>> > >>> > public void onSuccess(...) { >>> > ... >>> > // re-calculate the expiry time >>> > Date expires = new Date(System.currentTimeMillis() + DURATION) >>> > Cookies.setCookie("sid", sessionID, expires, null, "/", false); >>> > >>> > } >>> > >>> > May I know if there a more elegant way of doing this? >>> > >>> > -- >>> > >>> > Hez >>> >>> >> >> >> > > > -- > > Hez > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Don't obfuscate Java methods when passing instance to JavaScript
Of course this also means that an instance created in JavaScript and passed into Java is not an instance of com.mypackage.Foo... it's a JavaScriptObject. Good points, though. On Jun 3, 10:24 am, "Dean S. Jones" wrote: > This is from memory, but in general, I thing it should work: > > package com.mypackage; > > public class Foo > { > private String message; > > public Foo(String message) > { > this.message = message; > } > > public void sayHello() > { > Window.alert("Hello " + message); > } > > public static native void export() /*-{ > > function Foo_Type(message) > { > this.instance = @com.mypackage.Foo::new(Ljava/lang/String;) > (message); > } > Foo_Type.prototype.sayHello = function > { this.instan...@com.mypackage.foo::sayHello()(); } > > $wnd.Foo = Foo_Type; > }-*/; > > } > > Call Foo.export() from your onModuleLoad() > > JavaScript should then be able to do: > > var f = new Foo("Dean"); > > f.sayHello(); > > On Jun 3, 9:35 am, jarrod wrote: > > > I did check it out, but unfortunately, there seems to be a bug in the > > framework preventing me from doing what I want. > > > I'm trying to follow up with that group on the issue, but the long and > > short is that (trust me on this) I couldn't get it working with my > > code. > > > However, after looking through the gwt-exporter source code a bit, I > > am encouraged that this sort of thing is possible - I just can't crack > > how to do it without the aid of a third-party library. > > > Thanks. Any other suggestions? > > > On Jun 2, 11:43 pm, "Dean S. Jones" wrote: > > > > Short answer, check out: > > > >http://code.google.com/p/gwt-exporter/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Don't obfuscate Java methods when passing instance to JavaScript
I think I can see what you're saying... But what about objects that are not created in JavaScript? Suppose the object/class in question is instantiated in the Java world and passed over to JSNI? On Jun 3, 10:24 am, "Dean S. Jones" wrote: > This is from memory, but in general, I thing it should work: > > package com.mypackage; > > public class Foo > { > private String message; > > public Foo(String message) > { > this.message = message; > } > > public void sayHello() > { > Window.alert("Hello " + message); > } > > public static native void export() /*-{ > > function Foo_Type(message) > { > this.instance = @com.mypackage.Foo::new(Ljava/lang/String;) > (message); > } > Foo_Type.prototype.sayHello = function > { this.instan...@com.mypackage.foo::sayHello()(); } > > $wnd.Foo = Foo_Type; > }-*/; > > } > > Call Foo.export() from your onModuleLoad() > > JavaScript should then be able to do: > > var f = new Foo("Dean"); > > f.sayHello(); > > On Jun 3, 9:35 am, jarrod wrote: > > > I did check it out, but unfortunately, there seems to be a bug in the > > framework preventing me from doing what I want. > > > I'm trying to follow up with that group on the issue, but the long and > > short is that (trust me on this) I couldn't get it working with my > > code. > > > However, after looking through the gwt-exporter source code a bit, I > > am encouraged that this sort of thing is possible - I just can't crack > > how to do it without the aid of a third-party library. > > > Thanks. Any other suggestions? > > > On Jun 2, 11:43 pm, "Dean S. Jones" wrote: > > > > Short answer, check out: > > > >http://code.google.com/p/gwt-exporter/ --~--~-~--~~~---~--~~ 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: Work around for Element.setAttribute("style", "value") in IE ?
Thanks for the answers ! Actually I tried: Element.getStyle().setProperty("blablabla") and it works fine ! On Wed, Jun 3, 2009 at 6:37 PM, Adam T wrote: > > Try > > DOM.setStyleAttribute(Element, "backgroundColor", "#ff") > > (you also need to use camelCase for the style you are changing). > > //Adam > > On 3 Juni, 18:15, Ganaga wrote: > > Hi, > > > > Doing a Element.setAttribute("style", "background-color: #ff") > > works fine in Firefox but has no effect in IE. > > > > Is there any work around for changing dynamically a style in IE ? > > > > The post: > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > provides a way to load a css file dynamically for IE, but how to > > change just an attribute ? > > > > 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: Work around for Element.setAttribute("style", "value") in IE ?
I was under the assumption that any of the static DOM methods should be eschewed in favor of the methods in the Element overlay types (where they exist). so Element.getStyle().setProperty() vs. DOM.setStyleAttribute() Though both should currently work -jason On Jun 3, 2009, at 10:37 AM, Adam T wrote: > > Try > > DOM.setStyleAttribute(Element, "backgroundColor", "#ff") > > (you also need to use camelCase for the style you are changing). > > //Adam > > On 3 Juni, 18:15, Ganaga wrote: >> Hi, >> >> Doing a Element.setAttribute("style", "background-color: #ff") >> works fine in Firefox but has no effect in IE. >> >> Is there any work around for changing dynamically a style in IE ? >> >> The >> post:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa >> ... >> provides a way to load a css file dynamically for IE, but how to >> change just an attribute ? >> >> 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: Work around for Element.setAttribute("style", "value") in IE ?
Try DOM.setStyleAttribute(Element, "backgroundColor", "#ff") (you also need to use camelCase for the style you are changing). //Adam On 3 Juni, 18:15, Ganaga wrote: > Hi, > > Doing a Element.setAttribute("style", "background-color: #ff") > works fine in Firefox but has no effect in IE. > > Is there any work around for changing dynamically a style in IE ? > > The > post:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > provides a way to load a css file dynamically for IE, but how to > change just an attribute ? > > 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: Work around for Element.setAttribute("style", "value") in IE ?
you mean like element.getStyle().setProperty("backgroundColor", "#FF"); -jason On Jun 3, 2009, at 10:15 AM, Ganaga wrote: > > Hi, > > Doing a Element.setAttribute("style", "background-color: #ff") > works fine in Firefox but has no effect in IE. > > Is there any work around for changing dynamically a style in IE ? > > The post: > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/4f99ff04a1bffe46/46f574d1e73dce9d?lnk=gst&q=setAttribute+style+ie#46f574d1e73dce9d > provides a way to load a css file dynamically for IE, but how to > change just an attribute ? > > 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: Expire an idle session
Hi Yes, it is working by setting the timeout in the server. To summarize, the following are what I did: 1) Configured the session timeout in web.xml (say for 1 minute): 1 2) Then create a session in the login RemoteServiceServlet: /* user is authenticated */ HttpSession session = getThreadLocalRequest().getSession(); 3) And check if a session has expired at the beginning of every RPC method: HttpSession session = getThreadLocalRequest().getSession(false); if (session == null) { /* means the session has expired */ } On Wed, Jun 3, 2009 at 11:12 PM, Kamal Chandana Mettananda wrote: > Hi Hez, > > As Tony said, setting the session time out in the server would be the > better way. > > I guess that you are trying to set this timeout in client side because you > let individual users configure their session time out period. If that is the > case, then you will have to follow the way that have mentioned. > > HTH, > Kamal > --- > Kamal Mettananda > http://lkamal.blogspot.com > > > > > On Wed, Jun 3, 2009 at 1:32 AM, Tony Strauss < > tony.stra...@designingpatterns.com> wrote: > >> >> What about timing out the session on the server? >> >> Assuming that you're using a Java application container on the server, >> you can add the following to web.xml: >> >> 5 >> >> >> This will cause the server to time out connections after five minutes >> of inactivity. With this technique, it's actually possible to >> intercept requests made after a time out in the onFailure() handler >> and to take some kind of action (i.e., redirect to a login screen). >> >> Tony >> -- >> Tony Strauss >> Designing Patterns, LLC >> http://www.designingpatterns.com >> http://blogs.designingpatterns.com >> >> On Jun 2, 11:05 am, hezjing wrote: >> > Hi >> > >> > I want the session to be expired if the it is idle for 5 minutes. >> > >> > I have the following client code after a successful login: >> > >> > String sessionID = /* (Get sessionID from server's response to login >> > request.) */ ; >> > long DURATION = 1000 * 60 * 5; >> > Date expires = new Date(System.currentTimeMillis() + DURATION); >> > // the sid cookie will be expired after 5 min >> > Cookies.setCookie("sid", sessionID, expires, null, "/", false); >> > >> > The problem with the above code is that the session cookie will be >> expired 5 >> > minutes from the time the session is created and not from the time the >> last >> > request to the server. >> > For example, if a session is created at 00:00, followed by a request at >> > 00:04, the cookie will still expire at 00:05 instead of 00:09. >> > >> > To do this, I have to reset the expiry time of the cookie in every RPC >> call >> > like the following: >> > >> > public void onFailure(Throwable caught) { >> > ... >> > // re-calculate the expiry time >> > Date expires = new Date(System.currentTimeMillis() + DURATION) >> > Cookies.setCookie("sid", sessionID, expires, null, "/", false); >> > >> > } >> > >> > public void onSuccess(...) { >> > ... >> > // re-calculate the expiry time >> > Date expires = new Date(System.currentTimeMillis() + DURATION) >> > Cookies.setCookie("sid", sessionID, expires, null, "/", false); >> > >> > } >> > >> > May I know if there a more elegant way of doing this? >> > >> > -- >> > >> > Hez >> >> > > > > -- Hez --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Work around for Element.setAttribute("style", "value") in IE ?
Hi, Doing a Element.setAttribute("style", "background-color: #ff") works fine in Firefox but has no effect in IE. Is there any work around for changing dynamically a style in IE ? The post: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/4f99ff04a1bffe46/46f574d1e73dce9d?lnk=gst&q=setAttribute+style+ie#46f574d1e73dce9d provides a way to load a css file dynamically for IE, but how to change just an attribute ? 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: Add javascript to html
You can use eval() from JSNI to execute javascript strings rather than trying to inject them into the HTML. -jason On Jun 3, 2009, at 9:13 AM, JF wrote: > > Let's say i have a String js = "
Re: Navigate to new page
Hi, You just need to show your other panels after hiding this login panel. Cheers, Kamal --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 2:50 PM, ashik wrote: > > Hi I am using GWT in my application. I want to navigate to next page. > I have login page where user name and password are entered. After > successfully entering user and password a button is pressed. After > that it should move to a new page where i can have more option. > > Please help me how to do this using GWT > > Thanks & Regards > > Ashik > > > > --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
It's really a nice application. --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 5:45 PM, bosangjay wrote: > > Is fixed :) > > On 3 juin, 11:22, Janusz Prokulewicz wrote: > > Oh it's my fault. Ten minutes and I'll fix it. > > > > --~--~-~--~~~---~--~~ 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: PagingScrollTable not removing row
Hi as far as I can see the error is here: for(int i = 0; i < leftRowIds.length; i++) { leftDataTable.removeRow(leftRowIds[i]); } turn it around: for(int i = leftRowIds.length; i >= 0; i--) { leftDataTable.removeRow(leftRowIds[i]); } otherwise while deleting the rows you change there index and get unpredictable results! On 3 Jun., 04:04, Gary S wrote: > I have a picklist using the PagingScrollTable (Feb 27 build and only > have 1 page). I select rows, then copy them to another > PagingScrollTable and remove the selected rows from the first table. > This works, except not all selected rows disappear from the first > table. When I select rows 0,1,2, they all are copied to the other > table but the first table always shows row 1. > > private final Button add = new Button(">", new ClickHandler() { > @Override > public void onClick(ClickEvent event) { > FixedWidthGrid leftDataTable = > pagingScrollTable.getDataTable(); > Integer[] leftRowIds = new Integer[0];// > ConcurrentModificationException using Set > leftRowIds = leftDataTable.getSelectedRows().toArray > (leftRowIds); > FixedWidthGrid rightDataTable = > pagingScrollTablePicked.getDataTable(); > int rightRowCount = rightDataTable.getRowCount(); > > rightDataTable.resizeRows(rightRowCount + > leftRowIds.length); > for(int i = 0; i < leftRowIds.length; i++) { > T value = pagingScrollTable.getRowValue(leftRowIds > [i]); > pagingScrollTablePicked.setRowValue(rightRowCount + > i, value); > } > for(int i = 0; i < leftRowIds.length; i++) { > leftDataTable.removeRow(leftRowIds[i]); > } > pagingScrollTable.redraw(); > pagingScrollTablePicked.redraw(); > } > }); --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Navigate to new page
Hi I am using GWT in my application. I want to navigate to next page. I have login page where user name and password are entered. After successfully entering user and password a button is pressed. After that it should move to a new page where i can have more option. Please help me how to do this using GWT Thanks & Regards Ashik --~--~-~--~~~---~--~~ 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 application switching between http and https
I am very new to using GWT and following tutorials and seeing what I can do with the toolkit. I was wondering if GWT can being used in the following situation? An example application could have an open area that allows users to browse and select data/products they want within an unsecured area of the web application. Part way through the user needs to login or provide data that needs to be communicated back to the host in a secured fashion. After this the application might then allow the user to work again with unsecured data. This is quiet general but what I am interested in is the movement of unsecured GWT pages to secured GWT pages. The user could work through the following flow. browse products, (unsecured) --> review basket of selected products, (unsecured) --> login to account, (secured) --> provide payment details, (secured) --> review confirmation screen, (unsecured) So when I am looking though the GWT widgets I am not sure how I make my application jump between secured and unsecured pages. Can I instruct hyperlink widgets to communicate back to the same server but over https? The example above is for a simple shop and I can understand how to do this in other frameworks so thought it best to be used in an example. How does the community get round this problem and are there any examples I can read to get a better idea? Any thoughts on where to look would be a great help. Many thanks Trent --~--~-~--~~~---~--~~ 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: SliderBar (GWT incubator)
Hi, you need to implement SliderBar.LabelFormatter to configure how the labels are displayed. It has one method to do that: public String formatLabel(SliderBar slider, double value) To make the slider-bar itself visible use the CSS rules defined in the docs: * .gwt-SliderBar-shell { primary style } * .gwt-SliderBar-shell-focused { primary style when focused } * .gwt-SliderBar-shell gwt-SliderBar-line { the line that the knob moves along } * .gwt-SliderBar-shell gwt-SliderBar-line-sliding { the line that the knob moves along when sliding } * .gwt-SliderBar-shell .gwt-SliderBar-knob { the sliding knob } * .gwt-SliderBar-shell .gwt-SliderBar-knob-sliding { the sliding knob when sliding } * .gwt-SliderBar-shell .gwt-SliderBar-tick { the ticks along the line } * .gwt-SliderBar-shell .gwt-SliderBar-label { the text labels along the line } Hope that helps! Liv On 3 Jun., 06:47, sushma wrote: > Hi, > > I'm trying to use the SliderBar from GWT incubator. I'm able to just > see the knob, but not the slider. > This is what I have in my onModuleLoad() > > HorizontalPanel panel = new HorizontalPanel(); > SliderBar slider = new SliderBar(0.0, 100.0); > slider.setStepSize(5.0); > slider.setCurrentValue(50.0); > slider.setNumTicks(10); > slider.setNumLabels(5); > panel.add(slider); > RootPanel.get().add(panel); > > Can anyone please help me in rendering this correctly? > > Thanks, > Sushma. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
IFrame using Frame and OpenXava
When I bring up the URL in the Frame the page just refreshes over and over again, has anyone seen this before? OpenXava uses AJAX, I'm not sure if that is the issue, is there a way to get around the continuous refreshing? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Is it possible to develop web application in PHP with the help of GWT
Actually we have got some requirement to develop a web application in PHP there will be number of forms to be submitted. We are very much excited to use GWT for this application which gives rapid execution of the application. We would like to know whether we can use GWT in PHP environemnt too as in Java. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
UnsatisfiedLinkError when trying to use JSNI
Hi all, I'm using GWT 1.6.4 on Windows through Eclipse plugin. The JRE I'm using is the 1.6.0_13. I'm trying to use JSNI in my GWT app but I have troubles. As far as I've understood, to use JSNI I have to "simply" create a native method in my class and call it from a regular Java method. But during the execution (in hosted mode), I've an UnsatisfiedLinkError when trying to call my method. Actually, I've the same error when I first tried to use the URL.encode () method (the module does inherits com.google.gwt.http.HTTP). I guess I've missed something because I'm new to GWT. Any ideas? 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 -~--~~~~--~~--~--~---
How does a user change the default css theme?
GWT 1.6 has three css themes, standard, chrome, and dark. As time passes I expect there will be more. With that in mind I want to use those themes, and let each user choose his/her own theme for the application. My intention is to have a listbox with the available themes, thus allowing the user to choose a theme and have that theme saved from session to session, probably with a cookie. I am having a couple of problems. 1) I have no idea how to fill the listbox, other than by hardcoding the theme names. 2) I have no idea how to tell the xml that we are changing themes. (I am not even sure that the xml is where the change needs to happen.) I have looked and so far haven't found a tutorial or example that deals with this issue. Any help would be appreciated. --~--~-~--~~~---~--~~ 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: JSF with GWT
Hi Subash, I have used GWT and Servlets inside one project. Just a thought; I guess integrating JSF with GWT will also be feasible. I wrote a simple tutorial on this as well. Cheers, Kamal --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 10:04 AM, subbu wrote: > > I want to migrate my enitre project from jSF to GWT.So som times i > need to integrate this two technology. > > On May 29, 5:07 pm, mikedshaffer wrote: > > Yes it is. GWT is simply a different way to do AJAX, and my > > understanding of JSF is that they are extremely compatible. > > > > That being said, whenever I'm asked "Can GWT work with $PRODUCT" where > > $PRODUCT is Struts, PHP, JSF, ASPX, whatever, I ask "what are you > > trying to accomplish?". Are you doing a little GWT and a lot of > > $PRODUCT? Or is it vice versa? Basically, what are you wanting GWT > > to do, and what do you want $PRODUCT to do? What is you skill set > > with $PRODUCT? How familiar are you with GWT? How familiar are you > > with AJAX in general? Answering these questions can go a long ways to > > really addressing this query. > > > > I simply Googled "JSF" and "GWT" and found a number of interesting > > links. Give G4jsf a look. > > > > Later, > > > > Shaffer > > > > On May 28, 7:44 am, subbu wrote: > > > > > Is it possible to integrate jsf with GWT.If so please provide some > > > useful links. > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Issue with compiling GWT with many libaries
Hello all, I am trying to run an ant build script that compiles GWT. This script includes a large number of libraries, each with a relatively long path. My GWT code only touches some of these libraries; however, it is convenient to include all of the libaries from the directory containing all libraries that I use for this and all of the other applications I am developing. Here is the relevant portion of my build script: When I try to run this, I get the following error: java.io.IOException: CreateProcess: "C:\Program Files\Java \jdk1.5.0_11\jre\bin\java.exe" -Xmx256M -classpath "C:\Program Files \Common Files\eclipse\workspace\development\src;C:\Program Files \Common Files\eclipse\workspace\development\lib\build \hbBuildSupport.jar;C:\Program Files\Common Files\eclipse\workspace \development\lib\db\hibernate\ehcache.jar;C:\Program Files\Common Files \eclipse\workspace\development\lib\db\hibernate\hibernate- annotations.jar;C:\Program Files\Common Files\eclipse\workspace \development\lib\db\hibernate\hibernate-commons-annotations.jar;C: \Program Files\Common Files\eclipse\workspace\development\lib\db \hibernate\hibernate-entitymanager.jar;C:\Program Files\Common Files \eclipse\workspace\development\lib\db\hibernate\hibernate-tools.jar;C: \Program Files\Common Files\eclipse\workspace\development\lib\db \hibernate\hibernate-validator.jar;C:\Program Files\Common Files \eclipse\workspace\development\lib\db\hibernate\hibernate3.jar;C: \Program Files\Common Files\eclipse\workspace\development\lib\db \hibernate\javassi� It seems that something at somepoint of the compilation, the library paths are getting truncated. Could this be due to some character limit on CreateProcess? This CreateProcess command string gets to be only about 1024 , which seems like a small limit. Is there anyway to increase this limit? Any thoughts/solutions/workarounds appreciated. Thanks, Mayur --~--~-~--~~~---~--~~ 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: Add javascript to html
Let's say i have a String js = "function x() {} x();"; i want to be able to inject that string. I can do it with setHTML(js), but x(); is not called. On Jun 3, 10:27 am, Jamie wrote: > I think you are talking about > this:http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects > > Or are you talking about adding some javascript to a GWT HTML( ) > object? > > Jamie > --- > Search for analog and digital television broadcast antennas in your > area:http://www.antennamap.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: Expire an idle session
Hi Hez, As Tony said, setting the session time out in the server would be the better way. I guess that you are trying to set this timeout in client side because you let individual users configure their session time out period. If that is the case, then you will have to follow the way that have mentioned. HTH, Kamal --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 1:32 AM, Tony Strauss < tony.stra...@designingpatterns.com> wrote: > > What about timing out the session on the server? > > Assuming that you're using a Java application container on the server, > you can add the following to web.xml: > > 5 > > > This will cause the server to time out connections after five minutes > of inactivity. With this technique, it's actually possible to > intercept requests made after a time out in the onFailure() handler > and to take some kind of action (i.e., redirect to a login screen). > > Tony > -- > Tony Strauss > Designing Patterns, LLC > http://www.designingpatterns.com > http://blogs.designingpatterns.com > > On Jun 2, 11:05 am, hezjing wrote: > > Hi > > > > I want the session to be expired if the it is idle for 5 minutes. > > > > I have the following client code after a successful login: > > > > String sessionID = /* (Get sessionID from server's response to login > > request.) */ ; > > long DURATION = 1000 * 60 * 5; > > Date expires = new Date(System.currentTimeMillis() + DURATION); > > // the sid cookie will be expired after 5 min > > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > > > The problem with the above code is that the session cookie will be > expired 5 > > minutes from the time the session is created and not from the time the > last > > request to the server. > > For example, if a session is created at 00:00, followed by a request at > > 00:04, the cookie will still expire at 00:05 instead of 00:09. > > > > To do this, I have to reset the expiry time of the cookie in every RPC > call > > like the following: > > > > public void onFailure(Throwable caught) { > > ... > > // re-calculate the expiry time > > Date expires = new Date(System.currentTimeMillis() + DURATION) > > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > > > } > > > > public void onSuccess(...) { > > ... > > // re-calculate the expiry time > > Date expires = new Date(System.currentTimeMillis() + DURATION) > > Cookies.setCookie("sid", sessionID, expires, null, "/", false); > > > > } > > > > May I know if there a more elegant way of doing this? > > > > -- > > > > Hez > > > --~--~-~--~~~---~--~~ 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: Add javascript to html
I think you are talking about this: http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideAutomaticResourceInclusion Or are you talking about adding some javascript to a GWT HTML( ) object? Jamie --- Search for analog and digital television broadcast antennas in your area: http://www.antennamap.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: Don't obfuscate Java methods when passing instance to JavaScript
This is from memory, but in general, I thing it should work: package com.mypackage; public class Foo { private String message; public Foo(String message) { this.message = message; } public void sayHello() { Window.alert("Hello " + message); } public static native void export() /*-{ function Foo_Type(message) { this.instance = @com.mypackage.Foo::new(Ljava/lang/String;) (message); } Foo_Type.prototype.sayHello = function { this.instan...@com.mypackage.foo::sayHello()(); } $wnd.Foo = Foo_Type; }-*/; } Call Foo.export() from your onModuleLoad() JavaScript should then be able to do: var f = new Foo("Dean"); f.sayHello(); On Jun 3, 9:35 am, jarrod wrote: > I did check it out, but unfortunately, there seems to be a bug in the > framework preventing me from doing what I want. > > I'm trying to follow up with that group on the issue, but the long and > short is that (trust me on this) I couldn't get it working with my > code. > > However, after looking through the gwt-exporter source code a bit, I > am encouraged that this sort of thing is possible - I just can't crack > how to do it without the aid of a third-party library. > > Thanks. Any other suggestions? > > On Jun 2, 11:43 pm, "Dean S. Jones" wrote: > > > Short answer, check out: > > >http://code.google.com/p/gwt-exporter/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Add javascript to html
Hi, Is there a way to add function to the html block and execute the function ? 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: Don't obfuscate Java methods when passing instance to JavaScript
I did check it out, but unfortunately, there seems to be a bug in the framework preventing me from doing what I want. I'm trying to follow up with that group on the issue, but the long and short is that (trust me on this) I couldn't get it working with my code. However, after looking through the gwt-exporter source code a bit, I am encouraged that this sort of thing is possible - I just can't crack how to do it without the aid of a third-party library. Thanks. Any other suggestions? On Jun 2, 11:43 pm, "Dean S. Jones" wrote: > Short answer, check out: > > http://code.google.com/p/gwt-exporter/ --~--~-~--~~~---~--~~ 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: jsni getting rewritten
On 2 juin, 20:50, "Robert J. Carr" wrote: > Hi Sumit- > > Thanks for the response. I'm looking forward to hearing from Scott if > he has anything to say. > > My example of doing simple arithmetic was only to explain the problem. > However, if I think about it more, maybe it is still applicable. > > Say I have an application that allows users to input arbitrary > (javascript) equations, e.g.: > > Math.round(Math.pow(2,z)/2.0))-y-1 > > (Where x, y, and z are invariable) > > Without writing my own lexer, how would I go about trying to find a > result to that? That's why I figured using eval(), which is a lexer, > is the perfect solution. > > Thanks again for the response. public native int evalEquation(String userInput, int x, int y, int z) / *-{ var f = eval("(function(x, y, z) { return " + userInput + "})"); return f(x, y, z); }-*/; --~--~-~--~~~---~--~~ 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: IE: history token lost on http --> https redirect
On 3 juin, 14:06, Martin Trummer wrote: > we have some public (plain HTML) pages, that are not ssl encrypted > these pages have (relative) links to a GWT application > some of those links in the public area use history tokens, to open > certain views of the GWT application: so you click the link, > thenhttp:///secure/GWTApp.html#sometokenis called > the webserver notices that this resource is secured an sends a > redirect to https > then the browser requestshttps:///secure/GWTApp.html#sometoken > > that works fine in all browsers, except... > you'll never guess it > ...here it comes: > Internet Explorer (tested in IE6 and IE7) Well, I don't find it that weird that it doesn't work (actually, I find it a bit weird that it *does* work in the other browsers you tested): the browser doesn't send the hash (history token) to the server, so the server cannot redirect to the https URL *with the hash*; and IE just follows what the server says. It seems other browsers keep track of the hash and use it on the final (i.e. after all redirections at the lower, HTTP, level have taken place) resource (in case it's the very same resource that were at the original URL and was jut moved around), while IE considers the hash part of the URL. It'd be interesting to see how each browser react to a redirect whose URL contains a hash, particularly when the originally asked URL had a hash too: do they use the original hash or the new one provided by the server? > the only workarounds I can think of: > * use absolute URLs in the public pages: > https://my.domain.com/.../secure/GWTApp.html#sometoken> > I don't like that, because the domain is different for the > development/test/productiontest servers Theory says you could use https:/.../secure/GWTApp.html#sometoken (i.e. use protocol: and the absolute path and just throw the // servername off); I don't know how it works in practice though. > * I could use a special URL parameters to wrap the historytoken > http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Need fix for GWT 1.6 Jars in Maven Repo
Hi Salvador, Sorry for answering so late, I didn't check this thread in a while. The code you posted in the pastebin is expired, but here is how we declared our GWT dependencies: com.google.gwt gwt-servlet ${gwtVersion} compile com.google.gwt gwt-user ${gwtVersion} provided I was using the googlecode GWT-Maven plug-in (not the codehaus one), and the issue I had was that Maven saw the javax.servlet.*.java had a more recent timestamp than the javax.servlet.*.class, and thus thought it was a good idea to re-compile them and add them to our war (in /WEB- INF/classes/). Our war's lib folder did not contain gwt-user.jar, only gwt- server.jar, since gwt-user's dependency was provided. The conflict was thus caused by these additional classes in WEB-INF/classes/. The GWT team fixed my issue by having the same timestamp for the .java and .class files in javax/servlet. It seems that the fix didn't work for Cyril and maybe some other people (where Maven re-compiles the source files even though their timestamp is correct), but I don't know if it is due to differences between the googlecode and codehaus gwt maven plugins, or if it is due to some specific maven configuration. Hope this helps! Have a nice day, -eneveu On 24 avr, 11:32, Salvador Diaz wrote: > I don't really think this is a bug, as you shouldn't have to include > gwt-user in your war anyway. That's what the gwt-servlet is for. Does > including the gwt dependencies in your pom in the following way solves > the problem ? > > See here for the snippet:http://pastebin.com/m5960979b > > I'm curious about this so let me know. Thanks > > Salvador > > On Apr 23, 11:15 pm, "cyril.lakech" wrote: > > > still the same bug in the 1.6.4 release ! > > > On 4 mar, 14:47, eneveu wrote: > > > > I had the same problem yesterday, and I stumbled on this post. Thanks > > > a lot for the explanation. > > > > I opened an issue > > > here:http://code.google.com/p/google-web-toolkit/issues/detail?id=3439 > > > > (Will, since your post explained the problem clearly, I took it as a > > > basis in the issue's description (changing/adding some details), I > > > hope you won't mind) > > > > I wonder if this problem only appears when using maven, or if ant- > > > based builds also suffer from it. > > > > -en > > > > On Mar 3, 3:34 pm, Garey wrote: > > > > > I am also having this issue. The workaround isn't hard, but it's > > > > annoying and I would rather not do it for every release. > > > > > Thanks, > > > > > g > > > > > On Feb 26, 10:49 am, Will wrote: > > > > > > Not sure who is reposponsible for the jars deployed to maven, but I am > > > > > having issues with the versions deployed there. > > > > > > The1.6.0 and1.6.1 versions of gwt-dev and gwt-user jars contain the > > > > > source code for thejavax.servletpackage. The problem is the source > > > > > code has a newer timestamp than the class files. This causes the > > > > >javax.servletclasses to be recompiled and placed in our target. > > > > > > Can someone fix the deployed jars to either 1) include class files > > > > > having a later timestamp or 2) contain nojavaxsource code. > > > > > > Not sure of the source code is required, the jars for version 1.5.3 > > > > > didn't include anyjavax.servletsources. I'm leaning toward option 2 > > > > > since the classpath could contain externaljavax.servletclasses with > > > > > older timestamp than sources bundled in gwt jars. > > --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
Is fixed :) On 3 juin, 11:22, Janusz Prokulewicz wrote: > Oh it's my fault. Ten minutes and I'll fix it. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
IE: history token lost on http --> https redirect
we have some public (plain HTML) pages, that are not ssl encrypted these pages have (relative) links to a GWT application some of those links in the public area use history tokens, to open certain views of the GWT application: so you click the link, then http:///secure/GWTApp.html#sometoken is called the webserver notices that this resource is secured an sends a redirect to https then the browser requests https:///secure/GWTApp.html#sometoken that works fine in all browsers, except... you'll never guess it ...here it comes: Internet Explorer (tested in IE6 and IE7) the only workarounds I can think of: * use absolute URLs in the public pages: https://my.domain.com/.../secure/GWTApp.html#sometoken> I don't like that, because the domain is different for the development/test/productiontest servers * I could use a special URL parameters to wrap the historytoken http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 1.6 Compilation
That's an insane stack size! Each thread has its own stack, so the JVM will allocate 64m per thread spawned under that config. If I remember correctly, the default stack size is 512k so try -Xss2m instead. Cheers, Chris On Jun 3, 2:45 am, Carl Pritchett wrote: > Have you tried compiling with -Xss64m as a VM arg? > > -Carl > > On Jun 2, 4:35 pm, SunilBansal wrote: > > > same code is working fine on GWT 1.5 and it's also showing the > > following message > > > Gwt module 'module name' needs to be (re)compiled,please run a compile > > or use the Compile/Browse button in hosted mode > > > On Jun 2, 11:18 am, Sanj wrote: > > > > HI All, > > > > I am trying to shift on GWT 1.6. But when i compiled my code on GWT > > > 1.6 then i face some compilation issue. The Exception stack trace is > > > showing as :- > > > > [ERROR] Unexpected internal compiler error > > > java.lang.StackOverflowError: null > > > at java.io.ObjectStreamClass$FieldReflector.getPrimFieldValues > > > (Unknown Source) > > > at java.io.ObjectStreamClass.getPrimFieldValues(Unknown Source) > > > at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) > > > at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source) > > > at java.util.ArrayList.writeObject(Unknown Source) > > > at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) > > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) > > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > > at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) > > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) > > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > > at java.io.ObjectOutputStream.writeObject(Unknown Source) > > > at java.util.ArrayList.writeObject(Unknown Source) > > > at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) > > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) > > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > > at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) > > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) > > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > > at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) > > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) > > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > > at java.io.ObjectOutputStream.writeObject(Unknown Source) > > > at java.util.ArrayList.writeObject(Unknown Source) > > > at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > I am using GWT 1.6, GWT-EXT 2.0.4 and Gilead. Is this problem coming > > > because of Old version of GWT-Ext old version. > > > > Thanks and regards, > > > > Sunil Bansal. --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
Oh it's my fault. Ten minutes and I'll fix it. On Jun 3, 11:16 am, Vitaly Parfonov wrote: > Nice application, i like this game :). But on my PC UP arrow doesn't > work only PAGE DOWN :(. > Ubuntu 8.10 Mozila 3.0.10 > > 2009/6/3 Janusz Prokulewicz : > > > > > Well, you can use UP arrow key also :) > > > On Jun 3, 10:22 am, bosangjay wrote: > >> Very nice application, I like it. But I think the use of page down key > >> to rotate the block is not suitable for laptop user. > > -- > Best regards, > Vitaly --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
Nice application, i like this game :). But on my PC UP arrow doesn't work only PAGE DOWN :(. Ubuntu 8.10 Mozila 3.0.10 2009/6/3 Janusz Prokulewicz : > > Well, you can use UP arrow key also :) > > On Jun 3, 10:22 am, bosangjay wrote: >> Very nice application, I like it. But I think the use of page down key >> to rotate the block is not suitable for laptop user. > > > -- Best regards, Vitaly --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
Oh, there are keys described in top right corner of the screen. To rotate bricks you can use both PAGE DOWN and UP arrow key. On Jun 3, 11:09 am, Srihari Ch wrote: > It's really nice.. > But, how can we change/rotate them. Pressing on Space-bar key, is for > directly dropping the item to downwards. > > It's a good one till now I see (which is developed in gwt). > > Srihari.Ch --~--~-~--~~~---~--~~ 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: Composite - can click on one widget inside look like click on the Composite itself?
Thanks Chad, that's probably a good solution. On 2 čvn, 16:42, Chad wrote: > I do something similar with other events, so I would imagine it should > work the same way. I have a class extending Composite that contains, > among other things, a button. When that button is clicked, a > CloseEvent is raised by the class. This is accomplished by having my > class (extending Composite) implement ClickHandler (to receive the > button clicks) and HasCloseHandlers (so other classes can > receive the CloseEvent being raised). In my onClick method, I issue a > statement like this (this statement exactly to be precise): > > CloseEvent.fire(this, true); > > I also do something similar with ValueChangeHandler and > HasValueChangeHandlers to allow this class to raise ValueChangeEvent > caused by internal controls. In your case, you will need to create a > ClickEvent with the class as the source and fire it. > > HTH, > Chad > > On Jun 2, 3:47 am, romant wrote: > > > Hi men, > > I am trying to implement my own Composite named MenuItem composing of > > a Grid with 3 cells next to each other and a Label placed in the > > middle cell. I call initWidget(the Grid). > > > The issue now is that I register a click handler for the Label which > > should determine if the MenuItem was clicked or not. The Grid should > > not react on clicks, thus I do not register click handler for it. > > > Now, naturally, the source of the click event will be always the > > Label. But in my application I need to get as the source of the event > > the MenuItem object, not the Label which composes just a part of the > > MenuItem Composite. > > > Is there any smooth way to do that? My only idea is not to extend > > Composite class, but the Label itself and add it in a Grid. Is this a > > correct solution? > > > 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: GWTetris - enjoy it :)
It's really nice.. But, how can we change/rotate them. Pressing on Space-bar key, is for directly dropping the item to downwards. It's a good one till now I see (which is developed in gwt). Srihari.Ch --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
Well, you can use UP arrow key also :) On Jun 3, 10:22 am, bosangjay wrote: > Very nice application, I like it. But I think the use of page down key > to rotate the block is not suitable for laptop user. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Does SuggestBox support Chinese?
If it does,how to configure it?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 -~--~~~~--~~--~--~---
Re: GWT Mind Mapping
Yes you are right, this is an alpha prototype :). Thank you for the suggestions, I'll think about it. --~--~-~--~~~---~--~~ 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: GWTetris - enjoy it :)
Very nice application, I like it. But I think the use of page down key to rotate the block is not suitable for laptop user. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---