how to hide / show a panel by clicking on a button

2008-12-29 Thread rajasekhar
Hi All, how to hide /show a panel by clicking on a button.If panel is hidden by clicking on button it should be visible.If panel is visible after clicking on button it should hide(there is only one button in this case).Please let me know how to do this. Regards, Rajasekhar

Re: Listbox Listener

2008-12-29 Thread Litty Preeth
What do you mean by position? You mean the x of data[x][0] for the current selected index? For that may be you can add the elements to the ListBox in the order of array then the listBox.getSelectedIndex() is the x you want or if its not possible then while creating the LB you can add the value of

Re: response back from server to client

2008-12-29 Thread Lothar Kimmeringer
avd schrieb: hello sir, I have a problem in GWT, my problem is How can get response from server to client after completion query processing in database? If the query is initiated by using the GWT-RPC-mechanism, it's simply done by returning the method in the servlet being called. This lead to

Re: how to hide / show a panel by clicking on a button

2008-12-29 Thread Litty Preeth
If what you want is something like this: http://gwt.google.com/samples/Showcase/Showcase.html#CwDisclosurePanel then may be you can use the DisclosurePanel widget. - Litty Preeth On Mon, Dec 29, 2008 at 4:01 PM, rajasekhar raja...@gmail.com wrote: Hi All, how to hide /show a

Re: OOPHM and 1.5

2008-12-29 Thread श्री
http://slashgnu.blogspot.com/2008/10/gwt-hosted-mode-in-firefoxlinux.html - sree On Dec 28, 11:28 pm, Joonas lehti...@gmail.com wrote: So far it has been easy - just compiled the OOPHM branch from SVN. - Joonas On Dec 26, 7:15 pm, jay jay.gin...@gmail.com wrote: Would you mind sharing

How to change the name of the host html page in project

2008-12-29 Thread giannisdag
Hi, I can' t figure out the solution to a simple problem. I want to rename my first html page to index.html. I am using eclipse. I have renamed the html page and the corresponding java class file to index.htm. Also i have changed the entry point of the settings xml file to entry-point

Re: How to change the name of the host html page in project

2008-12-29 Thread Hasan Turksoy
this entry may help you... http://java.dzone.com/tips/getting-rid-package-based-gwt- Hasan On Mon, Dec 29, 2008 at 3:23 PM, giannisdag pascoua...@gmail.com wrote: Hi, I can' t figure out the solution to a simple problem. I want to rename my first html page to index.html. I am using eclipse.

Re: java.lang.ref.* in GoogleWebToolkit ?

2008-12-29 Thread Garo.Garabedyan
I think that mediation of objects by JS can be designed in such a way to understand when a particular object (by the count of references to it) is no longer needed to the rest objects. http://www.slideshare.net/Adieu/advanced-javascript/ On Nov 20, 5:42 pm, Ian Petersen ispet...@gmail.com wrote:

Re: GWT RIA s ?

