Re: GWT 2.6.0 now available
Missing only release the new version for eclipse plugin -- 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.
Re: Layout Showcase
Does anyone know where I can get that information or for what I need to send email to ask? -- 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.
Layout Showcase
I'm making a website using GWT, but I'm not good with layout, so I wonder if I use the layout of the GWT Showcase, and if I can do what I should be able to use it? -- 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 2.3 + PHP
I wonder if it is possible to connect to the server in PHP, I saw that the website shows how to make GWT RPC and JSON using Java, but PHP speaks very little and I'm used to seeing examples to learn things, so if anyone has an example or tell me where I can find to integrate GWT with PHP would be grateful. PS: I found a tool called GWTPHP (http://code.google.com/p/gwtphp/) making integration using RPC, but from what I noticed the last update was in 2009, I wonder if anyone knows if the project will continue or whether the future Google will do something similar. -- 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.
Setting the language using the user's browser
Is there any way of knowing the language of the user's browser by GWT? -- 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.
Setting the language using the user's browser
Is there any way of knowing the language of the user's browser by GWT? -- 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 change the mapping in web.xml
After a long time I could figure out how to solve the problem, to solve just change the first line of the file MyProject.gwt.xml module rename-to='myproject' to module rename-to='servlet', but now I'm with another problem, do not know why the place where I do the hosting of the project it does not access anything that is inside the folder 'servlet' which is where this javascript generated by GWT, so I wonder if you can rename the folder where is the files generated by GWT and keep in mapping the 'servlet'? -- 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: Tutorial-Contacts2-2.1
I had already talked about it: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/645020d9414f0205# -- 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: Image using CSS in UiBinder
Problem solved, just put the image in the directory war -- 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.
White List
I wonder if there is any way to make a white list using SafeHtml, saw SimpleHtmlSanitizer but would like to add some more tags, is this possible? Otherwise you have to do a white list using SafeHtml someone could pass me a link that shows how to make one? -- 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.
Image using CSS in UiBinder
I'm doing the main screen by using the UiBinder, and I'm trying to put a background image in a table, but I can not, my question is how it should be the following line and where should I put the image? table cellpadding='0' cellspacing='0' style='width: 100%; background-image: url(myimage.png); background-repeat: no-repeat; background-position: right;' -- 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: Error in generating report
Thanks for the reply Didier, I removed the flush(), but the error persists. -- 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.
Download not working
The following download is not working: http://code.google.com/p/google-web-toolkit/downloads/detail?name=Tutorial-Contacts2-2.1.zipcan=2q = -- 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.
Error in generating report
I'm trying to generate a report using JaperReports, but when I click generate the following error appears in eclipse: [WARN] /seringueira/resumosafra java.lang.RuntimeException: Unable to report failure at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doUnexpectedFailure(AbstractRemoteServiceServlet.java:107) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: java.io.IOException: Closed at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:627) at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:587) at com.google.gwt.user.server.rpc.RPCServletUtils.writeResponse(RPCServletUtils.java:330) at com.google.gwt.user.server.rpc.RemoteServiceServlet.writeResponse(RemoteServiceServlet.java:352) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:251) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) ... 19 more In class Impl I use the following: if(bytes != null bytes.length 0) { getThreadLocalResponse().setContentType(application/pdf); getThreadLocalResponse().setContentLength(bytes.length); try { ServletOutputStream ouputStream = getThreadLocalResponse().getOutputStream(); ouputStream.write(bytes, 0, bytes.length); ouputStream.flush(); ouputStream.close(); } catch(Exception ex) { ex.getMessage(); } } Does anyone have any idea what I might be doing wrong? -- 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: Problem with Window.ClosingHandler
I'm trying to use your code in version 2.1, but this showing the following errors: ProxyCreator - line 652 - 'The constructor TypeSerializerCreator (TreeLogger, SerializableTypeOracle, SerializableTypeOracle, GeneratorContext, String) is undefined' RemoteServiceProxy - line 237 - 'The constructor RequestCallbackAdapter T (RemoteServiceProxy, String, int, AsyncCallback T RequestCallbackAdapter.ResponseReader) is undefined ' -- 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.
Communication with the Server + MVP
I saw the new way of using the MVP on the 'http://code.google.com/intl/pt-BR/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html', but I have a question, how do I make a communication with the server? -- 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: Communication with the Server + MVP
Thanks for the reply David, but what I want to know is how to pass values from the screen to the server and the server to the screen in the old way of MVP in the following page 'http://code.google.com/intl/pt-BR/webtoolkit/articles/mvp-architecture-2.html' shows an example of how to communicate, but not in the new mode. What I wanted was an example of how to pass values from the screen to the server. -- 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.
How to change the mapping in web.xml
I have to make the hosting of a project in a place where the mapping in the web.xml file in the 'url-pattern' of 'servlet-mapping' must begin with '/servlet', my question is how do this. For example, this: servlet servlet-namesomeservlet/servlet-name servlet-classmyproject.server.SomeServiceImpl/servlet-class /servlet servlet-mapping servlet-namesomeservlet/servlet-name url-pattern/myproject/some/url-pattern /servlet-mapping It should look like this: servlet servlet-namesomeservlet/servlet-name servlet-classmyproject.server.SomeServiceImpl/servlet-class /servlet servlet-mapping servlet-namesomeservlet/servlet-name url-pattern/servlet/myproject/some/url-pattern /servlet-mapping -- 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: How to change the mapping in web.xml
The project does not work -- 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: How to change the mapping in web.xml
Sorry, the errors are: html head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/ titleError 404 NOT_FOUND/title /head bodyh2HTTP ERROR: 404/h2preNOT_FOUND/pre pRequestURI=/servlet/some/ppismalla href=http://jetty.mortbay.org/;Powered by Jetty:///a/small/i/pbr/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ br/ /body /html [WARN] 404 - POST /servlet/some (127.0.0.1) 1399 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Cookie: JSESSIONID=rluj4i9ancqw Referer: http://127.0.0.1:/servlet/hosted.html?servlet X-GWT-Permutation: HostedMode Content-Type: text/x-gwt-rpc; charset=utf-8 Content-Length: 126 Pragma: no-cache Cache-Control: no-cache Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 1399 -- 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: How to change the mapping in web.xml
the errors replace '/servlet/some' to '/myproject/some' I was doing some tests, but did not work -- 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: Execute commands between RPC requests
Thank you Thomas, but I can not, please see where this error: I created a class MyRpcRequestBuilder: public class MyRpcRequestBuilder extends RpcRequestBuilder { public MyRpcRequestBuilder() { // Do something here } public void doSetCallback(RequestBuilder rb, RequestCallback callback) { // Do something here } public void doFinish(RequestBuilder rb) { // Do something here } } Interface xxxServiceAsync: public interface xxxServiceAsync { public RequestBuilder method(String variable, AsyncCallbackVoid callback); } And in class I try to use the feature do so: xxxServiceAsync Service = GWT.create (xxxService.class); RpcRequestBuilder theBuilder = new MyRpcRequestBuilder(); ... try { service.metodo (variable, new AsyncCallbackVoid() { public void onSuccess(Void result) { // Do something here } public void onFailure (Throwable caught) { // Do something here } }).send(); } catch (Exception ex) { Window.alert (ex.getMessage ()); } The error is: callback can not be null And one more question doSetCallback the method used to when he initiates the request or have to use another? -- 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: Execute commands between RPC requests
I forgot to tell you that I'm doing this too ((ServiceDefTarget)service).setRpcRequestBuilder(theBuilder); after RpcRequestBuilder theBuilder = new MyRpcRequestBuilder(); but the error continues -- 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: Execute commands between RPC requests
solve the problem, the interface replaces the RequestBuilder by void, removed the .send() and in the method doSetCallback of the class MyRpcRequestBuilder added the following line: rb.setCallback (callback); And in the method doFinish: rb.setHeader (STRONG_NAME_HEADER, GWT.getPermutationStrongName ()); -- 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.
Execute commands between RPC requests
Is there any way to run a given command at the beginning and end of any RPC request? -- 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.
How to refresh using filter
I would like to use the filter to do a refresh on the page so that if the system is idle for a period of time he returns to login screen, I wonder how I can do this, I tried to use the jsni: public class Filtro implements Filter { public void destroy() { } public void doFilter(ServletRequest request, ServletResponse reponse, FilterChain chain) throws IOException, ServletException { if((Integer)((HttpServletRequest)request).getSession().getAttribute(code) == null) { reload(); } chain.doFilter(request, reponse); } public void init(FilterConfig config) throws ServletException { } public static native void reload() /*-{ $wnd.location.reload(); }-*/; } If someone knows any other solution is welcome. -- 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: How to refresh using filter
Thanks bruno, but how do I add the class LogUtils, you could inform the imports -- 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: How to refresh using filter
Thank you bruno, able to accomplish it, you saved my life -- 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.
Problem with Window.ClosingHandler
I am using: Window.addWindowClosingHandler(new ClosingHandler() { public void onWindowClosing(ClosingEvent event) { somethingService.logout(new AsyncCallbackVoid() { public void onFailure(Throwable caught) { } public void onSuccess(Void result) { } }); } }); to log out the system if the user closes the browser or switch to another page without having to log out, but this also happens when the user uses the refresh, I wonder if it is to see if the user used refresh, or if have any another solution to the problem. -- 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.
Problem with Window.ClosingHandler
I am using: Window.addWindowClosingHandler(new ClosingHandler() { public void onWindowClosing(ClosingEvent event) { somethingService.logout(new AsyncCallbackVoid() { public void onFailure(Throwable caught) { } public void onSuccess(Void result) { } }); } }); to log out the system if the user closes the browser or switch to another page without having to log out, but this also happens when the user uses the refresh, I wonder if it is to see if the user used refresh, or if have any another solution to the problem. -- 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.