|
Wednesday, October 31, 2012
stella Rondonuwu, Nick Cannon, and 3 others have Tweets for you
Meet GWT's new sexy cousin: Lienzo!
Today we are extremely happy to announce the alpha release of our latest product, called Lienzo. Lienzo is a Structured Graphics Toolkit that extends Canvas and is completely built from the ground up using GWT. This is not a wrapper of any sort, it is a pure GWT implementation of Canvas. Lienzo is released under the Apache 2 license and can be used in both open source as well as commercial applications free of charge.
For years we have been constrained to the functionality and specifications provided by HTML elements. The time has come where you can finally let your imagination go wild. Grab your digital brush, get a hold of your Canvas and paint your Mona Lisa! The limit is now really just your imagination. Lienzo brings to your fingertips the full power and flexibility needed to create the next generation of slick, previously unimaginable widgets, games and animations needed to build your dream suite of development products.
This alpha release features:
- Lightning fast shape detection algorithm.
- Web and Mobile shape events support.
- Support for shadows.
- Support for linear and radial gradients as well as patterns.
- Direct support for shape stroke and filling.
- Support for shape colors and transparency.
- List of implemented shapes:
* Rectangle
* Rounded Corner Rectangle
* Lines
* Dashed Lines
* Support for Line Caps
* Support for Line Joins
* Arcs
* Circle
* Ellipse
* Quadratic Curve
* Polygons
* Stars
* BezierCurve
* Parallelogram
* Slice
- Support for Groups and Groups of Groups.
* Group as many shapes as you want and even Groups of Groups and treat them as a single entity.
- Direct Dragging Support for Web and Mobile.
- Text support with Horizontal and Vertical Alignment.
- Text measure support for both width and height.
- Scaled Text
- Image support based on URL and even ImageResource.
- Image Dragging support.
- Drag constraint (bounds, vertical and horizontal)
- Video support
An explorer with some examples and source code can be found at:
* In most of the views all shapes are draggable!
Lienzo Forum:
Download Lienzo 0.1.0:
Sincerely,
The Emitrom Team
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: widget celltable how clear before re-populate
On Tuesday, 9 November 2010 01:11:35 UTC+5:30, Jeff Schwartz wrote:
Using one of the concrete classes AsyncDataProvider or ListDataProvider whose base class is AbstractDataProvider provides a very efficient mechanism for accessing your widget's underlying data source as well as for manipulating the display of the data itself.
Once a ListDataProvider is setup you can do similar to below:
dataProvider.getList().add(someObjectsList); // add a new SomeObject to the list
sortSomeObjectsList(dataProvider.getList()); // call a method to sort the list
dataProvider.refresh(); // tell all widgets using the data provider to refresh themselves because the data has changed
You can also add & replace lists in a ListDataProvider with:
dataProvider.setList(someObjectsList);
To set up a ListDataProvider:
ListDataProvider<SomeObject> dataProvider = new ListDataProvider<SomeObject>(); // strongly typed declaration - notice the use of type T in the declaration which is the type specifier for the type of objects in the list
dataProvider.setList(someObjectsList); // the list of objects to be provided by the ListDataProvider
dataProvider.addDataDisplay(myCellWidget); // the widget the ListDataProvider is providing the data to
Jeff
On Mon, Nov 8, 2010 at 1:22 PM, John LaBanca <jlab...@google.com> wrote:You can push new data into the widget using CellTable#setRowData() in conjunction with CellTable#setRowCount(). If you want to clear the data first, do the following:myCellTable.setRowCount(0); // Clears all datamyCellTable.setRowCount(20, true); // Set the size of the new datamyCellTable.setRowData(0, myData); // Set the new dataIn GWT 2.1.1, there is a new method CellTable#setRowData(List) that clears all existing data and replaces it with the specified list.Thanks,
John LaBanca
jlab...@google.com
On Mon, Nov 8, 2010 at 5:13 AM, alf <alber...@gmail.com> wrote:we are render a celltable widget nice when i push a boton. the
problems is when i will push the botton again i create other widget
and adding. How can clear all item adn populate the sam widget with
new datas.
thanks and excuse for by bad english ans newbie question i have spent
hours fiding examples in doc
al
--
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-we...@googlegroups.com .
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@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-we...@googlegroups.com .
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com .
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en .
--
Jeff
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/-/sTCRIE4aJz4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT RPC Serialization on web and app server
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'com.xyz.rpcservices.ABCRequest' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized.
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:308)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:186)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Truncated. see log file for complete stacktrace
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.rpcservices.ABCRequest' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized.
at com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateDeserialize(LegacySerializationPolicy.java:127)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:520)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:61)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:137)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:384)
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/-/ccMjqPksMbEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: compile to display java code line number
On Wednesday, October 31, 2012 3:22:44 PM UTC-4, Luke wrote:
What parameters should I use to compile in order to display java code line number when exception ? Below is error showing on my firefox when exceptionuncaught exception: Class$S244: Exception caught: 2 exceptions caught: (TypeError)lineNumber: 221: b.c is null; (TypeError)lineNumber: 227: b.c is null
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/-/fLxqZFsmq8QJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Still problems with com.google.gwt.core.client.GWTBridge
On Wednesday, October 31, 2012 1:08:59 PM UTC+1, Moritz wrote:
Hi all,
I get a NoClassDefFoundError for com.google.gwt.core.client.GWTBridge when I throw a RuntimeException on a server RPC. When I do not throw the RuntimeException and the RPC completes fine also no NoClassDefFoundError is thrown.
As a workaround, I created an abstract com.google.gwt.core.client.GWTBridge which simply extends the ...shared.GWTBridge class. I read about http://code.google.com/p/ google-web-toolkit/issues/ but it seems that this is something different, or not? Any solution?detail?id=7527
Cheers,
Moritz.
PD, here comes the full stack trace, the exception seems to be related to the Guice filters:
SEVERE: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call
java.lang.NoClassDefFoundError: com/google/gwt/core/client/ GWTBridge
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at com.google.appengine.tools.development.agent.runtime. RuntimeHelper.checkRestricted( RuntimeHelper.java:70)
at com.google.appengine.tools.development.agent.runtime. Runtime.checkRestricted( Runtime.java:64)
at com.google.gwt.user.client.rpc.core.java.util.Arrays$ ArrayList_ CustomFieldSerializer. serialize(Arrays.java:64)
at com.google.gwt.user.client.rpc.core.java.util.Arrays$ ArrayList_ CustomFieldSerializer. serializeInstance(Arrays.java: 94)
at com.google.gwt.user.client.rpc.core.java.util.Arrays$ ArrayList_ CustomFieldSerializer. serializeInstance(Arrays.java: 34)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r.serializeImpl( ServerSerializationStreamWrite r.java:786)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r.serialize( ServerSerializationStreamWrite r.java:667)
at com.google.gwt.user.client.rpc.impl. AbstractSerializationStreamWri ter.writeObject( AbstractSerializationStreamWri ter.java:126)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r$ValueWriter$8.write( ServerSerializationStreamWrite r.java:153)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r.serializeValue( ServerSerializationStreamWrite r.java:585)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r.serializeClass( ServerSerializationStreamWrite r.java:755)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r.serializeImpl( ServerSerializationStreamWrite r.java:794)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r.serialize( ServerSerializationStreamWrite r.java:667)
at com.google.gwt.user.client.rpc.impl. AbstractSerializationStreamWri ter.writeObject( AbstractSerializationStreamWri ter.java:126)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r$ValueWriter$8.write( ServerSerializationStreamWrite r.java:153)
at com.google.gwt.user.server.rpc.impl. ServerSerializationStreamWrite r.serializeValue( ServerSerializationStreamWrite r.java:585)
at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC. java:605)
at com.google.gwt.user.server.rpc.RPC. encodeResponseForFailure(RPC. java:393)
at com.google.gwt.user.server.rpc.RPC. invokeAndEncodeResponse(RPC. java:579)
at com.google.gwt.user.server.rpc.RemoteServiceServlet. processCall( RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet. processPost( RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc. AbstractRemoteServiceServlet. doPost( AbstractRemoteServiceServlet. java:62)
at javax.servlet.http.HttpServlet.service( HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service( HttpServlet.java:717)
at com.google.inject.servlet.ServletDefinition.doService( ServletDefinition.java:263)
at com.google.inject.servlet.ServletDefinition.service( ServletDefinition.java:178)
at com.google.inject.servlet.ManagedServletPipeline. service( ManagedServletPipeline.java: 91)
at com.google.inject.servlet.FilterChainInvocation. doFilter( FilterChainInvocation.java:62)
at com.googlecode.objectify.cache.AsyncCacheFilter. doFilter(AsyncCacheFilter. java:59)
at com.googlecode.objectify.ObjectifyFilter.doFilter( ObjectifyFilter.java:49)
at com.google.inject.servlet.FilterDefinition.doFilter( FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation. doFilter( FilterChainInvocation.java:58)
at com.MYPROJECT.server.NamespaceFilter.doFilter( NamespaceFilter.java:22)
at com.google.inject.servlet.FilterDefinition.doFilter( FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation. doFilter( FilterChainInvocation.java:58)
at com.google.inject.servlet.ManagedFilterPipeline. dispatch( ManagedFilterPipeline.java: 118)
at com.google.inject.servlet.GuiceFilter.doFilter( GuiceFilter.java:113)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at com.google.appengine.api.socket.dev.DevSocketFilter. doFilter(DevSocketFilter.java: 74)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at com.google.appengine.tools.development. ResponseRewriterFilter. doFilter( ResponseRewriterFilter.java: 123)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at com.google.appengine.tools.development. HeaderVerificationFilter. doFilter( HeaderVerificationFilter.java: 34)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at com.google.appengine.api.blobstore.dev.ServeBlobFilter. doFilter(ServeBlobFilter.java: 61)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at com.google.apphosting.utils.servlet. TransactionCleanupFilter. doFilter( TransactionCleanupFilter.java: 43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at com.google.appengine.tools.development.StaticFileFilter. doFilter(StaticFileFilter. java:125)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at com.google.appengine.tools.development. BackendServersFilter.doFilter( BackendServersFilter.java:97)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain. doFilter(ServletHandler.java: 1157)
at org.mortbay.jetty.servlet.ServletHandler.handle( ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle( SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle( ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle( WebAppContext.java:418)
at com.google.appengine.tools.development. DevAppEngineWebAppContext. handle( DevAppEngineWebAppContext. java:94)
at org.mortbay.jetty.handler.HandlerWrapper.handle( HandlerWrapper.java:152)
at com.google.appengine.tools.development. JettyContainerService$ ApiProxyHandler.handle( JettyContainerService.java: 383)
at org.mortbay.jetty.handler.HandlerWrapper.handle( HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest( HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler. content(HttpConnection.java: 938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser. java:218)
at org.mortbay.jetty.HttpConnection.handle( HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run( SelectChannelEndPoint.java: 409)
at org.mortbay.thread.QueuedThreadPool$PoolThread. run(QueuedThreadPool.java:582)
Caused by: java.lang.ClassNotFoundException: com.google.gwt.core.client. GWTBridge
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged( Native Method)