Re: RPC call returning List fails

2009-01-15 Thread alex.d
It is actually. I'm using a lot of structures like this(and more complex) for data transfer. The problem ist somewhere else - do you initialize your List properly? On 15 Jan., 18:36, jos wrote: > I have an RPC call with a signature like public List SomeCall > (SomeObj) { return anArrayList; } wh

Re: How to render a list(ul li) by gwt widget ?

2009-01-15 Thread alex.d
I would suppose that since most of the google widgets are or include div elemente it is easier just to take a HTMLPanel and fill it with right tags and info. On 15 Jan., 23:40, Jason wrote: > Hi, Jason, Thank you for your reply! > > I'v tryied many ways, but failed. I'v get the following result

TreeNode Listener issues

2009-01-15 Thread Manish Kumar
Hi Everybody, Can I get any help on this : I am calling a listener in this fashion. I am not getting what i am doing wrong. I am using GWT 1.5.2 and GWText component. Please have a look at my code and help me out to find where i am wrong. Please excuse and let me know if anything is not conc

Re: Necessary .class files in order to deploy a GWT application

2009-01-15 Thread Litty Preeth
Well if your ..server code references any ..client code then you ll need to include tht also in the WEB-INF/classes. An example may be java bean classes shared by both server and client. - Litty Preeth On Thu, Jan 15, 2009 at 6:58 PM, Rafael wrote: > > ¡Hello People! > > I was following the i

Re: How to get Hidden field value in server-side?

2009-01-15 Thread blues
hi, i use Hidden in client-side Hidden hidden = new Hidden(name, value); server-side in do-post: DiskFileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new ServletFileUpload(factory); response.setCharacterEncoding("UTF-8"); List items = null;

Popular Application Design Tool for Java/GWT

2009-01-15 Thread tv
Hi, I have a pretty clear idea for the architecture of a web application that I want to create (incorporating GWT/Java/Hibernate/MySQL). However, I am not a programmer by training and at this point I want to enlist someone with more experience to help translate my ideas into a useful roadmap for

Different Solutions to integrate Axis & GWT

2009-01-15 Thread Q
Developers, I have a website setup in the following manner: JSP -> Servlets -> Axis WebServices -> Database The JSP displays the Axis objects that is pulled back via the Servlet. The Servlet pulls information via Webservices and uses an Axis stub to invoke a service and receives Axis objects on

Re: How to render a list(ul li) by gwt widget ?

2009-01-15 Thread Jason
Hi, Jason, Thank you for your reply! I'v tryied many ways, but failed. I'v get the following result: aa It seems work in IE, but failed in Firefox. So, could you do me a favour to send me your widget code? I'll so appriciate about it! On 1月16日, 上午5时35分, Jason Essington

Re: two trees on one page.

2009-01-15 Thread Jill Singer
I solved the problem: I searched through the net, and found this post: http://markmail.org/message/zozobs24v4wyvf6p and wondered if that quirk was causing my problem. I already was using a subclass of Tree, so added to the constructor: DOM.setStyleAttribute(getElement(), "position", "

Number of DAO's effect over all module sizes

2009-01-15 Thread David Stubbs
We have an application spread over 60+ modules. Each module as compiled javascript ranges in size between 800k and 2.8Mb. The size of every module is increasing as the app grows. After some very basic investigation it seems to be our DAO models that are causing the steady increase in size. Withi

Re: How to render a list(ul li) by gwt widget ?

2009-01-15 Thread Jason Essington
There is a feature request for a UL and LI widget, however they are not yet included ... however, they aren't that difficult to create, I've had to do it for a couple of projects. You can use FlowPanel as your guide, and create similar widgets using the ul and li element. you could add addi

How to render a list(ul li) by gwt widget ?

2009-01-15 Thread Jason
I want to use gwt widgets to render a list, the result should look like this: About About About I'm not sure which widget will meet my need. The HTML widget seams can get the result, but it is not the perfect solution. could someone help me ? --~--~-~--~~~---~

Re: Performance overhead of virtual methods

2009-01-15 Thread nathan.r.matth...@googlemail.com
Thanks Jason and to the others who responded. Question answered :) On Jan 3, 12:09 pm, Jason Morris wrote: > nathan.r.matth...@googlemail.com wrote: > > Hi GWTers > > > I'm writing some performance sensitive code for GWT. I'm wondering how > > GWT compilesvirtualfunctions to JavaScript. What's t

RPC functionality outside of a WAR

2009-01-15 Thread Mike B
Is it possible to build a GWT app that has RPC functionality, but is not contained in a WAR? I am developing a plugin that does not have access to a web.xml file and can't find a way to get my client and server code to link up --~--~-~--~~~---~--~~ You received thi

