how to update database, when a row a deleted in the smartGwt ListGrid

2010-07-02 Thread GWT Groups
Hello Friends... Now i need your help.. I am working on SmartGwt Expendable Grid...I am using ListGrid Class to generate grid. i want to delete the row from the grid...and changes should reflect into my database..Please provide me some idea to do that... This is my code fragment...

Mix up of the JavaScript files in modules

2010-07-02 Thread Jochen Schnaidt
Hi everyone, I have a serious problem with my GWT project. I have two modules, each with client code, shared and server parts. One is called ‘administration’ and one ‘signup’. The module inherit each other because of some shared files (server classes of appengine) I call my JavaScript files via

Re: Problem with Eclipse, Google plugin and WTP

2010-07-02 Thread SimonM
Hi, That's what we did as a fix, but it's not the way it should work. Otherwise we have to copy libs each time we add some in our business project which is not the way to go imho. On 1 juil, 15:04, Sebastian Rothbucher wrote: > Hi, can you not copy all libs to WEB-INF/lib and include them from

align the widgets in DocLayoutPanel

2010-07-02 Thread nasionalem
Hello, I'm new in GWT development and need some help. I use GWT 2.0 and in my project I have a DockLayoutPanel which inculudes north, south, east and west. I have added a widget in East edge. But Its on right side of the East edge. How can I align the widget to the right side in East edge? // Sa

auto refresh client side when ever there are changes in the database (without timer)

2010-07-02 Thread Fendy Tjin
Is there a way to automatically refresh the client side when ever there are changes in the database without the timer on the client side. -- 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-tool.

Re: auto refresh client side when ever there are changes in the database (without timer)

2010-07-02 Thread Subhrajyoti Moitra
try server push.. http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ On Fri, Jul 2, 2010 at 2:55 PM, Fendy Tjin wrote: > Is there a way to automatically refresh the client side when ever > there are changes in the database without the timer on the client side. > > -- > Yo

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

2010-07-02 Thread Hotkey
Thanks for the replies. I've currently solved the problem by disabling "Use Google App Engine". After that i got other exceptions which i managed to solve by removing certain jar files out of the Build Path manually (relating to Google App Engine). On 2 Jul., 02:59, mdwarne wrote: > Are you try

GWTCanvas not working on IE6?

2010-07-02 Thread Kevin
Hi all, I thought GWTCanvas supports IE6, I am sure it did, but haven't tried it on IE6 for a few months and all of a sudden it's not working on IE6 anymore. Anyone who can make it work on IE6? Thanks. Kevin -- You received this message because you are subscribed to the Google Groups "Google

getting the current row count from the button

2010-07-02 Thread nasionalem
Hello, I have a simple problem. I am using GWT 2.0 and I need help. I add a row with a button in FlexTable. The button should remove the row when click. But I didnt get current current row count.. private void addItem() { // Add a button to remove this Item from the table. final int itemRowCount

Re: BigDecimal - Can you add it to 2.1 version

2010-07-02 Thread Richard
The Harmony team is not involved, I'm just some random guy. >From Richard. On Jul 2, 8:06 am, Carl Pritchett wrote: > >http://code.google.com/p/gwt-java-math/ > > We use this in our finance based application and it works well. It's > based on the Apache Harmony BigDecimal class I think. Initiall

User management in GWT

2010-07-02 Thread sbrombo
Hi everyone, *Really short version*: I'd like suggestions on possible libraries/ projects to provide/develop the user registration/login/sessions within a GWT site. Off-the-shelf solutions are ok, too. Now some more details about my project: I'm a novice GWT user currently in the preliminary "te

UiBinder and Event Handlers (General Performance Question)

2010-07-02 Thread Jim
I have a question about the use of the Uibinder with regard to the simple binding of event handlers. >From the examples in the - >>Developer's Guide - Event Handlers - section, it’s written: “Using anonymous inner classes as in the above example can use excessive memory for a large number of widg

Running a .exe file from server side code

2010-07-02 Thread Rajesh
Hi, I am trying to call a .exe file using server side code.However I keep getting this error: error===access denied (java.io.FilePermission <> execute). I even tried to change the security permissions of the file by changing the java.policy file but it still gives the same error.I have also trie

Populating TreeView by RPC

2010-07-02 Thread Nick
I'm trying to populate a TreeView by making an RPC call to my server. It makes sense (to me) to represent the data using some sort of nested Collection. I've been unsuccessful after trying 2 approaches: class MyMap extends TreeMap implements IsSerialisable {} and class MyTree implements IsSeria

Trying to create and read xml using gwt on client side

2010-07-02 Thread dlynch
I am creating an object which contains instances of other objects. I need to write a toXml() function for each object so that I can build a full xml document to send to the server from the client. I noticed something called DocumentFragment and was wondering first of all of this is the correct dir

onSuccess() return value other than void?

2010-07-02 Thread day_trader
At present, an AsyncCallback contains a 'public void onSuccess()' method. This is posing significant problems for me at the moment. I have a method myMethod() being called which has a return value type of ArrayList. MyMethod contains this AsynCallback which is used to query a database on the serve

Re: onSuccess() return value other than void?

2010-07-02 Thread andreas
Welcome to the async world! ;-) I had the same problem. Since the code of an async callback is not executed in the order of the statements in your myMethod() you can not directly return the results from onSuccess() in myMethod(). And myMethod() is not able to "wait" for onSuccess(). You could for

Re: User management in GWT

2010-07-02 Thread Jim
Hi M. I'm also here checking out GWT and I believe I may have tested something that may help you. I think it was while I was running some of the examples in the GWT section of "What's Coming in 2.1" using the MVP Framework. In this section there's a link to Spring Roo >> http://www.springso

Re: User management in GWT

2010-07-02 Thread Jim
Hi M. Yes ... I just checked to see if I could find that demo. Here is the one to use: "vote.roo: The Voting sample script was built live on-stage during SpringOne Europe 2009, as detailed in the project history section. This is nice sample script because it's quite small and only has two entiti

Re: User management in GWT

2010-07-02 Thread Nicolas ANTONIAZZI
What is the problem with Shiro ? I am using it for security management with my application and we did not have encountered any problem with its integration. It was only few lines of code : public void login(String username, String password) { Subject currentUser = SecurityUtils.getSubject(); i

Re: Role-based security and widget visualization

2010-07-02 Thread Ladislav Gazo
Hey Kai, there is a toolkit called AcrIS (http://acris.googlecode.com/) where one of it's part is denoted to security - acris-security module (http://code.google.com/p/acris/wiki/Security). It handles client and server security. On the client it is using annotations or manually specified authoriti

Re: Role-based security and widget visualization

2010-07-02 Thread Ladislav Gazo
Hey Kai, there is a toolkit called AcrIS (http://acris.googlecode.com/) where one of it's part is denoted to security - acris-security module (http://code.google.com/p/acris/wiki/Security). It handles client and server security. On the client it is using annotations or manually specified authoriti

Re: Running a .exe file from server side code

2010-07-02 Thread Sripathi Krishnan
Disable Google App Engine in eclipse, delete all GAE jar files from your classpath and then retry. GAE does not allow you to write or execute files. --Sri On 2 July 2010 07:58, Rajesh wrote: > Hi, > I am trying to call a .exe file using server side code.However I keep > getting this error: > >

SuggestBox question - is it possible to react on sub sequences of the words?

2010-07-02 Thread crojay78
Hi, I am using the suggest box in my app. Now I'm searching for the possibility to change the filter. Is it possible to change the behaviour so that not only words which start with the input will be suggested also words where the input occurs anywhere in the name. If I have a list like this Jim

Re: Role-based security and widget visualization

2010-07-02 Thread Ladislav Gazo
Hey Kai, there is a toolkit called AcrIS (http://acris.googlecode.com/) where one of it's part is denoted to security - acris-security module (http://code.google.com/p/acris/wiki/Security). It handles client and server security. On the client it is using annotations or manually specified authoriti

Re: auto refresh client side when ever there are changes in the database (without timer)

2010-07-02 Thread Stefan Bachert
Hi, there are some ways. The buzz words are comet, server push, long poll. These techniques are requesting values from the server, but the server only fulfills the requests when datas are available. The effect is, the client will wait until the server has data. With HTML5 is WebSockets coming. T

Eclipse plugin for Eclipse 3.5 and GWT 2.1.0.M1

2010-07-02 Thread kawanka
When I create a new GWT project using Eclipse 3.5 the GWT 2.1.0 M1 and the accompanying plugin, I see that my project's libraries has GWT SDK -2.1.0M1 in the project's build path. which is what you would expect... The thing is though... I see gwt-bikeshed.jar, gwt-user.jar and gwt-dev.jar... what i

Re: Window.Location.getParameter() always null

2010-07-02 Thread Stefan Bachert
Hi Mike, you code and url looks absolutely correct. I do the similar within my project and it works. I am using FF, eclipse, linux. I do not face any problems. I do not have any idea what went wrong at your site Stefan Bachert http://gwtworld.de On Jul 2, 3:10 am, mdwarne wrote: > Hi Steph

How to show a load screen during rpc call?

2010-07-02 Thread crojay78
Hi, I need to load a few things from my server after a user gives input. Can somebody give an example how I can show a load screen as long as the rpc is not finished? I structured the app in mvp style ... any example would help me Best regards Thanks -- You received this message because you ar

Re: align the widgets in DocLayoutPanel

2010-07-02 Thread Stefan Bachert
Hi, try DockLayoutPanel p = new DockLayoutPanel(Unit.EM); p.addNorth(new HTML("north"), 5); p.addSouth(new HTML("south"), 2); HTML east = new HTML("east"); east.getElement().getStyle().setProperty("marginRight", "auto"); p.addEast(east, 20); p.addWest(new HTML("west"), 2); Not tested yet Stefa

Re: make fileupload widget readonly

2010-07-02 Thread Stefan Bachert
Hi, I would try fileupload.getElement().setPropertyString("readonly", "readonly"); fileupload.getElement().setPropertyString("disabled", "disabled"); Stefan Bachert http://gwtworld.de On Jul 1, 9:54 am, abhi wrote: > how to make fileupload  textbox readonly. -- You received this message beca

Re: How to show a load screen during rpc call?

2010-07-02 Thread andreas
You could show your load screen (for example a popup panel or even just a label) right after issuing the RPC and hide it in onSuccess() and onFailure(). On 2 Jul., 18:02, crojay78 wrote: > Hi, > > I need to load a few things from my server after a user gives input. > Can somebody give an example

Re: Document.get().getElementById(String) and $doc.getElementById(String) returning nulls

2010-07-02 Thread giacomo
Thank you for your reply. I did know that I had to add the element before calling those methods, but sure enough I had forgotten that the panel in line 4 hadn't been added yet, as it was part of a cascade of constructors. Your reply helped me point that one out. Thanks, G. On Jul 1, 10:55 am, D

Re: Problem with Eclipse, Google plugin and WTP

2010-07-02 Thread Rajeev Dayal
Hey Simon, If you navigate to the smart-ui project properties -> Google -> Web Application, what is the WAR folder set to? Is the "Launch and Deploy From this Directory" box checked? In your case, it should not be. Rajeev On Wed, Jun 30, 2010 at 7:29 AM, SimonM wrote: > Hello, > > I have trou

Re: Woes of ClientBundle +IE

2010-07-02 Thread Sean
So it turns out it actually wasn't the image rendering in-correctly. I did more investigating and it turns out that IE was not passing the Click-event correctly. It only passes it to the top visible image when they're stacked on an Absolute Panel. With some re-engineering of the logic I was able to

Re: auto refresh client side when ever there are changes in the database (without timer)

2010-07-02 Thread Fendy Tjin
Thank you for the reply. But server push does not seem practical when we can't flush the HTTP connection. Although they did explain how to overcome it, however I require the HTTP connection to stay alive for I will use it for a live graph presentation (similar to the stock graph in yahoo finance.)

Re: onSuccess() return value other than void?

2010-07-02 Thread Sean
Yeah, it takes a while to start thinking Asynchronously. But Andreas has the right of it. You no longer think of it as call myMethod() to return the ArrayList; you have to think of it is: 1) What do I want my user to do to request the data. (Or my program, like on start up you want the data).

Re: GWTCanvas not working on IE6?

2010-07-02 Thread Flemming Boller
i use it on ie6. it works both in development and deploy mode. remember that in IE you must use quirks mode. in strict mode nothing works :-( /Flemmng On Fri, Jul 2, 2010 at 1:22 PM, Kevin wrote: > Hi all, > > I thought GWTCanvas supports IE6, I am sure it did, but haven't tried > it on IE6 fo

Re: make fileupload widget readonly

2010-07-02 Thread Isaac Truett
On Jul 2, 2010 12:15 PM, "Stefan Bachert" wrote: Hi, I would try fileupload.getElement().setPropertyString("readonly", "readonly"); fileupload.getElement().setPropertyString("disabled", "disabled"); Stefan Bachert http://gwtworld.de On Jul 1, 9:54 am, abhi wrote: > how to make fileupload t

Re: how to update database, when a row a deleted in the smartGwt ListGrid

2010-07-02 Thread Sean
You have to connect to your server (via RPC for example) and submit a DELETE query where the row is equal to what was in the listGrid. On Jul 2, 3:03 am, GWT Groups wrote: > Hello Friends... > > Now i need your help.. > I am working on SmartGwt Expendable Grid...I am using ListGrid Class > to gen

Push Button remains in gwt-PushButton-up-Hovering

2010-07-02 Thread KAS
Push Button remains in gwt-PushButton-up-Hovering even after the cursor has come out of the pus button -- 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-tool...@googlegroups.com. To unsubscribe

CellTable shows only progress bar

2010-07-02 Thread jantekb
Hi! I'm struggling with a Celltable that I'd like to use in a ui binding env. My problem is that it shows only the loading progress bar, never the actual data that I loaded into it. Here is my entry point module: List dummy = new ArrayList(); dummy.add(new SomeGTO()); dummy.add(new SomeGTO());

Re: align the widgets in DocLayoutPanel

2010-07-02 Thread roliveira
Hi nasionalem, I haven't tried your code but it seems your problem is: p.addEast(sampleWidget,20); With this instruction, you are not adding a widget to the East, but adding a new East One way to do it is to add the East just after you have sampleWidget ready. This is possible because you can

GWT-RPC on glassfish and Servlet 3.0 specifications

2010-07-02 Thread zame...@gmail.com
Hello All, My gwt app running on Glassfish 3.01 appserver. When I debugging servlet code I see that it use com.sun.enterprise.web.rpc.connector.coyote.PwcCoyoteRequest for HttpServletRequest. It compatible with old Servlet 2.0, but I need new Servlet 3.0 compatible HttpServletRequest. this PwcCoy

Any bulk file upload in gwt?

2010-07-02 Thread flyingb...@gmail.com
Is there any. like a lib that will use the flash mass uploading? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to googl

Google Plugin for Eclipse 1.4 M2

2010-07-02 Thread Jason Parekh
Excited about Google Web Toolkit 2.1 M2? There's also a new Google Plugin for Eclipse 1.4 M2 to go along with it. Check out the new Speed Tracerintegration -- a s

Re: SuggestBox question - is it possible to react on sub sequences of the words?

2010-07-02 Thread Isaac Truett
Sure. Just write your own SuggestOracle implementation. On Fri, Jul 2, 2010 at 11:21 AM, crojay78 wrote: > Hi, > > I am using the suggest box in my app. Now I'm searching for the > possibility to change the filter. Is it possible to change the > behaviour so that not only words which start with

Re: Google Plugin for Eclipse 1.4 M2

2010-07-02 Thread Jaroslav Záruba
Sounds great. :) Will (is?) it be possible to use Speed Tracer with stable channel Chrome? Last time I checked (week ago) development channel Chrome was required; unfortunately it does not seem to support profiles. (Ctrl+M did not work with --enable-udd-profiles.) Also does the clean-Eclipse-inst

Re: UiBinder and Event Handlers (General Performance Question)

2010-07-02 Thread Thomas Broyer
On 1 juil, 21:05, Jim wrote: > I have a question about the use of the Uibinder with regard to the > simple binding of event handlers. > > From the examples in the - >>Developer's Guide - Event Handlers - > section, it’s written: > > “Using anonymous inner classes as in the above example can use

Re: Eclipse plugin for Eclipse 3.5 and GWT 2.1.0.M1

2010-07-02 Thread Thomas Broyer
On 2 juil, 17:51, kawanka wrote: > When I create a new GWT project using Eclipse 3.5 the GWT 2.1.0 M1 and > the accompanying plugin, I see that my project's libraries has GWT SDK > -2.1.0M1 in the project's build path. which is what you would > expect... The thing is though... I see gwt-bikeshed

Re: How to show a load screen during rpc call?

2010-07-02 Thread Thomas Broyer
On 2 juil, 18:22, andreas wrote: > You could show your load screen (for example a popup panel or even > just a label) right after issuing the RPC and hide it in onSuccess() > and onFailure(). And if you want the same panel to be shown in most cases, you could bake it into a RpcRequestBuilder th

Application some times doesn't load in some browsers

2010-07-02 Thread Vinicius Rabelo
Hi All, I have one application with GWT 2.0.3 + GXT 2.1.1 + gwt-maven-plugin 1.2. Sometimes this application run OK, but sometimes when I am runing my Application in development mode it doesn't load in some browsers... some times doesn't load in IE, sometimes doesn't load in FF but always load in

Re: xs linker does not support all GWT features?

2010-07-02 Thread Brendan Kenny
Not sure if you meant to write just to me or reply to the list, but I'll forward this on to everyone. Shortly after I wrote that post it was discussed on the Contributors list that there was indeed a fundamental issue preventing the xs linker from working with code splitting, but that a patch was

Re: getting the current row count from the button

2010-07-02 Thread Rashmi
Below is the code for ClickHandler I have written for removing a row. The button is placed in each row in the FlexTable and removes that particular row. public class RemoveRowButtonClickHandler implements ClickHandler { @Override public void onClick(ClickEve