JUnit testing gwt app with multiple modules

2011-10-19 Thread azuniga
I am currently using gwt 2.3 and smartgwtpower 2.5 nightly and using Eclipse on Linux. My web app is using common code, developed in house, and packaged to a jar called commonsmartgwt.jar. In this jar is the entry point class and has its own gwt.xml file. In my web app's gwt.xml file I inherit from

Scroll table border design

2011-05-13 Thread azuniga
I have a tab panel that inside it has a list of clickable labels on the left side. When the label is clicked, I will create a scroll panel to the right of the labels. Here is a screenshot of it on dropbox. http://www.dropbox.com/gallery/2374591/1/Screen%20Shot?h=8204f3. Is there any way for me to d

Re: Package structure question

2011-05-11 Thread azuniga
I just ended up moving the gwt.xml file one directory higher, then added the code and it worked. Thanks. On May 11, 9:16 am, -sowdri- wrote: > >> no source code available for the type ; did you forget to inherit a > > required module > > You get this error, if GWT cannot find the source code

Package structure question

2011-05-11 Thread azuniga
The project root package is com/example/report. I have other packages that all fall under this root package, eg. com/example/report/client & com/example/report/client/controller. I need to know if it is possible to include different packages into my project that don't fall under the root package. F

Datebox with day of year format?

2011-05-04 Thread azuniga
The DateTimeFormat doesn't seem to support day of year format for the day, and I want to know if anyone has had any experience finding a work around. I'm trying to get my DateBox.DefaultFormat to be -DDD HH:MM:SS, but so far I can't find support for day of year, 1 - 365. -- You received this

onKeyDown getting incorrect keyCode

2011-04-11 Thread azuniga
I've got a textbox that I only want positive floats in. So pretty much I just want to allow digits and a '.'. I have my class implement the KeyboardListener inteface and add the addkeyboardListener(this) to the textbox. I then implement onKeyDown, onKeyPress and onKeyUp with the parameters Widget s

Getting database results from server to client

2011-03-30 Thread azuniga
I am passing 2 Dates from the client to the server via RPC. The server will then take these 2 dates and query the database for the results between these dates, something roughly along the lines of "select * from table where date_attribue between date1 and date2". Now when I get the result set, what

Re: Returning URL from RPC

2011-03-29 Thread azuniga
because I copied and pasted the path. On Mar 29, 12:16 pm, Harald Schilly wrote: > On Tue, Mar 29, 2011 at 18:11, azuniga wrote: > > How do I make the file visible to http requests? > > A file in /war/* is visible. I think we still don't really know what > you want to accomplish

Re: Returning URL from RPC

2011-03-29 Thread azuniga
llow reading from that location. > > -Ben > > On Mar 29, 10:26 am, azuniga wrote: > > > > > > > > > I make a call to and rpc and the rpc returns a string. The string is > > the name of a business report generated, report.html. Now I want the > >

Returning URL from RPC

2011-03-29 Thread azuniga
I make a call to and rpc and the rpc returns a string. The string is the name of a business report generated, report.html. Now I want the client to embed this html in the app, so I use a Frame widget. Now I want to know how to instantiate this frame, since I have been trying Frame frame = new Frame

HTML widget takes too long to render

2011-03-28 Thread azuniga
I have a gwt webapp that makes an rpc to the server, the server generates a report, then the report returns a string, which is just the html contents of the report, which contains a large amount of html. After timing the rpc and how long it takes for the html to be returned and a new html widget to

Re: Out of memory: PermGen space

2011-03-24 Thread azuniga
x512m - On Mar 24, 1:31 pm, Juan Pablo Gardella wrote: > Increase Permgem memory > (http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_size_availa...), > perhaps its too low > > 2011/3/24 azuniga &

Out of memory: PermGen space

2011-03-24 Thread azuniga
I'm using Eclipse IDE on RHEL. I am trying to determine if the problem is from the jvm, birt, gwt or my code. I started eclipse with a bigger perm gen space but still got the error. I am able to make an rpc call, return from it and then display the report, but once i try to run a 2nd report, the rp

How to automatically download image to client from server when button clicked

2011-03-16 Thread azuniga
I am having the user click a button that will generate a report on the server side. The report has embedded charts and graphs but since the report is generated server side with BIRT libraries, when I return the report as an HTML string, the images aren't displayed. What I'm trying to do is have tho

Re: GWT in Eclipse class load order

2011-03-14 Thread azuniga
port.data.adapter.api.AdapterException' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/goesrapps1/birt-runtime-2_6_1/ ReportEngine/lib/dataadapterapi.jar' to the web app classpath for this session For additional

Re: GWT in Eclipse class load order

2011-03-14 Thread azuniga
/** * */ package com.gwt.ReportGeneration.server; import org.eclipse.birt.report.engine.api.EngineException; import com.google.gwt.user.server.rpc.RemoteServiceServlet; import com.gwt.ReportGeneration.client.ReportGenerationService; /** * @author azuniga * */ public class

GWT in Eclipse class load order

2011-03-10 Thread azuniga
Is there a way to tell the GWT project which order to load the classes in development mode? I'm getting an error and I think its because there is a class conflict. I'm integrating BIRT with GWT and I have my jars on the server side and then I call the RPC and I get the error Could not initialize cl

Re: using external jar

2011-03-10 Thread azuniga
Andras, If you are going to be using external jars on the client side, you have to have the source code for those jars, and you have to create a .gwt.xml file for each one. If you already have this then I'll look deeper into your problem. Otherwise, if you don't have the source code then you can't

Re: GWT RPC getting 404 error

2011-03-08 Thread azuniga
> > this site is called: /com.gwt.ReportGeneration.ReportGeneration/ > report > your handling this site: /reportgeneration/report pattern> > > Regards > > On Mar 8, 4:30 pm, azuniga wrote: > > > I am rather new to GWT and I'm attempting to get RPC working. I a

GWT RPC getting 404 error

2011-03-08 Thread azuniga
I am rather new to GWT and I'm attempting to get RPC working. I am getting the following error: [WARN] 404 - POST /com.gwt.ReportGeneration.ReportGeneration/report (127.0.0.1) 1434 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US;

GWT external jars on client side

2011-03-04 Thread azuniga
Is it possible to use external jars on the client side? For example I'm trying to create a project that call BIRT jars on the client side, but I get the typical error: Unable to find 'org/eclipse/birt/report/ engine/api/iReportEngine.gwt.xml' on your classpath; could be a typo, or maybe you forgot

GWT TextBox with time format and DateBox format.

2011-02-22 Thread azuniga
Is there a way I can pre-set the TextBox so that it will display hh:mm:ss and to on accept only text in time format and have it allow the user to enter the 2 digits for the hour, skip the ":" then go to mm, skip the other ":" and then go to ss, or is there a widget already in existence that does th