Re: gwt-mosaic and GWT 2.7

2015-02-17 Thread mdwarne
Is your problem with org.gwt.mosaic.ui.client.impl.GlassPanel.java? I had to make the following changes to the source for this class. FROM: protected static native int getWindowScrollHeight() /*-{ return @com.google.gwt.user.client.impl.DocumentRootImpl::documentRoot.scrollHeight;

Re: GWT compile times between 2.6.0 2.7.0

2015-01-27 Thread mdwarne
Depending on how many permutations you compile, setting localWorkers to a larger number then one can make a big difference if you have a multi-core workstation. My compiles are 2-3 times faster with local workers set to 4. Mike. -- You received this message because you are subscribed to the

Re: Adding data to from arry to create list data in widgets [list, cobmo, flex, etc]

2013-07-09 Thread mdwarne
No, you add them one at a time. However you can always create your own component. Subclass the listbox, and add your own setItemsFromList() method if you wish. Then you can re-use that component. Mike. On Saturday, July 6, 2013 12:26:02 PM UTC-10, Bob Spero wrote: Are you saying the array can

Re: RPC AsyncCallback freezes chrome

2013-07-06 Thread mdwarne
You say you have many other RPC calls etc. Since a few RPC calls can be active in parallel, some may return with a response before others…. It could be one of the other RPC calls is causing the problem perhaps the code is in an endless loop. So the browser can never respond to the

Re: PROBLEM: GWT WEBAPP UNDER NETBEANS

2013-04-03 Thread mdwarne
Did you try this? https://netbeans.org/kb/docs/web/quickstart-webapps-gwt.html On Tuesday, April 2, 2013 6:49:09 AM UTC-10, akonoagou...@gmail.com wrote: Hi all, I embarked on a project with netbeans under gwt dashboarding but since then I meet a lot I problem, I use netbeans 7.0: 1) I

Re: Compiler exception after upgrade to 2.5.1

2013-03-20 Thread mdwarne
Thanks, I'm using the Netbeans plugin for GWT can anyone point me to where the gwt-unitCache folder would be? Thanks, Mike. On Tuesday, March 19, 2013 11:11:14 PM UTC-10, Thomas Broyer wrote: Delete the gwt-unitCache and try again. On Wednesday, March 20, 2013 3:27:16 AM UTC+1, mdwarne wrote

Compiler exception after upgrade to 2.5.1

2013-03-19 Thread mdwarne
Hi, My project compiles and runs OK with GWT 2.5.0. After upgrading to version 2.5.1 Compiling the project causes an exception (see below) This is using Java EE 6 (Mac OSX) Any ideas? Thanks, Mike [ERROR] Unexpected internal compiler error java.lang.RuntimeException: Unexpected

Re: Help! com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details

2013-01-15 Thread mdwarne
Are you are able to run the debugger on your server code? Try adding a break point, or add your own logging, or System.out.println() messages to your server code. If it never reaches there, it probably is, as others suggest, a serialization issue. Mike. On Saturday, January 12, 2013 2:47:51

Re: DevMode not working in Chrome after update

2012-07-25 Thread mdwarne
I am having the same issue, I have been able to install the plugin by dragging it into the extensions window, but it still will not load Mac Lion with latest Chrome. Anybody figure out what is wrong yet? Thanks, Mike. On Tuesday, July 17, 2012 4:16:03 AM UTC-10, Andy wrote: I updated Chrome

RPC call service on different web app same server?

2012-07-18 Thread mdwarne
We have an existing GWT /RPC app. I would like to create a new project, that calls the RPC's on the existing app, on the same server / container. Is this possible? Thanks, Mike. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: How far does the optimizations of the GWT compiler go..?

2012-06-24 Thread mdwarne
I once wrote a library of classes, and wrote a test program that exercised a few of them. Then I looked at the javascript generated in 'pretty' mode. It was very tiny, only the few methods I used where included, and many of the local variables etc where removed through optimizations etc.

Re: Performance Differences IE 8 Vs FF 3.x

2011-06-03 Thread mdwarne
I have also had issues with IE slowness. IE does not perform well when displaying of large sets of data. I had to recommend my client use FF or Chrome. Mike On Jun 2, 3:12 pm, Mittal mitt...@gmail.com wrote: Screen also has real estate issue - I dont think I can use CellList but its good

Re: common entry method before any RPCServiceImpl method is called

2011-05-17 Thread mdwarne
Oh.. And don't forget to call: super(req,resp); inside your over-ridden service(req,resp) method. otherwise your RPC's will not execute and will time out. Mike. On May 17, 6:43 am, mdwarne mike.wa...@gmail.com wrote: You can override this method in your RPC servlet. @Override

Re: common entry method before any RPCServiceImpl method is called

2011-05-17 Thread mdwarne
You can override this method in your RPC servlet. @Override public void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException,IOException { } This method executes for each RPC call. Aloha, Mike. On May 17, 12:47 am, Jiunarayan jiunara...@gmail.com wrote:

Re: 2.2 plugin with 1.7 app hostmode does not work

2011-04-27 Thread mdwarne
. Aloha, Mike. On Apr 26, 3:01 pm, mdwarne mike.wa...@gmail.com wrote: Hi, I am using the GWT 2.2 plugin in Eclipse 3.6 on Mac OSX.   I have an existing project that was developed in GWT 1.7.1   I verified that the sdk version is 1.7.1 in the eclipse project properties. 1st problem: When

Re: Giving wrong value for Date of month

2011-04-25 Thread mdwarne
Don't forget the timezone setting of your client PC's if you are using java.util.Date objects. Specifically if you send a date object from a client, to the server, the date may not be what expected, unless you convert your dates to UTC timezone first, and then convert to your server's timezone. I

Gwt plugin 2.2 designer not working mac osx

2011-04-19 Thread mdwarne
Hi, I have installed the GWT plugin v2.2 under Eclipse 3.6 on Mac OSX 10.6. I can create a GWT project, and compile/test. However there are no designer options. For example the Menu Group with options to create a new Composite etc are not in my new menu tree. I checked that the project setting

GWT web app problem with Tomcat and Mod_Proxy

2010-09-01 Thread mdwarne
Hi, I have a GWT web app that has 2 servlets in the same context. Servlet_1 is the GWT RPC servlet. The other (Servlet_2) is a PDF reporting Servlet. When I save some report parameters in the httpSession using a RPC call to Servlet_1, the AsyncCallback will open another browser window, passing

Re: create another servlet in gwt project

2010-08-20 Thread mdwarne
You can create another servlet for file upload in the same Web application. I have another servlet that I use to create PDF files, so I know this works. Make sure you configure your new servlet, and your servlet URL mapping in your web.xml file. Then make sure you post your data to the new

Re: No Class Definition Found Exception : jexcelapi

2010-07-18 Thread mdwarne
Make sure your jars are in your webapp WEB-INF/lib folder on the server.. Mike. On Jul 16, 12:29 am, rajan kochhar rajan_kochhar2...@yahoo.com wrote: I want to read the contents of a file a.xls i have kept in war. I am creating a servlet as follows: import java.io.*; import

Re: JDBC org.gjt.mm.mysql.Driver : Classnotfound

2010-07-01 Thread mdwarne
Are you trying to load the driver in the Server Code, or in the Client? You can not connect to a database from the Client Code (Browser javascript), only from the Server code. I am using MySql in my projects using RPC (Servlet). In my RPC servlet I have code like this that works fine

Re: Window.Location.getParameter() always null

2010-07-01 Thread mdwarne
, mdwarne mike.wa...@gmail.com wrote: Hi, I need to pass a parameter to my application.  However if I append a parameter to the url query string, I can not retrieve it by name using Window.Location. (Always returns null) When I retrieve the entire Query String,  It contains only the gwt.codesvr

Window.Location.getParameter() always null

2010-06-29 Thread mdwarne
Hi, I need to pass a parameter to my application. However if I append a parameter to the url query string, I can not retrieve it by name using Window.Location. (Always returns null) When I retrieve the entire Query String, It contains only the gwt.codesvr parameter, but not my additional

Re: Woes of ClientBundle +IE

2010-06-29 Thread mdwarne
Or.. Your click Handler can remove the image from the panel, and replace it using a new one at the same coordinates. So you only add one image to the panel at a time.. Mike. On Jun 29, 1:58 am, Sean slough...@gmail.com wrote: I created a widget that consists of an Absolute Panel and two

Re: Problems reading the content of a text file.

2009-12-23 Thread mdwarne
Hi, RequestBuilder sends a request to the server. I've never used it (I use GWT-RPC) . But perhaps you need to put your server address into the request? Or maybe call the GWT.getModuleBaseUrl() or GWT.getHostPageBaseUrl() to get the Base URL you need, and concat the file name to the baseUrl?

Hosted Mode crashes OSX 10.6 GWT-1.7.1

2009-12-04 Thread mdwarne
Hi, I am trying to use GWT 1.7 under Mac OSX version 10.6.2. JRE: 1.6 (mac osx) I am using Eclipse 3.5.1. Safari 4.04 I am repeatedly getting random crashes like this: GWT quit unexpectedly while using the libgwt-ll.jnilib plugin. In the console I get a message: Invalid memory access of

Re: gwt suggestbox.

2009-10-29 Thread mdwarne
I don't know if this helps, but I wrote a PersonSugggestOracle that extends SuggestOracle The method below calls the server. It doesn't call the server if there are not at least 2 characters typed. On the server side, I have a sql query that uses the characters to perform a 'like' comparison

Re: GWT Navigation

2009-10-27 Thread mdwarne
Hi, I have an application with one entry point, and many 'Screens' . In your Entry point loadModule(), try creating a DeckPanel, and add it to the root. Then in your entry point , create a few panels with widgets on them. Add these panels to the DeckPanel. At the end of your loadModule method

Re: Jasperreports with GWT

2009-10-22 Thread mdwarne
Hi Haydar, One way I have done this is to create a report Servlet on my server. Then I am using something like in my Button, or Hyperlink Click Handler: Window.open(http://urlToMyServlet? reportName=MyReport,param1=somedataparam2=moredata); The Pdf Report Servlet generates the jasper

Re: Showing PopupPanel command is deferred

2009-09-29 Thread mdwarne
Below are my assumptions, and may not be the exact way it works. As you have already found out, many commands that change the DOM or the visual display seem to be actually sent to an execution queue for execution later. Often times this queue has pending commands, and is polled later on.

Re: help on my small project

2009-09-27 Thread mdwarne
I use a deckpanel to hold all my pages. For example deckPanel.showWidget(0) // Show My Welcome/Login page deckPanel.showWidget(1) // Show page 1 of application. deckpanel.showWidget(2) // Show another page of the app etc. Each Page is some type of Panel, with other widgets on it. Successful

Re: HttpSession NullPointerException

2009-09-22 Thread mdwarne
- Forward to page /account and read the HttpSession (not working) Does your /account url map to a different context or a different servlet? Maybe having two context or 2 servlets causes your problem. For my app, I use just one service Implementation class, and that service may call other

Re: How to Access the application Root path from the RemoteServiceServlet class..?

2009-09-15 Thread mdwarne
Hi, I access a report folder, and compile Jasper reports from a servlet... public String getReportPath() { return this.getServletContext().getRealPath(reports/src); } Returns: Full_Path_of _Context/reports/src Mike On Sep 14, 12:11 am, Raul

Re: Add GWT to existing servlet application

2009-09-15 Thread mdwarne
Hi Can you explain when the 'a' is null error occurs? Is it only when you call a RPC function? It seems like your app is attempting to load properly, so your code is probably being sent from the server to your browser. Some sample code for your entry point class would be helpful. Usually a null

Re: Does GWT work in Snow Leopard?

2009-08-31 Thread mdwarne
Hi, After watching a bunch of Googles GWT videos, and seminar speeches, I noticed some of the presenters are using Macbooks. I have to believe they are well aware of this issue. Mike. On Aug 31, 4:04 am, Michael Shantzis mich...@shantzis.com wrote: The question I have is how high it is on

Re: Forcing a TextArea to scroll

2009-08-21 Thread mdwarne
I'm not sure about a textarea. But you can do this using a ScrollPanel. You can add a FlowPanel to your ScrollPanel. All your text messages can be Label Widgets that you Add to your Flow Panel. After adding the Label Widget you can call: scrollPanel.scrollToBottom(); Or...

Re: New window for file download is closing

2009-08-21 Thread mdwarne
Is it possible that the file requires a plugin that is not available to the IE7 browser? For example PDF, etc? Thanks, Mike. On Aug 20, 10:03 am, Daniel Jue teamp...@gmail.com wrote: Hi, I am streaming a file back using a new window and a call to a servlet.  This works fine locally and

Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-19 Thread mdwarne
Hi venkl, We use RPC because it makes things so simple. For some of our service calls we pass java objects as parameters to the service. The response coming back are also java objects. such as lists and arrays of data etc. Boolean, integers, dates etc are automatically converted, and arrive in

SetVisible() problems

2009-08-12 Thread mdwarne
Hi, I seem to be repeatedly struggling with setVisible() with IE 6/7, and the Hosted browser (IE also). On some of my forms, I need to show/hide various fields based on listbox change events, or when evaluating data coming from an RPC call. The problem occurs when Widgets are in a FlowPanel or

Re: RichTextToolbar Question

2009-08-05 Thread mdwarne
Hi, Making the toolbar standard would be great. I am using the demo version in one of my projects. I have a small enhancement request however. Would it be possible for the link button/ dialog box to allow specifing a target for the URL. My application will allow admin users to post an HTML

Re: how to solve this basic problem in GWT..Pls help

2009-08-01 Thread mdwarne
Hi, Please check your Error message, and look for the java stack trace. With out the stack trace it's hard to locate your error. P.S. in your code: RootPanel.get(slot1).add(quoteText); I don't see any div or span elements with ID=slot1 I believe the code is trying to find an element with

Re: Problem with sorting accentuated words

2009-06-09 Thread mdwarne
Hi, I've never used GridPanel before, however I did create a custom column sorter for the Incubator table. My sorter accepted objects that implemented the Comparable interface. So I was able to create special wrapper classes for my displayable data that needed special sorting. The wrapper class

Re: Announcing GWT Mosaic 0.2.0

2009-05-14 Thread mdwarne
Hi George, This looks just like jGoody for swing. Is that the layout concept you are using? Thanks, Mike. On May 14, 6:52 am, georgopoulos.georg...@gmail.com georgopoulos.georg...@gmail.com wrote: Hi All, GWT Mosaic 0.2.0 based on GWT 1.6 is out. Showcase

Re: parsing dates

2009-05-14 Thread mdwarne
Hi sindroide, Are you trying to change a Text String date, into another Text String date? I'm not sure if I understand your needs. But, look at the static parse method in the Date class: Date d = Date.parse(Tue, xx); String newDate = DateTimeFormat.getFormat(dd/MM/).format(d);

Incubator ScrollTable how to remove icon right-top corner

2009-05-07 Thread mdwarne
Hi, I'm not sure if this is the right place for incubator questions. I haven't been able to find the incubator group. I am using the scroll table from the incubator, it has a small icon (2 mini arrows pointing left and right). I would like to remove/hide this icon. Any ideas? Thanks, Mike.

Best way to add App configuration properties

2008-12-12 Thread mdwarne
Hi, I am trying to figure out the best way to add an application config file. This file will contain things like database connection information, and other app parameters. I will be using Tomcat as the servlet container. I would like this config file to be readable by the Servlet in the