Re: UIBinder, HTMLPanel, and style interactions

2011-09-27 Thread Sudhakar Abraham
Wrap div element in a HTML panel. You don't need padding the content of the div element. Instead, you use the margin tag of css. S. Abraham www.DataStoreGwt.com Persist objects directly in GAE On Sep 27, 2:04 am, Mike Dee mdichiapp...@gmail.com wrote: I'm noticing something weird.  It is my

Jetty as Standalone Server

2011-09-27 Thread Markus Unger
Hello! Currently I use the Tomcat as Servlet Container, but I need to use WebSockets. So I find the Jetty WebContainer with integrated WebSocket support. I search for some tutorials and looked for some books for jetty as webserver. But the results are low... Is there a good reason why I should

Re: Isn't the Activities and Places model violating the MVP pattern?

2011-09-27 Thread Thomas Broyer
On Tuesday, September 27, 2011 2:45:20 AM UTC+2, Behi wrote: Thanks for the response. I shall have a look at those links later tonight. If you value theory and purity more than pragmatism and productivity, then yes, it probably violates the pattern, as it doesn't use the observer

NPE with RequestFactory (GWT 2.4.0) when returned List contains a null value

2011-09-27 Thread Alexandre Ardhuin
Hi, After migrate from gwt-2.3.0 to gwt-2.4.0, I face the following NPE when the requestFactory method returns a List containing a null value : 27 sept. 2011 10:10:39 com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost GRAVE: Unexpected error java.lang.NullPointerException

how to make flow layout

2011-09-27 Thread wahaha
how to make flow layout in gwt? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: initWidget(uiBinder.createAndBindUi(this));

2011-09-27 Thread Alexandre Ardhuin
Hi, As javadoc of Composite.initWidget() says : Sets the widget to be wrapped by the composite. The wrapped widget must be set before calling any {@link Widget} methods on this object, or adding it to a panel. This method may only be called once for a given composite. So, it doesn't matter where

Class Cast Exception while running requestfactory-apt

2011-09-27 Thread Romain BIARD
Hi all, I'm updating my project to GWT 2.4.0 but i'm facing an issue not really documented while running requestfactory-apt. [INFO] javac option: -proc:only [INFO] javac option: -d [INFO] javac option: /Users/romainbiard/Soft/workspace-foo/bar/target/ foobar-1.0.8-SNAPSHOT/WEB-INF/classes [INFO]

Re: NPE with RequestFactory (GWT 2.4.0) when returned List contains a null value

2011-09-27 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6809 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jcs8yKFihx0J. To post to

Re: how to make flow layout

2011-09-27 Thread Thomas Broyer
Use FlowPanel and/or HTMLPanel? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/d5nmF9OAnAMJ. To post to this group, send email to

Re: NPE with RequestFactory (GWT 2.4.0) when returned List contains a null value

2011-09-27 Thread Alexandre Ardhuin
Oups, I had searched on this group but not in issue tracker. Thanks Thomas -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email

Re: Jetty as Standalone Server

2011-09-27 Thread mP
They are both very capable servlet containers, used by many. If you really need or want Jetty's WebSockets then it is the deal breaker that selects Jetty. On Sep 27, 5:32 pm, Markus Unger markus.unger1...@googlemail.com wrote: Hello! Currently I use the Tomcat as Servlet Container, but I need

Re: too much code: GWT Development with Activities and Places

2011-09-27 Thread Rob
Hi, And gwt-platform: - http://code.google.com/p/gwt-platform/ Cheers Rob On Sep 27, 7:44 am, Felipe Martim Vieira felipemar...@gmail.com wrote: Maybe you should have a look at this: http://code.google.com/p/mvp4g/ I have never used it, but it looks like a great alternative to reduce the

Re: ie8 problem with gwt 2.4?

2011-09-27 Thread guillaume prime
Yes, it was the problem ! I modify my module XML file with : !-- Custom UserAgentPropertyGenerator without test on Google Frame -- property-provider name=user.agent generator=org.prime.client.useragent.MyUserAgentPropertyGenerator/ !-- Mask error message -- set-configuration-property

Re: Class Cast Exception while running requestfactory-apt

2011-09-27 Thread Thomas Broyer
A TypeSymbol instance represents a type variablehttp://docjar.org/docs/api/com/sun/tools/javac/code/Symbol$TypeSymbol.html. The RequestFactory annotation processor looks at the type parameters of the Request or InstanceRequest to find the return type of the domain method, and it assumes it's

Re: Detecting ONPASTE on a richtextbox? (possible?)

2011-09-27 Thread Javier
im in the same problem. some links that works good in textarea widgets but not in richtext :(: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/09a3527707d22be0?fwc=1 related issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4030 same question:

Re: Class Cast Exception while running requestfactory-apt

2011-09-27 Thread Romain BIARD
Thank you Thomas, I found the issue just after i started this thread. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7CH_yeS5P9UJ. To post to

Re: byte array to Image

2011-09-27 Thread AgitoM
Decided to deal with the 32kb limit in Internet Explorer 8. (Internet Explorer 9 is not a problem). Dealt with the problem by creating a servlet that outputs the byte array as a image. I'm sending the ID of the image, in this case a map, to the servlet using the GET method. This is the code for

is it possible to open menu on Header of celltable?

2011-09-27 Thread Brito
I wana add menu on header of celltable. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Base64 encoded image in ImageCell?

2011-09-27 Thread Jonas
I'm trying to display a base 64 encoded image in my cell table. I've tried using the ImageCell but nothing is displayed. ColumnTravelDto, String ownerImageColumn = new ColumnTravelDto, String(new ImageCell()) { @Override public String getValue(TravelDto object) { return

Re: Permutation, code splitting and deferred property

2011-09-27 Thread Paul Robinson
I don't know the answer to your question, but there is a mistake in the gwt.xml fragment you posted. You assign myProperty=value1 when user.agent equals FF and also when user.agent is not FF. You never assign myProperty = value2. HTH Paul On 27/09/11 05:37, Pierre Coirier wrote: Hi, I got

Re: Permutation, code splitting and deferred property

2011-09-27 Thread Pierre Coirier
Thanks for pointing that out. It was a typo error, in my code I do have myProperty = value2. If it helps, you can find the code that I'm using to reproduce the error: http://mvp4g.googlecode.com/svn/temp/gwt-example.zip and the soyc report: http://mvp4g.googlecode.com/svn/temp/compile-report.zip

Re: is it possible to open menu on Header of celltable?

2011-09-27 Thread Sudhakar Abraham
Put a ClickableTextCell in Header. Override onBrowserEvent() method in Header class. Try the code below. //code segement HeaderString header = new HeaderString(new ClickableTextCell()) { @Override public String getValue() { return your_header_name; }

App with hundreds of code splits won't finish compiling

2011-09-27 Thread hindog
I have an app that generates hundreds of additional classes during compile that I then manage via a single class that uses GWT.runAsync to perform code splitting so that I can load these classes lazily at runtime. My problem is that the compile never finishes, it will just eat up all of my system

GWT-Project with JBoss 5.1

2011-09-27 Thread Sascha Hoffmann
Hallo I have a gwt project and would like to deploy it in the JBoss 5.1- Server. Can somebody give me a hint where or how I can do 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

Is there anyway to don't go to a place until a rpc is done?

2011-09-27 Thread nacho
For example, let's say that I have this dummy menu [ *Goto Activity Foo* | *Goto Activity Bar* ] When I click on [ *Goto Activity Foo* ] I go to the the Foo Activity, and in the start() method I call to a rpc, let's say dummyService.fetchData(). And, then I click on the [ *Goto Acitivity Bar*

Re: GWT-Project with JBoss 5.1

2011-09-27 Thread Mariano Ortega
Hi Sascha, There is not much to say here, you have to deploy your GWT app like a normal WAR or EAR application (depending on your needs). If you just want to do a quick try, do a GWT compile and create a WAR file (with the contents of your war directory) and put it into one of your JBOSS

Re: Is there anyway to don't go to a place until a rpc is done?

2011-09-27 Thread Jens
Why would you want to wait? Seems like the user isn't interessted anymore in Activity/Place Foo. If you force the user to wait, your app may feel unresponsive and slow. But if your really want to, just disable the menu while the activity loads the data and re-enable it when the data is loaded.

Ways to catch server side exception when using request factory?

2011-09-27 Thread July
hi all: I'm using RequestFactory to do B-S communication, usually the server throw an exception that i didn't catch, at the client side there will be an pop-up dialog indicating the server error, and from the exception stack, all are client side trace, and the message is server error, so i

Re: GWT-Project with JBoss 5.1

2011-09-27 Thread Mauro
Hi Sascha Hoffmann Take a look at: http://stackoverflow.com/questions/5712906/getting-error-the-content-of-element-type-web-app-must-match I hope this helps -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Re: GWT-Project with JBoss 5.1

2011-09-27 Thread Sascha Hoffmann
Hi Mariano I've done this and it works in the JBoss 4.2.3 but not in the JBoss 5.1 or higher. ** *Caused by: **org.jboss.xb.binding.JBossXBException**: Failed to parse source: The content of element type web-app must match

What was Direct-Eval RPC, and why didn't it work ?

2011-09-27 Thread Leonel Gayard
The documentation mentions a feature called Direct-Eval RPC[1], saying it didn't work as planned, and is now discouraged. What was it, and why is it now considered a bad idea ? [1]: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideDeRPC -- You received

Encode URL in ISO-8859-1

2011-09-27 Thread Mogoye
Hello, I have a GWT app that must open a new window to display a PDF. The PDF is sent by a server that must receive GET URLs with parameters encoded in ISO-8859-1 for special caracters. My problem is that I don't know how to encode this URL in GWT client side. I've found URL.encode but it

GWT DatePicker +CSS

2011-09-27 Thread Sean
Hey guys, I'm trying to create a calendar that represents when my DB has data. So I see DatePicker has addStyleToDates(styleName,ListDate). That's all well and good, but it seems that weekends have a style that is overriding my style, and it never shows my style on the weekend. Looking at

Re: EntityProxy injection with Guice - Guice-persist

2011-09-27 Thread koma
Ok, thx I figured it out... First I needed to inject a ServiceLayerDecorator to with Guice like this example project https://github.com/mgenov/injecting-request-factory And indeed, the EntityManager must be passed as ProviderEntityManager otherwise it is not ThreadLocal and you run into closed

Re: Ways to catch server side exception when using request factory?

2011-09-27 Thread opn
Hello, the DefaultExceptionHandlerhttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/requestfactory/server/DefaultExceptionHandler.java?spec=svn10016r=9374is not doing much. As you can see it only sends the message over the wire. I think you should hook in

RequestFactoryServlet and security : passing sessionId back and forth

2011-09-27 Thread koma
Hi As so many others before me, I went through the *LoginSecurityFAQ* and have been reading about *passing the SESSIONID from the client to the server in the payload for each and every request*. The message is that we cannot trust the HttpSession server side because of potential CSRF attacks.

Re: too much code: GWT Development with Activities and Places

2011-09-27 Thread jscheller
On Sep 26, 2:49 pm, camerojo jadcpub-goo...@yahoo.com.au wrote: It is the bugs in the GWT core that I feel need to be strongly prioritized. That is where any development resources that Google assigns to GWT are most profitably deployed. My worry is that I see those valuable resources being

Re: Ways to catch server side exception when using request factory?

2011-09-27 Thread July
Quite helpful, Thanks very much for the reply. On Tue, Sep 27, 2011 at 11:20 PM, opn open...@gmx.net wrote: Hello, the

Re: RequestFactoryServlet and security : passing sessionId back and forth

2011-09-27 Thread Thomas Broyer
On Tuesday, September 27, 2011 5:28:21 PM UTC+2, koma wrote: Hi As so many others before me, I went through the *LoginSecurityFAQ* and have been reading about *passing the SESSIONID from the client to the server in the payload for each and every request*. The message is that we cannot

Re: is it possible to open menu on Header of celltable?

2011-09-27 Thread Brito
working tanksss! On Sep 27, 5:39 pm, Sudhakar Abraham s.abra...@datastoregwt.com wrote: Put a ClickableTextCell in Header. Override  onBrowserEvent() method in Header class.  Try the code below. //code segement  HeaderString header = new HeaderString(new ClickableTextCell())  {    

Re: Is there anyway to don't go to a place until a rpc is done?

2011-09-27 Thread nacho
For example, let's say I have a menu option List Users, and I have a button in the List Users view that removes a User. Then a user of my app clicks in the Delete User button, and inmediately clicks in List Users option in the menu. This RPC goes to the server before that the deleteUser RPC is

Column sorting using async dataprovider in celltable

2011-09-27 Thread jgm
Hello, We are using an async dataprovider in our celltable, and we have had some problemt gettting the sorting to work. In the OnRangeChanged method, we implement sorting this way: if (sortList.get(0).getColumn().equals(costManagementNameColumn)) {

Re: What was Direct-Eval RPC, and why didn't it work ?

2011-09-27 Thread brad
It had a dependency on the Sun JVM (specifically it used sun.misc.Unsafe) There were some plans for a workaround, but for whatever reason TPTB decided to work on RequstFactory instead. You can get the same speed advantages with RF but there is a whole lot more boilerplate code needed (which in

UiBinder using Element and appendChild(child) possible?

2011-09-27 Thread benjamin_ma...@lavabit.com
Hi, I wanted to create some lightweight Elements using UiBinder. I've created a 'root' Element called GlassPanel: (.ui.xml) ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui div ui:field=panel div style=someStyles... /

Re: Is there anyway to don't go to a place until a rpc is done?

2011-09-27 Thread Thomas Broyer
This is what the mayStop() method of Activity is for. As Jens said, you can also somehow disable navigation until your app is in a state that allows it (but beware that if the user refreshes the page, the app won't have any way to know that a previous call was issued → implement mayStop anyway,

How to install a previous version of the GWT - Eclipse Plugin with Maven

2011-09-27 Thread Jose CT
Hi all, I have been following the instructions found at http://code.google.com/eclipse/docs/getting_started.html#installing for installing the Eclipse plugin for GWT. The latest version of the GWT plugin includes the 2.4.0 SDK and the GAE 1.5.4 SDK. I have been having trouble finding how to

Re: Is there anyway to don't go to a place until a rpc is done?

2011-09-27 Thread Jens
Also keep in mind that the user can simply hit the back/forward button of the browser to switch places. In that case it would not really help to disable the view/navigation or using a PopupPanel with active glass panel because the user can still navigate using the browsers buttons. You would

Re: How to implement this function?

2011-09-27 Thread TreKing
On Tue, Sep 27, 2011 at 1:22 AM, SophiaWang wby...@gmail.com wrote: How could I realize that? Read the documentation on WebView and web apps. - TreKing

FlexTable border and TabPanel

2011-09-27 Thread hadar
Hi, I want to create flexTable that show difference between two lists. each two rows show one row from first list and second line one from second list. Total number of rows is size of list * 2. I need that between each first and second line to have little border and between each 2 rows bigger

Re: Permutation, code splitting and deferred property

2011-09-27 Thread Pierre Coirier
I added logs to my generator and it seems the generator is called when it is supposed to (aka only once for each permutation with the right value for myProperty): Computing all possible rebind results for 'com.mvp4g.client.Mvp4gModule' Rebinding com.mvp4g.client.Mvp4gModule

Re: [ANN] Scala+GWT 0.1-M2 released

2011-09-27 Thread Alain Ekambi
This is interesting. Will check it out. Thx for sharing 2011/9/27 Grzegorz Kossakowski grzegorz.kossakow...@gmail.com Hello, I'm excited to announce second milestone of Scala+GWT project. Download (and then follow README instructions) from here: http://goo.gl/93hsR Release notes

Re: Detecting ONPASTE on a richtextbox? (possible?)

2011-09-27 Thread darkflame
I'm guessing its because richtextbox use's a iFrame...so somehow the handler needs to listen within that? Dont know the solution though. On Sep 27, 11:56 am, Javier arn...@gmail.com wrote: im in the same problem. some links that works good in textarea widgets but not in richtext

Re: Edit an object in a List without a ListEditor

2011-09-27 Thread Maiku
Crud, seems I spoke too soon. The code worked the first time I tried it but after changing something in a totally different area I get: com.google.gwt.core.client.JavaScriptException: (TypeError): __static[524442].call is not a function at

Re: Edit an object in a List without a ListEditor

2011-09-27 Thread Maiku
Hmmm... this looks it might be a bug in the Development mode for Eclipse under Firefox 6.02 (although I had my ListEditor problem back in FF 5.0). Running under IE9 and Chrome both work and using the Run command in Eclipse (which I assume starts Hosted Mode?) instead of the Debug command, also

Re: Edit an object in a List without a ListEditor

2011-09-27 Thread Maiku
Woops, I mean Eclipse Debug runs Development Mode and Eclipse Run runs Production Mode. (I keep getting confused with the change in terminology for the modes :) ) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

XSRF protection

2011-09-27 Thread Vampire
Hi Does RequestFactory has included XSRF protection? For RPC Requests I see the XsrfProtectedServiceServlet. But I don't see a XsrfProtectedRequestFactoryServlet or similar. While the documentation states that RequestFactory is better and newer and should be used. Does this mean it has XSRF

What do you think?

2011-09-27 Thread Bruno Sandivilli
Hi , what do you think about this: http://amplicate.com/hate/gwt/4104355-i-hate-gwt-its-one-of-the-worst-frameworks-ive/ ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-27 Thread codesite-noreply
Comment by rmattis...@gmail.com: Ty for this ~ For more information: http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Comment on SourceMaps in google-web-toolkit

2011-09-27 Thread codesite-noreply
Comment by tambir.k...@gmail.com: l;plpl For more information: http://code.google.com/p/google-web-toolkit/wiki/SourceMaps -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Support for multiple composed editors in a CompositeEditor

2011-09-27 Thread Stefan Ollinger
*Feature**:** Polymorphic Sub-Editors inside a Composite Editor*** 0. Problem When using a CompositeEditor, the Editor Framework resolves the composed editor based on the parameterized type CompositeEditorT, C, EC. So the type of the composed editor is bound to EC. Since the composed editor

[gwt-contrib] [ANN] Scala+GWT 0.1-M2 released

2011-09-27 Thread Grzegorz Kossakowski
Hello, I'm excited to announce second milestone of Scala+GWT project. Download (and then follow README instructions) from here: http://goo.gl/93hsR Release notes (included below) can be found here: http://goo.gl/H8san Scala+GWT 0.1-M2 The second official milestone release

[gwt-contrib] Generated EditorContext class names take actual parameterization into account. (issue1352806)

2011-09-27 Thread rjrjr
Thomas, if you still want this in can you make the me reviewer? http://gwt-code-reviews.appspot.com/1352806/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors