Serialization Policy for a HashMap extension
I'm dealing with recently merged code from other projects that broke my GWT code. Due to some optimization efforts there was a class introduced that extended HashMap. Lets call it HashMapExtension. Even though HashMapExtension extends HashMap it broke the serialization policy of GWT. There is nothing in HashMapExtension that is not serializable. Is there a way to safely add classes to the serialization policy or could this potentially be a bug in GWT. I'd be happy to call it a feature request if that helps. Just looking for clarification. Thanks, Patrick -- 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.
LayoutPanel with UIBinder
Is there a way to set a component horizontal position in a layoutpanel with uibinder? By default the position is stretch but I would like to set it to begin like this: g:LayoutPanel width=450px height=390px g:layer top=5px left=7px right=5px horizontalPosition=BEGIN g:Button text=Open/ /g:layer /g:LayoutPanel Of course the layoupanel parser does not handle horizontalPosition attribute. How to do? -- 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: Ganymede Eclipse Older GWT Plugin link needed
As far as I can recall, there was a bug in eclipse that if you fail to download something once, it'll keep on failing until you install something else. So just go download some random small plugin from any'ol update site, and then try installing GPE again. HTH -- Joe -- 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: Blocking of the selected text in a DialogBox
The problem was in the modal parameter. All modal dialogs became untargetable for hot keys =) -- 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.
RequestFactory custom encoder/decoder
How can I implement custom encoding/decoding for RequestFactory calls similar to CustomFieldSerializer in RPC? In concrete I want to override the java.util.Date encoding/decoding . I want to submit a date as -MM-dd HH:mm:ss.SSS. Any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Designer 2.2 error with gwt-maven project
i use version 2.1.0-1 the last one... for now. I have a response from gwt-maven-plugin team : The new release (2.2.0) will mostly only upgrade plugin dependencies, so don't expect a fix. From my understanding of the stacktrace, GWT Designer don't support using the M2E Classpath container. There's nothing we can do to fix this. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problem with RequestFactory and two tier
Hi guys, I spent some time trying to undestand why this piece of code (that I copied from the DynaTableRF) was not working for me: final RequestContext context = driver.flush(); context.fire(new ReceiverVoid() { @Override public void onSuccess(Void response) { // do something } }); No errors but the values modified on the proxy were not saved into the entity. I saw that this method of the locator was called: @Override public MyEntity find(Class? extends MyEntity clazz, String id) { and that the correct entity is returned, but anything is modified. The fact is that the returned entity is updated with the new values from the SimpleRequestProcessor but at that time the session is closed and the entity is detached. This work on the DynaTableRF that use a filter that span the session for the duration of the overall request (OpenSessionInView) but doesn't work for me, I call EJB 3.0 methods and everything returned to the servlet tier is detached from the original session. I solved this problem with a custom update method in my RequestContext, but I guess if I'm missing something in the understanding of the RequestFactory world. Anyone with some advice ?? 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: Problem with RequestFactory and two tier
RequestFactory works like this: 1. for each modified proxy: 1. find by ID or create domain object 2. call setters on the domain object (if a value is a reference to another entity, it will be looked up by ID *again*, this means you must have some kind of session cache for the lifetime of the request) 2. call methods, passing the entities retrieved/created at step 1.1 3. call getId/getVersion on the entity proxies (sent and returned) to tell the client which EntityProxyChange events it should fire 4. call getters to send values back to the client (well, maybe steps 3 and 4 are swapped, I don't remember). HTH -- 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: Problem with RequestFactory and two tier
Hence from my understanding of 1.2 RequestFactory can't work with multitier architectures ?? -- 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 make a TextArea auto-growing...?
Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- 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: Problem with RequestFactory and two tier
It means you have to provide some kind of session cache if your data access layer doesn't have it; a ThreadLocalMapI,T in your LocatorT,I should be enough. -- 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 make a TextArea auto-growing...?
On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA Its good to find someone else who wants this. I first came across fields like this with Lotus Notes, which has had these for years. They are really useful, but very few other systems seem to have them and to be honest it is one of the things that puts me off browsers - but that is another story. I wrote some code which did this while ago, but I do not know if it still works on a current GWT, and I am absolutely sure it can be done better. import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.TextArea; public class ExpandingTextArea extends TextArea { public void onBrowserEvent( Event event) { super.onBrowserEvent( event); if (getOffsetHeight( ) = getScrollHeight( getElement( ))) setHeight( ( getScrollHeight( getElement( )) + 6)+px); } private native int getScrollHeight( Element e) /*-{ return e.scrollHeight; }-*/; public void rightSize( ) { Element el = getElement( ); int h = getScrollHeight( el); setHeight( ( h + 6) + px); } }; The fact that it has a magic number in it (6) is just plain wrong, and I can not for the life of me remember why that number is there. rightSize needs to be called when laying out a form, just to get started. Again this can be done better. It is also possible that somewhere along the line the need for getScrollHeight has gone, but I have not been following the API closely enough to see. To get the full Notes function, one would also need to set the width of the area. This only sets the height. But that is for another day. Hope someone can turn this into something that works properly. David -- 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 make a TextArea auto-growing...?
Hi David, thank you for your answer! I will try it and I will give you my feedback :-) In my case the width is not a problem; my concern is about the height (the number of displayed rows)... best regards, CA On Feb 18, 1:11 pm, David Goodenough david.goodeno...@btconnect.com wrote: On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA Its good to find someone else who wants this. I first came across fields like this with Lotus Notes, which has had these for years. They are really useful, but very few other systems seem to have them and to be honest it is one of the things that puts me off browsers - but that is another story. I wrote some code which did this while ago, but I do not know if it still works on a current GWT, and I am absolutely sure it can be done better. import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.TextArea; public class ExpandingTextArea extends TextArea { public void onBrowserEvent( Event event) { super.onBrowserEvent( event); if (getOffsetHeight( ) = getScrollHeight( getElement( ))) setHeight( ( getScrollHeight( getElement( )) + 6)+px); } private native int getScrollHeight( Element e) /*-{ return e.scrollHeight; }-*/; public void rightSize( ) { Element el = getElement( ); int h = getScrollHeight( el); setHeight( ( h + 6) + px); } }; The fact that it has a magic number in it (6) is just plain wrong, and I can not for the life of me remember why that number is there. rightSize needs to be called when laying out a form, just to get started. Again this can be done better. It is also possible that somewhere along the line the need for getScrollHeight has gone, but I have not been following the API closely enough to see. To get the full Notes function, one would also need to set the width of the area. This only sets the height. But that is for another day. Hope someone can turn this into something that works properly. David -- 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 make a TextArea auto-growing...?
There's a jQuery plugin that I've used in the past with good results. I imagine that its code could be a model for a gwt derived textarea widget. Unfortunately I don't have the time to do this now but if I do in the future I'll take a crack at it. I don't think it would be that difficult. On Fri, Feb 18, 2011 at 6:38 AM, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- *Jeff Schwartz* http://jefftschwartz.appspot.com/ follow me on twitter: @jefftschwartz -- 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 make a TextArea auto-growing...?
I have not tried it on a RichTextArea, but the principle should work on those too. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi David, thank you for your answer! I will try it and I will give you my feedback :-) In my case the width is not a problem; my concern is about the height (the number of displayed rows)... best regards, CA On Feb 18, 1:11 pm, David Goodenough david.goodeno...@btconnect.com wrote: On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA Its good to find someone else who wants this. I first came across fields like this with Lotus Notes, which has had these for years. They are really useful, but very few other systems seem to have them and to be honest it is one of the things that puts me off browsers - but that is another story. I wrote some code which did this while ago, but I do not know if it still works on a current GWT, and I am absolutely sure it can be done better. import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.TextArea; public class ExpandingTextArea extends TextArea { public void onBrowserEvent( Event event) { super.onBrowserEvent( event); if (getOffsetHeight( ) = getScrollHeight( getElement( ))) setHeight( ( getScrollHeight( getElement( )) + 6)+px); } private native int getScrollHeight( Element e) /*-{ return e.scrollHeight; }-*/; public void rightSize( ) { Element el = getElement( ); int h = getScrollHeight( el); setHeight( ( h + 6) + px); } }; The fact that it has a magic number in it (6) is just plain wrong, and I can not for the life of me remember why that number is there. rightSize needs to be called when laying out a form, just to get started. Again this can be done better. It is also possible that somewhere along the line the need for getScrollHeight has gone, but I have not been following the API closely enough to see. To get the full Notes function, one would also need to set the width of the area. This only sets the height. But that is for another day. Hope someone can turn this into something that works properly. David -- 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 make a TextArea auto-growing...?
David it works (gwt2.2). But how can I set the height at rendering time (before any browser event)? On Feb 18, 1:53 pm, David Goodenough david.goodeno...@btconnect.com wrote: I have not tried it on a RichTextArea, but the principle should work on those too. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi David, thank you for your answer! I will try it and I will give you my feedback :-) In my case the width is not a problem; my concern is about the height (the number of displayed rows)... best regards, CA On Feb 18, 1:11 pm, David Goodenough david.goodeno...@btconnect.com wrote: On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA Its good to find someone else who wants this. I first came across fields like this with Lotus Notes, which has had these for years. They are really useful, but very few other systems seem to have them and to be honest it is one of the things that puts me off browsers - but that is another story. I wrote some code which did this while ago, but I do not know if it still works on a current GWT, and I am absolutely sure it can be done better. import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.TextArea; public class ExpandingTextArea extends TextArea { public void onBrowserEvent( Event event) { super.onBrowserEvent( event); if (getOffsetHeight( ) = getScrollHeight( getElement( ))) setHeight( ( getScrollHeight( getElement( )) + 6)+px); } private native int getScrollHeight( Element e) /*-{ return e.scrollHeight; }-*/; public void rightSize( ) { Element el = getElement( ); int h = getScrollHeight( el); setHeight( ( h + 6) + px); } }; The fact that it has a magic number in it (6) is just plain wrong, and I can not for the life of me remember why that number is there. rightSize needs to be called when laying out a form, just to get started. Again this can be done better. It is also possible that somewhere along the line the need for getScrollHeight has gone, but I have not been following the API closely enough to see. To get the full Notes function, one would also need to set the width of the area. This only sets the height. But that is for another day. Hope someone can turn this into something that works properly. David -- 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 make a TextArea auto-growing...?
LinkedIn.com's Email does this, and I liked it a lot. As for setting the size before a browser event, I would give it a minimum size in Pixels. Then just let it grow as needs be from there. -- 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.
Stack Layout Panel - strange layout problem after switching tabs!
Hello, I have a StackLayoutPanel, where the content panels are DockLayoutPanels. One of these panels contains a ScrollPanel, which contains a FlexTable. So the hierarchy is as follows: StackLayoutPanel - DockLayoutPanel - ScrollPanel - FlexTable (in center) However, sometimes the FlexTable is misplaced, right after selecting the tab: https://picasaweb.google.com/104334857964624808900/GWT#5575015619744351906 This happens only when there is another tab selected first and one switches to this one. (and only in IE, not in FF) I already found that it's the ScrollPanel that is not laid out correctly, but I don't know why. I always thought that the center widgets of a DockLayoutPanel are always stretched... I do not expect a final solution, but I would be glad if I knew where to begin? Could someone point me into a good direction? Thank you Magnus -- 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 make a TextArea auto-growing...?
I understand it, but if the text is arbitrarily long (number of rows) how can I compute the initial size in pixels? On Feb 18, 2:10 pm, Sean slough...@gmail.com wrote: LinkedIn.com's Email does this, and I liked it a lot. As for setting the size before a browser event, I would give it a minimum size in Pixels. Then just let it grow as needs be from there. -- 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.
RequestFactory and ValueProxy with Role-base Security
In our company, we're using an EJB backend for Webservices and GWT-client. The Service Layer is protected by Role-based Security. I cannot see any way to use EntityProxies from GWT to access the service layer, *it is impossible to apply the Role-based Security to a generic EntityLocator Service* (the same Entity might be called from two totally different UseCases). Correct me if I'm wrong: but there is no way to use EntityProxies, I therefore must use ValueProxies with RequestFactory. I am aware, that when using ValueProxies, I have to manually merge Entites into the JPA Persistence Context, first needing to lookup the entity by ID and checking the version for Optimistic Lock problems and also checking the relationships to be merged in (which i would like to avoid using EntityProxies...) *a) First problem: need to edit ValueProxy when updating* I defined a ValueProxy that has a @ProxyForName Annotation poining to an Entity. When I want to update an entity with the ValueProxy, I first need to edit() the ValueProxy on the GWT Client. Otherwise, in the RequestFactoryServlet, all attributes of the entity are null an I run into various Exceptions on the backend. To me, this looks kind of strange first needing to edit a ValueProxy in order to have all the data on the Serverside. I would really prefer to use RequestFactory over GWT RPC, but I don't understand why I first have to edit a ValueProxy in order to have its data available on the server (I understand I have would to do so using EntityProxies) . *b) Second Problem: editing a ValueProxy must be done in the same Request Context* The second thing I don't like is kind of dependant to the first problem described. I must edit the ValueProxy in the same Context and make all changes in the same Context. MyRequest *req* = requestFactory.edit(myValueProxy); myValueProxy.setAttr1(foo): myValueProxy.setAttr2(bar); *req*.myUpdateMethod(myValueProxy).fire(...) I have to do all this in the Presenter, if I dont't want to transfer the open Request to the View. That means, the presenter has provide a method with all editable Properties to the view... I would appreciate any feedback or corrections to -- 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 make a TextArea auto-growing...?
When you create the panel and want to render it, use:- DeferredCommand.addCommand( new Command( ) { public void execute() { textArea.rightSize( ); } }); where textArea is the ExpandableTextArea. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: David it works (gwt2.2). But how can I set the height at rendering time (before any browser event)? On Feb 18, 1:53 pm, David Goodenough david.goodeno...@btconnect.com wrote: I have not tried it on a RichTextArea, but the principle should work on those too. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi David, thank you for your answer! I will try it and I will give you my feedback :-) In my case the width is not a problem; my concern is about the height (the number of displayed rows)... best regards, CA On Feb 18, 1:11 pm, David Goodenough david.goodeno...@btconnect.com wrote: On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA Its good to find someone else who wants this. I first came across fields like this with Lotus Notes, which has had these for years. They are really useful, but very few other systems seem to have them and to be honest it is one of the things that puts me off browsers - but that is another story. I wrote some code which did this while ago, but I do not know if it still works on a current GWT, and I am absolutely sure it can be done better. import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.TextArea; public class ExpandingTextArea extends TextArea { public void onBrowserEvent( Event event) { super.onBrowserEvent( event); if (getOffsetHeight( ) = getScrollHeight( getElement( ))) setHeight( ( getScrollHeight( getElement( )) + 6)+px); } private native int getScrollHeight( Element e) /*-{ return e.scrollHeight; }-*/; public void rightSize( ) { Element el = getElement( ); int h = getScrollHeight( el); setHeight( ( h + 6) + px); } }; The fact that it has a magic number in it (6) is just plain wrong, and I can not for the life of me remember why that number is there. rightSize needs to be called when laying out a form, just to get started. Again this can be done better. It is also possible that somewhere along the line the need for getScrollHeight has gone, but I have not been following the API closely enough to see. To get the full Notes function, one would also need to set the width of the area. This only sets the height. But that is for another day. Hope someone can turn this into something that works properly. David -- 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.2
Hi.. i have a question... after upgrade to GWT 2.2 my project that uses gwtai start to crash at the develop mode like that: java.lang.RuntimeException: Deferred binding failed for 'xx.com.xx.yyy.gwt.client.AppletsContracts.ProtoApplet' (did you forget to inherit a required module?) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) at com.google.gwt.core.client.GWT.create(GWT.java:98) Nothing change in my code, only the upgrade. Anyone upgrade to 2.2 successfully? 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.
using eclipse GPE and WTP
hi, I am using google plugin for eclipse and start my tomcat server instance via the eclipse-WTP servers view. Basically it works, but the first start is quite inconvenient and I wonder, if anyone knows a better way to do this. so here is what I need do to start the gwt-app. when I checkout a clean version of my project, the war folder includes only the web.xml and WEB-INF folder. now I start my 'Web Application' run-configuration which has the -war attribute set to the war folder. when this starts up, it will create the MODULE directory in my war folder (which inlcudes hosted.html, etc.) but eclipse does not see these files yet: I have to manuall refresh my project. when I now start the browser (by dbl-clicking the entry in the Development Mode view, the .gwt.rpc files will be created in my MODULE directory. again I have to manually refresh the project in eclipse Package Explorer view now I can start my server and then I need to refresh the browser and everything will work. * when I start the server first and then the development, the files will automatically be copied to the web-servers exploded war directory, but the client-server communication will not work: I get SerializationExceptions cheers, martin -- 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.2.0 HostedHtmlVersion.java, EXPECTED_GWT_ONLOAD_VERSION=2.1
Had some GWT 2.0/2.1 development issues in the past and was curious about this. Could someone explain why the EXPECTED_GWT_ONLOAD_VERSION in GWT 2.2.0 has the value 2.1? Thanks, Nikhil -- 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 integrate or call or interface with a 3rd party widget within a GWT app?
I am making an app in GWT. It is like a dashboard and will have out of the box widgets that I will provide. Now when we ship this out, there is a use case that the customer might want to create their own GWT widget and use this in the dashboard app. As I understand it, they will not be able to do this since we cannot ship our source code which is needed to compile the whole app again once tag of their widget/module gets into the gwt.xml file of my app. I cannot use anything other that GWT to make this dashboard. And their widget could be say a flash heapmap, a jquery widget/plugin, another GWT module, a jsp page that renders a visualization from back end. So far my thoughts have been to provide a widget in my app which is a wrapper in the form of an Iframe and call their main page (they will provide url), and have an api to let my app and their widget talk. But I would like to know if there are other / better approaches? -- 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.2 / RequestFactory - Can domain objects be interfaces as opposed to concrete classes?
Dear GWT Community, I am currently testing the RequestFactory framework in my current project. My question pertains to the domain objects that sit on the server folder of my gwt project and how I can best expose them to my client. I am trying to reuse one of my java libraries (I checked my classes were properly JRE emulated) that is made up of a spec (a set of interfaces) and an implementation (concrete classes implementing my interfaces). I would like to understand whether I can reference interfaces on my proxy classes (in the client folder) as opposed to concrete classes. For example, I've got an Order interface and an OrderImpl implementation. I would like my proxy objects OrderProxy (sitting in the client folder of my project) to only know about the Order interface. Of course on the server the OrderLocator instantiates OrderImpl returned as Order. I wasn't successfull so far, and it seems that GWT RequestFactory works only with concrete types during the serialization/deserialization process: it seems it is trying to restore an OrderImpl where I would expect to receive an Order, hence the run time errors I'm getting with this approach. I don't feel like rewriting my libraries to make them work with GWT RequestFactory, and would really like to understand whether their is an approach that could be used in this situation. Thanks for any info/inputs your may have on this topic, Regards, Frédéric -- 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: Print Setup
http://code.google.com/p/google-web-toolkit/issues/detail?id=2588 In the mean time: public static native void windowPrint() /*-{ $wnd.print(); }-*/; Hi Thanks for reply but this code is used to open the print dialog, not Print setup dialog. I have been use that code for Print. But I have require for open Print Setup dialog. Thanks Neel Kamal Thomas Broyer t.broyer@... writes: -- 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: UiBinder problem with IsWidget
Oh, yeah, it should be MapWidgetString, String in the UiField- declaration, sorry... On Feb 18, 6:12 am, Y2i yur...@gmail.com wrote: Should it be MapWidgetString, String instead of MapWidgetK,V? Where do K and V come from if Blubb is not a template? UiBinder works fine even without provided=true as long as the template parameters are concrete classes. -- 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.2
I guess ProtoApplet is bound to a generator? and your stack trace also talks about an IncompatibleClassChangeError? if so, search the group and the issue tracker. Short answer: recompile your generator against the GWT 2.2 SDK. -- 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.2 / RequestFactory - Can domain objects be interfaces as opposed to concrete classes?
IIRC, the only blocker is the RequestFactoryInterfaceValidator (RFIV), which stops looping over super classes as soon as it finds java.lang.Object (and implemented interfaces come after Object in the list of super classes being iterated). This means it could be worked around by using a ServiceLayerDecorator that bypasses the RFIV (by re-implementing all the methods implemented by the ResolverServiceLayer; the hard thing then is to implement resolveClientType correctly). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UI Binder Alignment problems
I had the same problem just a while ago, even though I had it with g:VerticalPanel horizontalAlignment=ALIGN_CENTER The reason in my case at least was, that UiBinder first adds the children, then sets the attribute horizontalAlignment, but horizontalAlignment is only taken into account for widgets added after the property is set, so it has no effect on widgets added in the template. This is actually fixed in GWT 2.1.1., because I had version 2.1.0. running and updated for that. Afterwards it worked as expected... Hope that helps, since I haven't tried it with g:cell ... and I don't know if the problems are related... On Feb 17, 8:58 pm, Philippe Beaudoin philippe.beaud...@gmail.com wrote: I've had tons of problem using Vertical and HorizontalPanel to align correctly. In my most recent project I followed the advice from GWT documentation and moved away from them. Now I do everything with FlowPanel (or HTMLPanel) and careful use of floats. It has made my life much easier. I don't know if you can give that approach a spin in the current context? Cheers, Philippe -- 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: using eclipse GPE and WTP
See http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee for the official recommended way. This is what we're using too, works quite well. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Window.Location and IE
Hello, everybody! In my application I want to send user to login page. I do Window.Location=./loginServlet; So, if my application is deployed to www.mysite.com/MyApplication user goes to www.mysite.com/MyApplication/loginServlet It works fine until i try it in IE. IE sends user to ''www.mysite.com/MyApplication/myapplication/ loginServlet Where 'myapplication' is the directory generated by GWT. IE seems to have 'MyApplication/myapplication' as the current location. Any ideas how to fix it? Thank you, Andrey -- 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: Window.Location and IE
Window.Location.assign(GWT.getHostPageBaseURL()http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/core/client/GWT.html#getHostPageBaseURL()+ loginServlet); -- 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 make a TextArea auto-growing...?
Thx (I'm still learning GWT...) ;-) On Feb 18, 2:34 pm, David Goodenough david.goodeno...@btconnect.com wrote: When you create the panel and want to render it, use:- DeferredCommand.addCommand( new Command( ) { public void execute() { textArea.rightSize( ); } }); where textArea is the ExpandableTextArea. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: David it works (gwt2.2). But how can I set the height at rendering time (before any browser event)? On Feb 18, 1:53 pm, David Goodenough david.goodeno...@btconnect.com wrote: I have not tried it on a RichTextArea, but the principle should work on those too. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi David, thank you for your answer! I will try it and I will give you my feedback :-) In my case the width is not a problem; my concern is about the height (the number of displayed rows)... best regards, CA On Feb 18, 1:11 pm, David Goodenough david.goodeno...@btconnect.com wrote: On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA Its good to find someone else who wants this. I first came across fields like this with Lotus Notes, which has had these for years. They are really useful, but very few other systems seem to have them and to be honest it is one of the things that puts me off browsers - but that is another story. I wrote some code which did this while ago, but I do not know if it still works on a current GWT, and I am absolutely sure it can be done better. import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.TextArea; public class ExpandingTextArea extends TextArea { public void onBrowserEvent( Event event) { super.onBrowserEvent( event); if (getOffsetHeight( ) = getScrollHeight( getElement( ))) setHeight( ( getScrollHeight( getElement( )) + 6)+px); } private native int getScrollHeight( Element e) /*-{ return e.scrollHeight; }-*/; public void rightSize( ) { Element el = getElement( ); int h = getScrollHeight( el); setHeight( ( h + 6) + px); } }; The fact that it has a magic number in it (6) is just plain wrong, and I can not for the life of me remember why that number is there. rightSize needs to be called when laying out a form, just to get started. Again this can be done better. It is also possible that somewhere along the line the need for getScrollHeight has gone, but I have not been following the API closely enough to see. To get the full Notes function, one would also need to set the width of the area. This only sets the height. But that is for another day. Hope someone can turn this into something that works properly. David -- 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: @ShowcaseSource
What were the errors? Thanks, John LaBanca jlaba...@google.com On Thu, Feb 17, 2011 at 3:40 PM, Ewald Pankratz ewald.pankr...@gmail.comwrote: Sorry it was working with the ant script. Is used eclipse run as ... On Feb 16, 6:10 pm, Ewald Pankratz ewald.pankr...@gmail.com wrote: I'm playing around with the showcase example. I created a class similar to all the others which extent ContentWidget. It is working fine as long as I don't use Annotations like @ShowcaseSource. Then I get errors. Why? package com.google.gwt.sample.showcase.client.content.ep; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.RunAsyncCallback; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.i18n.client.Constants; import com.google.gwt.sample.showcase.client.ContentWidget; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseData; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseSource; import com.google.gwt.sample.showcase.client.ShowcaseAnnotations.ShowcaseStyle; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Widget; /** * Example file. */ @ShowcaseStyle(.gwt-German-Punkt) public class EpGermanPunkt extends ContentWidget { /** * The constants used in this Content Widget. */ @ShowcaseSource public static interface CwConstants extends Constants { String cwEpGermanPunktClickMessage(); String cwEpGermanPunktDescription(); String cwEpGermanPunktDisabled(); String cwEpGermanPunktName(); String cwEpGermanPunktNormal(); } /** * An instance of the constants. */ @ShowcaseData private final CwConstants constants; /** * Constructor. * * @param constants the constants */ public EpGermanPunkt(CwConstants constants) { super(constants.cwEpGermanPunktName(), constants .cwEpGermanPunktDescription(), true); this.constants = constants; } /** * Initialize this example. */ @ShowcaseSource @Override public Widget onInitialize() { HorizontalPanel hPanel = new HorizontalPanel(); hPanel.setSpacing(10); // Add a normal button Button normalButton = new Button( constants.cwEpGermanPunktNormal(), new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(constants.cwEpGermanPunktClickMessage()); } }); normalButton.ensureDebugId(cwEpGermanPunkt-normal); hPanel.add(normalButton); // Return the panel return hPanel; } @Override protected void asyncOnInitialize(final AsyncCallbackWidget callback) { // TODO Auto-generated method stub GWT.runAsync(EpGermanPunkt.class, new RunAsyncCallback() { public void onFailure(Throwable caught) { callback.onFailure(caught); } public void onSuccess() { callback.onSuccess(onInitialize()); } }); } } -- 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. -- 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 make a TextArea auto-growing...?
Reading the jQuery plugin articles, this code may well not work on all browsers. There appear to be some quirks with IE (what a surprise) and Opera (don't know of that is version specific). I also do not know (I do not have a copy to test it with) whether the IE problems have gone away with IE9. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Thx (I'm still learning GWT...) ;-) On Feb 18, 2:34 pm, David Goodenough david.goodeno...@btconnect.com wrote: When you create the panel and want to render it, use:- DeferredCommand.addCommand( new Command( ) { public void execute() { textArea.rightSize( ); } }); where textArea is the ExpandableTextArea. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: David it works (gwt2.2). But how can I set the height at rendering time (before any browser event)? On Feb 18, 1:53 pm, David Goodenough david.goodeno...@btconnect.com wrote: I have not tried it on a RichTextArea, but the principle should work on those too. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi David, thank you for your answer! I will try it and I will give you my feedback :-) In my case the width is not a problem; my concern is about the height (the number of displayed rows)... best regards, CA On Feb 18, 1:11 pm, David Goodenough david.goodeno...@btconnect.com wrote: On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA Its good to find someone else who wants this. I first came across fields like this with Lotus Notes, which has had these for years. They are really useful, but very few other systems seem to have them and to be honest it is one of the things that puts me off browsers - but that is another story. I wrote some code which did this while ago, but I do not know if it still works on a current GWT, and I am absolutely sure it can be done better. import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.TextArea; public class ExpandingTextArea extends TextArea { public void onBrowserEvent( Event event) { super.onBrowserEvent( event); if (getOffsetHeight( ) = getScrollHeight( getElement( ))) setHeight( ( getScrollHeight( getElement( )) + 6)+px); } private native int getScrollHeight( Element e) /*-{ return e.scrollHeight; }-*/; public void rightSize( ) { Element el = getElement( ); int h = getScrollHeight( el); setHeight( ( h + 6) + px); } }; The fact that it has a magic number in it (6) is just plain wrong, and I can not for the life of me remember why that number is there. rightSize needs to be called when laying out a form, just to get started. Again this can be done better. It is also possible that somewhere along the line the need for getScrollHeight has gone, but I have not been following the API closely enough to see. To get the full Notes function, one would also need to set the width of the area. This only sets the height. But that is for another day. Hope someone can turn this into something that works properly. David -- 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: UiBinder problem with IsWidget
But I don't think UiBinder would work with an interface (which MapWidgetK,V is) if not (provided = true) or am I wrong? On Feb 18, 2:55 pm, pete superp...@geekcity.de wrote: Oh, yeah, it should be MapWidgetString, String in the UiField- declaration, sorry... On Feb 18, 6:12 am, Y2i yur...@gmail.com wrote: Should it be MapWidgetString, String instead of MapWidgetK,V? Where do K and V come from if Blubb is not a template? UiBinder works fine even without provided=true as long as the template parameters are concrete classes. -- 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 integrate or call or interface with a 3rd party widget within a GWT app?
I think you are right that you can't do it. GWT compiles to just JS so could be possible but as I understand it the implementation of event handling only supports GWT being used once on the same DOM (it could be that it would work if the two GWT apps never use the same part of the DOM tree). So I think you are right about needing an iframe. Guess if you make the communication API abstract enough you could remove the iframe if GWT changes or you find a work around. Sounds like a cool project ;) On Feb 17, 9:42 pm, KD kanwald...@gmail.com wrote: I am making an app in GWT. It is like a dashboard and will have out of the box widgets that I will provide. Now when we ship this out, there is a use case that the customer might want to create their own GWT widget and use this in the dashboard app. As I understand it, they will not be able to do this since we cannot ship our source code which is needed to compile the whole app again once tag of their widget/module gets into the gwt.xml file of my app. I cannot use anything other that GWT to make this dashboard. And their widget could be say a flash heapmap, a jquery widget/plugin, another GWT module, a jsp page that renders a visualization from back end. So far my thoughts have been to provide a widget in my app which is a wrapper in the form of an Iframe and call their main page (they will provide url), and have an api to let my app and their widget talk. But I would like to know if there are other / better approaches? -- 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 integrate or call or interface with a 3rd party widget within a GWT app?
The official line is here: http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html quote: Loading multiple modules in an HTML host page If you have multiple GWT modules in your application, there are two ways to approach loading them. Compile each module separately and include each module with a separate script tag in your HTML host page. Create a top level module XML definition that includes all the modules you want to include. Compile the top level module to create a single set of JavaScript output. The first approach may seem the easiest and most obvious. However, the second approach will lead to much better end-user performace. The problem with loading multiple modules is that each module has to be downloaded seperately by the end-user's browser. In addition, each module will contain redundant copies of GWT library code and could possibly conflict with each other during event handling. The second approach is strongly recommended. On Feb 17, 9:42 pm, KD kanwald...@gmail.com wrote: I am making an app in GWT. It is like a dashboard and will have out of the box widgets that I will provide. Now when we ship this out, there is a use case that the customer might want to create their own GWT widget and use this in the dashboard app. As I understand it, they will not be able to do this since we cannot ship our source code which is needed to compile the whole app again once tag of their widget/module gets into the gwt.xml file of my app. I cannot use anything other that GWT to make this dashboard. And their widget could be say a flash heapmap, a jquery widget/plugin, another GWT module, a jsp page that renders a visualization from back end. So far my thoughts have been to provide a widget in my app which is a wrapper in the form of an Iframe and call their main page (they will provide url), and have an api to let my app and their widget talk. But I would like to know if there are other / better approaches? -- 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: Problem with RequestFactory and two tier
My data access layer is on another tier, I can't use a ThreadLocal because it can be executed on another thread or may be another node in the cluster. Nothing strange at all, is plain old Java EE, the same problem was here from version 1.2, a 10yo technology. So in practice how can we use this pattern with this that is a very standard architecture ?? -- 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 integrate or call or interface with a 3rd party widget within a GWT app?
thanks salk31 -- 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: Serialization Policy for a HashMap extension
Without more information, I would be hesitant to say you've found a bug. The RPC mechanism must be as conservative as possible in its estimates of what can and cannot be serializable, otherwise it would attempt to allow every widget to go across the wire. A few things to check – does the type which references your HashMap subclass declare it as a HashMap, or by name? If the latter, something else could be stopping your subclass from being available, such as it or a superclass being named in a set-configuration-property name='rpc.blacklist' / tag in any module? Otherwise, is it possible you are using the map to hold objects which are never named as explicitly reachable types? An example of this would be declaring a MapString, Object and storing various valid, serializable types - though they are legal to send over the wire, GWT can't tell for certain that you will send them, so it removes them. In this case, consider either adding an unused private field of the given type to the type that wraps this, or add the type name to the rpc.whitelist, ensuring that it may always be sent over the wire. Hope this helps - if not, more information on the usecase would be helpful to provide further advice. -- 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: HandlerManager is deprecated and theres no removeHandler(...) method at SimpleEventBus class
Thanks for the link. I already had found that though. The threads I could find from that do say that HandlerManager will be undeprecated, but they convey it in a way that implies that they wish it wasn't necessary. I am left with the impression that there is a drive to get rid of HandlerManager, and I'm still left wondering why. Is it the particular implementation that is the problem? Or is there an inherent problem in my design because I think I need 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: Problem with RequestFactory and two tier
Works for me in JEE envirnoment. Provide a locator, that makes a JNDI Lookup to get an EJB Session Bean. The bean can be implemented in a generic fassion, you only need to write a single Locator. That EJB must open a Transaction (with EJB3, the bean by Default creates one). Your data will be written to the Database. Question is, how efficient this will be, if RequestFactory calls the Bean too often... Sidenote: the problem I have is, that jee role-based security does not work with the generic locator (see my other post) -- 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 integrate or call or interface with a 3rd party widget within a GWT app?
If your customer writes bloatware or buggy code it will also isolate your code if you use an iframe... On Feb 18, 3:58 pm, KD kanwald...@gmail.com wrote: thanks salk31 -- 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 make a TextArea auto-growing...?
Hey, I've taken a shot at this problem with pretty good results. Check out the code here: https://gist.github.com/833873 The textarea will stretch pretty reliably as the user types/cuts/pastes text. The way it does this is by maintaining an internal representation of characters-per-line. The only caveat is that you need a PX_PER_CHAR constant, so if the user changes font size or you use a variable-width font, it wont behave as expected. As for calculating the initial size, with this widget you can call setText(getText()) (or add your own init() method that does the same). Hope this helps! -- 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: UiBinder problem with IsWidget
Oops, sorry I didn't notice MapWidget was an interface. I think you are correct. -- 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: LayoutPanel with UIBinder
If the button is the only element in the layer you can set layer's widths (instead of using right) Alternatively, try wrapping the button in a panel that has HorizotonalAlignement property (or just use SimplePanel). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory custom encoder/decoder
Out of curiosity, why do you need that? Can you submit a date as java.util.Date and format it on the server as necessary? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Event Bubbling
How I event bubble using change handlers. I also use client persistence through out my applications and can throw global events. This isn't the native gwt event system but works good for me. http://demobubbleup.appspot.com/ - demo http://code.google.com/p/gwt-examples/wiki/Navigation - wiki Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to make a TextArea auto-growing...?
We have a good implementation of both an auto-sizing TextArea (vertical) and an auto-sizing TextBox (horizontal) that automatically adjust to the CSS specified for the box (accommodating different fonts, line-height, padding, etc). I've been meaning to share it for a while and will do it this weekend. It's currently dependent on GQuery.curCSS to get the computed styles. I was hoping to remove that dependency before adding it to our gwt- traction library but since we use GQuery in other places, it hasn't been a priority for me. I'll try to remove that, but the first version may require GQuery. I should be able to have it up by Monday. Hopefully you can wait that long. I'll update this thread when it's available. Cheers, Andy On Feb 18, 6:38 am, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- 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: More than one hostpage, each with an own entryPoint
Thanx -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and ValueProxy with Role-base Security
Correct me if I misunderstood: I don't use EJB container, but my web container uses security-roles and security-constraints. All I had to do is to assign an auth-constraint to a web resource that represents a Request Factory and Entity Proxies work without problems. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and ValueProxy with Role-base Security
I was not clear about the role-based security. Lets make a simple example: Entity e contains Names of persons along with the company they work for: e.name e.company I have two services, one that is allowed only to read entries of persons that work for companyA, the other is allowed only to read persons that work for companyB. I can easly protect those services with roles. You always want to protect your services,* the EntityLocator in GWT bypasses this concept*. -- 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.2 / RequestFactory - Can domain objects be interfaces as opposed to concrete classes?
I had the same problem and managed to implement a new ServiceLayerDecorator. See.. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/36d0ed4f87be/45af985914ac1780?lnk=gstq=maitland#45af985914ac1780 Regards, John -- 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 make a TextArea auto-growing...?
Pixels can't be calculated in a input box, but can be calculated in a panel, at least from what I can do. I have put together some code to dynamically expand a textbox. The same could be applied to textarea, adding the height. I'll have the demo up tomorrow on my site, and I'll do textbox and textarea. I have code in the sourc, but the google svn is down (unusual). public class TextBoxExpandWidget extends Composite { private HTML h; private TextBox tb; public TextBoxExpandWidget() { VerticalPanel vp = new VerticalPanel(); RootPanel.get().add(vp); tb = new TextBox(); vp.add(tb); tb.addKeyUpHandler(new KeyUpHandler() { public void onKeyUp(KeyUpEvent event) { setSize(); } }); initWidget(tb); h = new HTML(); AbsolutePanel ap = new AbsolutePanel(); RootPanel.get().add(ap); ap.add(h, -100, -100); } private void setSize() { String s = tb.getText(); s = s.replaceAll(\040, nbsp;); h.setHTML(s); System.out.println(s: + s); int width = h.getOffsetWidth(); if (width 50) { tb.setWidth(width + px); } System.out.println(width= + width); } } Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to make a TextArea auto-growing...?
does it work with copy-and-paste scenarios ? when a user pastes a long text, will the text-area auto-grow ? paste using ctrl+v or mouse-right-click-context-menu -- 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: Problem with RequestFactory and two tier
Interesting that you work with an architecture similar to mine. What you are doing is exactly what I do, in my Locator's find I call and EJB's method (the EJB was previously found with a JNDI lookup) that correctly find the JPA Entity. The problem for me is that the returned entity is detached and from the find all the RequestFactory framework works on that instance. All is done, but it will never written back to the database. Where this happen in your setup ?? Thank you. PS: I solved with a ServiceLocator, but I feel is not the right architecture. -- 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 make a TextArea auto-growing...?
observe the events of changes in text area, and yes, it can change size on paste. You can accurately measure the text, by putting the text in a html div, and get the divs width and height. Of course, you'll have to have a width contraint on the div, b/c you'll want to wrap the text in the div. You'll have to compensate for some factors like css and things that could affect html. Done right you can correctly get the pixel width to resize the input box. Hope that helps. Brandon Donnelson http://gwt-examples.googlecode.com http://code.google.com/p/gwt-examples/source/browse/trunk/DemoTextBoxExpand/src/org/gonevertical/textboxexpand/client/TextBoxExpandWidget.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.
Re: Problem with RequestFactory and two tier
Luca, could you please clarify what Locator are you talking about ? EntityLocator or ServiceLocator ? -- 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: Problem with RequestFactory and two tier
I did not use the all of the RequestFactory API as you did with the driver. For updating entities, I wrote my own Service. The Locator was only used to find the entities. *1) find* rf.myRequest().search().fire(new ReceiverListMyEntityProxy() { ...} ); *2. update* MyRequest req = rf.myRequest(); MyEntityProxy mutable = req.edit(myNonMutableObj); mutable.setData(foo); req.*update*(mutable).fire(new ReceiverMyEntityProxy() {...}): where *update* is a Method on the EJB Service Layer... -- 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: Problem with RequestFactory and two tier
dagerber, Luca, could you please clarify which Locator are you referring to ? EntityLocator or ServiceLocator ? 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: Problem with RequestFactory and two tier
On Friday, February 18, 2011 4:50:39 PM UTC+1, Luca wrote: My data access layer is on another tier, I can't use a ThreadLocal because it can be executed on another thread or may be another node in the cluster. But the RequestFactory request is executed all in one thread! What matters is that the session cache is scoped to the ServletRequest. class MyLocator extends LocatorA, String { @Override public A find(Class? extends A clazz, String id) { MapString, A cache = getCache(); A ret = cache.get(id); if (ret == null) { ret = // get from whatever cache.put(id, ret); } return ret; } @SuppressWarnings(unchecked) private MapString, A getCache() { MapString, A cache = (MapString, A) RequestFactoryServlet.getThreadLocalRequest().getAttribute(cache); if (cache == null) { cache =new HashMapString, A(); RequestFactoryServlet.getThreadLocalRequest().setAttribute(cache, cache); } return cache; } ... -- 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: Problem with RequestFactory and two tier
In a JEE env this can be not true, my Session EJB can even run in another container, in another process, in another machine, so the cache (that is a good idea with only the servlet layer) is not implementable in this three tier architecture (of course I hope to be 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.
Re: Problem with RequestFactory and two tier
All works fine with the ServiceLocator, which greatly finds my Sessions and execute business logic. What I mean is that the way Locator work, finding the entity with find and the updating relevant properties, is not implementable in Java EE, of course I hope I'm 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.
Re: Problem with RequestFactory and two tier
This works great me me too, but this mean that the Locator (and the way it works automatically with AutoBean) works in not implementable with multi-tier architecture. -- 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 Designer 2.2 error with gwt-maven project
gwt-maven-plugin version 2.1.0 uses gwt-dev 2.1 automatically, which can break quite a few things. I have recompiled the plugin so that it uses gwt-dev 2.2. AFAIK the official one has not yet been released but in the meantime you can grab it from GWTP's maven repo. Info there: http://code.google.com/p/gwt-platform/wiki/UsingGwtpWithMaven?ts=1298053129updated=UsingGwtpWithMaven#Using_gwt-maven-plugin_with_GWT_2.2_(temporary) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory/Editor AutoBean has been frozen error
I have temporarily fixed this by copying AbstractRequestContext into a super-source directory and making the change there. I also had to call invocations.clear() to avoid duplicate invocations the next time a request is fired. You also need to make sure editedProxies.clear() is not called otherwise all the properties on your proxy will be null on the next request. It looks like invocations.clear() should also be called when there are violations, otherwise you will get duplicate invocations. I noticed this on the violations because it would display duplicated error messages on the second request. I created http://code.google.com/p/google-web-toolkit/issues/detail?id=6008 for this issue. -- 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: LayoutPanel with UIBinder
If you want the layer to contain more than the button you can style the button by specifying top/left/widht/height in its CSS. (By default you get top:0; left:0; width:100%; height:100%; I believe.) -- 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: Stack Layout Panel - strange layout problem after switching tabs!
Did you try explicitely setting the CSS height of your ScrollPanel to 100%? -- 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 make a TextArea auto-growing...?
I'm refactoring the code into gwt-traction right now, but noticing that GQuery no longer has this static method: public static String curCSS(Element elem, String name, boolean force) I should be close once I find its replacement. On Feb 18, 11:44 am, Andy pula...@gmail.com wrote: We have a good implementation of both an auto-sizing TextArea (vertical) and an auto-sizing TextBox (horizontal) that automatically adjust to the CSS specified for the box (accommodating different fonts, line-height, padding, etc). I've been meaning to share it for a while and will do it this weekend. It's currently dependent on GQuery.curCSS to get the computed styles. I was hoping to remove that dependency before adding it to our gwt- traction library but since we use GQuery in other places, it hasn't been a priority for me. I'll try to remove that, but the first version may require GQuery. I should be able to have it up by Monday. Hopefully you can wait that long. I'll update this thread when it's available. Cheers, Andy On Feb 18, 6:38 am, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- 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.
Padding on layoutpanels
Hi Is is possible to add padding on DockLayoutPanel or LayoutPanel? It seems that it works using other panels like VerticalPanel or HorizontalPanel but using padding on LayoutPanel or DockLayoutPanel doesn't seem to have any effect. /Juho -- 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.
PreefixTree code question
I was looking at the code in PreefixTree to see if it would be feasible to make it generic so I can pass it values other than a String and noticed something that I thought was a little odd. See init() in the following code snippets: private JavaScriptObject stack; public PrefixTreeIterator(PrefixTree tree) { init(); addTree(tree, ); } private native void init() /*-{ th...@com.google.gwt.user.client.ui.PrefixTree $PrefixTreeIterator::stack = []; }-*/; This basically got me wondering why the developer chose to assign stack with a JNDI call instead of doing the following: private final JavaScriptObject stack = JavaScriptObject.createArray(); Is there something wrong with using JavaScriptObject.createArray() to do this or was this particular function not available when the code was written? This is code from 2.2 BTW. Thanks, Pat -- 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: Ganymede Eclipse Older GWT Plugin link needed
What are the symptoms when it fails to load? Have you tried re-starting Eclipse? Have you tried Eclipse 3.6? -Eric On Feb 17, 8:47 pm, Mulder udpa...@gmail.com wrote: If I try to install the latest version of the GWT eclipse plugin for Ganymede, it fails to download. Is there a way I can get to the older versions of the plugin from the update site? Note: the plugin has worked since last year when I downloaded fromhttp://dl.google.com/eclipse/plugin/3.4 My PC crashed few months ago, and reinstalling the plugin now (which is much newer that what I had installed earlier) fails to download and install. So I want to get to older versions of GWT plugin. Any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and ValueProxy with Role-base Security
So it looks like the problem is there is no way to tell a particular instance of a request factory which services it is allowed use. If there are two different instances of request factories with different auth-constraints, once a client is authorized to use one or another, the client can access all services. Is it correct? And how does ValueProxy 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: RequestFactory and ValueProxy with Role-base Security
With ValueProxies you don't need do define a Locator on the Proxy. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and ValueProxy with Role-base Security
But you don't have to define a Locator for EntityProxy too, it's optional. Sorry, I still don't quite understand the difference between ValueProxy and EntityProxy with regard to security. But I do see an issue with a client accessing all services from any request factory instance regardless of the auth-constraints on the servlet. -- 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 RequestFactory and/or the Editor framework rendering the JPA optimistic locking useless?
I am thinking more likely the RequestFactory is rendering optimistic locking useless. The project is created with Roo with DataNucleus GWT. I wiped out all the generated stuff out and use the resulting Maven build as a starting point. I have been able to get a simple entity going and have a simple Editor allowing modifications and retrieval/update via RequestFactory. In the app I have been able to pile up newly generated Editor with the same entity, then change the same field one at a time and save it. Doing so I was hoping the backed JPA stack will give me an exception complain about update using a stale version. But to my surprise it isn't doing it. It just happily updated the record and bump up the version field by one without problem. Looking at the TCPIP trace, requestFactory's request is indeed only sending the modified field over the wire. So that means the RequestFactoryServlet must be quietly loading the current version of the entity from the db and merge the partial-update to construct the entity object that later passed to the persist method the caller instructed. Thus, the version would be fine even if the request was generated based on a staled but modified version of the entity. So my question to the GWT team, will this be fixed/changed? Or at least make it a configurable option that requestFactory will communicate and check the version automatically to ensure the optimistic locking works? Thanks, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and ValueProxy with Role-base Security
In this case, the find() method in the entity's Locator class is responsible to apply security. Why is this not possible? /dmc On Fri, Feb 18, 2011 at 12:10 PM, dagerber daniel.gerb...@gmail.com wrote: I was not clear about the role-based security. Lets make a simple example: Entity e contains Names of persons along with the company they work for: e.name e.company I have two services, one that is allowed only to read entries of persons that work for companyA, the other is allowed only to read persons that work for companyB. I can easly protect those services with roles. You always want to protect your services,* the EntityLocator in GWT bypasses this concept*. -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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 integrate or call or interface with a 3rd party widget within a GWT app?
You can run multiple GWT apps on a page. Just include multiple script tags, and typically assign the RootPanel for each app to a different div in the page. They won't be able to communicate via Java, but they can communicate through global JavaScript variables and JSNI methods. Does that help? /dmc On Thu, Feb 17, 2011 at 4:42 PM, KD kanwald...@gmail.com wrote: I am making an app in GWT. It is like a dashboard and will have out of the box widgets that I will provide. Now when we ship this out, there is a use case that the customer might want to create their own GWT widget and use this in the dashboard app. As I understand it, they will not be able to do this since we cannot ship our source code which is needed to compile the whole app again once tag of their widget/module gets into the gwt.xml file of my app. I cannot use anything other that GWT to make this dashboard. And their widget could be say a flash heapmap, a jquery widget/plugin, another GWT module, a jsp page that renders a visualization from back end. So far my thoughts have been to provide a widget in my app which is a wrapper in the form of an Iframe and call their main page (they will provide url), and have an api to let my app and their widget talk. But I would like to know if there are other / better approaches? -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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 make a TextArea auto-growing...?
I made a demo of textbox expanding and text area expansion. http://demogwttextexpand.appspot.com/ - demo http://code.google.com/p/gwt-examples/wiki/DemoGWTTextBoxExpander - wiki, links to source here. Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to make a TextArea auto-growing...?
The AutoSizingTextArea widget is up at http://code.google.com/p/gwt-traction/ I hope you find it useful. I'm happy to accept patches if anyone wants to suggest changes. On Feb 18, 2:15 pm, Andy pula...@gmail.com wrote: I'm refactoring the code into gwt-traction right now, but noticing that GQuery no longer has this static method: public static String curCSS(Element elem, String name, boolean force) I should be close once I find its replacement. On Feb 18, 11:44 am, Andy pula...@gmail.com wrote: We have a good implementation of both an auto-sizing TextArea (vertical) and an auto-sizing TextBox (horizontal) that automatically adjust to the CSS specified for the box (accommodating different fonts, line-height, padding, etc). I've been meaning to share it for a while and will do it this weekend. It's currently dependent on GQuery.curCSS to get the computed styles. I was hoping to remove that dependency before adding it to our gwt- traction library but since we use GQuery in other places, it hasn't been a priority for me. I'll try to remove that, but the first version may require GQuery. I should be able to have it up by Monday. Hopefully you can wait that long. I'll update this thread when it's available. Cheers, Andy On Feb 18, 6:38 am, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- 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 make a TextArea auto-growing...?
Doesn't work in FFv3.6.13 scoll bar is visible and text area does not expand On Fri, Feb 18, 2011 at 6:07 PM, Brandon Donnelson branflake2...@gmail.comwrote: I made a demo of textbox expanding and text area expansion. http://demogwttextexpand.appspot.com/ - demo http://code.google.com/p/gwt-examples/wiki/DemoGWTTextBoxExpander - wiki, links to source here. Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.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. -- *Jeff Schwartz* http://jefftschwartz.appspot.com/ follow me on twitter: @jefftschwartz -- 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 make a TextArea auto-growing...?
textarea also doesn't work in chrome v9.0.597.98 On Fri, Feb 18, 2011 at 6:09 PM, Andy pula...@gmail.com wrote: The AutoSizingTextArea widget is up at http://code.google.com/p/gwt-traction/ I hope you find it useful. I'm happy to accept patches if anyone wants to suggest changes. On Feb 18, 2:15 pm, Andy pula...@gmail.com wrote: I'm refactoring the code into gwt-traction right now, but noticing that GQuery no longer has this static method: public static String curCSS(Element elem, String name, boolean force) I should be close once I find its replacement. On Feb 18, 11:44 am, Andy pula...@gmail.com wrote: We have a good implementation of both an auto-sizing TextArea (vertical) and an auto-sizing TextBox (horizontal) that automatically adjust to the CSS specified for the box (accommodating different fonts, line-height, padding, etc). I've been meaning to share it for a while and will do it this weekend. It's currently dependent on GQuery.curCSS to get the computed styles. I was hoping to remove that dependency before adding it to our gwt- traction library but since we use GQuery in other places, it hasn't been a priority for me. I'll try to remove that, but the first version may require GQuery. I should be able to have it up by Monday. Hopefully you can wait that long. I'll update this thread when it's available. Cheers, Andy On Feb 18, 6:38 am, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- 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. -- *Jeff Schwartz* http://jefftschwartz.appspot.com/ follow me on twitter: @jefftschwartz -- 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 make a TextArea auto-growing...?
also doesn't work in ie v8 On Fri, Feb 18, 2011 at 6:13 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: textarea also doesn't work in chrome v9.0.597.98 On Fri, Feb 18, 2011 at 6:09 PM, Andy pula...@gmail.com wrote: The AutoSizingTextArea widget is up at http://code.google.com/p/gwt-traction/ I hope you find it useful. I'm happy to accept patches if anyone wants to suggest changes. On Feb 18, 2:15 pm, Andy pula...@gmail.com wrote: I'm refactoring the code into gwt-traction right now, but noticing that GQuery no longer has this static method: public static String curCSS(Element elem, String name, boolean force) I should be close once I find its replacement. On Feb 18, 11:44 am, Andy pula...@gmail.com wrote: We have a good implementation of both an auto-sizing TextArea (vertical) and an auto-sizing TextBox (horizontal) that automatically adjust to the CSS specified for the box (accommodating different fonts, line-height, padding, etc). I've been meaning to share it for a while and will do it this weekend. It's currently dependent on GQuery.curCSS to get the computed styles. I was hoping to remove that dependency before adding it to our gwt- traction library but since we use GQuery in other places, it hasn't been a priority for me. I'll try to remove that, but the first version may require GQuery. I should be able to have it up by Monday. Hopefully you can wait that long. I'll update this thread when it's available. Cheers, Andy On Feb 18, 6:38 am, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- 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. -- *Jeff Schwartz* http://jefftschwartz.appspot.com/ follow me on twitter: @jefftschwartz -- *Jeff Schwartz* http://jefftschwartz.appspot.com/ follow me on twitter: @jefftschwartz -- 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 Designer 2.2 error with gwt-maven project
On Friday, February 18, 2011 7:19:07 PM UTC+1, Philippe Beaudoin wrote: gwt-maven-plugin version 2.1.0 uses gwt-dev 2.1 automatically, which can break quite a few things. gwt-maven-plugin:2.1.0-1 has a dependency on com.google.gwt:gwt-dev:2.1.0, but you can override it to make it use the version you want/need (and this is the official way of doing things): http://olamy.blogspot.com/2010/12/using-gwt-sdk-211-with-gwt-maven-plugin.html No need to recompile the plugin. -- 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.
ServiceLocator and entities with collection
Hi all, I've found some difficulties in persisting entities with a ServiceLocator implementation. In practice the entity passed to my persist method doesn't contains data of the contained collection. I saw that everything arrives on the server (using a Network Monitor) but then when the entity is recreated the collection is not saved into it. To proceed in my work I created a method that takes the collection as a separated argument, but of course this is not the correct way to do this. Thank you for your advices. L. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory/Editor AutoBean has been frozen error
I think it was on-purpose: validation is done before any invocation is processed, so you can safely send the same invocations back to the server after making changes to the proxies so they validate the next time. I guess the idea is that you then only change proxies and fire the context again, without enqueueing your invocations once more. Failures however can happen at any time during invocations processing. Clearing invocations would work in many cases, but not all: you'll send the same operations, but the domain objects might have change as a result of a previous successful invocation (RequestFactory doesn't make any assumption on the use of transactions, so things have not necessarily been rolled back; actually in your case, our datastore –MongoDB– doesn't have that concept of transaction, and we successfully use RF with it; and similarly, AppEngine transactions are so specific that you won't enclose your whole RF request in a transaction), so applying the operations might very well fail (e.g. entity has been deleted, or its state has changed so that a setter now throws an exception). You'd probably rather want to copy the edited entities to another context. I haven't checked but it might be possible using AutoBeanUtils.getAutoBean and AutoBean.clone before a context.edit(). See also http://code.google.com/p/google-web-toolkit/issues/detail?id=5794 -- 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: Window.Location and IE
Perfect! Thank you very much! Andrey On Feb 18, 8:22 am, Thomas Broyer t.bro...@gmail.com wrote: Window.Location.assign(GWT.getHostPageBaseURL()http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/g...()+ loginServlet); -- 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: is RequestFactory and/or the Editor framework rendering the JPA optimistic locking useless?
Had the very same thoughts, so I opened an issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6046 I can only tell you that it *was* present in early versions of RequestFactory, but has been removed at some point in time before the 2.1.0 release. -- 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: ServiceLocator and entities with collection
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5389, http://code.google.com/p/google-web-toolkit/issues/detail?id=5724 and http://code.google.com/p/google-web-toolkit/issues/detail?id=5776 -- 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 Designer 2.2 error with gwt-maven project
Might be the official way of doing it, but caused problems for me in Eclipse with m2eclipse, and I've seen others report the same. Anyway, as they say, YMMV. :) -- 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.
UiBinder + HTMLPanel + css = Loss of hair???
Hallo, I have a weird problem, in my UiBinder template (suppose it's the template for TestWidget) I have sth like the following code ui:style .fullSize { height: 100%; width: 100%; } /ui:style g:ScrollPanel addStyleNames='{style.fullSize}' g:HTMLPanel addStyleNames='{style.fullSize}' div class='{style.fullSize}'TestDiv/div /g:HTMLPanel /g:ScrollPanel But if I initialize TestWidget test = new TestWidget(); SimplePanel testPanel = new SimplePanel(); testPanel.setPixelSize(800, 600); testPanel.add(test); RootPanel.get().add(testPanel); I see that the ScollPanel indeed has the full size of 800 x 600, but then in FireBug it shows a weird div with just position: relative; and for all child elements the size is broken (meaning, the percentage doesn't refer to the 800 x 600 px anymore...) I tried for a ridiculous long time, to fix this, but I don't know where I go wrong (since literally every f* tag should have size 100% and therefore I don't know where this ominous tag without style comes from...) Does anyone know what I'm doing wrong, and how to fix it? It' almost 5 in the morning here, so it might as well be a stupid mistake, that I can't identify through my swollen little pig eyes anymore, but I couldn't find rest, if I hadn't at least posted it here ;-) About any help I'd be really glad... Greetz, Pete -- 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: is RequestFactory and/or the Editor framework rendering the JPA optimistic locking useless?
Thanks Thomas for taking the time to open a ticket and responded so quickly. Thanks again. Joseph On Feb 18, 7:32 pm, Thomas Broyer t.bro...@gmail.com wrote: Had the very same thoughts, so I opened an issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=6046 I can only tell you that it *was* present in early versions of RequestFactory, but has been removed at some point in time before the 2.1.0 release. -- 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: UiBinder + HTMLPanel + css = Loss of hair???
hi Pete, I am not an html / css, but from what I read, u might want to switch to using css' margin-left and margin-right properties for better layout control. Joseph On Feb 18, 10:43 pm, pete superp...@geekcity.de wrote: Hallo, I have a weird problem, in my UiBinder template (suppose it's the template for TestWidget) I have sth like the following code ui:style .fullSize { height: 100%; width: 100%; } /ui:style g:ScrollPanel addStyleNames='{style.fullSize}' g:HTMLPanel addStyleNames='{style.fullSize}' div class='{style.fullSize}'TestDiv/div /g:HTMLPanel /g:ScrollPanel But if I initialize TestWidget test = new TestWidget(); SimplePanel testPanel = new SimplePanel(); testPanel.setPixelSize(800, 600); testPanel.add(test); RootPanel.get().add(testPanel); I see that the ScollPanel indeed has the full size of 800 x 600, but then in FireBug it shows a weird div with just position: relative; and for all child elements the size is broken (meaning, the percentage doesn't refer to the 800 x 600 px anymore...) I tried for a ridiculous long time, to fix this, but I don't know where I go wrong (since literally every f* tag should have size 100% and therefore I don't know where this ominous tag without style comes from...) Does anyone know what I'm doing wrong, and how to fix it? It' almost 5 in the morning here, so it might as well be a stupid mistake, that I can't identify through my swollen little pig eyes anymore, but I couldn't find rest, if I hadn't at least posted it here ;-) About any help I'd be really glad... Greetz, Pete -- 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: Problems while installing Google Updates for Eclipse 3.6
Hi, I'm also facing the same problem. Any help would be appreciated. Try http://code.google.com/eclipse/docs/install-from-zip.html I also had to uninstall the stuff from instantiations such as GWTDesigner, windowsBuilder etc. [help -- install new software -- what is already installed -- uninstall GWTDesigner, windowsBuilder etc.] All three items (2.2 plugin, 2.2 gwt, AE 1.4.2) installed just fine. Shawn osx 10.6, osx 10.5 -- 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: Stack Layout Panel - strange layout problem after switching tabs!
On Feb 18, 7:50 pm, Philippe Beaudoin philippe.beaud...@gmail.com wrote: Did you try explicitely setting the CSS height of your ScrollPanel to 100%? I set the height as folows: scp.setHeight(100%); I believe that this results in the appropriate CSS style... Magnus -- 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 make a TextArea auto-growing...?
Jeff, I couldn't tell if you were replying to Brandon or me, but I did notice an issue with my demo in Firefox 3.6. It was just the way that demo was built and has been fixed. http://code.google.com/p/gwt-traction/ Cheers, Andy On Feb 18, 6:11 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Doesn't work in FFv3.6.13 scoll bar is visible and text area does not expand On Fri, Feb 18, 2011 at 6:07 PM, Brandon Donnelson branflake2...@gmail.comwrote: I made a demo of textbox expanding and text area expansion. http://demogwttextexpand.appspot.com/- demo http://code.google.com/p/gwt-examples/wiki/DemoGWTTextBoxExpander- wiki, links to source here. Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.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. -- *Jeff Schwartz*http://jefftschwartz.appspot.com/ follow me on twitter: @jefftschwartz -- 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-contrib] Future of CellTable
Thanks for the info! I guess I'll wait until 2.3 and will start to port the TreeTable + filter stuff. Is there a way to contribute patches since the incubator is deprecated? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors