Re: Celltree - Add, Update, Remove Nodes

2012-01-29 Thread Marco
Here an example of my second try.
I tried to close/reopen the nodes to refresh the tree but sadly
without success.
The refresh for adding is working but not for removing a node.

I replaced my refresh method by following two methods.
Still no help?

public void refresh() {

 closeReopenTreeNodes(cellTree.getRootTreeNode());
}

private void closeReopenTreeNodes(TreeNode node) {
if(node == null) {
return;
}
for(int i = 0; i  node.getChildCount(); i++) {

 if(node.getChildValue(i).equals(this)){

 if(node.getParent() != null){

 
node.getParent().setChildOpen(i, false);
 
//node.getParent().setChildOpen(i, true);
 }

 node.setChildOpen(i, false);
 node.setChildOpen(i, true);
 }
 TreeNode child = node.setChildOpen(i, 
node.isChildOpen(i));
 closeReopenTreeNodes(child);
}
}

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to force scroll of DataGrid to top on reload

2012-01-29 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6865 (with 
workaround)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/MlYEIC09ivoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Automatic compiling in Hosted Mode

2012-01-29 Thread Thomas Broyer


On Friday, January 27, 2012 3:30:59 PM UTC+1, Janko Ulaga wrote:

 So, when i run my fully deployed app, everything works. DEV mode does not 
 work.
 This is my debug config. arguments line:

 -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -logLevel INFO -
 codeServerPort 9997 -war E:\webBundle-workspc\GwtApp\war -noserver 
 C:\Program 

 Files\IBM\SDP\runtimes\base_v7\profiles\was70profile\installedApps\razvojCell\We
 bBundle.ear\GwtApp.war dev.entry.GwtApp

 Can you help me out here?


-noserver takes no value, and it only prevents the built-in server from 
launching. You might want to provide a -startupUrl so the DevMode tells you 
the exact URL to reach (this is probably what you're missing here to make 
it work):
 

-remoteUI ${gwt_remote_ui_server_port}:${unique_id} -logLevel INFO 
-codeServerPort 
9997 -war E:\webBundle-workspc\GwtApp\war -noserver -startupUrl 
http://localhost:9081/GwtApp/ dev.entry.GwtApp


With this the DevMode should tell you to open 
http://localhost:9081/GwtApp/?gwt.codesvr=127.0.0.1:9997

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/dVAqoKjWpFoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: native javascript functions manipulation in java - overlay types

2012-01-29 Thread Thomas Broyer


On Friday, January 27, 2012 5:27:10 PM UTC+1, Sebastian Gurin wrote:

 Ok I found more or less how to do what I want, the following registers a 
 click handler in a native DOM object:

 public class DomEventTest1 {
 
 public static interface ClickHandler {
 void notifyClick(Element source);
 }

 /** call this directly from your Entry point class */
 public static void test(RootPanel rootPanel) {
 
 //create a button using gwt DOM
 ButtonElement button1 = Document.get().createPushButtonElement();
 button1.setInnerHTML(clickme);
 Document.get().getBody().appendChild(button1);
 
 addClickHandler(button1, new ClickHandler() {
 @Override
 public void notifyClick(Element source) {
 System.out.println(CLICKED);
 }
 });
 }
 public static native void addClickHandler(Element e, ClickHandler 
 handler)/*-{
 //dirty click handler registration, only for testing
 e.onclick=function() {

 handl...@org.sgx.gwtraphaljstest.client.js.test.DomEventTest1.ClickHandler::notifyClick(Lcom/google/gwt/dom/client/Element;)(this);
 }
 }-*/;


You should wrap your function in $entry() so that a) exceptions are routed 
to the GWT.UncaughtExceptionHandler and b) Scheduler.scheduleEntry and 
Scheduler.scheduleFinally run appropriately. Also, note that you could pass 
the event to your Java code as a NativeEvent:

e.onclick = $entry(function(e) {
   handl...@org.sgx.gwtraphaljstest.client.js.test.DomEventTest1.
ClickHandler::notifyClick(Lcom/google/gwt/dom/client/NativeEvent;)(e);
}

(you might have to tweak the code for IE, which doesn't pass the event as 
an argument but uses window.event (or should it be $wnd.event?))

}


 Now two quiestion about jsni. 

 The first question is: the statement

 handl...@org.sgx.gwtraphaljstest.client.js.test.DomEventTest1.ClickHandler::notifyClick(Lcom/google/gwt/dom/client/Element;)(this);
 is a valid javascript statement? or is it some internal gwt compiler 
 language that is translated to javascript?


No, it's a special syntax for JSNI. It's not valid JavaScript.
 

 What I would like is to be able of represent any javascript function using 
 java objects, like Runnable or other. The main problem for this is be able 
 to call a java instance method from javascript having the java class name, 
 method name and signature in strings. I would like something like:

 public static native void callJavaInstMethod(Object javaThisEl, String 
 className, String methodName, String methodSignature, Object[]params)/*-{
 //and here do something like:

 javaThisEl.@${className}::${methodName}(${methodSignature})(${params})
 }-*/;

 I tried to archieve something like this unssuccessfully with eval and 
 other hacks. A method like this, will allow me to represent any javascript 
 function using java objects. For example, instead of writing methods like 
 addClickHandler by hand, I could use an Artificial AbstractRunnable class 
 for represent javascript functions as java objects and do:

 button1.addClickHandler(new AbstractRunnable1Element(){
 public void run(Element e) {
 System.out.println(CLICKED);
 }
 });

 Any ideas on how to call a java instance method from native javascript 
 having all the necesary information in Strings ?


The GWT compiler will obfuscate all class names and method names, so it's 
not going to work. Only solution would be to create a map, something like:

  
 
map['org.sgx.gwtraphaljstest.client.js.test.DomEventTest1.ClickHandler::notifyClick(Lcom/google/gwt/dom/client/Element;)']
 
=
  someobje...@org.sgx.gwtraphaljstest.client.js.test.DomEventTest1.
ClickHandler::notifyClick(Lcom/google/gwt/dom/client/Element;);

(note that we don't call the method, we only reference it!)
Then:

   var fn = map[className + '::' + methodName + '(' + methodSignature + 
')'];
   fn.apply(javaThisEl, params);

(but note that params would have to be a JS array if you want this to work 
in DevMode, as a Java array will be an opaque object in JS)

Or of course you could do it using switch/case or if/else:
   switch (className + '::' + methodName) {
  case 
'org.sgx.gwtraphaljstest.client.js.test.DomEventTest1.ClickHandler::notifyClick':
 javathis...@org.sgx.gwtraphaljstest.client.js.test.DomEventTest1.
ClickHandler::notifyClick(Lcom/google/gwt/dom/client/Element;)(params[0]);
 break;
   }

However, I'd suggest you try to find another approach, as the compiler 
won't be able to prune unused code and produce an optimally optimized code.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/INg0raG3T48J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe 

Re: What is the easiest / best solution for drag and drop in GWT right now?

2012-01-29 Thread Thomas Broyer
This is because Opera doesn't support it: http://caniuse.com/dragndrop

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ilx_fYEJK-sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt requestfactory compile error Deobfuscator.Builder; did you forget to inherit a required module

2012-01-29 Thread Thomas Broyer


On Thursday, January 26, 2012 9:48:42 PM UTC+1, Johann wrote:

 hi everyone,

 i build my first gwt requestfactory app and got first an error in the 
 development output..

 21:43:01.805 [INFO] x] Ignored 1 unit with compilation errors in first 
 pass.
 Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
 errors.

 i did it and the console says:

 Validating newly compiled units
  [ERROR] Errors in 
 'file:/D:/Active%20Workspace/Indigo/x/.apt_generated/de/xx/shared/xxxRequestFactoryDeobfuscatorBuilder.java'
  [ERROR] Line 7: No source code is available for type 
 com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
 forget to inherit a required module?
  [ERROR] Line 9: No source code is available for type 
 com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
 to inherit a required module?
  [ERROR] Line 10: No source code is available for type 
 com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
 you forget to inherit a required module?
  [ERROR] Aborting compile due to errors in some input files

 any idea what im missing?


Nothing, you can safely ignore this warning; this class is server-side 
only; so don't compile in -strict mode and ignore the INFO message. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/cMFVIpadZFAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Detecting Proxy Update via EntityProxyChange event

2012-01-29 Thread Arash
I am trying to add a handler to detect the proxy changes. The
event.getWriteOperation() does detect the UPDATE operation but it is
more generalized than what I actually need. The doc reads: An UPDATE
event is fired whenever a client encounters a proxy for the first
time, or encounters a proxy whose version number has changed. How do
I only detect the proxy whose version number has changed?!!!

Thanks,

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Doubt on Data Grid setFieldUpdater() method

2012-01-29 Thread Qrunk
Hi Thomas,

I have confused with data grid's setFieldUpdater(), in my data grid I have 
one column with an Editable Text cell, but inside the setFieldUpdater() 
method Im not changing the object's value, or in other words I m not doing 
anything within setFieldUpdater()''s *update() method*, all that I have in 
it is *dataProvider.refresh()*, thats all and* what I expect is* that I 
want the same old value of the editable Text cell to be reflected on blur 
or on Focus Out, as petr me this should happen as I have not changed the 
actual object.

One more thing on it is, say after editing something on the editable text 
cell, I select the same cell again and dont edit it again and simply blur 
out only then it shows up the actual object value, i.e it gives the 
expected behavior .  


Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hqT0Ix4WmJAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Detecting Proxy Update via EntityProxyChange event

2012-01-29 Thread Thomas Broyer
If you already know the EntityProxyId? the event is about?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/iFy5zBzEKlgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Problem seeing dynamic part of StockWatcher demo in production mode

2012-01-29 Thread bcutler
I am brand new to GWT and just trying to get the hang of things.  I
followed all the steps in the StockWatcher tutorial, and it worked
perfectly... until I got to the step about compiling in production
mode and opening up StockWatcher.html in a browser.

When I opened it in Chrome, all I could see were the GoogleCode image
and the Stock Watcher title; anything generated by javascript was just
missing.

I really don't know how to debug this since I have limited experience
with any web development.  My only theory is that the compiler output
might suggest that there is a path problem.  My compile output says:
Linking into /Users/bcutler/Documents/workspace/StockWatcher/war/
stockwatcher

... but in the tutorial the same line says:
Linking into war/stockwatcher.

Could this be the problem?  If so, how do I fix it?

For what it's worth, I tried opening the file in Firefox as well.  The
page loaded just fine in Firefox and the javascript seemed to work
perfectly, except that pressent Enter on the text box doesn't do
anything.  Isn't GWT supposed to fix the cross-browser problem?

I am using Eclipse 3.7 (Indigo) with the GWT plugin and version 2.4.0
of the SDK.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



setFocus in SelectionChangeEvent

2012-01-29 Thread k2s
There is sample 
http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList.
How to set focus to First Name field after SelectionChangeEvent on
cell list was fired ?

Thank you,
Martin

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to force scroll of DataGrid to top on reload

2012-01-29 Thread Dan Verkman

Tom,

I am using the DataGrid Widget that came out in GWT release 2.4.  I don't think 
you have access to the ScrollPanel.



-Original Message-
From: Thomas Klöber kloe...@ics.de
To: google-web-toolkit google-web-toolkit@googlegroups.com
Sent: Fri, Jan 27, 2012 2:20 am
Subject: Re: How to force scroll of DataGrid to top on reload


