Re: Log4j GWT Problem

2015-01-29 Thread Thomas Broyer


On Wednesday, January 28, 2015 at 10:52:15 PM UTC+1, Łukasz Bączek wrote:
>
>  Hello,
> I have a problem with Log4j GWT:
> […]
> My GWT 2.6.0
>

Have you tried with 2.6.1? It contains a fix for class and resource loading 
in the webapp in DevMode.

(the only reliable way to get things working is to use a separate servlet 
container, and launch DevMode in -noserver mode – or launch CodeServer with 
-launcherDir, which is equivalent)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Log4j GWT Problem

2015-01-28 Thread Łukasz Bączek

Hello,
I have a problem with Log4j GWT:

[INFO] create exploded Jetty webapp in C: \ Users \ Łukasz \ workspace \ 
WebSKS \ target \ WebSKS-1.0-SNAPSHOT

[INFO] auto discovered modules [pl.cba.lukaszbaczek.webSKS]
[ERROR] log4j: WARN No appenders could be found for logger 
(org.eclipse.jetty.util.log).

[ERROR] log4j: WARN Please initialize the log4j system properly.
[ERROR] log4j: WARN See 
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[ERROR] log4j: WARN No appenders could be found for logger 
(org.apache.jasper.compiler.JspRuntimeContext).

[ERROR] log4j: WARN Please initialize the log4j system properly.
[ERROR] log4j: WARN See 
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.


My Log4j configuration looks like this:

1. Log4j.properties:

# LOG4J configuration
log4j.rootLogger = DEBUG, Appender1

log4j.appender.Appender1 = org.apache.log4j.ConsoleAppender
log4j.appender.Appender1.layout = org.apache.log4j.PatternLayout
log4j.appender.Appender1.layout.ConversionPattern =% - 7p% d [% t]% c% x 
-% m% n


2. that indicates where the file is stored configuration:

pl.cba.lukaszbaczek.server package;

import java.io.File;

javax.servlet.ServletContext import;
javax.servlet.ServletContextEvent import;
javax.servlet.ServletContextListener import;

org.apache.log4j.PropertyConfigurator import;

public class implements ServletContextListener {ContextListener

Override
public void contextDestroyed (ServletContextEvent arg0) {
}

Override
public void contextInitialized (ServletContextEvent arg0) {
ServletContext context = arg0.getServletContext ();
String log4jConfigFile = context
.getInitParameter ("log4j-config-location");
Context.getRealPath fullpath = String ("") + File.separator
+ Log4jConfigFile;

PropertyConfigurator.configure (fullpath);
}

}


That is my web.xml:


http://java.sun.com/xml/ns/javaee";
xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance";
xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";>



30




 log4j-config-location 
 WEB-INF / log4j.properties 



 pl.cba.lukaszbaczek.server.ContextListener listener-class>




 pl.cba.lukaszbaczek.server.GuiceServletDispatchConfig 





 guiceFilter 
 com.google.inject.servlet.GuiceFilter 



 guiceFilter 
 / * 




Here a link so that you could see where it stores log4j.properties:
https://drive.google.com/file/d/0B919uo76vaP1QjZHam41dU1jQTA/view?usp=sharing


My GWT 2.6.0

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT problem to include a css file into my project

2013-08-14 Thread Jens
If you don't use an absolute path the css file should be located in the 
same folder as your compiled GWT app, e.g. war//mycss.css.

To make it more simple you can create a folder called "public" next to your 
module.gwt.xml and place the mycss.css file in that public folder. Now when 
you compile your app everything in the public folder will be copied to 
war/.

com.example
   public
  -> mycss.css
   client
   shared
   App.gwt.xml (with )


As you are building a mobile app you should take a look at GWT's 
ClientBundle feature. It allows you to minimize the server requests made 
during app startup by embedding all your resources (css, images, texts, 
...) into your JavaScript code.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT problem to include a css file into my project

2013-08-14 Thread Laurent Bagno
Hello,

I have a problem to include a css file into my GWT project. Actually, I put 
my css file 'mycss.css' into the war directory. Then, I added '' in my gwt.xml and finally, in AuthenticationPage.java, I 
added 'headerPanel.addStyleName("headerPan");' and 
username.addStyleName("textb"); but there aren't any changes. 

I always have this warning message : "WARNING: No file found for: 
/gwtmobileexample/war/mycss.css".

I've tried to change in my gwt.xml the relative path to the css file with 
 ,  , 
 or 

