Re: JPA

2008-11-11 Thread darkAngel
I have solved this problem by deploying the application in a REAL web server. Thank you for your support. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

Re: How can i create dynamically growing table panel

2008-11-11 Thread ajay jetti
A flextable should do the job for you --~--~-~--~~~---~--~~ 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

Re: Help required...

2008-11-11 Thread ajay jetti
go for roughian examples on the net http://examples.roughian.com/ yours --~--~-~--~~~---~--~~ 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@googlegroup

How can i create dynamically growing table panel

2008-11-11 Thread zujee
Hi all, I would like to create a table which will grow according to the data of a dialog with fixed height.Say if i have a less amout of data it wil show in 1 column, and add columns to that table if data increses. thanks and regards zujee --~--~-~--~~~---~--~~ You

Re: setWidgets where no one has gone before

2008-11-11 Thread davidroe
this thread should be of interest to you: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/7fca5ad288a2a415/c6b352619dbc4e0e?q=davidroe+FastContainer&lnk=ol&; /dave On Nov 11, 2:56 pm, "seven.reeds" <[EMAIL PROTECTED]> wrote: > Hi All, > > I am trying to do something that

Using Grails-GWT Plugin cannot import JSON package

2008-11-11 Thread Friendkey
I'm working on a project that uses Grails-GWT plugin. JSON classes are imported: import com.google.gwt.json.client.JSONBoolean; import com.google.gwt.json.client.JSONNumber; import com.google.gwt.json.client.JSONObject; When "grails run-app" is executed, I get error "The import com.google.gwt.js

Help required...

2008-11-11 Thread Sanju
Hi I am new to GWT , I got to know about it recently.Now I a want to learn GWT can any one guide me step by step so that I can learn GWT!I referred this site http://code.google.com/webtoolkit/examples/ unfortunately I couldn't understood much from it as I am having confusion from where to start an

Re: SuggestBox list in another Panel