Am 26.01.2012 23:34, schrieb Bill M:
 I would like to know if anyone knows how to set the scroll position of
 the DataGrid widget to the top, following a reload?  I don't see any
 method that allow you to do this.
se ScrollPanel.scrollToTop() of the scroll panel that holds your data grid.
-- 
ntelligent Communication Software Vertriebs GmbH
irmensitz: Kistlerhof Str. 111, 81379 München
egistergericht: Amtsgericht München, HRB 88283
eschäftsführer: Albert Fuss
-- 
ou received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
o post to this group, send email to google-web-toolkit@googlegroups.com.
o unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
or more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to add absolute panel to celltable column

2012-01-29 Thread Doc
Hi,

Can anybody please help me with below query:

I am using cell table. For one of the column, I need to add
AbsolutePanel dynamically as a cell element.

Please let me know about it OR share me any document/URL if any ASAP.

Thanks in advance.

Thanks
Doc

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Hosting issue

2012-01-29 Thread Sudhakar Fernando
Hi Nitheesh,

my assumptions of the problem is as below.


   1. you have created a GWT project with RPC and connect database from
   MySQL.
   2. if you deploy the GWT War files in Tomcat which is installed in
   your local machine,it is working properly.
   3. if you deploy in tomcat which is installed in any of the shared
   webhosting server or VPS,the RPC is not working.

Right?
On Thu, Jan 26, 2012 at 1:23 PM, Nitheesh Chandran 
nithe...@dotentreprise.com wrote:

 Hello ,

 Please reply on the following issue , fed up with this one

 I just tried to deploy a starter project in the remote server. I am
 getting the following error in the server log

 [Tue Jan 24 04:26:47 2012] [error] [client 14.140.69.18] File does not
 exist: /home/spectrum/public_html/prism/rpctesting/greet, referer:
 http://yellowlemon.in/prism/Rpctesting.html
 [Tue Jan 24 04:26:47 2012] [error] [client 14.140.69.18] File does not
 exist: /home/spectrum/public_html/404.shtml, referer:
 http://yellowlemon.in/prism/Rpctesting.html

 Does anyone know or has anyone successfully hosted a GWT RPC
 application on a server ?? please reply

 --
 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
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Regards,

Sudhakar

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Problem with GWT Generator

2012-01-29 Thread Stephan
I've written a simple GWT Generator, but during GWT compiling I get an
error stating:

Rebind result 'generated class' could not be found.

I'm using GWT 2.4.0 inside of Eclipse 3.7 with the Google Plugin.

The generated code compiles properly, if I inject an error into the
generated code the compiler gripes and points me to the temp file
holding the generated code.  I'm curious what kind of issues result in
this message.

For what it is worth, I really like GWT but I find the error messaging
during the compile phase is beyond cryptic for bugs in generators.

Thanks,

Stephan

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Place change dynamically

2012-01-29 Thread Cristian Rinaldi
I have a place that change dynamically but these changes are not reflected 
in the URL.

In the activity, a place with information is launched, but the mapper 
(CachingActivityMapper) needs to put other information, then I tried this 
code in the Mapper:

this.eventBus.addHandler( PlaceChangeEvent.TYPE, new 
PlaceChangeEvent.Handler() {
@Override
public void onPlaceChange( PlaceChangeEvent event ) {
Place newPlace = event.getNewPlace();
if ( newPlace instanceof PlaceTrace ) {
((PlaceTrace)newPlace).setPosition( 
CachingCenterActivityMapper.getKeyPosition() );
}
}
} );

but the handler is called after writing the URL.

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/2nJFN_3V4BIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Place change dynamically

2012-01-29 Thread Ashton Thomas
If you use a PlaceController to goTo new places, try creating a wrapper 
around the placeController to do the check and then call the original 
goTo(Place new place)...

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Ui5fT3YAGDgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to add absolute panel to celltable column

2012-01-29 Thread ashwin.desi...@gmail.com
Doc,

