can I send something like upload finished answere from HTTP servlet to my application ?
Hi please tell me can I send something like upload finished answere from HTTP servlet to my application ? I want to create a loader when user upload the file and hide that uploader when the upload finishes. Please tell me is there a way to make this trick ? -- 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: com.google.gwt.user.client.rpc.SerializationException
Hi, Check if your Hibernate.cfg and hbm.xml files are placed in the src folder and not war. Exceptions are not serializable, so you need to create a serializable exception to throw. Any parameter, return object or exception has to be serializable by GWT which means that it must implement IsSerializable or Serializable and Exception implements neither. public interface DOGService extends RemoteService{ DOG getDOG() throws BadDogException; } public interface DOGServiceAsync{ void getDOG(AsyncCallback cb); } public class BadDogException extends SerializableException{ ... } the async interface never declares exceptions. exceptions are passed to the onFailure() method of the Callback, not thrown from the method. -- 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: RF for CRUD and RPC for others?
RF perhaps is better to tools, like Roo 2011/4/28 -sowdri- > In fact RF is simple compared to RPC! > > -- > 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: RF for CRUD and RPC for others?
In fact RF is simple compared to RPC! -- 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: RF for CRUD and RPC for others?
Option 2. I think in this case use RPC is more simple and better. If not, why is not? Juan 2011/4/28 Juan Pablo Gardella > For this cases, is more simple use RPC. > > > 2011/4/28 -sowdri- > >> RF could be used to perform: >> >> 1. CRUD operations on entities (without a service layer at all) >> 2. Call methods on your service layer, which can again return Entities or >> ValueProxies or Simple types! >> >> So you are free to choose where to add your business logic, while the >> second option would be a natural fit. >> >> Thanks, >> -sowdri- >> >> -- >> 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: RF for CRUD and RPC for others?
For this cases, is more simple use RPC. 2011/4/28 -sowdri- > RF could be used to perform: > > 1. CRUD operations on entities (without a service layer at all) > 2. Call methods on your service layer, which can again return Entities or > ValueProxies or Simple types! > > So you are free to choose where to add your business logic, while the > second option would be a natural fit. > > Thanks, > -sowdri- > > -- > 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: RF for CRUD and RPC for others?
RF could be used to perform: 1. CRUD operations on entities (without a service layer at all) 2. Call methods on your service layer, which can again return Entities or ValueProxies or Simple types! So you are free to choose where to add your business logic, while the second option would be a natural fit. Thanks, -sowdri- -- 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: com.google.gwt.user.client.rpc.SerializationException
Could you post the contents of the file GWTRPCServiceExporter.java Thanks, -sowdri- -- 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: Navigation Buttons: "first, previous, next, last"?
good answer 2011/4/28 Jim Douglas > http://www.google.com/search?tbm=isch&q=first+button+icon > http://www.google.com/search?tbm=isch&q=previous+button+icon > http://www.google.com/search?tbm=isch&q=next+button+icon > http://www.google.com/search?tbm=isch&q=last+button+icon > > On Apr 28, 8:27 pm, Magnus wrote: > > Hi, > > > > I would like to have some graphical buttons for database record > > navigation: > > > > - go to first > > - go to previous > > - go to next > > - go to last > > > > The buttons should have symbols similar to these: > > > > |< > > < > > > > > > > > >| > > > > What's the easiest way to implement this? Are there predefined symbols > > in GWT? > > > > Thanks > > 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. > > -- 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: TextBox and Other Boxes not working
Are you creating you UI with GWT Java or UiBinder? FlexTable only supports adding children in the context of a GWT Java class. It does not allow children when used in a UiBinder layout. If you try to add a child in the UiBinder source, it results in an illegal GWT state. It does not sounds like GWT Designer "crashed" at all. It sounds like it reported a legitimate parsing problem (which would be expected behavior in that case). If GWT Designer were to actually crash, the editor itself would close, and it would not report an error message. On Apr 27, 3:00 pm, ashu <2as...@gmail.com> wrote: > I am designing a page using GWT designer and this is the hierarchy > > rootPanel > || > VerticalPanel > || > FlexTable > > Now whenever I try to add a textbox to Flextable the mouse just > doesn't pick it. and I 'm unable to add it. > When I switch to Editor mode I can add the textbox and it shows no > error. But just when I switch to Designer mode the GWT designer > crashes and says it is unable to parse. > > Am I doing something wrong or is it a bug? > > Awaiting reply. > Regards -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Navigation Buttons: "first, previous, next, last"?
http://www.google.com/search?tbm=isch&q=first+button+icon http://www.google.com/search?tbm=isch&q=previous+button+icon http://www.google.com/search?tbm=isch&q=next+button+icon http://www.google.com/search?tbm=isch&q=last+button+icon On Apr 28, 8:27 pm, Magnus wrote: > Hi, > > I would like to have some graphical buttons for database record > navigation: > > - go to first > - go to previous > - go to next > - go to last > > The buttons should have symbols similar to these: > > |< > < > > > > >| > > What's the easiest way to implement this? Are there predefined symbols > in GWT? > > Thanks > 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.
Navigation Buttons: "first, previous, next, last"?
Hi, I would like to have some graphical buttons for database record navigation: - go to first - go to previous - go to next - go to last The buttons should have symbols similar to these: |< < > >| What's the easiest way to implement this? Are there predefined symbols in GWT? Thanks 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.
My GWT & HTML5 notes
Here is some notes about scaling images, reading from FileUpload and using HTML5. http://code.google.com/p/gwt-examples/wiki/gwt_hmtl5 Brandon Donnelson http://gwt-examples.googlecode.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: com.google.gwt.user.client.rpc.SerializationException
What version of gwt are you use? 2011/4/28 Nisha > Hi All, > I am working on GWT+Spring+Hibernate integration. But I am getting the > following error. Could any any one please help. > > java.lang.RuntimeException: > com.google.gwt.user.client.rpc.SerializationException: Type > 'java.lang.IllegalArgumentException' was not assignable to > 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a > custom field serializer.For security purposes, this type will not be > serialized.: instance = java.lang.IllegalArgumentException: node to > traverse cannot be null! >at > > org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java: > 150) >at > > com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: > 248) >at > > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: > 62) >at > > org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java: > 168) >at > > org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java: > 49) >at > > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java: > 874) >at > > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java: > 808) >at > > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java: > 523) >at > > org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java: > 463) >at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) >at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 487) >at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > 362) >at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > 216) >at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 181) >at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 729) >at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 405) >at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) >at > org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: > 49) >at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) >at org.mortbay.jetty.Server.handle(Server.java:324) >at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 505) >at org.mortbay.jetty.HttpConnection > $RequestHandler.content(HttpConnection.java:843) >at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) >at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) >at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) >at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > 395) >at org.mortbay.thread.QueuedThreadPool > $PoolThread.run(QueuedThreadPool.java:488) > > -- > 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: Call EJB 3 from GWT
IDE it is not matter, the communication is independent of your favorite IDE. Perhaps you have problems relationate with configurations in eclipse. EJB, GWT is not relationate with netbeans or eclipse 2011/4/28 NahumMor > I think it's not work with gwt 2.2.0 and eclipse 3.6, probably not > support, > i try call the ejb from gwt in netbeans and it's work fine. > > > On 28 אפריל, 22:01, Juan Pablo Gardella > wrote: > > Use a wrapper. When you are in server side is plain Java. With plain Java > > you can communicate with a EJB > > > > 2011/4/28 NahumMor > > > > > > > > > > > > > > > > > hi, > > > i trying to call EJB 3 from GWT RPC, > > > i use Eclipse 3.6 GWT 2.2.0 and Glassfish 3.1, > > > i write simple ejb, the EJB work fine if i call him from application > > > EE client (servlet), > > > but when i try to call the EJB from GWT RPC i get error, Null pointer > > > exeption. > > > my question is it possible to call EJB 3 that found in glassfish 3.1 > > > from GWT 2.2.0 ? > > > > > -- > > > 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. > > -- 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.1 vs GWT 2.2 and this forum
In my honest opinion the participation of the GWT team in this forum is dissapointing. Some more attention would be appreciated. On 29 abr, 00:24, David Chandler wrote: > We announced the 2.2 RC here, but evidently posted the 2.2 release > announcement only on the > blog:http://googlewebtoolkit.blogspot.com/2011/02/google-plugin-for-eclips... > > I'll announce here when 2.3 is available and update the sticky post. > > Thanks, > /dmc > > > > On Thu, Apr 28, 2011 at 4:02 PM, pohl wrote: > > GWT 2.2 has been out for a while now, and I haven't seen an > > announcement for it here. The old announcement for GWT 2.1 is still > > pinned to the top of the page. > > > It still looks like a lot of libraries haven't released jars that work > > with 2.2 yet, either. > > > Is 2.2 just a release candidate? Did someone forget to announce 2.2 > > here? Has this forum been abandoned by the GWT team? > > > -- > > 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: GWT and PS3
user.agent for PS3 is Mozilla/5.0 (PLAYSTATION 3; 1.00) so, do you mean that I have to add something like that or am I missing something here? On Apr 20, 6:39 am, jhulford wrote: > The user agent detection is defined in the UserAgent.gwt.xml module > definition file (http://code.google.com/p/google-web-toolkit/source/ > browse/trunk/user/src/com/google/gwt/user/UserAgent.gwt.xml). You can > actually override that provider in your own module file by making your > own in it. If you figure out > what the PS3's user agent is and map it to any of the user agents that > are currently utilized in GWT. That won't mean everything will > necessarily work if the PS3 browser doesn't actual work like the > browser you're mapping it to, but it will get you past the hump of > getting the PS3 browser to run your GWT code. > > On Apr 19, 7:45 pm, Excell wrote: > > > > > Is anyone achieve loading GWT compiled app in PlayStation 3 (Netfront) > > browser. I have tried to compile IE6 only permutation, but PS3 did not > > pick it up. Any suggestions? -- 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: Application works locally, but not from remote server?
UPDATE: The problem was that the contents of the war folder were placed in a sub folder one level below the root of my hosting area. Apparently, you could load the html file, but the javascript was not found. When the files were placed at the root of my area, it worked properly. I've tried various combinations of path for the javascript within the html file, but nothing seems to work when the files are not at root level. I'd really like to know "the rules" regarding where the html can be located, how the javascript is pathed, and whether this problem can be avoided by creating a source code path that generates a proper path within the war folder. Thanks, Bob Wirka On Apr 28, 1:32 pm, BobWirka wrote: > I've created a GWT Java Application from the wizard (the one with the > Click Me! button). It compiles, and if I open the html file from > Firefox, all is good; the button appears as does the popup dialog box > when the button is clicked. > > However, when the files are ftp'd to my web hosting service the button > does not appear. The web page is found and loaded, but the GWT button > does not display. > > Windows Internet Explorer behaves the same way. > > Google Chrome will not even display the button locally, though the > page does load. > > There are no elements in the html , as I'd like to generate a > purely javaScript html element to be a part of a larger html page. > > Would anyone know why this may be happening? I've transferred the > whole war directory to the web host, but no luck yet. > > Thanks, > > Bob Wirka -- 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.1 vs GWT 2.2 and this forum
We announced the 2.2 RC here, but evidently posted the 2.2 release announcement only on the blog: http://googlewebtoolkit.blogspot.com/2011/02/google-plugin-for-eclipse-and-gwt-22.html I'll announce here when 2.3 is available and update the sticky post. Thanks, /dmc On Thu, Apr 28, 2011 at 4:02 PM, pohl wrote: > GWT 2.2 has been out for a while now, and I haven't seen an > announcement for it here. The old announcement for GWT 2.1 is still > pinned to the top of the page. > > It still looks like a lot of libraries haven't released jars that work > with 2.2 yet, either. > > Is 2.2 just a release candidate? Did someone forget to announce 2.2 > here? Has this forum been abandoned by the GWT team? > > -- > 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: RF for CRUD and RPC for others?
For an example of using a ServiceLocator to expose DAOs directly as RF services, see http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/ /dmc On Thu, Apr 28, 2011 at 6:03 PM, khiem nguyen wrote: > > you can use ServiceLocator & write your logic in it ( which could also make > use of DAO) > > > On Thu, Apr 28, 2011 at 5:56 PM, Juan Pablo Gardella < > gardellajuanpa...@gmail.com> wrote: > >> I think as you. Where is the best place to put logic if we use RF? With >> RPC I have services and daos. >> >> Juan >> >> >> 2011/4/28 Diego Lovison >> >>> hmmm.. >>> >>> using RF I need put the all logic on the Entity? >>> for example: >>> I would like save a employee, but I need verify other thinks that the >>> hibernate validator dont attend.. >>> where I put this logic on entity? >>> Using RPC I create a DAO and put this logic in DAO.. >>> >>> other way.. >>> I can use ValueProxy with RPC? >>> >>> thanks >>> ;) >>> >>> On 28 abr, 10:23, Thomas Broyer wrote: >>> > Er, no. I'd rather say: if you choose to use RF, then use it (at least) >>> for >>> > entities and related value objects (CRUD or not); for value objects >>> that are >>> > not 'connected' in any way to your entities, then you have the choice >>> (but >>> > I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC >>> in >>> > the same app if you ask me) >>> >>> -- >>> 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. >> > > -- > 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.
Application doesn't start up
Hello, my gwt application doesn't start anymore since last night. I didn't change something but I've got a error message when I start the application on my browser. java.lang.NullPointerException: null at com.google.gwt.dev.javac.JsniChecker.getSuppressedWarnings(JsniChecker.java: 466) at com.google.gwt.dev.javac.JsniChecker $JsniDeclChecker.visit(JsniChecker.java:121) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java: 209) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java: 1294) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.traverse(QualifiedAllocationExpression.java: 478) at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSend.java: 576) at org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java: 127) at org.eclipse.jdt.internal.compiler.ast.ForStatement.traverse(ForStatement.java: 401) at org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java: 127) at org.eclipse.jdt.internal.compiler.ast.ForStatement.traverse(ForStatement.java: 401) at org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java: 127) at org.eclipse.jdt.internal.compiler.ast.IfStatement.traverse(IfStatement.java: 245) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java: 239) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java: 1294) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.traverse(QualifiedAllocationExpression.java: 478) at org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.traverse(LocalDeclaration.java: 245) at org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration.traverse(ConstructorDeclaration.java: 505) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java: 1239) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java: 687) at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java: 499) at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java: 448) at com.google.gwt.dev.javac.CompilationStateBuilder $CompileMoreLater $UnitProcessorImpl.process(CompilationStateBuilder.java:69) at com.google.gwt.dev.javac.JdtCompiler $CompilerImpl.process(JdtCompiler.java:195) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java: 617) at com.google.gwt.dev.javac.CompilationStateBuilder $CompileMoreLater.compile(CompilationStateBuilder.java:193) at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java: 390) at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java: 275) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java: 325) at com.google.gwt.dev.DevModeBase $UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:104) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 180) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) There is no error when I compiled the application. I don't understand what this error message mean. I've restore an old version of my project, but the error exists also. can someone help? Best regards, Robert -- 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.
Application works locally, but not from remote server?
I've created a GWT Java Application from the wizard (the one with the Click Me! button). It compiles, and if I open the html file from Firefox, all is good; the button appears as does the popup dialog box when the button is clicked. However, when the files are ftp'd to my web hosting service the button does not appear. The web page is found and loaded, but the GWT button does not display. Windows Internet Explorer behaves the same way. Google Chrome will not even display the button locally, though the page does load. There are no elements in the html , as I'd like to generate a purely javaScript html element to be a part of a larger html page. Would anyone know why this may be happening? I've transferred the whole war directory to the web host, but no luck yet. Thanks, Bob Wirka -- 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: RF for CRUD and RPC for others?
you can use ServiceLocator & write your logic in it ( which could also make use of DAO) On Thu, Apr 28, 2011 at 5:56 PM, Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: > I think as you. Where is the best place to put logic if we use RF? With RPC > I have services and daos. > > Juan > > > 2011/4/28 Diego Lovison > >> hmmm.. >> >> using RF I need put the all logic on the Entity? >> for example: >> I would like save a employee, but I need verify other thinks that the >> hibernate validator dont attend.. >> where I put this logic on entity? >> Using RPC I create a DAO and put this logic in DAO.. >> >> other way.. >> I can use ValueProxy with RPC? >> >> thanks >> ;) >> >> On 28 abr, 10:23, Thomas Broyer wrote: >> > Er, no. I'd rather say: if you choose to use RF, then use it (at least) >> for >> > entities and related value objects (CRUD or not); for value objects that >> are >> > not 'connected' in any way to your entities, then you have the choice >> (but >> > I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC >> in >> > the same app if you ask me) >> >> -- >> 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. > -- 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.
com.google.gwt.user.client.rpc.SerializationException
Hi All, I am working on GWT+Spring+Hibernate integration. But I am getting the following error. Could any any one please help. java.lang.RuntimeException: com.google.gwt.user.client.rpc.SerializationException: Type 'java.lang.IllegalArgumentException' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized.: instance = java.lang.IllegalArgumentException: node to traverse cannot be null! at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java: 150) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java: 168) at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java: 49) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java: 874) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java: 808) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java: 523) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java: 463) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) -- 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: "combobox" - combination of list- and suggestion box
On Tue, Apr 26, 2011 at 2:22 AM, tanteanni wrote: > thx, > so the look comes from ListBox (including the button?)? (besides - > there is no "listbox" in your code!) > I think you misunderstood. ListBox has nothing to do with ComboBox. > but what is the image bundle you use for? Or to ask the other way > around: you took an suggestion box and placed it together with > "FocusPanel iconWrapper" in a horizontal panel?! How to get the > iconWrapper look like the browsers comboBox-Button (what gwt element > to use?)? > The ImageBundle provides the little inverted triangle icon. If you want to change the icon, you can supply your own bundle. > On 19 Apr., 16:58, Isaac Truett wrote: >> I did use my own image for ComboBox. It can be overridden if you want >> to use your image instead. >> >> I think you're confused about ListBox. It's just a GWT widget wrapper >> for an HTML select element. The button image isn't something that >> comes with GWT, it's the browser's look and feel. If you want to >> create a button that looks like the browser's select element button, >> go ahead. You'll want to create a different image for each browser and >> use deferred binding to show the proper one in each permutation. >> >> >> >> >> >> >> >> On Tue, Apr 19, 2011 at 1:19 AM, tanteanni wrote: >> > thx for the code >> >> > basically you took a suggestbox in a horizontal panel with a button >> > right? i found similar code here: >> >http://stackoverflow.com/questions/3039436/suggestbox-gwt-showing-all >> > My Problem is how to get the button to look like the ListBox Button >> > and how to get the button placed within the text box? or in general >> > how to get/use styles and images of existing gwt widgets? (i didn't >> > understand this part of your code. do you use your own image or do you >> > use the image and style of ListBox delivered with GWT?) >> >> > On 18 Apr., 20:09, Isaac Truett wrote: >> >> I wrote a ComboBox based on the GWT 1.6 SuggestBox back in 2008. There >> >> have been a lot of changes since then, so I would be surprised if my >> >> implementation works with newer versions. The code is Apache 2.0 >> >> licensed. If you want to use any of that old code according to the >> >> terms of that license, here it is: >> >> >>http://code.google.com/p/simple-gwt/wiki/ComboBoxModulehttp://code.go.. >> >> >> On Mon, Apr 18, 2011 at 6:16 AM, tanteanni wrote: >> >> > how to make a suggestBox with a clickable drop down menu (showing >> >> > suggestion on click). the use case for this is a user who don't know >> >> > what text to put in to get a suggestion. >> >> >> > i already tried listbox - no text input :-( and suggestBox with own >> >> > "MultiWordSuggestion" and own "SuggestOracle" but how to get an widget >> >> > that combines both? (probably by provideing a special "textboxbase"?) >> >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups "Google Web Toolkit" group. >> >> > To post to this group, send email to >> >> > google-web-toolkit@googlegroups.com. >> >> > To unsubscribe from this group, send email to >> >> > google-web-toolkit+unsubscr...@googlegroups.com. >> >> > For more options, visit this group >> >> > athttp://groups.google.com/group/google-web-toolkit?hl=en. >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Google Web Toolkit" group. >> > To post to this group, send email to google-web-toolkit@googlegroups.com. >> > To unsubscribe from this group, send email to >> > google-web-toolkit+unsubscr...@googlegroups.com. >> > For more options, visit this group >> > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > 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: Call EJB 3 from GWT
I think it's not work with gwt 2.2.0 and eclipse 3.6, probably not support, i try call the ejb from gwt in netbeans and it's work fine. On 28 אפריל, 22:01, Juan Pablo Gardella wrote: > Use a wrapper. When you are in server side is plain Java. With plain Java > you can communicate with a EJB > > 2011/4/28 NahumMor > > > > > > > > > hi, > > i trying to call EJB 3 from GWT RPC, > > i use Eclipse 3.6 GWT 2.2.0 and Glassfish 3.1, > > i write simple ejb, the EJB work fine if i call him from application > > EE client (servlet), > > but when i try to call the EJB from GWT RPC i get error, Null pointer > > exeption. > > my question is it possible to call EJB 3 that found in glassfish 3.1 > > from GWT 2.2.0 ? > > > -- > > 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: encodedRequest cannot be empty
Anyone??? On Mar 2, 3:58 pm, tjmcc18 wrote: > I just updated my app from 2.0.4 to 2.1.1. Now I am intermittently > seeing the following error: > > Exception while dispatching incoming RPC call > java.lang.IllegalArgumentException: encodedRequest cannot be empty > at com.google.gwt.user.server.rpc.RPC.decodedRequest(RPC.java:228) > at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi > ceServlet.java: > 205) > at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi > ceServlet.java: > 243) > at > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract > RemoteServiceServlet.java: > 62) > > The error seems to come and go. Never saw it until I upgraded. Has > anyone seen this before? Any ideas how to fix it? > > -TJ -- 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.1 vs GWT 2.2 and this forum
GWT 2.2 has been out for a while now, and I haven't seen an announcement for it here. The old announcement for GWT 2.1 is still pinned to the top of the page. It still looks like a lot of libraries haven't released jars that work with 2.2 yet, either. Is 2.2 just a release candidate? Did someone forget to announce 2.2 here? Has this forum been abandoned by the GWT team? -- 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: Call EJB 3 from GWT
Use a wrapper. When you are in server side is plain Java. With plain Java you can communicate with a EJB 2011/4/28 NahumMor > hi, > i trying to call EJB 3 from GWT RPC, > i use Eclipse 3.6 GWT 2.2.0 and Glassfish 3.1, > i write simple ejb, the EJB work fine if i call him from application > EE client (servlet), > but when i try to call the EJB from GWT RPC i get error, Null pointer > exeption. > my question is it possible to call EJB 3 that found in glassfish 3.1 > from GWT 2.2.0 ? > > > -- > 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: Store RootPanel component state
Got the solution! Just have to say RootPanel.setVisible(element, boolean) and voila it works! Cheers, Sayali On Apr 28, 12:11 pm, Patssay wrote: > Hi, > > Is it possible tostorethe currentcomponentspresent in the browser > at a particular so that the same > could be loaded later on. I am tryinng to do something like this > > RootPanelrp =RootPanel.get(); > > //do some displays and after that display original > > RootPanel.get().clear(); > > RootPanel.get().add(rp); > > is this even valid? > > Thanks > Sayali -- 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.
Category annotation (as for AutoBean) for RequestFactory Proxies
I don't know if it is planned or not. I couldn't find an issue targeting the feature to annotate a Proxy interface with a @Category annotation. Currently we have to call static method in other classes instead of invoking the interface methods to have some additional logic. Can anyone tell me if it is planned or not. If yes, for 2.3? -- 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.
Call EJB 3 from GWT
hi, i trying to call EJB 3 from GWT RPC, i use Eclipse 3.6 GWT 2.2.0 and Glassfish 3.1, i write simple ejb, the EJB work fine if i call him from application EE client (servlet), but when i try to call the EJB from GWT RPC i get error, Null pointer exeption. my question is it possible to call EJB 3 that found in glassfish 3.1 from GWT 2.2.0 ? -- 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.
Possible Bug in Tools: Development Mode Log Clear Button
Hey guys, I think I might have stumbled upon a little bug while doing some extensive GWT.log operations. I'm running Eclipse Helios SR2 (32- bit) and Google Plugin for Eclipse 3.6 (2.2.1.v201103311225). So if you have a lot of log entries and want to clear the log using the clear button in the upper left corner, it is disabled. If I switch layout from Breadcrumb to Tree and back to Breadcrumb, the button becomes enabled and I can clear it as usual. Is anyone else getting this sort of behavior? Thanks guys! E -- 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 DataProviders vs manual SetRowData
In fact I'm surprised that CellWidgets do not have a straight way to add or remove individual rows. You can use setRowData, but that means replacing all items starting from the index of the row you want to add or remove. Correct me if I'm wrong but if for instance you add a row at the begining of a cell list or table using setRowData the whole table/list would be redrawn. While that should not be a problem with static data, I do not think that is the optimal behaviour in tables/ lists where data can change frecuently. On 28 abr, 18:25, Javier wrote: > If you update several items in a ListDataProvider (say items with > indexes 3 and 42) all other items between (4 to 41) will be re- > rendered by the display if they are in the visible range. This means > creating all the HTML and all the DOM elements for those items > although they have not changed. > > If instead you update those items manually using setRowData twice for > items 3 and 42 only those two items would be touched and re-rendered. > > Looking for performance, setRowData seems the way to go. I would like > to know any other considerations/opinions regarding this. > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to share code between Server and Client with DateTimeFormat
Thank you very much for the help. I wonder if is there a central point where I can put once the static {...} code on the server-side or if I need to put this initialization on each piece of source-code on the server-side? Best regards, Mauro -- 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.
Store RootPanel component state
Hi, Is it possible to store the current components present in the browser at a particular so that the same could be loaded later on. I am tryinng to do something like this RootPanel rp = RootPanel.get(); //do some displays and after that display original RootPanel.get().clear(); RootPanel.get().add(rp); is this even valid? Thanks Sayali -- 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 DataProviders vs manual SetRowData
If you update several items in a ListDataProvider (say items with indexes 3 and 42) all other items between (4 to 41) will be re- rendered by the display if they are in the visible range. This means creating all the HTML and all the DOM elements for those items although they have not changed. If instead you update those items manually using setRowData twice for items 3 and 42 only those two items would be touched and re-rendered. Looking for performance, setRowData seems the way to go. I would like to know any other considerations/opinions regarding this. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error In Upgrade My Project to Gwt2.2
Paste .classpath file. I think is classpath problem 2011/4/28 Qadez > Hi I was Using Gwt2.0.3 > To develop Some Application On Eclipse By > new > Project > Dynamic Web Project > and on the Project (right click > google web toolkit > Convert Project > Into GWT Project ) > > And Then i want To Upgrade To GWT2.2 I Download the New Plug in Of > the Eclipse And Put The Libs On It And Try To run The Application But > I found this error > > > 00:00:04.750 [TRACE] Connection received from localhost:3061.. > 00:00:04.750 [ERROR] Invalid version number "2.0" passed to > external.gwtOnLoad(), expected "2.1"; your development mode bootstrap > file may be out of date; if you are using -noserver try recompiling > and redeploying your app; if you just switched to a different version > of GWT, try clearing your browser cache > > So I want To find Any Way To Convert This project To Gwt2.2 > > thnx > > -- > 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: RF for CRUD and RPC for others?
I think as you. Where is the best place to put logic if we use RF? With RPC I have services and daos. Juan 2011/4/28 Diego Lovison > hmmm.. > > using RF I need put the all logic on the Entity? > for example: > I would like save a employee, but I need verify other thinks that the > hibernate validator dont attend.. > where I put this logic on entity? > Using RPC I create a DAO and put this logic in DAO.. > > other way.. > I can use ValueProxy with RPC? > > thanks > ;) > > On 28 abr, 10:23, Thomas Broyer wrote: > > Er, no. I'd rather say: if you choose to use RF, then use it (at least) > for > > entities and related value objects (CRUD or not); for value objects that > are > > not 'connected' in any way to your entities, then you have the choice > (but > > I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC > in > > the same app if you ask me) > > -- > 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: GWT doesn't work in eclipse
'com.google.appengine.tools.development.gwt.AppEngineLauncher' java.lang.ClassNotFoundException: Add GAE to your classpath 2011/4/28 Uri Even-Chen > I upgraded GWT to the latest version (2.2.0), but I can't run my > project (created with GWT 2.1.0). I receive this error: > > > - > Unable to load server class > 'com.google.appengine.tools.development.gwt.AppEngineLauncher' > java.lang.ClassNotFoundException: > com.google.appengine.tools.development.gwt.AppEngineLauncher >at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >at java.security.AccessController.doPrivileged(Native Method) >at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >at java.lang.ClassLoader.loadClass(ClassLoader.java:307) >at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >at java.lang.Class.forName0(Native Method) >at java.lang.Class.forName(Class.java:247) >at > com.google.gwt.dev.DevMode$ArgHandlerServer.setString(DevMode.java: > 111) >at > com.google.gwt.util.tools.ArgHandlerString.handle(ArgHandlerString.java: > 26) >at com.google.gwt.util.tools.ToolBase.processArgs(ToolBase.java:238) >at > com.google.gwt.dev.ArgProcessorBase.processArgs(ArgProcessorBase.java: > 29) >at com.google.gwt.dev.DevMode.main(DevMode.java:303) > Google Web Toolkit 2.2.0 > > - > > I don't know which SDK to install, I have a few files calles gwt- > user.jar . I tried all of them but it doesn't work. > > Thanks, > Uri Even-Chen. > > -- > 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: GWT doesn't work in eclipse
By the way I forgot, I'm using Eclipse SDK Version: 3.6.2 Build id: M20110210-1200. On Apr 28, 5:57 pm, Uri Even-Chen wrote: > I upgraded GWT to the latest version (2.2.0), but I can't run my > project (created with GWT 2.1.0). I receive this error: > > --- > -- > Unable to load server class > 'com.google.appengine.tools.development.gwt.AppEngineLauncher' > java.lang.ClassNotFoundException: > com.google.appengine.tools.development.gwt.AppEngineLauncher > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at com.google.gwt.dev.DevMode$ArgHandlerServer.setString(DevMode.java: > 111) > at > com.google.gwt.util.tools.ArgHandlerString.handle(ArgHandlerString.java: > 26) > at com.google.gwt.util.tools.ToolBase.processArgs(ToolBase.java:238) > at > com.google.gwt.dev.ArgProcessorBase.processArgs(ArgProcessorBase.java: > 29) > at com.google.gwt.dev.DevMode.main(DevMode.java:303) > Google Web Toolkit 2.2.0 > --- > -- > > I don't know which SDK to install, I have a few files calles gwt- > user.jar . I tried all of them but it doesn't work. > > Thanks, > Uri Even-Chen. -- 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: file upload widget without TextBox?
If you dont mind using flex in your application i might have a solution for you :) 2011/4/28 Jim Douglas > Probably not, but you can review ppk's suggestions here: > > http://www.quirksmode.org/dom/inputfile.html > > You can read about other peoples' attempts here: > > http://www.google.com/search?q=style+input+type+file > > On Apr 28, 7:41 am, Magnus wrote: > > Hi, > > > > I would like to let the user specify some local files. > > > > There should be one Button that opens a file select dialog, but the > > result should not be stored in a TextBox, as is done with the > > FileUpload widget. The result should be added to a ListBox. > > > > How can I do this? > > > > Is there a FileUpload without TextBox? > > > > 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. > > -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.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.
How to select a row on click of any cell in that row - Celltable
Hello, I am using GWT 2.2 CellTable. I want to select a row if i click on any cell in that row similar to what is achieved when selecting checkbox in the selectionmodel. As per my requirement, we are not using Checkboxcell to select a row in celltable. note: all the cells in the celltable are constructed using "TextColumn". Can anyone help me on this. Thanks in Advance, Kalpana -- 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.
CellTree with CellTable nodes
Hi, We have to implement a tree that contains some table nodes at third level(leaf). To achieve that, I have used a CellTree and a custom cell, which renders a CellTable (using GWT 2.1). It worked fine but now we have to make some cells of the CellTable clickable. I managed to do it outside of the tree context(standalone table), but once the table is used inside a tree node, the table's events are not managed. Do you have any idea about how I could fix this ? Notes: With EventBug(a Firebug extension), I can see that a click handler is registered on the table element in the first case, while it is not in the second case (inside the tree). I have also noticed that the events are sunk in the Widget.onAttach() method. However that method is invoked only in the first case. class ATMTableCell extends AbstractCell> { // Contains the CellTable ATMTableWidget atmTable; public ATMTableCell() { atmTable = new ATMTableWidget(false); } @Override public void render(com.google.gwt.cell.client.Cell.Context context, List data, SafeHtmlBuilder sb) { atmTable.setData(data); sb.append(SafeHtmlUtils.fromTrustedString(atmTable.getElement().getInnerHTML())); } } Thx -- 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 doesn't work in eclipse
I upgraded GWT to the latest version (2.2.0), but I can't run my project (created with GWT 2.1.0). I receive this error: - Unable to load server class 'com.google.appengine.tools.development.gwt.AppEngineLauncher' java.lang.ClassNotFoundException: com.google.appengine.tools.development.gwt.AppEngineLauncher at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.DevMode$ArgHandlerServer.setString(DevMode.java: 111) at com.google.gwt.util.tools.ArgHandlerString.handle(ArgHandlerString.java: 26) at com.google.gwt.util.tools.ToolBase.processArgs(ToolBase.java:238) at com.google.gwt.dev.ArgProcessorBase.processArgs(ArgProcessorBase.java: 29) at com.google.gwt.dev.DevMode.main(DevMode.java:303) Google Web Toolkit 2.2.0 - I don't know which SDK to install, I have a few files calles gwt- user.jar . I tried all of them but it doesn't work. Thanks, Uri Even-Chen. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Error In Upgrade My Project to Gwt2.2
Hi I was Using Gwt2.0.3 To develop Some Application On Eclipse By new > Project > Dynamic Web Project and on the Project (right click > google web toolkit > Convert Project Into GWT Project ) And Then i want To Upgrade To GWT2.2 I Download the New Plug in Of the Eclipse And Put The Libs On It And Try To run The Application But I found this error 00:00:04.750 [TRACE] Connection received from localhost:3061.. 00:00:04.750 [ERROR] Invalid version number "2.0" passed to external.gwtOnLoad(), expected "2.1"; your development mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app; if you just switched to a different version of GWT, try clearing your browser cache So I want To find Any Way To Convert This project To Gwt2.2 thnx -- 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 Not Working for Higher Screen Resolutions
Hello Everyone, I have an application developed using GWT. For screen resolutions higher than 1400x1050, panels are not alligning properly. Any idea why this is happening ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
google-web-toolkit@googlegroups.com
Gwtquery (http://code.google.com/p/gwtquery/) offers a dnd plugin. A cell table sample is here http://gwtquery-plugins.googlecode.com/svn/trunk/droppable/demo/CellTableSample/CellTableSample.html and Portlet sample contains a SortableDragAndDropHandler. Not sure about touch events integration for mobile. Cheers, Luca On 28 Apr, 14:48, Ice13ill wrote: > Hello, i want to create a minor drag&drop functionality to a my table > (or just use a simple library): rearranging the rows in a table with > drag&drop, with the effect of location interchanging (for ex: in > mobile apps). > What widgets/library would you recommend ? Any advice would be > welcomed :) -- 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.
Web page and Html parsing
what is the best way to connect to any web page and parse data from it in GWT?? Please give some advice like trusted gwt api, classes. 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.
Problem with RequestDispatcher
Hi All, I am trying to implement session timeout in GWT application. As long as session is alive, every request from GWT is passing thru the RequestDispatcher servlet. But once the session is expired the request is not even reaching the Dispatcher servlet on the server side. Please suggest me how to handle the request even after the session expiry. Thanks in advance. Phani -- 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: Hidding the scrollbar
Won't CSS property overflow-y:hidden; do the trick? You could either use it from CSSResource or UiBinder declaration (preferred), or directly inject into element like the following: myScrollPanleel.getElement().getStyle().setOverflowY(com.google.gwt.dom.client.Style.Overflow.HIDDEN); -- 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.
Testing of asynchronous calls in GAE GWT with JPA (maven progect)
I'm trying to write a test for testing ServiceAsync in GWT My test class package com.avpanasovich.client; import com.avpanasovich.model.ItemType; import com.google.gwt.core.client.GWT; import com.google.gwt.junit.client.GWTTestCase; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.Timer; import org.junit.Test; /** * * @author Panason */ public class GwtTestMyFirstTestCase extends GWTTestCase { ItemTypeServiceAsync itemTypeServiceAsync ; AsyncCallback callback; @Override public String getModuleName() { return "com.avpanasovich.itemManager"; // return null; } @Override public void gwtSetUp() { itemTypeServiceAsync = GWT.create(ItemTypeService.class); callback = new AsyncCallback() { @Override public void onFailure(Throwable caught) { GWT.log(caught.getMessage()); } @Override public void onSuccess(Long result) { GWT.log("###"+result); } }; } @Test public void testSomething() { String moduleBaseURL = GWT.getModuleBaseURL(); Timer timer = new Timer() { public void run() { ItemType itemType=new ItemType(); itemType.setNameItemType("d"); itemTypeServiceAsync.create(itemType, callback); finishTest(); } }; timer.schedule(200); delayTestFinish(1); } } My ItemManager.gwt.xml http://google-web-toolkit.googlecode.com/svn/tags/2.2.0/distro- source/core/src/gwt-module.dtd"> Getting error logging for HtmlUnit thread [WARN] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://192.168.241.1:53571/com.avpanasovich.itemManager.JUnit/ com.avpanasovich.itemManager.JUnit.nocache.js', but got 'application/x- javascript'. Starting Jetty on port 0 [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.Long com.avpanasovich.model.ItemTypes.create(com.avpanasovich.model.ItemType)' threw an unexpected exception: java.lang.NullPointerException: No API environment is registered for this thread. at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java: 385) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 588) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) Caused by: java.lang.NullPointerException: No API environment is registered for this thread. at com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(DatastoreApiHelper.java: 108) at com.google.appengine.api.datastore.BaseDatastoreServiceImpl.beginTransactionInternal(BaseDatastoreServiceImpl.java: 121) at com.google.appengine.api.datastore.DatastoreServiceImpl.beginTransaction(DatastoreServiceImpl.java: 222) at org.datanucleus.store.appengine.RuntimeExceptionWrappingDatastoreService.beginTransaction(RuntimeExceptionWrappingDatastoreService.java: 210) at org.datanucleus.store.appengine.jpa.Datast
Re: file upload widget without TextBox?
Probably not, but you can review ppk's suggestions here: http://www.quirksmode.org/dom/inputfile.html You can read about other peoples' attempts here: http://www.google.com/search?q=style+input+type+file On Apr 28, 7:41 am, Magnus wrote: > Hi, > > I would like to let the user specify some local files. > > There should be one Button that opens a file select dialog, but the > result should not be stored in a TextBox, as is done with the > FileUpload widget. The result should be added to a ListBox. > > How can I do this? > > Is there a FileUpload without TextBox? > > 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.
file upload widget without TextBox?
Hi, I would like to let the user specify some local files. There should be one Button that opens a file select dialog, but the result should not be stored in a TextBox, as is done with the FileUpload widget. The result should be added to a ListBox. How can I do this? Is there a FileUpload without TextBox? 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: RF for CRUD and RPC for others?
hmm... I did not understand one thing.. Using RF, you need put all your business rules on an entity? for example: I need save one Employee, but have a business rule that the HibernateValidator dont support... I will put the bussiness rule on the Employee entity? On 28 abr, 10:23, Thomas Broyer wrote: > Er, no. I'd rather say: if you choose to use RF, then use it (at least) for > entities and related value objects (CRUD or not); for value objects that are > not 'connected' in any way to your entities, then you have the choice (but > I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC in > the same app if you ask me) -- 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: WebAppCreator
'lib/junit-4.8.2' is a relative path and it is missing the .jar file extension. Whether webAppCreator can find it depends on your current directory when you run it. If you prefer, you can specify the full path to ensure it will find the file, or make sure that 'dir lib' shows junit-4.8.2.jar. Perhaps something similar to: webAppCreator -junit C:\Users\toh\Documents\lib\junit-4.8.2.jar -out workspace/MyApp com.example.app.MyApp On Sun, Apr 24, 2011 at 4:33 PM, Nicolas wrote: > Hi, I'm trying to create a gwt project with webappcreator so i put on > the command line: > > webAppCreator -junit lib/junit-4.8.2 -out workspace/MyApp > com.example.app.MyApp > > The result is: > File not found: lib/junit-4.8.2 > > My computer run on windows 7, path's environment value is: C:\Users\toh > \Documents\lib\gwt-2.2.0, the junit-4.8.2.jar file is located on C: > \Users\toh\Documents\lib > > Please i would like to know what i'm doing wrong. > > 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. > > -- 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: RF for CRUD and RPC for others?
verify other thinks = verify other things -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RF for CRUD and RPC for others?
hmmm.. using RF I need put the all logic on the Entity? for example: I would like save a employee, but I need verify other thinks that the hibernate validator dont attend.. where I put this logic on entity? Using RPC I create a DAO and put this logic in DAO.. other way.. I can use ValueProxy with RPC? thanks ;) On 28 abr, 10:23, Thomas Broyer wrote: > Er, no. I'd rather say: if you choose to use RF, then use it (at least) for > entities and related value objects (CRUD or not); for value objects that are > not 'connected' in any way to your entities, then you have the choice (but > I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC in > the same app if you ask me) -- 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: RF for CRUD and RPC for others?
Er, no. I'd rather say: if you choose to use RF, then use it (at least) for entities and related value objects (CRUD or not); for value objects that are not 'connected' in any way to your entities, then you have the choice (but I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC in the same app if you ask me) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
.css won´t render anymore in DevMode
Hey guys, I´m facing a realy strange problem. My default CSS file does not render anymore in DevMode. Hosted on a Tomcat, everything renders nicely. The strange thing is, that it just happened all of a sudden... It seems to be some kind of voodoo. Firebug says that the css file is fetched OK and I can check the css file in my Firebug console. The css file is also embedded in the host HTML file. And as I mentioned, the page renders nicely on Tomcat. The UiBinder css properties render successfully in DevMode. I tried to embedd the default css file in my module.xml file but it didn´t helped. It shows the same behaviour. The file gets fetched, but does not render. Any ideas? cheers, Mike -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
google-web-toolkit@googlegroups.com
Hello, i want to create a minor drag&drop functionality to a my table (or just use a simple library): rearranging the rows in a table with drag&drop, with the effect of location interchanging (for ex: in mobile apps). What widgets/library would you recommend ? Any advice would be welcomed :) -- 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: Tomcat 6.0.x and .nocache.
This is such a basic need for any GWT application. It would be really helpful if a simple servlet filter like this was provided with GWT. In fact, I just submitted a feature request: http://code.google.com/p/google-web-toolkit/issues/detail?id=6288 -- Brian On Wed, Apr 27, 2011 at 7:36 PM, SrArcos wrote: > Hello again, I have found this right now: > http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html > > Has anyone try something like this? > > Thanks > > On 25 abr, 23:54, SrArcos wrote: >> Hello all! >> >> I am trying configure Tomcat 6.0.26 for GWT but I am new in Tomcat and >> I do not know what file I need to edit to write the Expires tag with >> the expiration of the *.nocache.* and *.cache.* files. Can anyone help >> me please? > > -- > 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.
RF for CRUD and RPC for others?
Hi, I read this on http://code.google.com/p/google-web-toolkit/wiki/AutoBean Comment by project member t.broyer, Dec 21, 2010 RequestFactory? is not designed for an "RPC style" use, but using only ValueProxy? I believe you could do it anyway (it could also be a first step in migrating from GWT-RPC to RF for "CRUD oriented" apps) the suggestion is use RF for CRUD and RPC for other calls? -- 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: Why is My View Being Initialized Twice?
Yes, I am using uibinder. However, I'm unsure why it's being initialized again after the uibinder initializes it? On Apr 28, 3:03 am, kellizer wrote: > Could it have been referenced in a uibinder and it is being initialised > 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.
Re: Hidding the scrollbar
Kirushik you are so kind I'm so thankful for your fast answer .That's what I look for, thanks a lot for your help .You make me happy :)) On 28 avr, 12:27, Kirushik wrote: > Won't CSS property overflow-y:hidden; do the trick? > You could either use it from CSSResource or UiBinder declaration > (preferred), or directly inject into element like the following: > > myScrollPanleel.getElement().getStyle().setOverflowY(com.google.gwt.dom.cli > ent.Style.Overflow.HIDDEN); -- 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.
Hidding the scrollbar
Hi, Does anyone has an idea about how to hide the scrollBar of a scrollPanel ? Precisely, the vertical ScrollBar Thanks, -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: what kind of MVP to use, what is "current" best practice
>(should gin/guice also remain "untouched"?) do you use gin/guice? Dependency Injection is a concept which doesn't depend on MVP. You can try it with no framework, but soon you'll give up :) On Thu, Apr 28, 2011 at 2:39 AM, tanteanni wrote: > thanks to all of you! > > all of you suggest the same way (rarely enough :-)): try to work with the > tools offered by gwt and use them the way they meant for. and obey to > MVP!(the only part i tried already) > (should gin/guice also remain "untouched"?) do you use gin/guice? > > so i'll read part2, read again Thomas' blog (thoroughly this time) and the > places and activities article at google. > > -- > 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. > -- Magno Machado Paulo http://blog.magnomachado.com.br http://code.google.com/p/emballo/ -- 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: Why is My View Being Initialized Twice?
Could it have been referenced in a uibinder and it is being initialised 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.
Re: what kind of MVP to use, what is "current" best practice
I have used PureMVC (pureMVC.org) which was *perfectly adapted* for my EXT / GWT / Hibernate application. I used Dozzer for mapping entity to pojo and @BEAN annotation (BeanModelMarker) to tell GXT to adapt with beanModel GXT. I know that Seesmic (http://seesmic.com/) has also used this library. [1] My view with no logic, only getter and setter: *public class UserList extends LayoutContainer* * * * public void setGridContent(final List stocks) {* *grid.getStore().add(stocks);* * }* * ...* * public BeanModel getSelectedRowObject() {* *return grid.getSelectionModel().getSelectedItem();* * }* [2] Mediator with generic UserList * public class UserListMediator extends Mediator* * @Override* * public final String[] listNotificationInterests() {* *return new String[] {* * ApplicationFacadeConstants.NOTIFICATIONS.USERS_LOADED.name(),* * ApplicationFacadeConstants.NOTIFICATIONS.FAIL_LOADING_USERS.name()* *};* * }* *public void handleNotification(final INotification notification) {* *super.handleNotification(notification);* *final NOTIFICATIONS notificationEnum = ApplicationFacadeConstants.NOTIFICATIONS.valueOf(notification.getName());* *switch (notificationEnum) {* *case USERS_LOADED:* * public void handleEvent(final BaseEvent be) {* * * * final EVENTS event = ((Component) be.getSource()).getData(IConstants.EVENT);* * switch (event) {* * case ADD_USER_BUTTON_CLICKED:* * break;* * case ROW_USER_SELECTED:* *final BeanModel selectedItem = getViewComponent().getGrid()* *.getSelectionModel().getSelectedItem();* *logger.log(Level.INFO, "Row selected." + selectedItem);* *break;* * * * * * public final void onRegister() {* * initView();* * super.onRegister();* * * * getViewComponent().getGrid().addListener(Events.RowClick, this);* * getViewComponent().getDeleteButton().addListener(Events.OnClick, this);* * getViewComponent().getNewButton().addListener(Events.OnClick, this);* [3] Proxy to manage list and selection *public class UserProxy extends Proxy * * * *// the row selection* *UserDTO getSelection()* *// all the rows* *List getData()* ... Rodolphe -- 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 documentation
i can't use static tables because am supposed to add dynamically the contents to the row and delete it thanks for your response On 27 avr, 19:58, Jeff Larsen wrote: > If you're using grids/flex table, can you just write a static table or do > you have to dynamically add content to the rows? > > > > -- 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.