2008-11-11 Thread zujee
any clue? On Nov 11, 6:39 pm, zujee <[EMAIL PROTECTED]> wrote: > Hi Experts, > I created a suggest box like >  MultiWordSuggestOracle oracle = new MultiWordSuggestOracle(); >    oracle.add("Cat"); >    oracle.add("Dog"); >    oracle.add("Horse"); >    oracle.add("india"); >    oracle.add("Canada"

For file upload,how to set web.xml in hosted model?

2008-11-11 Thread Alex Luya
Hello I have followed thethis link(http://groups.google.com/group/ Google-Web-Toolkit/browse_thread/thread/ 19ea5c6be6d47848/8a4439de9cd48006? lnk=gst&q=FancyFileUpload#8a4439de9cd48006) to upload a file,and I am using Cypal,and question is what other work is needed,should I add some ent

Re: problem getting componentes from gwt-ext panel

2008-11-11 Thread Adam T
You might have better luck in a gwt.ext forum with your question. You should check if getWidget(x) is zero index based or not, i.e is getWidget(1) returning the Image or the Label - if the former, then the answer why the cast cast exception is obvious. //A On 11 Nov, 20:43, m007 <[EMAIL PROTECT

Re: GWT + Netbeans 6.1 + Multiple modules in one project

2008-11-11 Thread Paulo R
Right, and How can I call a module by another module in my application? thanks Paulo R --~--~-~--~~~---~--~~ 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-To

setWidgets where no one has gone before

2008-11-11 Thread seven.reeds
Hi All, I am trying to do something that I'm sure breaks a million rules, protocols, standards, covenants, agreements and pinky-swears. Given the default TabPanel, I can get the embedded TabBar. That TabBar is a HorizontalPanel with at least two extra "td"s (on in the front and the "last" one).

Re: Problems with ZipFileDownload Servlet

2008-11-11 Thread jay
If I'm not mistaken, you must set the "Content-Disposition" and contentType *before* you start writing to the output stream. On Nov 11, 10:02 am, "Romeryto Lira" <[EMAIL PROTECTED]> wrote: > I have problem with my zip download servlet. When I go to download, in the > window that open the mime tip

Re: Using a common code both at client and server side

2008-11-11 Thread Jason Essington
sure, and in fact it is quite common to use the same code in both places. The easy way to do this is to consolidate that shared code into a particular package ... something like com.foo.bar.shared Then create a new GWT.xml file com/foo/bar.Shared.gwt.xml and add your module containing yo

Re: problem getting componentes from gwt-ext panel

2008-11-11 Thread m007
the problem that i have is that i use a gwt-ext panel and then i add to it an image component from gwt. so when i want to use the getComponent method of the panel, i can only cast to component that are from gwt-ext, if i try to cast to a gwt component it throws the cast exception I cant use that

Re: JPA

2008-11-11 Thread darkAngel
Thank you very much. I will try to debug my application step by step. I will try to deploy my application to a real web server. Best regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Using a common code both at client and server side

2008-11-11 Thread sriram
Hi, Do we use a common code written in java, that could be used at both the client and server side using gwt. for example, cache a common folder used at both the ends. Thanks, Sriram --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: problem getting componentes from gwt-ext panel

2008-11-11 Thread ben
are you using a GWT Label or a GWT-Ext Label? If you're using a GWT- Ext Label, then it's not a Widget, so you can't cast it to be a Widget Why don't you just do at module level m_Label2update = new Label in init or whatever a.add(m_Label2update) in an update function m_Labe2update.setText

I try to use both Hibernate4GWT and Hibernate together

2008-11-11 Thread iarv
Two simple questions please to everybody I use Ebunciate/GWT using Hibernate on Server side. I want to have also a DB at each GWT client side using also Hibernate. I have read that there are some problems using Hibernate to GWT and I have to use a different package named Hibernate4GWT (see http:/

Re: Dynamic Loading dialog

2008-11-11 Thread Isaac Truett
The display won't refresh until you release the JS thread. You need to delay your loading operation using DeferredCommand so that the message can be displayed while the loading occurs. On Tue, Nov 11, 2008 at 2:07 PM, ben <[EMAIL PROTECTED]> wrote: > > Hello all, > > I have a loading dialog that

I try to use both Hibernate4GWT/Hibernate tohether

2008-11-11 Thread iarv
Two simple questions please to everybody. I use Enunciate and GWT client. I want to have Hibernate at WEB Service (server side) and also I want to have a DB at each GWT client side using Hibernate4GWT. I have read that there are some problems using Hibernate to GWT and I have to use a different p

how can we call a method whose name stored in String variable

2008-11-11 Thread srikanth
Object object=Class.forName("ABC").newInstance(); String methodname="xyz"; In the above code, i instantiate one object having class name ABC. In ABC class, xyz method is there. How can I invoke that xyz method and this method name is stored in methodname variable without using java.lang.reflect p

there is simple and better way to work with struts and GWT

2008-11-11 Thread mehdi.salarkia
Hello all in a gwt application when using a formPanel (By default )a frame is container of you page thus when you submit you form the frame withh be submitted and the page is not be send to refresh as the result the struts result and mapping will fail to navgate you page ; if you need to that str

Re: run gwt project with eclipse

2008-11-11 Thread Teglus
Thanks Dean, for help! I should never figured out this : "select the green circle Run toolbar item, select "Run Configurations..." you should see MyApplication under Java Application. " Thank Teglus --~--~-~--~~~---~--~~ You received this message because y

Wrapping 3rd party api. OpenLayers LineString quirk.

2008-11-11 Thread sommers
First off, you don't need to be an OpenLayers user to help me here. I'm guessing some experience wrapping 3rd party api in GWT is what you need to help me. I've been using openlayers from GWT for the past couple months now. I'm working off the GWT-OpenLayers project on sourceforge and wrapping mo

Dynamic Loading dialog

2008-11-11 Thread ben
Hello all, I have a loading dialog that uses a div tag that shows while my app loads. I call a javascript function that updates the innerHTML of the div as I go along in the html page doing various stuff. It works great. I decided that I wanted to get fancier and have my GWT Application update

[HELP] Problems with ZipFileDownload Servlet

2008-11-11 Thread Romeryto Lira
I have problem with my zip download servlet. When I go to download, in the window that open the mime tipe of the zip file is lost. *snippet of code: *String fileName = request.getParameter("filename"); OutputStream out = response.getOutputStream(); ZipOutputStream zout = new ZipOutputStream(out)

Gears distribution for completely offline clients

2008-11-11 Thread rakesh wagh
First of all, please forgive me for posting this topic in gwt forum. I have tried posting threads in the gears group with no real response. Basically I am in desperate mode and need advice from people knowledgeable in this area. I believe many gwt users use gears and might have faced similar issue

Re: Fwd: Tree performance

2008-11-11 Thread gregor
Hi Michael, TreeItems use up a lot of HTML "boxes", so drawing thousands of them equates to drawing tens of thousands of HTML boxes. That takes time in javascipt. I did this test program some time ago to see what the difference was between Tree and FastTree - you might be able to use this to you

problem getting componentes from gwt-ext panel

2008-11-11 Thread m007
hy, y have a problem using GWT-EXT. im adding components dynamicly to a panel but the when i want to access to the via panel.getComponent() i cant get the proper component. For example: Panel a= new Panel(); a.add(new Image("URL")); a.add(new Label("some label")); a.add(new Label("other label")

Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread Isaac Truett
If only "MyVehicle implements IsSubmarine, HasDoor" had produced a compile-time error. But now I know, right? On Tue, Nov 11, 2008 at 11:13 AM, Jason Essington <[EMAIL PROTECTED]> wrote: > That's funny, because my windows open, and I can get music ... of course my > car is a Jeep. > Maybe you s

Re: JPA

2008-11-11 Thread gregor
yeah, Toplink is supposed to run in Tomcat so in theory it should work. If you google: "toplink Internal Exception: java.lang.ClassNotFoundException:" there seem to be a lot of people who have had the same exception as you, but for a variety of different reasons. I'm sorry I don't know anything

Re: Request Builder doesn't invoke the server (external)

2008-11-11 Thread Jason Essington
There is a very complete example of this in the book "Google Web Toolkit Applications" by Ryan Dewsbury -jason On Nov 11, 2008, at 6:05 AM, Manish Kumar wrote: > > Hi, > > Can anybody guide me anything simple to proxy the request at > server,since we > have only this solution to follow. > p

Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread Jason Essington
That's funny, because my windows open, and I can get music ... of course my car is a Jeep. Maybe you shouldn't have implemented IsSilent, and IsSubmarine -jason On Nov 11, 2008, at 5:05 AM, Ian Bambury wrote: > Well, normally these things work, so without some kind of indication > of what y

Re: "static method wrap(Element) conflicts" compiler error. Why?

2008-11-11 Thread Jason Essington
Well in general the code is probably filled with syntax errors when using the Java 1.4 compiler ... And since GWT 1.5.x is not compatible with the Java 1.4 compiler I would consider this a non issue. Since GWT 1.5 is not compatible with Java 1.4 I would not expect it to work and the message

Re: question about JSNI

2008-11-11 Thread Jason Essington
not sure I understand the need for the System.currentTimeMillis() ... Simply doing new Date(); would be the same as what you are doing ... Date initializes with a current time of NOW if you don't supply a time. -jason On Nov 10, 2008, at 2:35 PM, bw wrote: > > It seems the problem only occurs

Fwd: Tree performance

2008-11-11 Thread Michael Vogt
Hi. Answer forwarding to the group. What I should have mentioned is, that the transport of the data over the wire is no problem, since this is an internal application. Greetings, Michael Vogt -- Forwarded message -- From: trist <[EMAIL PROTECTED]> Date: Tue, Nov 11, 2008 at 1

Re: new user with a few questions.

2008-11-11 Thread dondzes
Here is a simple example of what I hope to do. A user inventory. Say user foobar wants to see his inventory. I was thinking I would hash his username to say xyz123 and then have the GWT app fetch www.acme.com/xyz123/inventory.txt and display the contents on the page www.acme.com/inventory.html, th

Tree performance

2008-11-11 Thread Michael Vogt
Hello all. The question I need to find an answer to is, what is the practical limit of number of items in a leaf of a tree element. Does somebody have experience with this? Is the tree already too slow to use with hundred items, or are thousand items usable? Is there a tree available, that allow

Re: Support of web services

2008-11-11 Thread doopa
I think the recommended way to do this is have a server handle the webservice side of things and have your GWT client speak to the server via an RPC call. Therefore, the user would click a btn on the client, this would fire a request to the server to run a webservice, and then the server would pa

Re: Pagination Widget?

2008-11-11 Thread Suri
Aha. I understand now. I guess I went too far in the linked README document provided. It needed to be as far as the setting up the eclipse section and ignoring the rest from checkstyle onward really and then following the additional instructions given in the webpage. I got to build the incubator :

Re: JPA

2008-11-11 Thread darkAngel
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 [E

Re: Announcing Kiyaa! a new GWT library

2008-11-11 Thread Dobes Vandermeer
On 11/10/08, Johan Rydberg <[EMAIL PROTECTED]> wrote: > > Dobes skrev: > > Yeah ... I'll add documentation based on how much time and motivation > > I get, which partly depends on the interest I get in the application. > > I did add some documentation for the template system recently and I'll

SuggestBox list in another Panel

2008-11-11 Thread zujee
Hi Experts, I created a suggest box like MultiWordSuggestOracle oracle = new MultiWordSuggestOracle(); oracle.add("Cat"); oracle.add("Dog"); oracle.add("Horse"); oracle.add("india"); oracle.add("Canada"); oracle.add("France"); oracle.add("uk"); oracle.add("Japan"); orac

Re: Reading XML file from localhost

2008-11-11 Thread Jason Morris
When you call any "async" method in GWT, you can think of it as starting in another Thread. This is the plain Java equivalent to your XmlParserUtil class: public class XmlParserUtil { String url; Document doc; public RequestBuilder requestBuilder; String xmlStr;

Re: JPA

2008-11-11 Thread darkAngel
Thank you for this reply. I am running the application in hosted mode. --~--~-~--~~~---~--~~ 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.

Re: Request Builder doesn't invoke the server (external)

2008-11-11 Thread Manish Kumar
Hi, Can anybody guide me anything simple to proxy the request at server,since we have only this solution to follow. please provide if anybody is having script for this. Regards, Manish - Original Message - From: "Thomas Broyer" <[EMAIL PROTECTED]> To: "Google Web Toolkit" Sent: Monda

Re: sleep() or wait() on Event.ONMOUSEOUT

2008-11-11 Thread Sirisha Vajjhala
Thanks, its working fine now... On Mon, Nov 10, 2008 at 5:21 PM, Sirisha <[EMAIL PROTECTED]> wrote: > Hi, > > Can we have a kind of sleep( ) or wait( ) delays inside my ONMOUSEOUT > event without any threads? I want to call my collapsing method to > perform something like collapsing onmouseout ev

Re: JPA

2008-11-11 Thread gregor
Hi darkAngel, I think it means com.app.server.Person is not in the classpath where the RPC servlet is running, I don't think it has anything to do with Toplink. How are you running this: Are you in hosted mode, hosted mode with -noserver tag, or deployed on server? regards gregor On Nov 11, 11:

Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread Ian Bambury
Well, normally these things work, so without some kind of indication of what you are doing, it is not easy to tell what you are doing wrong. "I have built a car and I can't open the window, what is wrong? Oh, and I can't get any music." Ian http://examples.roughian.com 2008/11/11 jamer <[EMAIL

Re: Reading XML file from localhost

2008-11-11 Thread gregor
Hi Mives29, Jason's solution is correct. If you have TreeX implement his Callback interface, then XmlParserUtil will call TreeX.callback() when it has retrieved and parsed the XML document, so you move the tree building code (getTreeitem()) to start from TreeX.callback(String XML). This will sol

Re: JPA

2008-11-11 Thread darkAngel
Is it a bug related to Toplink provider ? --~--~-~--~~~---~--~~ 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 g

JPA

2008-11-11 Thread darkAngel
Hi: I am using the Java Persistence API to save entities with Toplink as a provider. When I run an RPC service to persist an entity I get the following exception: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))):

Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread jamer
It is a full application, and i can't use the scrolll bar of web browser, or other button of IE 7 Thakn you On 10 nov, 00:02, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > Not unless you have some code or an example or give more details. > You realise that you have to program history actions in for

Re: Using GWT for developing SVG

2008-11-11 Thread daniel.z
Hi Dirk! I did not really work with SVG in GWT but as SVG is generally nothing than XML markup I would expect that it is possible to modify svg via GWTs DOM manipulation API. Have fun! ;) On 10 Nov., 23:28, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello together, > I have one question

RequestBuilder

2008-11-11 Thread Kurposkano
I have my implemented Async class return a RequestBuilder object, giving it an AsyncCallback as a parameter. Then I call getCallback() on it but i get a RequestBuilderAdapter which cannot be typecast to AsyncCallback. I need to be able to gain access to this AsyncCallback at times. The reason is t

Re: decimal formatting

2008-11-11 Thread trist
Of course I think about: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/NumberFormat.html On 11 Lis, 09:42, trist <[EMAIL PROTECTED]> wrote: > Try this: > It may solve your problem with Format may also allow rounding... try > to search maybe. > > http://googl

Re: decimal formatting

2008-11-11 Thread trist
Try this: It may solve your problem with Format may also allow rounding... try to search maybe. http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/index.html?com/google/gwt/i18n/client/DateTimeFormat.html On 11 Lis, 09:28, navS <[EMAIL PROTECTED]> wrote: > Hi Team, > > i have a number 123

Re: gwt - framework

2008-11-11 Thread trist
Ones againg, I am asking because I thinking about publishing our project on google code. I will need some time to create space, use java convention, unit testing, javadoc, documentation, which we don't have right now. I also thinking because we have a second project which is for graphical design

decimal formatting

2008-11-11 Thread navS
Hi Team, i have a number 1234.61234567 i need to format this to 1234.61 cacn any body help me. Note: i don want the number to be rounded of. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group