http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd";>

  
  
  
  
  
  
  

  
  
  

  
  

  
  

  

  
  
  



In the war directory, I added a css file named 'mycss.css' : 

.headerPan {
background-color:#00bfff;
color:white;
font-size:3.0 em;
}

.textb{

background-color : black;
}

AuthentificationPage.ui.xml

http://dl.google.com/gwt/DTD/xhtml.ent";>






Connection


   

Username

Password
dsdds


 
AuthentificationPage.java : 

package example.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.mgwt.ui.client.MGWTSettings;
import com.googlecode.mgwt.ui.client.widget.HeaderPanel;
import com.googlecode.mgwt.ui.client.widget.MTextBox;

public class AuthenticationPage extends Composite implements HasText {

@UiField
HeaderPanel headerPanel;

@UiField
MTextBox username;

@UiField
MTextBox password;

private static AuthenticationPageUiBinder uiBinder = GWT
.create(AuthenticationPageUiBinder.class);

interface AuthenticationPageUiBinder extends
UiBinder {
}

public AuthenticationPage() {
initWidget(uiBinder.createAndBindUi(this));

headerPanel.addStyleName("headerPan");

username.addStyleName("textb");

}


public AuthenticationPage(String firstName) {
initWidget(uiBinder.createAndBindUi(this));
username.setText("sdsqsq");
headerPanel.addStyleName("headerPan");

username.addStyleName("textb");
}


@Override
public String getText() {
// TODO Auto-generated method stub
return null;
}


@Override
public void setText(String text) {
// TODO Auto-generated method stub

}


}




-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


gwt - problem accessing servlet in inherited module

2012-05-23 Thread joujou
I have a widget configurationWidget in one module called
"Configuration" that uses the RPC to get the data from
ConfigurationService Rpc interface. I'm inheriting this module in
another GWT module called "Admin" (I package"configurationWidget ." as
jar with sources, and added it  in module "Admin"). Then I try to
create this widget in the second ("Admin") module and get message

In Admin/Web-INF/lib the configurationWidget jar exist

but  when I try to deploy admin module in jboss  server I get this
message "[JAXWSDeployerHookPreJSE] Cannot load servlet class:
com.server.ConfigurationServiceImpl"

in Web.xml of admin module


  
FlowMindAdminService
com.admin.server.FlowMindAdminServiceImpl
  
  
FlowMindAdminService
/FlowMindAdmin/FlowMindAdminService
  

  
ConfigurationService
com.server.ConfigurationServiceImpl
  
  
ConfigurationService
/FlowMindAdmin/ConfigurationService
  

can some  one  help me ?How can invoke  servlet configuration in
admin module ?

-- 
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 - problem accessing servlet in inherited module loading in Jboss server

2012-05-23 Thread joujou
I have two maven projects,
Project A  : module  A  with servlet" ConfigurationServiceImpl" for
RCP call . A  was package as  jar
Project B : module  B  with also servlet "AdminServiceImpl"
The  module  B use  module  A .
B.gwt.xml

in the pom.xml of B I add dependency to A project
After compile  of module B the A.jar was  in B\WEB-INF\lib

I try to deployer module B in jboss server but I have  this  message
"[JAXWSDeployerHookPreJSE] Cannot load servlet class:
com.server.ConfigurationServiceImpl".

What I missing  to do ?

-- 
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] Problem with a RPC calls

2011-07-26 Thread Gabriele
Hi!

I have some trouble with my application. It should be a Semantic
Annotator Assistent that receive as input a

description HTML of a Web API. To upload this description i did a RPC
and so i created two classes client-side (DataLoadingService and
DataLoadingServiceAsync) and one class server-side (named
DataLoadingServiceImpl).

When i compile i have these error:

- Rebinding com.gabrielebonzi.RSSReader.client.DataLoadingService
 Checking rule 
Unable to find type
'com.gabrielebonzi.RSSReader.client.DataLoadingService'
   Hint: Previous compiler errors may have made this type
unavailable
Hint: Check the inheritance chain from your module; it may
not be inheriting a required module or a   module may not be adding
its source path entries properly

- Deferred binding failed for
'com.gabrielebonzi.RSSReader.client.DataLoadingService'; expect
subsequent failures
  Unable to load module entry point class