Re: Necessary .class files in order to deploy a GWT application

2009-01-15 Thread Rafael Barrera Oro
Sorry, i already answered myself. The client package is also necessary... 2009/1/15 Rafael > > ¡Hello People! > > I was following the instructions to deploy a GWT app on a Tomcat > server (http://code.google.com/intl/es-ES/docreader/#p=google-web- > toolkit-doc-1-5&s=google-web-toolkit-doc-1-

RPC call returning List fails

2009-01-15 Thread jos
I have an RPC call with a signature like public List SomeCall (SomeObj) { return anArrayList; } which failed. Policy file was deployed and the file had ArrayList, true in the file. The only real information available was the stack trace it left in catalina.out (see below). I'm running gwt1.52, a

Necessary .class files in order to deploy a GWT application

2009-01-15 Thread Rafael
¡Hello People! I was following the instructions to deploy a GWT app on a Tomcat server (http://code.google.com/intl/es-ES/docreader/#p=google-web- toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideRPCDeployment) and it ocurred to me that the only .class files that should be copied onto th

How to make GWT put output files in a different location?

2009-01-15 Thread Rmon
Hi, I'm using GWT4nb (handy plugin) to write my GWT project. The back end that I'm writing against is PHP. Thus I've installed Apache and PHP on my dev machine and its all working fine. What I want to be able to do is to get the GWT compiler to place its output in the www folder of my Apache web

Problem Runnig GWTTestCase on Linux

2009-01-15 Thread gwt_newbie
I am trying to run GWTTestCase on Linux but it is failing with following error. Can't load library: /home/acwguibuild/web_ui_patriots_nightly_build/ gui/web_gui/lib/libswt-pi-gtk-3235.so I have gone through the forum to find solution but nothing helped so far. We have linux 32-bit and JVM 32-bi

Re: Problem in developing opensocial application in GWT

2009-01-15 Thread Eric Ayers
This should circumvent the RPC issue, but running in this way means that your application must always be served from your server, not the opensocial container which might provide some nice caching. Fine for small gadgets, but if you are planning on writing the next buddy poke... On Thu, Jan 15, 2

Re: GWT for SOA development

2009-01-15 Thread gregor
> > If, for example, I've an application with a rich client interface > (e.g. builded using gwt) that interacts with, let's say, with a > Session Facade..(ejb, spring, or whatever). > My Model is composed of services and a typical persistence layer... > now hypothesize that everything is well don

Re: Problem in developing opensocial application in GWT

2009-01-15 Thread Alex Epshteyn
Hi Yasser, I'm actually not using GWT in directly my OS gadget - I have an iframe inside the gadget that loads my GWT app. However, I'm sure you can use GWT RPC quite easily in the gadget - as long as your compiled JS has the same URL as your RPC server. Best, Alex (I'm CC-ing this message to

Re: create and save xml into the server with RequestBuilder

2009-01-15 Thread jchimene
Hi Max, Yes, you do need something on the server to receive the file. From the looks of what you've written so far, you're not using Java RPC. So, you need some sort of CGI handler routine on "myServer" Cheers, jec On Jan 14, 4:36 pm, Max wrote: > My goal is to save an xml string to a file in

How to get Hidden field value in server-side?

2009-01-15 Thread Alex Luya
I have following code to upload an image to server and I need servlet to rename image to what the value of a hidden field sended to server through a post method, the question is how to get the value of this hidden field:imageStoreName.is it to use request.getParameter ("imageStoreName")?I tried it

Re: GWT for SOA development

2009-01-15 Thread Paranoid Android
Other considerations: I read a lot of stuff about SOA, MVC, message-based MVC, SOUI ecc... Some people asserting that MVC is dead, other asserting that SOA or SOUI is the evolution of MVC, other asserting that MVC and SOA are complementary some say black and some say white..headache Ok, I ag

Re: GWT applications memory management

2009-01-15 Thread Lex
Hello Bob, Thanks for answer, I'll check the article on Microsoft. Considering the natives, we have prepared test application, where we exclude all natives, DOM class method calls, and even eventListeners. Sometimes browser frees some memory, but not all (after memory release, total browser's mem

Re: History and Tab panels

2009-01-15 Thread jake H
I tried something , that managed to do some more than the previous codes. But i still have the refresh problem , when refresh button is pressed even if the url points in a specific page, the main tab is reloaded. And when i save a bookmark with subpanel and trying to visit it , i cant. while in

Re: GWT applications memory management

2009-01-15 Thread Bob Stachel
Try this article as a starting point in understanding IE memory leaks. Internet Explorer is far worse than other browsers in memory managment. http://msdn.microsoft.com/en-us/library/bb250448.aspx If your application uses "pure" GWT you will be somewhat protected from leaks, but perhaps you have

Re: Date+Time widget

2009-01-15 Thread Serge
Thank you very much! It works! --~--~-~--~~~---~--~~ 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

Re: Gwt application deployment

2009-01-15 Thread j redick
thanks for caring i have solved the problem. i have just learned that i need to set service entry point :D i have added sometihng like below to my service class. ServiceDefTarget endpoint = (ServiceDefTarget) messengerService; endpoint.setServiceEntryPoint( GWT.getModuleBaseURL() + "messenger" );

Images does not disply on IE browser in vista plateform

2009-01-15 Thread ship
hi In my web application i display images on web page setting url of Image object of gwt with the image url. But when i run this application on vista plateform IE browser does not display image. When i see the IMG tag it shows src & pending src with the correct url. This application works good on

Re: Changing the css file at runtime

2009-01-15 Thread Lorenzo Nazario
In order to change the css at runtime (or better not "change" but "append") try this native method: public static native void loadCss(String url) /*-{ var fileref=document.createElement("link"); fileref.setAttribute("rel","stylesheet"); fileref.setAttribute("type","text

Re: problem in parsing XML

2009-01-15 Thread Jason Morris
It's not really a GWT related question, but heres what you're looking for: final DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); final DocumentBuilder builder = dbf.newDocumentBuilder(); final Document doc = builder.parse(new ByteArrayInputStream(xml.getBytes("UTF-8"))); The

how to get the xml value from outside javascript file into entry point class

2009-01-15 Thread ramesh chiluveri
Hai All, This is regarding passing xml data from outside javascript file into GWT entry point class. My requirement like this, i need to get the some xml data from other javascript file into GWT entry point class. I written native function ,it will generate javascript function ,so that i can ac

Re: how to listen to ESC key for popup

2009-01-15 Thread Hasan Turksoy
you can override the PopupPanel#onKeydownPreview method like below; @Override public boolean onKeyDownPreview(char key, int modifiers) { // Use the popup's key preview hooks to close the dialog when either // enter or escape is pressed. switch (key) { case K

Re: GWT and Business Intelligence.

2009-01-15 Thread Kevin Tarn
GWT is just a framework that can let a Java developer utilize OOP to develop a web service easily. Under this benefit, it also easily integrate existing server part technology or any other services already opened in internet. Before GWT, there are a lot of 3rd party libraries implemented by AJAX.

set fixed size for popup and enable scrolling within it

2009-01-15 Thread aragorn
I have a popuppanel which wraps a flowpanel within itself. Now i want this popup to occupy only some portion of the screen. In case the flowpanel exceeds the mentioned limits, the popup should display a scrollbar. I tried setting this using CSS by usinf overflow:auto but it doesnt work. If u know

how to listen to ESC key for popup

2009-01-15 Thread aragorn
My application displays a popup whenevr a particular button is clicked. Now i can hide the popup whenever the user clicks the mouse outside of it using the default popup-panel property provided by GWT. Apart from that I also need to listen to keyboard so that if the user hits ESC on the keyboard m

Re: GWT for SOA development

2009-01-15 Thread Paranoid Android
Thank you gregor, I think your advices could be very useful to me. My biggest concern, anyway, is not to run on multiple clients. Even if I can't discard this possibility by now, it has not yet been identified as a requirements of the application. The biggest concern is to expose a set of features

Effect of using implementations rather than interfaces in client data model

2009-01-15 Thread Ravi M
Hi all I have a couple of somewhat basic, related and possibly duh! type questions (which the subject of this post doesn't articulate very well!) that I can't seem to find answers to on the forum etc. Couple of points before the actual questions. 1. This is using GWT 1.4.6x, if that makes a diff

application (with custom shell servlet) is not working at external tomcat

2009-01-15 Thread Hasan Turksoy
Hi all, i've implemented a custom servlet (which is extending from GWTShellServlet) only to response my main gwt page requests, otherwise, will call super.doGet or super.doPost. it is like this; /** * Custom servlet which extends GWT's one to make it possible to use other * formats(like JSP, Fr

Re: RESTful URL with GWT

2009-01-15 Thread Harald Pehl
On 14 Jan., 02:44, zhouxing fang wrote: > hi,Harald,can you give more detail of your project? Is it possible to use > RESTful service with Ext-GWT? We're using the following architecture / frameworks: 1. Server: Restlet & Spring 2. Client: Restlet-GWT module & GXT (http://extjs.com/products/gxt/