You cannot add Widgets directly to a CellTable. You will have to write a
custom implementation by extending one of the AbstractCell Types.

Is there a reason why you need to place a Panel inside a CellTable? If you
are using a table to place widgets either use Grid or FlexGrid. CellTable
is for a different purpose.

~Ashwin

On Fri, Jan 27, 2012 at 8:53 PM, Doc neerajsinha@gmail.com wrote:

 Hi,

 Can anybody please help me with below query:

 I am using cell table. For one of the column, I need to add
 AbsolutePanel dynamically as a cell element.

 Please let me know about it OR share me any document/URL if any ASAP.

 Thanks in advance.

 Thanks
 Doc

 --
 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
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



new generated id for css

2012-01-29 Thread Jim
After I upgrade to Firefox 8, when I used firebug to inspect elements,
I noticed the generated id or class name such as GEDS1E5DII for css
is being used instead of original one. I want to see the original ids
or class name in development stage. How do I keep original id or class
name once GWT java code is running in development mode?


Jim

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Hosting issue

2012-01-29 Thread Nitheesh Chandran
Yes..You are right

On Jan 27, 2:07 pm, Sudhakar Fernando sudhakar.ferna...@gmail.com
wrote:
 Hi Nitheesh,

 my assumptions of the problem is as below.

    1. you have created a GWT project with RPC and connect database from
    MySQL.
    2. if you deploy the GWT War files in Tomcat which is installed in
    your local machine,it is working properly.
    3. if you deploy in tomcat which is installed in any of the shared
    webhosting server or VPS,the RPC is not working.

 Right?
 On Thu, Jan 26, 2012 at 1:23 PM, Nitheesh Chandran 









 nithe...@dotentreprise.com wrote:
  Hello ,

  Please reply on the following issue , fed up with this one

  I just tried to deploy a starter project in the remote server. I am
  getting the following error in the server log

  [Tue Jan 24 04:26:47 2012] [error] [client 14.140.69.18] File does not
  exist: /home/spectrum/public_html/prism/rpctesting/greet, referer:
 http://yellowlemon.in/prism/Rpctesting.html
  [Tue Jan 24 04:26:47 2012] [error] [client 14.140.69.18] File does not
  exist: /home/spectrum/public_html/404.shtml, referer:
 http://yellowlemon.in/prism/Rpctesting.html

  Does anyone know or has anyone successfully hosted a GWT RPC
  application on a server ?? please reply

  --
  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
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Regards,

 Sudhakar

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT with Spring 3.0

2012-01-29 Thread Umesh upadhyay
I am new to GWT and have to  build a new GWT app using the  existing Spring
application.
How to integrate GWT with Spring3.0. Is there any sample example/tutorial
or any maven arcehtype to start off.

--

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: hard time to get GWTTestCase to work

2012-01-29 Thread tanteanni
thx, the problem is how to fix it. i have a maven project generated by 
webappcreator from google. i thought unit tests with gwttestcase should 
work out of the box? 
with sources not in classpath do you mean the eclipse way of sources 
(knowing were to look in debugging session, debugging normal tests is 
working fine)? Or do you mean the gwt-sources (declared in gwt.xml)? (i 
put all tests in same packages as the OUTs - that should be enough for gwt 
to find the sources?!)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/RrFGm0tlWBAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to wrap a “submit button” with GWT?

2012-01-29 Thread Xybrek

I am getting an error when I try to wrap a submit button with GWT:

Caused by: java.lang.AssertionError: Child cannot be null
at com.google.gwt.dom.client.Node$.isOrHasChild$(Node.java:278)
at com.google.gwt.user.client.ui.Button.wrap(Button.java:55)
HTML Code:

div style=display:none
form id=login_form action=javascript:;
input id=username type=text
input id=password type=password
button type=button id=submit name=submit value=Submit
/form
/div
Java Code (GWT):

loginButton = Button.wrap(Document.get().getElementById(submit));
Is there any way to wrap a submit 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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.