com.gabrielebonzi.RSSReader.client.RSSReader (see associated exception
for details)
java.lang.RuntimeException: Deferred binding failed for
'com.gabrielebonzi.RSSReader.client.DataLoadingService' (did you
forget to inherit a required module?)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at
com.gabrielebonzi.RSSReader.client.components.SemanticMainPanel.(SemanticMainPanel.java:
66)
at
com.gabrielebonzi.RSSReader.client.RSSReader.onModuleLoad(RSSReader.java:
60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
396)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
193)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:
595)
at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
455)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at
com.gabrielebonzi.RSSReader.client.components.SemanticMainPanel.(SemanticMainPanel.java:
66)
at
com.gabrielebonzi.RSSReader.client.RSSReader.onModuleLoad(RSSReader.java:
60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
396)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
193)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Unknown Source)

- Failed to load module 'rssreader' from user agent 'Mozilla/5.0
(Windows; U; Windows NT 6.1; it; rv:1.9.2.18) Gecko/20110614 Firefox/
3.6.18' at 127.0.0.1:50561



This is the code:

CLIENT-SIDE

1) DataLoadingService

package com.gabrielebonzi.RSSReader.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;


@RemoteServiceRelativePath("dataloading")
public interface DataLoadingService extends RemoteService
{
Doc dataLoading(String path);
}

2) DataLoadingServiceAync

package com.gabrielebonzi.RSSReader.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.xml.client.Document;

public interface DataLoadingServiceAsync
{

void dataLoading(String path, AsyncCallback callback);

}

SERVER-SIDE

3) DataLoadingServiceImpl

package com.gabrielebonzi.RSSReader.server;

import java.io.IOException;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import com.gabrielebonzi.RSSReader.client.DataLoadingService;
import com.gabrielebonzi.RSSReader.client.Doc;

import com.google.gwt.dom.client.Element;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.google.gwt.xml.client.Document;


public class DataLoadingServiceImpl extends RemoteServiceServlet
implements DataLoadingService
{
private static final long serialVersionUID = 1L;

Doc doc;

public Doc dataLoading(String path)
{

  

Re: GWT problem of reference external style

2011-01-20 Thread Y2i
It looks like on the page 
border-bottom-style: *none*;
but in the style
border-bottom-style: *dotted*;

-- 
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 problem of reference external style

2011-01-19 Thread 007

  


I defined in the hpcMain.css file
  . TextBox-ErrorClew {
border-bottom-width: 5px;
border-bottom-style: dotted;
border-bottom-color: red;

}


But why not use the uiBinder:
txtLoginName.addStyleName ("TextBox-ErrorClew")
No effect
txtLoginName.setStyleName ("TextBox-ErrorClew")
The original cover (back to the default style), but the TextBox-ErrorClew 
inside the style is not in force






But I use Google Browser to view the js code can see this code:



Why on the page but can not see this effect?

-- 
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: Comet and GWT problem

2010-11-26 Thread Richard
This is a cross post. The original is here
http://groups.google.com/group/gwt-comet/browse_thread/thread/c154c425911222c5

>From Richard.

On Nov 27, 8:17 am, Noor  wrote:
> I am getting this error when using the gwt-comet
>
> [WARN] 405 - GET /trycomet/greet?t=2UGMNJ&c=45 (127.0.0.1) 1470 bytes
>    Request headers
>       Host: 127.0.0.1:
>       User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
> 1.9.2.12) Gecko/20101026 Firefox/3.6.12
>       Accept: application/comet
>       Accept-Language: en-us,en;q=0.5
>       Accept-Encoding: gzip,deflate
>       Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>       Keep-Alive: 115
>       Connection: keep-alive
>       Referer:http://127.0.0.1:/TryComet.html?gwt.codesvr=127.0.0.1:9997
>       Cookie: JSESSIONID=964bqzlrkbll
>    Response headers
>       Content-Type: text/html; charset=iso-8859-1
>       Content-Length: 1470
> com.google.gwt.user.client.rpc.StatusCodeException: 405 
> 
> 
> Error 405 HTTP method GET is not supported by this URL
> 
> HTTP ERROR: 405HTTP method GET is not supported by
> this URL
> RequestURI=/trycomet/greetPowered by Jetty://
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
>
>         at
> net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.onReceiving(HTT 
> PRequestCometTransport.java:
> 150)
>         at
> net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.onLoaded(HTTPRe 
> questCometTransport.java:
> 139)
>         at net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.access
> $1(HTTPRequestCometTransport.java:136)
>         at net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport
> $2.onReadyStateChange(HTTPRequestCometTransport.java:112)
>         at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp 
> l.java:
> 25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> 103)
>         at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
> 71)
>         at
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav a:
> 157)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingFo 
> rReturn(BrowserChannelServer.java:
> 326)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChann 
> elServer.java:
> 207)
>         at
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> 126)
>         at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> 561)
>         at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> 269)
>         at
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j 
> ava:
> 91)
>         at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
>         at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
>         at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp 
> l.java:
> 25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> 103)
>         at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
> 71)
>         at
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav a:
> 157)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChanne 
> lServer.java:
> 281)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan 
> nelServer.java:
> 531)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java :
> 352)
>         at java.lang.Thread.run(Thread.java:662)

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