2008-12-29 Thread Arthur Kalmenson
Thanks for the support everyone :) Showing some search results? Create a search result POJO and a searchResultWidget to match. It really doesn't get any easier. Because GWT so kindly works with the MVC paradigm, it's often very convenient the code the VIEW to match your MODEL (or vice

Re: GWT RIA s ?

2008-12-29 Thread Arthur Kalmenson
We weren't really burned by using what we did but we did learn a lesson and I was hoping just to get feedback on others experiences. It seems that this wasn't the proper place. Thank you for sharing your experience. I think this is definitely the right place to talk about it. -- Arthur

Re: how to hide / show a panel by clicking on a button

2008-12-29 Thread saurabh hirani
On Mon, Dec 29, 2008 at 4:01 PM, rajasekhar raja...@gmail.com wrote: Hi All, how to hide /show a panel by clicking on a button.If panel is hidden by clicking on button it should be visible.If panel is visible after clicking on button it should hide(there is only one button in

Login security question

2008-12-29 Thread akutz
Per the Login Security FAQ (http://code.google.com/p/google-web- toolkit-incubator/wiki/LoginSecurityFAQ) I have a few questions: 1) We're storing the SID in a client-side cookie and then the GWT app is grabbing that and sending it to the server with each RPC request. How is that any different

difference between gwt.dom.client.Element and gwt.user.client.Element

2008-12-29 Thread saurabh hirani
Hi guys, I just joined this group and I must say that the google team has done a great job with GWT. I was up and running with the tutorial on the site and after that I was creating a sample app. I was facing a problem with using DOM. Every time I used a feature of DOM which involved passing an

How do I unload MapWidget resources?

2008-12-29 Thread byhisdeeds
I am using the latest gwt maps MapWidget within a Dialog and want to know how to unload the resources when I hide the dialog, as I don't see any GUnload() function in the documentation. John --~--~-~--~~~---~--~~ You received this message because you are

Re: Calling of business method from Client

2008-12-29 Thread Arul
Hi, I am trying to replace my existing presenation layer using GWT. In GWT Servlet class (which extents RemoteServiceServlet) , I am calling existing delegate which is doing PDF file conversion. This delegate class uses one bean class for setting values the same bean used in client side code of

Re: GWT+SPRING+MAVEN

2008-12-29 Thread Arthur Kalmenson
Hi Mikhail, Are you using Spring Security? If so, this should be fairly easy to do. You need to have a DTO for your UserDetails and GrantedAuthority classes (i.e. a DTO that doesn't implement those interfaces). Then just have a RemoteService where you can ask Spring Security for the user

Re: Calling of business method from Client

2008-12-29 Thread Arul
Hi, Would you please clarify below questions. 1) Is the package struct client must be followed using applicationCreator? if no, will you please tell me how can use applicationCreator without package client be created. 2)I understant applicationCreator is tool for helping to develop project

Re: Job opening for GWT developer

2008-12-29 Thread DaBlick
Folks, The job is a full-time job and is located in Weschester County, NY (White Plains area) - about 30 minutes from NYC. We will consider hiring as employee or contract but we prefer hiring as employee. Folks PLEASE DO NOT REPLY in the Forum, but instead use the reply to author feature.

Re: Login security question

2008-12-29 Thread mikedshaf...@gmail.com
I can answer the 2nd the fastest. It does make sense to have Tomcat or whatever server handle things, until you have a multi-server cluster. Then typical session management ideals are tossed out the window. On Dec 29, 7:10 am, akutz sak...@gmail.com wrote: Per the Login Security FAQ

GWT 1.4: Getting file path for FileUpload?

2008-12-29 Thread zilvonias
Hi all! Is there a way, client-side, to fetch the filepath for a FileUpload widget, i.e. 1. User selects a file using the FileUpload widget. 2. GWT client requests the filename and filepath of the file selected from the FileUpload widget. I'm currently using GWT 1.4.61. Thanks!

Re: Calling of business method from Client

2008-12-29 Thread gregor
Hi Arul, Yes, the reason your client side GWT code cannot see your shared bean class is because it does not live within the compilation scope (i.e. underneath) your GWT module *.gwt.xm file. The solution is as follows: 1) leave your bean class where it is in your server side code 2) create a

Re: Calling of business method from Client

2008-12-29 Thread gregor
Sorry Arul, this is ambiguous: path statement to the source packages (and their child packages) what I mean is that all sub-packages of a package specified in a path statement are automatically included. On Dec 29, 5:00 pm, gregor greg.power...@googlemail.com wrote: Hi Arul, Yes, the reason

Re: GWT 1.4: Getting file path for FileUpload?

2008-12-29 Thread Kevin Tarn
There is no way to get file path from client side due to browser's security policy. You have to do it via a signed java applet or get it from your servlet. Kevin On Mon, Dec 29, 2008 at 11:52 PM, zilvonias zilvon...@gmail.com wrote: Hi all! Is there a way, client-side, to fetch the filepath

Re: Login security question

2008-12-29 Thread Ian Bambury
And the answer to #1 is 'there is no difference' if you do it that way - but you shouldn't be getting it from a cookie at all, you should be storing it in the app. It's pretty obvious that if you get it from the cookie, someone can replace the cookie; if you store it in the app, replacing the

Re: GWT 1.4: Getting file path for FileUpload?

2008-12-29 Thread Lothar Kimmeringer
zilvonias schrieb: 1. User selects a file using the FileUpload widget. 2. GWT client requests the filename and filepath of the file selected from the FileUpload widget. fileUpload.getFilename should return the filename including the absolute path. So you only need to separate the two parts

Re: GWT 1.4: Getting file path for FileUpload?

2008-12-29 Thread Kevin Tarn
You cannot rely on getFilename to return full path of file. It depens on browser. For example, Firefox did not return full path of it. Kevin On Tue, Dec 30, 2008 at 1:12 AM, Lothar Kimmeringer j...@kimmeringer.dewrote: zilvonias schrieb: 1. User selects a file using the FileUpload widget.

ANN: SL 0.1.5b released

2008-12-29 Thread George Georgovassilis
Dear All, I am happy to announce release 0.1.5b of the SL which is a maintenance release, contains a few bugfixes and updated dependencies with respect to Gilead (formerly Hibernate4GWT). The SL is a sister project of the Widget Library, primarily focused on providing a better server side

Re: GWT 1.4: Getting file path for FileUpload?

2008-12-29 Thread Lothar Kimmeringer
Kevin Tarn schrieb: You cannot rely on getFilename to return full path of file. It depens on browser. For example, Firefox did not return full path of it. Maybe you can achieve something accessing DOM directly. At least the full path shows up in the text-field of the FileUpload-widget in

Re: How to change the name of the host html page in project

2008-12-29 Thread giannisdag
Thank you, it is very simple as it should be. On 29 Δεκ, 16:13, Ian Bambury ianbamb...@gmail.com wrote: Don't do all that. Rename the page to index.html. In any .launch file, rename just the ProjectName.html part - just one place - leave everything else alone. Ian

Re: Error's , PLEASE HELP ME :)

2008-12-29 Thread King
Hello Lothar :) I will explain my problem in german... Maybe than we wont have this communication problems :) Also ich habe schon einiges versucht und gegoogelt habe ich auch schon... Meine Vermutung ist einfach, es stimmt was mit EntryPoint{ und onModulLoad() .. was nicht! Die zweite

Re: Error's , PLEASE HELP ME :)

2008-12-29 Thread Jason Essington
Judging from the error message something in GWT is attempting to access an object from outside of GWT ... $wnd.Ext.StatuBar ... and that object does not exist ... This is likely to mean that you have either forgotten to add the script tag for that external library, or the file is not where

Re: How to change the name of the host html page in project

2008-12-29 Thread Ian Bambury
The trouble with the app/project creators is that they name everything the same ('MyProject') which makes the setup easy, but working out how the bits relate is a nightmare. :-) Ian http://examples.roughian.com 2008/12/29 giannisdag pascoua...@gmail.com Thank you, it is very simple as it

Re: Poor performance for simple query - seems to be in the deserialisation mostly

2008-12-29 Thread John Lonergan
Hi - I've taken a look at the grids in the incubator and they are definitely much faster (200ms in IE7). But those grids are very basic. I need a grid that's a bit more functional .. - sorting - scrolling - fixed non-scrolling header row (i.e.header doesn't scroll with rest of grid) Are such

Re: Login security question

2008-12-29 Thread Nicky
If you do 1) you open yourself to XSRF attacks. Read this article (http://groups.google.com/group/Google-Web-Toolkit/web/security-for- gwt-applications) on how to avoid this by submitting a duplicate field with the cookie value and verifying it on the server end before executing the request For

Re: Error's , PLEASE HELP ME :)

2008-12-29 Thread Lothar Kimmeringer
King schrieb: Also ich habe schon einiges versucht und gegoogelt habe ich auch schon... Meine Vermutung ist einfach, es stimmt was mit EntryPoint{ und onModulLoad() .. was nicht! Die zweite Fehlermeldung kann man ja ausser acht lassen, weil es sich auf das erste Problem bezieht! Das

printing the grid

2008-12-29 Thread usman
hi, i created three widgets. 1.Grid ,2.panel ,3.panel.In the third panel i have two buttons.if i click the one button i want to print 2) panel.if i click another button i want to print grid.is there is any sample regarding this please send me.i am using gwt1.5.3. Thanks in advance. usman

Bug ao criar instância de um objeto Date com data igual à 19/10/2008

2008-12-29 Thread jpleiser
Estou tentando criar a data 19/10/2008, mas quando tento instanciar a data conforme exemplo abaixo, a data retorna 18/10/2008, alguém poderia me ajudar. Observação: se executo no modo depuração funciona, já na execução normal com o IE, Crome, ou Firefox 1.5 a data é criada errada, detalhe se

Re: Login security question

2008-12-29 Thread akutz
Ultimately I think much of my concern will be moot because SSL will be turned on at all times. However, I do love academic discussions. As for #1, let's say we refresh the page or the user closes the browser and comes back. Either of those events requires the application to initializes its static

module organization

2008-12-29 Thread rjcarr
Since I don't completely understand the GWT compiling / transcoding I thought I'd ask a question about module organization and performance. I have a large GWT application that can logically be separated into several modules. I would prefer that they are separated but I'm curious the effects on

Re: Login security question

2008-12-29 Thread Reinier Zwitserloot
akutz: ** YOU COULDNT BE MORE WRONG ** SSL protects against many things, but it does *NOT* protect against XSRF. Which is -exactly- what you're opening yourself up to if you only rely on the cookie automatically sent by the browser in the form of the 'Cookie' header - which is the mechanism

Re: Login security question

2008-12-29 Thread akutz
I appreciate the response, but you're a complete and total ass. I do not know why people let you get away with acting the way you do. We come here for help, not abuse. We're not idiots, we simply don't understand the subject as well as you do. I've seen your other responses, and you are just as

Re: module organization

2008-12-29 Thread Shawn Pearce
There isn't really any effect either way. The additional module might take a tiny bit extra time to compile (like under 1 ms) due to the compiler needing to read an extra XML file. But all of the code from all modules is flattened out at compile time into a single JavaScript file. So there is

Re: module organization

2008-12-29 Thread Robert J. Carr
Great, that is mostly what I expected, thanks for the help! On Mon, Dec 29, 2008 at 3:47 PM, Shawn Pearce s...@google.com wrote: There isn't really any effect either way. The additional module might take a tiny bit extra time to compile (like under 1 ms) due to the compiler needing to read

Re: How do I unload MapWidget resources?

2008-12-29 Thread Eric Ayers
The GUnload method is called implicitly via a handler. Iinstalled when the MapWidget is created. The GUnload method gets called when the window is closed. If you like, you can explicitly invoke it by creating your own JSNI method as follows: private static native void nativeUnload() /*-{

Re: Login security question

2008-12-29 Thread Reinier Zwitserloot
So I'm not to reply to you but you do engage in a long missive to explain your situation and then ask for help? Let me know how calling people an ass before asking for help works out for you. On Dec 30, 12:47 am, akutz sak...@gmail.com wrote: I appreciate the response, but you're a complete

Re: Login security question

2008-12-29 Thread akutz
I'm very grateful for your help, but not your attitude. If there is anyone who would like to help me in a polite manner, I'd be more than happy to listen to you. I enjoy being educated, and I often miss the forest for the trees, but I do expect a certain amount of mutual courtesy. What do you

Using JavaScript 'var s in obj' on a GWT object

2008-12-29 Thread Richard Kennard
Dear All, First, thanks for all your hard work on GWT. It really is a fantastic framework! Is there a reason why GWT-compiled JavaScript objects are not 'reflectable' like regular JavaScript objects are? When I do (in JSNI JavaScript): for( var s in obj ) { alert( obj[s] ); } I don't see

How to handel canel button in signed applet certificate

2008-12-29 Thread ship
hi to all, In my gwt application, i hav made a signed applet, when i run this applet a digital signature for this applet pop ups on which two buttons display one is run and second is canel. When i click on run applet is started but when i click on cancel button nothing is happened and i could

[gwt-contrib] Re: RR: SuggestBox uprades

2008-12-29 Thread Emily Crutcher
This is not a promise, but here is what is on my list for the first round of SuggestBox upgrades, which I hope to do as soon as we've finished everything critical for 1.6 (hence why it is not a promise). The others probably need more design vetting, so are somewhat unlikely to make it in. 1.

[gwt-contrib] Re: Extra space on tree when Treeitem selected is a composite widget only on firefox

2008-12-29 Thread Emily Crutcher
LGTM. On Mon, Dec 22, 2008 at 3:17 PM, jlaba...@google.com wrote: Here is the bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=504 http://gwt-code-reviews.appspot.com/1803 -- There are only 10 types of people in the world: Those who understand binary, and those who

[gwt-contrib] Re: Add NativePreviewEvent to replace current EventPreview system (version 4)

2008-12-29 Thread Emily Crutcher
This seems like the right model of behavior. I wonder if we could figure out a way to tweak the API exposing the behavior though when you get back from vacation? As a user, I think I might get confused by the interactions of setAlwaysAutoHide(), setAutoHidePartner,

[gwt-contrib] Re: Add dateBoxFormatError to dark and chrome style themes

2008-12-29 Thread Emily Crutcher
LGTM On Mon, Dec 22, 2008 at 11:41 AM, jlaba...@google.com wrote: Reviewers: ecc, Description: The dateBoxFormatError style name is applied to a DateBox with an invalid date entry. This patch adds style definitions to the dark and chrome style themes. Style definitions were already added

[gwt-contrib] Re: Themes/Alpha Transpary/IE7 the Holly Hack!

2008-12-29 Thread Emily Crutcher
Good point, added as issue 3234. On Fri, Dec 19, 2008 at 3:40 AM, Andy Moorley andy.moor...@gmail.comwrote: Hi there Been struggling a bit with some of the effects of the GWT style sheets in an attempt to get round IE6 alpha transparancy. In the top of standard.css

[gwt-contrib] [google-web-toolkit commit] r4375 - trunk/tools/soyc-vis/src/com/google/gwt/soyc

2008-12-29 Thread codesite-noreply
Author: kpro...@google.com Date: Mon Dec 29 07:20:21 2008 New Revision: 4375 Modified: trunk/tools/soyc-vis/src/com/google/gwt/soyc/GlobalInformation.java trunk/tools/soyc-vis/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java

[gwt-contrib] Re: review request: GwtTransient annotation

2008-12-29 Thread Lex Spoon
It seems the discussion about how to do a better @GwtTransient has stalled. Meanwhile, some bug reports are sitting in limbo (2931, 2964), where the best answer depends on whether @GwtTransient is in the pipeline. How about we go with this patch for now, thus giving the above people an

[gwt-contrib] Re: gwt-incubator has created a 1.5 branch

2008-12-29 Thread Ray Cromwell
Is the /releases/1.6 going to be the branch that becomes 1.6? There are two other 1.6 branches in /branches as well. -Ray On Mon, Dec 29, 2008 at 1:28 PM, Emily Crutcher e...@google.com wrote: We have just released another gwt-incubator drop for gwt 1.5.3, which we hope will be the final

[gwt-contrib] Re: gwt-incubator has created a 1.5 branch

2008-12-29 Thread Emily Crutcher
I think you might be thinking about GWT rather then gwt-incubator. gwt-incubator releases only has two sub folders in it: 1. http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/releases/1.5, which has the gwt-incubator code that is compatable with gwt 1.5. 2.

[gwt-contrib] Re: gwt-incubator has created a 1.5 branch

2008-12-29 Thread Emily Crutcher
And yep, for the gwt code base, the releases/1.6 will become the 1.6 release. Cheers, Emily On Mon, Dec 29, 2008 at 9:15 PM, Emily Crutcher e...@google.com wrote: I think you might be thinking about GWT rather then gwt-incubator. gwt-incubator releases only has two sub