How to load a website in a panel
Hi, How to load four different pages in single page. If i clicked a button , four different websites(e.g : google.com , yahoo.com , wikipedia.com, gmail.com) to be load in my page . Actually i want to know , what is the code to load the website in a panel . By using Java , GWT 1.5.3 . Regards Jagadesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
how to get scroll bar controll
sir , I am using Google search API , java , GWT 1.5.3 , JSON . I want to get the scroll bar position . Actually I am using HorizontalSplitPanel , because of these i am having three scroll bar in a page. In mean HorizontalSplitPanel's left Panel having one scroll bar , right panel having another one scroll bar and browser having its own scroll bar . * I want to listen each of the scroll bar control. Especially i want to call a function if scroll reaches reached the bottom of the page. * This is the coding i am using... import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.*; // some code here * HorizontalSplitPanel hSplitPanel = new HorizontalSplitPanel();* HorizontalPanel hPanel1 = new HorizontalPanel(); hSplitPanel.setSize("1200px","600px"); hSplitPanel.setSplitPosition("50%"); // some code here Label label1 =new Label(text); Label label2 =new Label(text); // some code here hSplitPanel.setLeftWidget(label1); hSplitPanel.setRightWidget(label2); // some code here RootPanel.get().add(hSplitPanel); } * Help me to find the scorll bar position for these three scroll bar. * Waiting for ur reply. Regards S.Damodaran. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to load a web page in tooltip
Hi, I am using Google search ApI . If i place a mouse over the search result , i want to load corresponding page in the tooltip . I dont know how to load a web page in tooltip. URL for the web page is available. Is it possible to load that webpage in a tooltip . Please help me to do this. Regards Jagadesh --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
stateful service
What I want to do is log in to an application. Once logged in, the user clicks a button to start a service. Then the user will remain logged in and monitor the service. The service is used for transferring files a different computer to the computer the web server is running on. The web page will update every minute with status of server and bandwidth used. User can log out and log in the next day to the same service and continue to monitor the service. Is this possible? I have been reading about setting a cookie with a session id but I don't know if this is going to work or not. Does anyone know if you can maintain session state with a service and that service continues to run in a daemon thread even if the user logs out? Thanks for any response. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Error compiling GWT application in Eclipse
Please help...i keep getting this error when trying to build a GWT project in eclipse. Apr 18, 2009 11:04:55 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage SEVERE: An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : org.objectweb.asm.ClassReader.accept(Lorg/ objectweb/asm/ClassVisitor;I)V java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/ objectweb/asm/ClassVisitor;I)V at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName (ASMClassEnhancer.java:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename (DataNucleusEnhancer.java:900) at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput (DataNucleusEnhancer.java:716) at org.datanucleus.enhancer.DataNucleusEnhancer.enhance (DataNucleusEnhancer.java:525) at org.datanucleus.enhancer.DataNucleusEnhancer.main (DataNucleusEnhancer.java:1235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java: 57) at com.google.appengine.tools.enhancer.Enhance.(Enhance.java: 60) at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41) . An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer" on class "getClassNameForFileName" : org.objectweb.asm.ClassReader.accept(Lorg/ objectweb/asm/ClassVisitor;I)V java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/ objectweb/asm/ClassVisitor;I)V at org.datanucleus.enhancer.asm.ASMClassEnhancer.getClassNameForFileName (ASMClassEnhancer.java:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.datanucleus.enhancer.DataNucleusEnhancer.getClassNameForFilename (DataNucleusEnhancer.java:900) at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput (DataNucleusEnhancer.java:716) at org.datanucleus.enhancer.DataNucleusEnhancer.enhance (DataNucleusEnhancer.java:525) at org.datanucleus.enhancer.DataNucleusEnhancer.main (DataNucleusEnhancer.java:1235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java: 57) at com.google.appengine.tools.enhancer.Enhance.(Enhance.java: 60) at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41) --~--~-~--~~~---~--~~ 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 much slower is PRETTY mode?
I don't know the exact numbers. But if I remember correctly, during Bruce's presentation, "Faster-than-Possible Code: Deferred Binding with GWT" (http://sites.google.com/site/io/faster-than-possible-code-deferred-binding-with-gwt) at Google I/O 2008, he mentioned something about smaller function and variable names executing faster then longer names. Also, as Vitali said, you're code is going to be rather bloated. We were accidentally running one of our apps in PRETTY and found the before compression size was 3 MB and after compression was 400kb. When we changed to OBF, the before compression size was 500kb and compressed was somewhere around 120kb. What's the reason that you want to run it as PRETTY? If you want to make the functions callable from regular JS, you should take a look at Ray Cromwell's excellent GWT Exporter project: http://code.google.com/p/gwt-exporter/ -- Arthur Kalmenson On Sat, Apr 18, 2009 at 1:46 AM, Vitali Lovich wrote: > > I believe that it should be the same performance in terms of > execution. You're download times will probably suffer - I wouldn't be > surprised if the code bloats by 2-3x if not more. > > On Fri, Apr 17, 2009 at 11:40 PM, Dobes wrote: >> >> I'm considering deploying a version in PRETTY mode since it may solve >> a Safari 4 issue I'm having and it would also allow me to interpret >> the stack traces produced by Firefox a lot better. >> >> However, I'm wondering what experiences people have had with the >> performance of PRETTY more - how is it? >> >> Thanks in advance, >> Dobes >> >> >> > >> > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Linked jar ok but then ClassNotFound at runtime for class from inside the jar?
I added guice.jar to my project which calls various classes in guice. Everything compiled fine. But then when I run it, I get a ClassNotFound for a class in the guice.jar. Any ideas why this would be? com.google.apphosting.utils.jetty.JettyLogger warn WARNING: failed gwtPostService java.lang.NoClassDefFoundError: com/google/inject/Module --~--~-~--~~~---~--~~ 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 with Maven and build system questions/survey...
> I can't tell how disappointed I am. Yep, me too. Yet more time spent futzing around trying to keep my src tree clean. --~--~-~--~~~---~--~~ 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 load images dynamically?
new Image("path to remote image file here"); On Sat, Apr 18, 2009 at 7:16 PM, POLS wrote: > > Hi, > > I am using ImageBundle feature. > I am using �...@resource annotation, specifying image file location and > image name. > Its kind of a static behavior. > > I have details of images name and locations in the database. > Can you please tell me, How to load the images? > > > Thanks, > POLS > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to load images dynamically?
Hi, I am using ImageBundle feature. I am using @Resource annotation, specifying image file location and image name. Its kind of a static behavior. I have details of images name and locations in the database. Can you please tell me, How to load the images? Thanks, POLS --~--~-~--~~~---~--~~ 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: SuggestBox based on the last token
Ahh, I'd like to apologize for not spotting this earlier but I had "" earlier and therefore it was wreaking all sorts of havoc when I went to debug the application. Commenting that out sorted everything out and I'm now happily trying to override the requestSuggestions method. Thanks for leading me to the solution. nevets1219 On Apr 18, 3:17 pm, nevets1219 wrote: > Perhaps I'm doing something wrong, can I just extend > MultiWordSuggestOracle to do what I want by overriding > requestSuggestions ? I tried doing so but I get the following error: > > Unable to load module entry point class xxx (see associated exception > for details) > com.google.gwt.core.client.JavaScriptException: (TypeError): Object > doesn't support this property or method > number: -2146827850 > description: Object doesn't support this property or method > at com.google.gwt.user.client.ui.impl.FocusImplOld.createFocusable > (Native Method) > at com.google.gwt.user.client.ui.MenuBar.init(MenuBar.java:861) > at com.google.gwt.user.client.ui.MenuBar.(MenuBar.java:181) > at com.google.gwt.user.client.ui.SuggestBox$SuggestionMenu. > (SuggestBox.java:163) > at com.google.gwt.user.client.ui.SuggestBox.(SuggestBox.java: > 318) > at com.google.gwt.user.client.ui.SuggestBox.(SuggestBox.java: > 301) > at xxx.onModuleLoad(xxx.java:148) > > Where xxx.java:148 is "_input = new SuggestBox(_tokenOracle);" and > _tokenOracle is the class which extends MultiWordSuggestOracle. I > haven't done anything fancy with TokenOracle yet either: > > public class TokenOracle extends MultiWordSuggestOracle { > public TokenOracle() { > super(); > } > public TokenOracle(String whitespaceChars) { > super(whitespaceChars); > } > > } > > On Apr 18, 1:19 pm, Vitali Lovich wrote: > > > No - you need to write your own oracle. The ones that are there are > > for simple examples to handle most cases. > > > On Sat, Apr 18, 2009 at 5:21 AM, nevets1219 wrote: > > > > I was wondering what steps I should go about showing suggestions based > > > on the last token. At first, I was thinking that I needed to specify > > > the white space but that doesn't seem to be the case (or maybe I have > > > used the incorrect white space). > > > > Example: > > > > I have the following words in the oracle: "cos, sin, tan" > > > > I type "co" and choose "cos" but I continue typing so that I have "cos > > > (10) + t", I would like to now have it show "tan" as the suggestions. > > > > I'm guessing I need to add .getTextBox().addChangeHandler(handler) and > > > extract the last token and then make a call .requestSuggestions > > > (request, callback). The change handler seems relatively > > > straightforward but I'm actually not too sure about > > > the .requestSuggestions(...) part since I'm still relatively new to > > > GWT. > > > > Also slightly related: Is it appropriate to think of > > > MultiWordSuggestOracle.add("word") as > > > MultiWordSuggestOracle.createSuggestion("word", "word") ? > > > > Thanks! > > > > nevets1219 --~--~-~--~~~---~--~~ 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: gears 1.2 and gwt 1.6
Can you give some details of the problems you are having? I use GWT trunk to develop the gwt-gears project and haven't noticed any problems. On Sat, Apr 18, 2009 at 10:56 AM, zoubir Nouas wrote: > hi there, > Can't use gears 1.2 with gwt 1.6 ! > Any help ? > > -- > zno...@gmail.com > > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~-~--~~~---~--~~ 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: SuggestBox based on the last token
Perhaps I'm doing something wrong, can I just extend MultiWordSuggestOracle to do what I want by overriding requestSuggestions ? I tried doing so but I get the following error: Unable to load module entry point class xxx (see associated exception for details) com.google.gwt.core.client.JavaScriptException: (TypeError): Object doesn't support this property or method number: -2146827850 description: Object doesn't support this property or method at com.google.gwt.user.client.ui.impl.FocusImplOld.createFocusable (Native Method) at com.google.gwt.user.client.ui.MenuBar.init(MenuBar.java:861) at com.google.gwt.user.client.ui.MenuBar.(MenuBar.java:181) at com.google.gwt.user.client.ui.SuggestBox$SuggestionMenu. (SuggestBox.java:163) at com.google.gwt.user.client.ui.SuggestBox.(SuggestBox.java: 318) at com.google.gwt.user.client.ui.SuggestBox.(SuggestBox.java: 301) at xxx.onModuleLoad(xxx.java:148) Where xxx.java:148 is "_input = new SuggestBox(_tokenOracle);" and _tokenOracle is the class which extends MultiWordSuggestOracle. I haven't done anything fancy with TokenOracle yet either: public class TokenOracle extends MultiWordSuggestOracle { public TokenOracle() { super(); } public TokenOracle(String whitespaceChars) { super(whitespaceChars); } } On Apr 18, 1:19 pm, Vitali Lovich wrote: > No - you need to write your own oracle. The ones that are there are > for simple examples to handle most cases. > > On Sat, Apr 18, 2009 at 5:21 AM, nevets1219 wrote: > > > I was wondering what steps I should go about showing suggestions based > > on the last token. At first, I was thinking that I needed to specify > > the white space but that doesn't seem to be the case (or maybe I have > > used the incorrect white space). > > > Example: > > > I have the following words in the oracle: "cos, sin, tan" > > > I type "co" and choose "cos" but I continue typing so that I have "cos > > (10) + t", I would like to now have it show "tan" as the suggestions. > > > I'm guessing I need to add .getTextBox().addChangeHandler(handler) and > > extract the last token and then make a call .requestSuggestions > > (request, callback). The change handler seems relatively > > straightforward but I'm actually not too sure about > > the .requestSuggestions(...) part since I'm still relatively new to > > GWT. > > > Also slightly related: Is it appropriate to think of > > MultiWordSuggestOracle.add("word") as > > MultiWordSuggestOracle.createSuggestion("word", "word") ? > > > Thanks! > > > nevets1219 --~--~-~--~~~---~--~~ 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: No serialization of exception subclasses
Are you sure the subclass is on the client classpath? If you put the subclass on the server side it won't work as the GWT compiler won't see it (& it won't throw any errors if you don't actually use it in your client-side code that it compiles). GWT cannot serialize arbitrary subclasses that it's not seen during compile time. On Sat, Apr 18, 2009 at 5:24 PM, daniel.z wrote: > > Hi Sumit, > > i was somehow hoping this is not the intended behaviour. > I tested the behaviour in webmode after completely compiling the whole > application. So I guess it is not a problem with hosted mode in any > kind. I have checked the generated serialization policy file, which > really does not contain ExceptionSubClass. And i enshured a no-arg > constructor is available for it. > > Along with my investigations is found out that RPC checks if a thrown > exception is an expected one in the RPC.isExpectedException() method. > This method returns true for all subclasses of an exception declared > by throws. But as subclasses are not contained in the generated > serialization policy file the serialization itself failes with an > SerializationException. > > It seems to me that for some reason the gwt compiler does not traverse > the inheritance hierarchy of declared exception classes when > generating the .gwt.rpc file. > > > On 17 Apr., 20:17, Sumit Chandel wrote: >> Hi Daniel, >> That is not the intended behaviour for GWT RPC exception handling. You >> should be able to throw a subclass of a serializable exception across the >> wire and it should handle it appropriately. >> >> Having said that, here are a couple of questions to find out why this isn't >> working in your case: >> >> 1) Are you using hosted mode with the embedded Tomcat server, or are you >> using hosted mode with the -noserver option? If you are using it with the >> -noserver option, you will need to make sure that you've re-compiled your >> application with the GWT compiler for it to emit a new .gwt.rpc >> serialization policy file, which will contain the newly added >> ExceptionSubClass. >> >> 2) Have you made sure that a default constructor is available in the >> ExceptionSubClass type? That is, if you've defined a parametrized >> constructor, the default constructor will no longer be available, which will >> cause issues when GWT RPC tries to serialize the exception. >> >> Hope that helps, >> -Sumit Chandel >> >> On Wed, Apr 15, 2009 at 7:17 AM, daniel.z < >> >> daniel.zieg...@objective-partner.de> wrote: >> >> > I'm experiencing the following behaviour of gwt 1.5.3 when trying to >> > serialize exceptions via rpc. >> >> > I'v got an self implemented serializable exception type and a subclass >> > of it like follows: >> >> > public class SerializableRuntimeException extends RuntimeException >> > implements Serializable { >> > ... >> > } >> >> > public class ExceptionSubClass extendsSerializableRuntimeException { >> > ... >> > } >> >> > The service interface declares the SerializableRuntimeException as >> > thrown >> >> > public interface ISyncService extends RemoteService { >> > public String getSomething() throws >> > SerializableRuntimeException; >> > } >> >> > When throwing an SerializableRuntimeException inside the >> > implementation of getSomething() everything is working as supposed, >> > but when throwing ExceptionSubClass I just get an >> > SerializationException on the server which says >> >> > com.google.gwt.user.client.rpc.SerializationException: Type >> > 'ExceptionSubClass' was not included >> > in the set of types which can be serialized by this >> > SerializationPolicy or its Class object could not >> > be loaded. For security purposes, this type will not be serialized. >> >> > Is it the intended behaviour that gwt only serializes the exact >> > exception class provided by "throws" and none of its subclasses? Seems >> > to me like this complicates things. > > > --~--~-~--~~~---~--~~ 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: No serialization of exception subclasses
Hi Sumit, i was somehow hoping this is not the intended behaviour. I tested the behaviour in webmode after completely compiling the whole application. So I guess it is not a problem with hosted mode in any kind. I have checked the generated serialization policy file, which really does not contain ExceptionSubClass. And i enshured a no-arg constructor is available for it. Along with my investigations is found out that RPC checks if a thrown exception is an expected one in the RPC.isExpectedException() method. This method returns true for all subclasses of an exception declared by throws. But as subclasses are not contained in the generated serialization policy file the serialization itself failes with an SerializationException. It seems to me that for some reason the gwt compiler does not traverse the inheritance hierarchy of declared exception classes when generating the .gwt.rpc file. On 17 Apr., 20:17, Sumit Chandel wrote: > Hi Daniel, > That is not the intended behaviour for GWT RPC exception handling. You > should be able to throw a subclass of a serializable exception across the > wire and it should handle it appropriately. > > Having said that, here are a couple of questions to find out why this isn't > working in your case: > > 1) Are you using hosted mode with the embedded Tomcat server, or are you > using hosted mode with the -noserver option? If you are using it with the > -noserver option, you will need to make sure that you've re-compiled your > application with the GWT compiler for it to emit a new .gwt.rpc > serialization policy file, which will contain the newly added > ExceptionSubClass. > > 2) Have you made sure that a default constructor is available in the > ExceptionSubClass type? That is, if you've defined a parametrized > constructor, the default constructor will no longer be available, which will > cause issues when GWT RPC tries to serialize the exception. > > Hope that helps, > -Sumit Chandel > > On Wed, Apr 15, 2009 at 7:17 AM, daniel.z < > > daniel.zieg...@objective-partner.de> wrote: > > > I'm experiencing the following behaviour of gwt 1.5.3 when trying to > > serialize exceptions via rpc. > > > I'v got an self implemented serializable exception type and a subclass > > of it like follows: > > > public class SerializableRuntimeException extends RuntimeException > > implements Serializable { > > ... > > } > > > public class ExceptionSubClass extendsSerializableRuntimeException { > > ... > > } > > > The service interface declares the SerializableRuntimeException as > > thrown > > > public interface ISyncService extends RemoteService { > > public String getSomething() throws > > SerializableRuntimeException; > > } > > > When throwing an SerializableRuntimeException inside the > > implementation of getSomething() everything is working as supposed, > > but when throwing ExceptionSubClass I just get an > > SerializationException on the server which says > > > com.google.gwt.user.client.rpc.SerializationException: Type > > 'ExceptionSubClass' was not included > > in the set of types which can be serialized by this > > SerializationPolicy or its Class object could not > > be loaded. For security purposes, this type will not be serialized. > > > Is it the intended behaviour that gwt only serializes the exact > > exception class provided by "throws" and none of its subclasses? Seems > > to me like this complicates things. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Adding maximize,collapse,settings option to each widget
Hi, I need to add maximize,collapse,settings option to each widget that i will create (similar to IGOOGLE) where the title bar has those options. How do i do that? Can it be done by base GWT or do i have to use any extension? 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: GWT EJB
Hi I have finished the part of "call" GWT and EJB and finally I can do CRUD operations from GWT With my EJB methodes. I woul like to express my gratitude and thanks for pepusz. thanks for all member of Google-Web-Toolkit. -- Envoyé par : Chakroun Mohamed chakroun.moha...@gmail.com || chakroun.moha...@planet.tn --~--~-~--~~~---~--~~ 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 Serialization with CustomFieldSerializer fails because of SerializationPolicy
+1, a way to specify Object to serialize would be fine !!! On Apr 17, 10:20 pm, Daniel Kurka wrote: > this is exactly what i was thinking. > we need a way to specify the classes that are okay to serialiaze with the > service > > 2009/4/17 Vitali Lovich > > > > > Hasn't been accepted - just opened. Anyone can open issues against GWT. > > > That being said, I think there could be room for improvement. For > > instance, if you specify a serializable interface or serializable abstract > > class, you should be allowed to enumerate all the various types that can > > possibly go across the wire in an annotation so as to provide more > > contextual information that the compiler simply doesn't otherwise have > > access to at compile time. > > > @Transfers({A.class, B.class, C.class, D.class}) > > Serializable foo(Serializable[] x); > > > etc. which limits the compiler to only look at A, B, C, & D when it comes > > across trying to compile this RPC function. > > > This would solve a lot of issues & make the expressiveness much more > > powerful. > > > On Fri, Apr 17, 2009 at 3:18 AM, Salvador Diaz > > wrote: > > >> Frankly I don't see how that issue could be accepted, the fact that > >> you have to mark all your serializable objects as Serializable or > >> IsSerializable has been there from the beginning. It's related to the > >> way the compiler has to know at compile time what objects are allowed > >> to travel through RPCs and how they should be serialized. You simply > >> cannot expect it to magically detect the types that will be added to > >> your map. > > >> On Apr 16, 10:14 pm, kurka.dan...@googlemail.com wrote: > >> > I added my concerns to this issue in the gwt issue tracker: > > >> >http://code.google.com/p/google-web-toolkit/issues/detail?id=3521 --~--~-~--~~~---~--~~ 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 best Practices - JS Library Wrappers & Overlay Types
I'm in the process of trying to dynamically generate a GWT wrapper for an existing JS library and i have a few questions which come down to best practices for the most part. 1. When wrapping a JS library with GWT, is it recommended to leave the namespaces intact? If the JS library and the GWT wrapper library have the same namespaces, is there a chance of a conflict where GWT code will overwrite the original namespaces of the JS library? (i don't think this is the case but i wanted to verify) 2. If the JS library that's being wrapped around has classes that may need to be constructed from the Java side, then are Overlay Types automatically out of the question (in which case plain Java wrapper classes would be used) or is it better to still use Overlay Types and just expose factory methods for doing the job of the constructors? 3. If the original JS library has classes where fields are commonly accessed directly, as opposed to via getters and setters, then is it recommended to remain faithful to the original JS library and expose the fields without getters/setters (in which case Overlay Types are out of the picture) or ignore this aspect of the original JS library and expose getters/setters instead. 4. If the original JS library has a method that has optional parameters, for example, myFunc(a, b) where b may be undefined, should a single Java method be added, or should multiple overloaded methods be used? For example: myFunc(a) myFunc(a, b) 5. Should constants be automatically converted to enumerations or should they just be left alone? If you have some insight on these questions (or any others i missed) i would really welcome your input. --~--~-~--~~~---~--~~ 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: SuggestBox based on the last token
No - you need to write your own oracle. The ones that are there are for simple examples to handle most cases. On Sat, Apr 18, 2009 at 5:21 AM, nevets1219 wrote: > > I was wondering what steps I should go about showing suggestions based > on the last token. At first, I was thinking that I needed to specify > the white space but that doesn't seem to be the case (or maybe I have > used the incorrect white space). > > Example: > > I have the following words in the oracle: "cos, sin, tan" > > I type "co" and choose "cos" but I continue typing so that I have "cos > (10) + t", I would like to now have it show "tan" as the suggestions. > > I'm guessing I need to add .getTextBox().addChangeHandler(handler) and > extract the last token and then make a call .requestSuggestions > (request, callback). The change handler seems relatively > straightforward but I'm actually not too sure about > the .requestSuggestions(...) part since I'm still relatively new to > GWT. > > Also slightly related: Is it appropriate to think of > MultiWordSuggestOracle.add("word") as > MultiWordSuggestOracle.createSuggestion("word", "word") ? > > Thanks! > > nevets1219 > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Simple Loading While GWT Application Loads
this is a small sample of Loading While GWT Application Loads, perhaps this example can help someone. package com.javaneses.example.loading.client; import java.util.List; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.Timer; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.FlexTable; import com.google.gwt.user.client.ui.PopupPanel; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.widgetideas.client.ProgressBar; import com.google.gwt.widgetideas.client.ProgressBar.TextFormatter; import com.javaneses.example.loading.client.rpc.service.MyService; import com.javaneses.example.loading.client.rpc.service.MyServiceAsync; public class MainTest implements EntryPoint { private final PopupPanel loading = new PopupPanel(); //ProgressBar gwt incubator private final ProgressBar bar = new ProgressBar(); private final FlexTable flexTable = new FlexTable(); private Timer timer; private final MyServiceAsync myServiceAsync = GWT.create (MyService.class); private int index; public void onModuleLoad() { flexTable.setText(0, 0, "Row"); flexTable.setText(0, 1, "First Name"); flexTable.setText(0, 2, "Last Name"); flexTable.setCellSpacing(5); flexTable.setVisible(false); RootPanel.get().add(flexTable); bar.setTextVisible(false); loading.add(bar); loading.center(); AsyncCallback> asyncCallback = new AsyncCallback>() { public void onSuccess(final List result) { bar.setTextVisible(true); final int count = result.size(); bar.setMaxProgress(count); bar.setProgress(0); TextFormatter formatter = new TextFormatter() { protected String getText(ProgressBar bar, double curProgress) { return "Loading Data "; }//end getText(ProgressBar bar, double curProgress) }; bar.setTextFormatter(formatter); timer = new Timer() { public void run() { if(count == index){ loading.hide(); flexTable.setVisible(true); timer.cancel(); }else{ MyBean bean = result.get(index); flexTable.setText(index + 1, 0, ""+index); flexTable.setText(index + 1, 1, bean.getName()); flexTable.setText(index + 1, 2, bean.getLastName()); index++; bar.setProgress(index); }//end else }//end run };//end timer = new Timer() timer.scheduleRepeating(25); }//end onSuccess(List result) public void onFailure(Throwable caught) { Window.alert(caught.toString()); }//end onFailure(Throwable caught) }; myServiceAsync.listMyBean(asyncCallback); }//end onModuleLoad }//end class //SERVICE CLASS package com.javaneses.example.loading.client.rpc.service; import java.util.List; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import com.javaneses.example.loading.client.MyBean; @RemoteServiceRelativePath("/myService") public interface MyService extends RemoteService{ List listMyBean(); }//end interface package com.javaneses.example.loading.client.rpc.service; import java.util.List; import com.google.gwt.user.client.rpc.AsyncCallback; import com.javaneses.example.loading.client.MyBean; public interface MyServiceAsync { void listMyBean(AsyncCallback> asyncCallback); }//end interface package com.javaneses.example.loading.server.rpc.service; import java.util.ArrayList; import java.util.List; import com.google.gwt.user.server.rpc.RemoteServiceServlet; import com
Google Plugin for Eclipse with Maven
Hey, i've searched two days without any outcome about using the Google Plugin for Eclipse with maven. So my question is: Does anybody know about some improvements in this section? best wishes, daill --~--~-~--~~~---~--~~ 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: Protege-OWL
Hey! I tried but couldn't get that on the client side. But when i used them on the server side and used RPC as the communication layer it worked. Thanks for the suggestions. On Apr 18, 3:10 pm, Vitali Lovich wrote: > Did you read what he said? You can't. You may be able to strip out > the parts that are GWT safe for the functionality you need, although > that is only if you get really lucky & all those parts are available. > > You actually have a better chance of writing the front-end in GWT & > then using RPC as the communication layer to invoke what you want on > the server that uses your library. > > On Sat, Apr 18, 2009 at 5:52 AM, vasu wrote: > > > Hey! > > Ya...i am trying to use the library in client-side code only. > > The API is a standard protege-owl API (http:// protege.stanford.edu/ > > plugins/owl/api/guide.html) > > > Please suggest me how to use this external library on the client- > > side ? > > > On Apr 18, 2:28 pm, Salvador Diaz wrote: > >> You're trying to use that library in client-side code. Do you > >> understand the difference between client-side code and server-side > >> code in GWT ? If you're not sure what I a talking about, you should > >> take a look at the GWT documentation: > > >>http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html > > >> Once you understand the basics, you should be able to understand why a > >> library must be specially written to conform to GWT restrictions if it > >> is to be used client-side and why you can use ANY java library server- > >> side. > > >> Hope it helps, > > >> Salvador > > >> On Apr 18, 1:47 am, vasu wrote: > > >> > Hey! > >> > I am new to GWT and i am struck now. > >> > I am working on GWT as well asProtege-OWLAPI using Eclipse. (http:// > >> > protege.stanford.edu/plugins/owl/api/guide.html) > > >> > I have added the jar files of theProtege-OWLin the project class > >> > path as well as in the java build path (as external jars). I have also > >> > placed the jar files in the WEB-INF->lib folder also. > > >> > But still i am getting the error when i try to run the application > >> > saying that > >> > No source code is available for type > >> > edu.stanford.smi.protegex.owl.model.OWLModel; did you forget to > >> > inherit a required module? > >> > No source code is available for type > >> > edu.stanford.smi.protegex.owl.ProtegeOWL; did you forget to inherit a > >> > required module? > >> > No source code is available for type > >> > edu.stanford.smi.protege.exception.OntologyLoadException; did you > >> > forget to inherit a required module? > > >> > The following is the code which gives the error. > >> > > >> > package com.owl.visualzer.project.client; > > >> > import com.google.gwt.user.client.Window; > > >> > import edu.stanford.smi.protege.exception.OntologyLoadException; > >> > import edu.stanford.smi.protegex.owl.ProtegeOWL; > >> > import edu.stanford.smi.protegex.owl.model.OWLModel; > > >> > public class owlMetadata { > > >> > private String uri; > > >> > public void loadOntology(String uri){ > >> > try{ > >> > OWLModel owlModel > >> > =ProtegeOWL.createJenaOWLModelFromURI(uri); > >> > } > >> > catch(OntologyLoadException e){ > >> > Window.alert("Problem with loading OWL > >> > ontology!"); > >> > } > >> > }} > > >> > > > >> > I feel like i should add something in the XML file of the project to > >> > inherit these along with the following the inherit statements: > >> > > >> > > > >> > If that is the case, i donno what to add in the inhert statement to > >> > inherit theProtege-OWLmodule. I am not getting how to do this. > > >> > Can someone try n help me in this regard ? --~--~-~--~~~---~--~~ 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: CSS style rules of DecoratorPanel
You have a 3x3 box and each cell has a widget in it. The cell in the centre at the bottom is bottomCenter, the widget in it is bottomCenterInner. --- --- --- | O | O | O | --- --- --- | O | O | O | --- --- --- | O | O | O | --- --- --- --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
send request data to php with requestbuilder
I am trying to send some string to a php file and a request data: req_builder.sendRequest("test_key=test_value", new RequestCallback() {... and I wish to access the test_value like $_REQUEST['test_key'] in php. Later i wish to send multiple query variables too. I wish to send parameters to give it to sql queries. I have tried to set the header to setHeader("Content-Type", "application/x-www-form-urlencoded"), but that won't help either. I am getting empty $_REQUEST array. I wish to receive some working example for GWT 1.6. I know there are some 2-3 year examples out there in this group, but they won't work now. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
SuggestBox based on the last token
I was wondering what steps I should go about showing suggestions based on the last token. At first, I was thinking that I needed to specify the white space but that doesn't seem to be the case (or maybe I have used the incorrect white space). Example: I have the following words in the oracle: "cos, sin, tan" I type "co" and choose "cos" but I continue typing so that I have "cos (10) + t", I would like to now have it show "tan" as the suggestions. I'm guessing I need to add .getTextBox().addChangeHandler(handler) and extract the last token and then make a call .requestSuggestions (request, callback). The change handler seems relatively straightforward but I'm actually not too sure about the .requestSuggestions(...) part since I'm still relatively new to GWT. Also slightly related: Is it appropriate to think of MultiWordSuggestOracle.add("word") as MultiWordSuggestOracle.createSuggestion("word", "word") ? Thanks! nevets1219 --~--~-~--~~~---~--~~ 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 Compile error
when I try compile a sample of Extjs-GWT. it hit the follow exception. but I have the missing class "com.pipnet.resources.client.model.Customer" in the same project. anybody can tell me why? thanks a lot Compiling module com.pipnet.desktop.Desktop Refreshing module from source Refreshing TypeOracle Processing types in compilation unit: file:/C:/Documents%20and %20Settings/bruce.gao/workspace_3.4/Desktop/src/com/pipnet/resources/ client/model/CustomerBeanModel.java Found type 'CustomerBeanModel' Resolving annotation '@BEAN (com.pipnet.resources.client.model.Customer.class)' [ERROR] java.lang.ClassNotFoundException: com.pipnet.resources.client.model.Customer at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.google.gwt.dev.javac.TypeOracleMediator.getClassLiteral (TypeOracleMediator.java:763) at com.google.gwt.dev.javac.TypeOracleMediator.getAnnotationElementValue (TypeOracleMediator.java:674) at com.google.gwt.dev.javac.TypeOracleMediator.createAnnotationInstance (TypeOracleMediator.java:442) at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation (TypeOracleMediator.java:836) at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations (TypeOracleMediator.java:857) at com.google.gwt.dev.javac.TypeOracleMediator.resolveTypeDeclaration (TypeOracleMediator.java:1384) at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits (TypeOracleMediator.java:389) at com.google.gwt.dev.javac.TypeOracleMediator.refresh (TypeOracleMediator.java:417) at com.google.gwt.dev.javac.CompilationState.refresh (CompilationState.java:179) at com.google.gwt.dev.javac.CompilationState. (CompilationState.java:93) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState (ModuleDef.java:264) at com.google.gwt.dev.Precompile.precompile(Precompile.java:283) at com.google.gwt.dev.Compiler.run(Compiler.java:170) at com.google.gwt.dev.Compiler$1.run(Compiler.java:124) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 84) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:78) at com.google.gwt.dev.Compiler.main(Compiler.java:131) Scanning for additional dependencies: jar:file:/D:/Program%20Files/ gxt-2.0-m1/gxt.jar!/com/extjs/gxt/ui/client/data/BeanModelLookup.java Computing all possible rebind results for 'com.extjs.gxt.ui.client.data.BeanModelLookup' Rebinding com.extjs.gxt.ui.client.data.BeanModelLookup Invoking [ERROR] Class com.extjs.gxt.ui.client.data.BeanModelLookup not found. java.lang.NullPointerException at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.getMarkerBean (BeanModelGenerator.java:170) at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.generate (BeanModelGenerator.java:53) at com.google.gwt.dev.cfg.RuleGenerateWith.realize (RuleGenerateWith.java:49) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind (StandardRebindOracle.java:113) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind (StandardRebindOracle.java:62) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:172) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:161) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers (Precompile.java:204) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds (WebModeCompilerFrontEnd.java:128) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process (AbstractCompiler.java:151) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile (AbstractCompiler.java:85) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile (AbstractCompiler.java:181) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$400 (AbstractCompiler.java:71) at com.google.gwt.dev.jdt.AbstractCompiler.compile (AbstractCompiler.java:473) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations (WebModeCompilerFrontEnd.java:73) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile (JavaToJavaSc
gears 1.2 and gwt 1.6
hi there, Can't use gears 1.2 with gwt 1.6 ! Any help ? -- zno...@gmail.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 -~--~~~~--~~--~--~---
List of GWT Open Source Projects?
Does anyone know of a list of GWT Open Source projects? I've looked on GitHub and Google Code but I'm wondering if there's a directory/list maintained somewhere so that it's easy to see everything in one place? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
CSS style rules of DecoratorPanel
Hi I'm still trying with DecoratorPanel, and I'm not sure what are the *Inner CSS style rules means. For example, .what is the different between .bottomLeft and bottomLeftInner? And the different between bottomCenter and bottomCenterInner? .gwt-DecoratorPanel .bottomLeft { the bottom left cell } .gwt-DecoratorPanel .bottomLeftInner { the inner element of the cell } .gwt-DecoratorPanel .bottomCenter { the bottom center cell } .gwt-DecoratorPanel .bottomCenterInner { the inner element of the cell } Hmmm ... I probably need a diagram to visualize exactly where does the CSS style rules applied to the DecoratorPanel :-) -- 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, Gears and Manifest Generation
Thanks Eric. I was a little confused with the tutorial vs some of the implementation posts on the group. I guess 1.1 took care of all that nastiness. Thanks again, E On Apr 16, 6:19 pm, Eric Ayers wrote: > I highly recommend that you check out the Offline module support. When you > use it, the manifest file is taken care of automatically. > > http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis... > > > > On Thu, Apr 16, 2009 at 5:52 PM, Evan Ruff wrote: > > > Hey everybody, > > > I've got a very newbie GWT/Gears question regarding the Manifest file. > > > I understand the purpose of the Manifest in the LocalServer component > > but I'm having a little trouble figuring out exactly how I should > > manage it. I've seen some people make mention of tools and servlet > > strategies to filter down the components (ie, Fred's at > >http://fvisticot.blogspot.com/2007/11/gwt-and-gears-automatic-manifes... > > ) but It seems like most of these posts were related to the 0.44 API > > release. > > > I was wondering if there is a newer/better strategy for working the > > Manifest with GWT/Gears API 1.1. > > > Thanks! > > > Evan > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Google Chart API Vs Visualization API
Not really gwt related, but the chart api builds static png files. The visualivation api builds interactive svg / java script. On Apr 16, 2009 12:20 PM, "Sam" wrote: Can somebody highlight the differences between Chart API and Visualization API? Which is more powerful in terms of creating bar graphs and pie charts? --~--~-~--~~~---~--~~ 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: I installed the GEP and now...
Well, I took the 1.6.4 SDK out since I'm developing and don't want to find any nasty surprises. I added 1.6.2 via the GEP, took the jars off the classpath and now the compile gives me the errors below. It compiles from hosted mode OK No doubt there are plans for the future, but I'm wondering how much use the plugin would be to me right at the moment even it it were working. It's taken a lot of time to get to this point: it wouldn't download, then when it finally did, it wouldn't install, and now it's installed it doesn't work. That's probably my fault because I don't know what I'm doing, but surely if it worked before installing the plugin, it should work with the plugin. It's a valid project. Why doesn't it assume that I still want to use the version of the SDK that I was using before? Why would anyone want to have a different version, which might well have methods removed - even between a release candidate being a candidate for release and actually being released? Anyway, here's the current state of play. Compiling module com.roughian.rxframework.Module Refreshing module from source Validating newly compiled units Removing units with errors [ERROR] Errors in 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequestCallback.java' [ERROR] Line 11: No source code is available for type com.google.gwt.json.client.JSONObject; did you forget to inherit a required module? [ERROR] Errors in 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RXF.java' [ERROR] Line 73: No source code is available for type com.google.gwt.json.client.JSONObject; did you forget to inherit a required module? [ERROR] Line 78: No source code is available for type com.google.gwt.json.client.JSONValue; did you forget to inherit a required module? [ERROR] Line 81: No source code is available for type com.google.gwt.json.client.JSONArray; did you forget to inherit a required module? [ERROR] Line 111: No source code is available for type com.google.gwt.json.client.JSONBoolean; did you forget to inherit a required module? [ERROR] Line 124: No source code is available for type com.google.gwt.json.client.JSONParser; did you forget to inherit a required module? [ERROR] Line 222: No source code is available for type com.google.gwt.json.client.JSONNumber; did you forget to inherit a required module? [ERROR] Line 250: No source code is available for type com.google.gwt.json.client.JSONString; did you forget to inherit a required module? Removing invalidated units [WARN] Compilation unit 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePageCallback.java' is removed due to invalid reference(s): [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequestCallback.java [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RXF.java [WARN] Compilation unit 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequestInfoCallback.java' is removed due to invalid reference(s): [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequestCallback.java [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RXF.java [WARN] Compilation unit 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequest.java' is removed due to invalid reference(s): [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequestCallback.java [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RXF.java [WARN] Compilation unit 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/SilentCallback.java' is removed due to invalid reference(s): [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequestCallback.java [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RXF.java [WARN] Compilation unit 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePage.java' is removed due to invalid reference(s): [WARN] file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePageCallback.java [WARN] Compilation unit 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/
Re: GWT combined with Grails,JSF or other server side technology
@Leon No, grails 1.1 doesn't work well in netbeans. For example the debugger doesn't work. Even in IntelliJ grails 1.1 doesn't work correctly (even the grails comunity is complaining about the currently poor ide support) and the gwt-plugin is completly useless. I really appriciate your suggestion of using gwt-rest and i also think that grails is great. But gwt-rest seems to be no longer under development and exists in version 0.1. Actually it sounds like a lot of (frustrating) work integrating gwt into grails. Or do you have other experiences? But don't missunderstand me i think grails is great but not in conjunction with gwt. @sjbr Thanks for the answer. Seam seems (word play haha) to be very interessting for me. But just for being sure: 1) I can define my three different views (gwt for desktop, gwt for mobile devices and opera mini) on the same platform (in production) running on the same application server and the same business logic (dry)? 2) It is very easy to test (junit testing) my server side stuff? As easy as testing gwt? 3) I manage persistence with annotations? On Apr 17, 9:44 pm, sjbr wrote: > Seam integrates nicely with GWT, instead of RemoteServiceServlet you > can use seam components, just like is described on the seam > documentation. > > On 17 abr, 04:45, Paul van Hoven > wrote: > > > I developped a gwt app. But now, i need an appropriate server backend. > > Therefore, i tried grails but it really isn't that good. First of all > > it seems to be extremly buggy, secondly it has no good ide support > > (except intellij = 249$) and finally it provides no gwt support > > although there exists a gwt plugin, but this can be regarded as > > absolutly not working. After this frustration i'm wondering what > > technology i should use on the server. In fact gwt is independent from > > ther server backend, but i would like to use a framework that easily > > integrates gwt. Thus, i started working through jsf and g4jsf. But > > before diving too deep into it and after wasting 2 weeks on grails i > > wanted to hear what do you use on the server side? Any hints or > > recommendations? --~--~-~--~~~---~--~~ 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: Protege-OWL
Did you read what he said? You can't. You may be able to strip out the parts that are GWT safe for the functionality you need, although that is only if you get really lucky & all those parts are available. You actually have a better chance of writing the front-end in GWT & then using RPC as the communication layer to invoke what you want on the server that uses your library. On Sat, Apr 18, 2009 at 5:52 AM, vasu wrote: > > Hey! > Ya...i am trying to use the library in client-side code only. > The API is a standard protege-owl API (http:// protege.stanford.edu/ > plugins/owl/api/guide.html) > > Please suggest me how to use this external library on the client- > side ? > > > On Apr 18, 2:28 pm, Salvador Diaz wrote: >> You're trying to use that library in client-side code. Do you >> understand the difference between client-side code and server-side >> code in GWT ? If you're not sure what I a talking about, you should >> take a look at the GWT documentation: >> >> http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html >> >> Once you understand the basics, you should be able to understand why a >> library must be specially written to conform to GWT restrictions if it >> is to be used client-side and why you can use ANY java library server- >> side. >> >> Hope it helps, >> >> Salvador >> >> On Apr 18, 1:47 am, vasu wrote: >> >> > Hey! >> > I am new to GWT and i am struck now. >> > I am working on GWT as well asProtege-OWLAPI using Eclipse. (http:// >> > protege.stanford.edu/plugins/owl/api/guide.html) >> >> > I have added the jar files of theProtege-OWLin the project class >> > path as well as in the java build path (as external jars). I have also >> > placed the jar files in the WEB-INF->lib folder also. >> >> > But still i am getting the error when i try to run the application >> > saying that >> > No source code is available for type >> > edu.stanford.smi.protegex.owl.model.OWLModel; did you forget to >> > inherit a required module? >> > No source code is available for type >> > edu.stanford.smi.protegex.owl.ProtegeOWL; did you forget to inherit a >> > required module? >> > No source code is available for type >> > edu.stanford.smi.protege.exception.OntologyLoadException; did you >> > forget to inherit a required module? >> >> > The following is the code which gives the error. >> > >> > package com.owl.visualzer.project.client; >> >> > import com.google.gwt.user.client.Window; >> >> > import edu.stanford.smi.protege.exception.OntologyLoadException; >> > import edu.stanford.smi.protegex.owl.ProtegeOWL; >> > import edu.stanford.smi.protegex.owl.model.OWLModel; >> >> > public class owlMetadata { >> >> > private String uri; >> >> > public void loadOntology(String uri){ >> > try{ >> > OWLModel owlModel >> > =ProtegeOWL.createJenaOWLModelFromURI(uri); >> > } >> > catch(OntologyLoadException e){ >> > Window.alert("Problem with loading OWL ontology!"); >> > } >> > }} >> >> > >> >> > I feel like i should add something in the XML file of the project to >> > inherit these along with the following the inherit statements: >> > >> > >> >> > If that is the case, i donno what to add in the inhert statement to >> > inherit theProtege-OWLmodule. I am not getting how to do this. >> >> > Can someone try n help me in this regard ? > > > --~--~-~--~~~---~--~~ 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: Protege-OWL
Well, you'd be very lucky to get it working without any modifications. Please make sure you read and understood all of this: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaCompatibility When you do, and if you still want to do it, You should create a module that declares the source of your library as translatable source (let's say for example that you'll name that module edu.stanford.protege.OWL, so it's module declaration file is called OWL.gwt.xml). To understand what that means, read this section (specially the subsection titled "Source Path") http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideModules Once you've done that (assuming you have given the name edu.stanford.protege.OWL to your previously created module), to use it in your project, open your project's GWT module configuration and inherit the previously created module If you go through all that trouble, and find that the library actually works (which would be quite a surprise), you might as well tell the project owners that they wrote a GWT-compatible library. I honestly think that you'de be better off setting up a project with server-side code and using the OWL library through RPC calls Cheers, Salvador On Apr 18, 11:52 am, vasu wrote: > Hey! > Ya...i am trying to use the library in client-side code only. > The API is a standard protege-owl API (http:// protege.stanford.edu/ > plugins/owl/api/guide.html) > > Please suggest me how to use this external library on the client- > side ? > > On Apr 18, 2:28 pm, Salvador Diaz wrote: > > > You're trying to use that library in client-side code. Do you > > understand the difference between client-side code and server-side > > code in GWT ? If you're not sure what I a talking about, you should > > take a look at the GWT documentation: > > >http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html > > > Once you understand the basics, you should be able to understand why a > > library must be specially written to conform to GWT restrictions if it > > is to be used client-side and why you can use ANY java library server- > > side. > > > Hope it helps, > > > Salvador > > > On Apr 18, 1:47 am, vasu wrote: > > > > Hey! > > > I am new to GWT and i am struck now. > > > I am working on GWT as well asProtege-OWLAPI using Eclipse. (http:// > > > protege.stanford.edu/plugins/owl/api/guide.html) > > > > I have added the jar files of theProtege-OWLin the project class > > > path as well as in the java build path (as external jars). I have also > > > placed the jar files in the WEB-INF->lib folder also. > > > > But still i am getting the error when i try to run the application > > > saying that > > > No source code is available for type > > > edu.stanford.smi.protegex.owl.model.OWLModel; did you forget to > > > inherit a required module? > > > No source code is available for type > > > edu.stanford.smi.protegex.owl.ProtegeOWL; did you forget to inherit a > > > required module? > > > No source code is available for type > > > edu.stanford.smi.protege.exception.OntologyLoadException; did you > > > forget to inherit a required module? > > > > The following is the code which gives the error. > > > > > > package com.owl.visualzer.project.client; > > > > import com.google.gwt.user.client.Window; > > > > import edu.stanford.smi.protege.exception.OntologyLoadException; > > > import edu.stanford.smi.protegex.owl.ProtegeOWL; > > > import edu.stanford.smi.protegex.owl.model.OWLModel; > > > > public class owlMetadata { > > > > private String uri; > > > > public void loadOntology(String uri){ > > > try{ > > > OWLModel owlModel > > > =ProtegeOWL.createJenaOWLModelFromURI(uri); > > > } > > > catch(OntologyLoadException e){ > > > Window.alert("Problem with loading OWL > > > ontology!"); > > > } > > > }} > > > > > > > > I feel like i should add something in the XML file of the project to > > > inherit these along with the following the inherit statements: > > > > > > > > > > If that is the case, i donno what to add in the inhert statement to > > > inherit theProtege-OWLmodule. I am not getting how to do this. > > > > Can someone try n help me in this regard ? --~--~-~--~~~---~--~~ 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: Protege-OWL
Hey! Ya...i am trying to use the library in client-side code only. The API is a standard protege-owl API (http:// protege.stanford.edu/ plugins/owl/api/guide.html) Please suggest me how to use this external library on the client- side ? On Apr 18, 2:28 pm, Salvador Diaz wrote: > You're trying to use that library in client-side code. Do you > understand the difference between client-side code and server-side > code in GWT ? If you're not sure what I a talking about, you should > take a look at the GWT documentation: > > http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html > > Once you understand the basics, you should be able to understand why a > library must be specially written to conform to GWT restrictions if it > is to be used client-side and why you can use ANY java library server- > side. > > Hope it helps, > > Salvador > > On Apr 18, 1:47 am, vasu wrote: > > > Hey! > > I am new to GWT and i am struck now. > > I am working on GWT as well asProtege-OWLAPI using Eclipse. (http:// > > protege.stanford.edu/plugins/owl/api/guide.html) > > > I have added the jar files of theProtege-OWLin the project class > > path as well as in the java build path (as external jars). I have also > > placed the jar files in the WEB-INF->lib folder also. > > > But still i am getting the error when i try to run the application > > saying that > > No source code is available for type > > edu.stanford.smi.protegex.owl.model.OWLModel; did you forget to > > inherit a required module? > > No source code is available for type > > edu.stanford.smi.protegex.owl.ProtegeOWL; did you forget to inherit a > > required module? > > No source code is available for type > > edu.stanford.smi.protege.exception.OntologyLoadException; did you > > forget to inherit a required module? > > > The following is the code which gives the error. > > > > package com.owl.visualzer.project.client; > > > import com.google.gwt.user.client.Window; > > > import edu.stanford.smi.protege.exception.OntologyLoadException; > > import edu.stanford.smi.protegex.owl.ProtegeOWL; > > import edu.stanford.smi.protegex.owl.model.OWLModel; > > > public class owlMetadata { > > > private String uri; > > > public void loadOntology(String uri){ > > try{ > > OWLModel owlModel > > =ProtegeOWL.createJenaOWLModelFromURI(uri); > > } > > catch(OntologyLoadException e){ > > Window.alert("Problem with loading OWL ontology!"); > > } > > }} > > > > > > I feel like i should add something in the XML file of the project to > > inherit these along with the following the inherit statements: > > > > > > > If that is the case, i donno what to add in the inhert statement to > > inherit theProtege-OWLmodule. I am not getting how to do this. > > > Can someone try n help me in this regard ? --~--~-~--~~~---~--~~ 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: Most basic module example: single interface
Have you tried reading the documentation ? http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html It'll help you understand exactly what a module is and how to use them. Don't hesitate to try the quick start guide and tutorials also. Cheers, Salvador On Apr 18, 7:53 am, Jeroen wrote: > Hello, > > I want to use an interface from another project (as API), and I don't > want to rewrite the interface under the GWT's project's client package > using some sort of adapter, if I can help it. If I understood well, I > can create a module for the API code, and expose its interface. Can > anyone please give me a basic example how to do this? > > Thanks in advance! > > Jeroen --~--~-~--~~~---~--~~ 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: Protege-OWL
You're trying to use that library in client-side code. Do you understand the difference between client-side code and server-side code in GWT ? If you're not sure what I a talking about, you should take a look at the GWT documentation: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html Once you understand the basics, you should be able to understand why a library must be specially written to conform to GWT restrictions if it is to be used client-side and why you can use ANY java library server- side. Hope it helps, Salvador On Apr 18, 1:47 am, vasu wrote: > Hey! > I am new to GWT and i am struck now. > I am working on GWT as well as Protege-OWL API using Eclipse. (http:// > protege.stanford.edu/plugins/owl/api/guide.html) > > I have added the jar files of the Protege-OWL in the project class > path as well as in the java build path (as external jars). I have also > placed the jar files in the WEB-INF->lib folder also. > > But still i am getting the error when i try to run the application > saying that > No source code is available for type > edu.stanford.smi.protegex.owl.model.OWLModel; did you forget to > inherit a required module? > No source code is available for type > edu.stanford.smi.protegex.owl.ProtegeOWL; did you forget to inherit a > required module? > No source code is available for type > edu.stanford.smi.protege.exception.OntologyLoadException; did you > forget to inherit a required module? > > The following is the code which gives the error. > > package com.owl.visualzer.project.client; > > import com.google.gwt.user.client.Window; > > import edu.stanford.smi.protege.exception.OntologyLoadException; > import edu.stanford.smi.protegex.owl.ProtegeOWL; > import edu.stanford.smi.protegex.owl.model.OWLModel; > > public class owlMetadata { > > private String uri; > > public void loadOntology(String uri){ > try{ > OWLModel owlModel = > ProtegeOWL.createJenaOWLModelFromURI(uri); > } > catch(OntologyLoadException e){ > Window.alert("Problem with loading OWL ontology!"); > } > }} > > > > I feel like i should add something in the XML file of the project to > inherit these along with the following the inherit statements: > > > > If that is the case, i donno what to add in the inhert statement to > inherit the Protege-OWL module. I am not getting how to do this. > > Can someone try n help me in this regard ? --~--~-~--~~~---~--~~ 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: HorizontalPanel and styles
You might want to check the javadoc: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/HorizontalPanel.html#setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant) this method changes the align attribute value on the tds, try it out and look at the source code for it, it will give you some nice insights into what's going on behind the scenes ;) Cheers, Salvador On Apr 17, 10:49 pm, badgerduke wrote: > Hello: > > I am working with a HorizontalPanel and trying to style the generated > table cells. GWT automatically inserts "align=left" on the tds, > making it impossible to style this property. > > Now I 've been trying to use: > > buttonPanel.setCellHorizontalAlignment(upButton, > HorizontalPanel.ALIGN_RIGHT); > > with "upButton" being a Button within the cell and "buttonPanel" being > the HorizontalPanel, but this has no effect on the outcome. Can > anybody give me a hand? > > Thanks > Eric --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---