Re: Comet and GWT problem

2010-11-26 Thread Noor
I am getting this error when using the gwt-comet


[WARN] 405 - GET /trycomet/greet?t=2UGMNJ&c=45 (127.0.0.1) 1470 bytes
   Request headers
  Host: 127.0.0.1:
  User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
1.9.2.12) Gecko/20101026 Firefox/3.6.12
  Accept: application/comet
  Accept-Language: en-us,en;q=0.5
  Accept-Encoding: gzip,deflate
  Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  Keep-Alive: 115
  Connection: keep-alive
  Referer: http://127.0.0.1:/TryComet.html?gwt.codesvr=127.0.0.1:9997
  Cookie: JSESSIONID=964bqzlrkbll
   Response headers
  Content-Type: text/html; charset=iso-8859-1
  Content-Length: 1470
com.google.gwt.user.client.rpc.StatusCodeException: 405 


Error 405 HTTP method GET is not supported by this URL

HTTP ERROR: 405HTTP method GET is not supported by
this URL
RequestURI=/trycomet/greetPowered by Jetty://























at
net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.onReceiving(HTTPRequestCometTransport.java:
150)
at
net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.onLoaded(HTTPRequestCometTransport.java:
139)
at net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.access
$1(HTTPRequestCometTransport.java:136)
at net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport
$2.onReadyStateChange(HTTPRequestCometTransport.java:112)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
326)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
207)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
126)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Thread.java:662)

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



Re: Comet and GWT problem

2010-11-26 Thread Noor

Hi MP,

have use tried the gwt comet, does it works??

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@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: Comet and GWT problem

2010-11-26 Thread mP
@Noor

Take a look at your posts, you have given hardly any clues about what
has gone wrong - not even a stacktrace. Sit back and ask yourself what
else can i say that would be helpful. At a glance it seems that your
doing a GET to the wrong URL maybe it should be a PUT, dunno.

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



Re: Comet and GWT problem

2010-11-26 Thread Noor

When initiating a comet connection on the client, I am getting this
error
Error 405 HTTP method GET is not supported by this URL

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



Re: Comet and GWT problem

2010-11-26 Thread Noor
if somebody knows how to solve this problem, please help??

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-tool...@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.



Comet and GWT problem

2010-11-26 Thread Noor
Hi, I am getting some difficulties with comet on the server

First, I am working with the default configuration of the gwt hosted
mode(i.e. using jetty), do i need to make any change to enable comet

Now, on the server what I want is a client will send a request and
then he will be enrolled in a so-called group. Whenever, any change
happens to all group, all client connected to that group are made
aware.


Can someone help with this??

-- 
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 
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 Problem

2010-04-16 Thread ParagM
You can call textBox.ensureDebugId(string id) method to set the id
which can be use in javascript.

:)


On Apr 15, 1:19 pm, jatan bhavsar  wrote:
> Hi All,
>  hope You are fine,I need some assistance for getting GWT Textbox value in
> Javascript.
>
> I have Login page which has two GWT textbox .Once GWT textbox are load in
> the Jsp page and user enter some information in the GWT Text box ,i require
> that information in the javascript how can I do that?
>
> because we render GWT textbox with Div id and i dnt know how to get value
> from Div tag in javascript?
>
> Can you please help me?
>
> Thank you for your time.
>
> Regards
> Jatan

-- 
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 
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 Problem

2010-04-15 Thread Katharina Probst
I'm not sure I follow why you have to get it from the div.  If you don't,
could you just use myTextBox.getText()?

If you do want to access the DOM, you can set an id for your textbox and
then retrieve the element as described here:

http://code.google.com/webtoolkit/doc/latest/DevGuideUiDom.html (under
"Finding an element in the DOM")

kathrin

On Thu, Apr 15, 2010 at 4:19 AM, jatan bhavsar wrote:

> Hi All,
>  hope You are fine,I need some assistance for getting GWT Textbox value in
> Javascript.
>
> I have Login page which has two GWT textbox .Once GWT textbox are load in
> the Jsp page and user enter some information in the GWT Text box ,i require
> that information in the javascript how can I do that?
>
> because we render GWT textbox with Div id and i dnt know how to get value
> from Div tag in javascript?
>
> Can you please help me?
>
> Thank you for your time.
>
> Regards
> Jatan
>
> --
> 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
> 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-tool...@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 Problem

2010-04-15 Thread jatan bhavsar
Hi All,
 hope You are fine,I need some assistance for getting GWT Textbox value in
Javascript.

I have Login page which has two GWT textbox .Once GWT textbox are load in
the Jsp page and user enter some information in the GWT Text box ,i require
that information in the javascript how can I do that?

because we render GWT textbox with Div id and i dnt know how to get value
from Div tag in javascript?

Can you please help me?

Thank you for your time.

Regards
Jatan

-- 
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 
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 Problem getting started.

2009-02-20 Thread Isaac Truett

> Missing required argument 'className'

You're not supplying a required argument. Specifically, you're not
giving the name of the EntryPoint class you want to create.

You might find the Getting Started guide helpful:

http://code.google.com/webtoolkit/gettingstarted.html

- Isaac


On Fri, Feb 20, 2009 at 12:56 PM, The One  wrote:
>
> Missing required argument 'className'
> Google Web Toolkit 1.5.3
> ApplicationCreator [-eclipse projectName] [-out dir] [-overwrite] [-
> ignore] [-addToClassPath classPathEntry] [-addModule module]
> className
>
> where
>  -eclipse Creates a debug launch config for the named eclipse
> project
>  -out The directory to write output files into (defaults
> to current)
>  -overwrite   Overwrite any existing files
>  -ignore  Ignore any existing files; do not overwrite
>  -addToClassPath  Adds extra elements to the class path.
>  -addModule   Adds extra GWT modules to be inherited.
> and
>  classNameThe fully-qualified name of the application class
> to create
>
>
> Does anyone know how to fix this...Above is my console in
> Eclipse ...Project has no errors.
>
> >
>

--~--~-~--~~~---~--~~
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 Problem getting started.

2009-02-20 Thread The One

Missing required argument 'className'
Google Web Toolkit 1.5.3
ApplicationCreator [-eclipse projectName] [-out dir] [-overwrite] [-
ignore] [-addToClassPath classPathEntry] [-addModule module]
className

where
  -eclipse Creates a debug launch config for the named eclipse
project
  -out The directory to write output files into (defaults
to current)
  -overwrite   Overwrite any existing files
  -ignore  Ignore any existing files; do not overwrite
  -addToClassPath  Adds extra elements to the class path.
  -addModule   Adds extra GWT modules to be inherited.
and
  classNameThe fully-qualified name of the application class
to create


Does anyone know how to fix this...Above is my console in
Eclipse ...Project has no errors.

--~--~-~--~~~---~--~~
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: i have a gwt problem how to refer other project in one project

2008-12-05 Thread hazlett_david

On the eclipse side you include the projects source path in the build
list of the other project.  In addition, for the command line compiler
to work, you need to add an "inherits" line to your *.gwt.XML file to
point to the other project just as you would for any of the external
google projects:

  

Utility refers to "Utility.gwt.xml" which for me is in
com.dave.utility.  This will give you access to all the classes in
that package.  This could be in a separate project, but in this
example, they all share the same src top level directory.

- Dave



On Dec 5, 1:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> example :
>     i have two projects ,ProjectA and  ProjectB ;the client code in
> ProjectA ,  i wana  this client code to refer  one class which is of
> the ProjectB ;please help me  how to do it ?
>                 Thanks very much!

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: i have a gwt problem how to refer other project in one project

2008-12-05 Thread olivier FRESSE
You can use GWT modules.Project B creates a GWT module (a jar file)
used/referenced in project A.

2008/12/5 [EMAIL PROTECTED] <[EMAIL PROTECTED]>

>
> example :
>i have two projects ,ProjectA and  ProjectB ;the client code in
> ProjectA ,  i wana  this client code to refer  one class which is of
> the ProjectB ;please help me  how to do it ?
>Thanks very much!
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



i have a gwt problem how to refer other project in one project

2008-12-05 Thread [EMAIL PROTECTED]

example :
i have two projects ,ProjectA and  ProjectB ;the client code in
ProjectA ,  i wana  this client code to refer  one class which is of
the ProjectB ;please help me  how to do it ?
Thanks very much!

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---