I have this in my uiBinder:
e:ValueBoxEditorDecorator ui:field=importoEditor
e:valuebox
g:DoubleBox /
/e:valuebox
Hi,
Can we use java.util.regex.Pattern in GWT?
i'm getting the following error.
[ERROR] [esms] - Line 31: No source code is available for type
java.util.regex.Pattern; did you forget to inherit a required module?
I included JRE.
--
Thanks,
Raja
--
You received this message because you are
apply a loadhandler onto the image.
Something like the code below...
final Image imgPin = new
Image(WhiteBoardImageBundle.INSTANCE.pin().getURL());
imgPin.addLoadHandler(new LoadHandler() {
@Override
public void onLoad(LoadEvent event) {
//Do something with the image
java.util.regex is not available on the client-side.
Use com.google.gwt.regexp.shared Class RegExp instead.
Greetings
Stefan
On 22 Aug., 08:57, Raja Shekhar grsvarma...@gmail.com wrote:
Hi,
Can we use java.util.regex.Pattern in GWT?
i'm getting the following error.
[ERROR] [esms] - Line
DoubleBox is simply a ValueBox using DoubleParser/DoubleRenderer; and
DoubleRenderer uses NumberFormat.getDecimalFormat().
If you want a (even slightly) different renderer, you'll have to use a
ValueBox with your own values for the parser and renderer.
--
You received this message because you
Thank you both for your assistance. I will attempt to use the XStream
library first, but the XML is not intended to to be parsed and objects
re-built from it; rather the information will be used by another
system. Thus, it depends how much I can customise the XStream output
to suit the desired XML
I'm trying to center an element that contains a CellTable. The actual
centering logic works okay, but I'm having problems with all those
attaching/detaching events. Basically, I'm doing this in my container
widget:
@Override
public void onLoad() {
super.onLoad();
center();
}
You will probably use an AbstractDataProvider instance to fill the
CellTable. You have to create a helper method which retrieves the list of
beans based on the flag and sets it in the AbstractDataProvider (or
ListDataProvider).
Something like this:
final ListDataProviderUser dataProvider =
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/regexp/shared/RegExp.html
On Aug 21, 11:57 pm, Raja Shekhar grsvarma...@gmail.com wrote:
Hi,
Can we use java.util.regex.Pattern in GWT?
i'm getting the following error.
[ERROR] [esms] - Line 31: No source code is
Hi to all,
It's several days I'm struggling with this error.
I make a rpc call from GWT client to a server passing an object.
This pojo contain several data ... and a String with some JSON stuff.
The call in DEBUG mode works absolutely fine. Not only in debug mode, but when
I use the
Hi John
I do have a question regarding redrawing the entire DataGrid/CellTable when
new data is pushed in.
I tried to implement a SearchTextBoxes in the ColumnHeader for filtering the
data which is displayed in the CellTable.
As soon as I type a character into the SearchTextBox in one of the
Hi Jeff,
Given both our experience and your confirmation, I'm going to file a
bug report in case this thread isn't being noticed.
Thanks for your effort.
On Aug 22, 12:46 am, jchimene jchim...@gmail.com wrote:
Hi Julian,
I was too glib in my earlier reply.
I, too, am seeing this problem. I
Like Don said the Flex module in the gwt4air project is not ment for
existing Flex projects written in Action Script.
It s for new Flex projects and for Java Developers willing to use Flex as
the UI technology of their projects.
By leveraging GWT there is no need to use stuff like BlaseDS,
Thanks.
+Raja
On Mon, Aug 22, 2011 at 2:51 PM, Jim Douglas jdou...@basis.com wrote:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/regexp/shared/RegExp.html
On Aug 21, 11:57 pm, Raja Shekhar grsvarma...@gmail.com wrote:
Hi,
Can we use java.util.regex.Pattern
Well, the whole resolution independent web development is really cumbersome
especially with GWT like web-application UI.
Static web-sites either stick to the static (i.e. 960 grid system) or
fluid/liquid (floating) UI design.
With the static design the content size is always the same no
Hello,
I have an AbsolutePanel that acts as a graphical workspace. The user
should be able to specify a local image to upload and this image will
appear as the background on the panel, for them to work on top of.
I understand the background can be set using CSS, but how would one do
this
Change the property in gwt.xml file as follows.
In the Project.gwt.xml file do not inherit the css file.
comment as follows !-- inherits
name='com.google.gwt.user.theme.standard.Standard'/ --
Hope it helps.
S. Abraham
www.DataStoreGwt.com
On Aug 19, 7:57 pm, Alexander Orlov
The problem is that the serialization behaviour is different from web and
hosted mode...
I don't know how I should resolve this...
Da: Gianluigi dava...@yahoo.it
A: Google Web Toolkit google-web-toolkit@googlegroups.com
Inviato: Lunedì 22 Agosto 2011 10:30
On Mon, Aug 22, 2011 at 1:36 PM, Sudhakar Abraham
s.abra...@datastoregwt.com wrote:
Change the property in gwt.xml file as follows.
In the Project.gwt.xml file do not inherit the css file.
comment as follows !-- inherits
name='com.google.gwt.user.theme.standard.Standard'/ --
...is
I'm using a TabLayoutPanel. GWT always generates a div element as the first
child of the TabLayoutPanel's div.
This div has the following styles:
div style=position: absolute; z-index: -32767; top: -20ex; width: 10em;
height: 10ex;nbsp;/div
Although the z-index is -32767 this div covers a an
Any anonymous inner class you have ? That could be a problem.
J.Ganesan
www.DataStoreGwt.com
On Aug 22, 4:38 pm, Gianluigi dava...@yahoo.it wrote:
The problem is that the serialization behaviour is different from web and
hosted mode...
I don't know how I should resolve this...
As soon as your image is uploaded, you can have a link to it. something like
http://my.site.com/images/uploaded_img.png
Then, you only have to dynamically change the background of your element :
myWidget.getElement().getStyle().setBackgroundImage(
http://my.site.com/images/uploaded_img.png);
The
Some days ago I had a similar problem. Development version worked fine,
but the compiled version gave those errors. What I did to resolve them,
was to build my project from scratch. At the end I had a compiled and
working version, having the same codebase like before.
In the progress of
Hi there,
I've been banging my head against the wall trying to replicate Google+'s
layout, but haven't been succesful. This is what I want to achieve:
1. A 100% browser width bar at the top of the page, styled with a
background. Even if this bar -- or panel -- goes edge to edge, it's
I have a Java code that uses
java.net.DatagramPacket;
java.net.DatagramSocket;
java.net.InetAddress;
It runs fine in eclipse if Run as Java application
But when using it in GWT client code it does not compile.
I tried copying files to GWT server package and then importing in
Client
Could you post the class contents? Maybe we can see something in your
code.
On 22 Aug., 15:08, Stefan Ollinger stefan.ollin...@gmx.de wrote:
Some days ago I had a similar problem. Development version worked fine,
but the compiled version gave those errors. What I did to resolve them,
was to
I am using them for Game Server Querying.
Is there any other way to put it somewhere and use info in some other
form in the code.
On Aug 22, 7:23 pm, Mark mdshol...@gmail.com wrote:
You cannot use every Java class in GWT client code; I'm pretty sure
that java.net classes are not included.
Well, actually It's a massive class definition.
There are 2 piece of that class that I suspect gives troubles...
1) a string with a json definition inside
2) This typed map: MapKeyItem, LookupRow where KeyItem and LookupRow are
other 2 objects with hashcode and equality methods defined
In Entrypoint, add CellTreeExample object into RootLayoutPanel. It
binds the CellTree Widget with uiBinder.
Try the following example.
S. Abraham
www.DataStoreGwt.com
package com.college.client;
import com.google.gwt.cell.client.TextCell;
import com.google.gwt.core.client.GWT;
import
You cannot use every Java class in GWT client code; I'm pretty sure
that java.net classes are not included. See
http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html for
a list of emulated classes.
On Aug 22, 8:35 am, Kb . kb.kb.1...@gmail.com wrote:
I have a Java code that uses
Everything to/from the client must be a valid emulated class so one
way you can achieve this is to use a Data Transfer Object composed of
classes that are valid for the client side. Write a server-side
RemoteServlet to receive and translate this DTO into the calls you
want to perform and then
Take a look at the DockLayoutPanel.
On Mon, Aug 22, 2011 at 07:27, Amit Prahesh amit.prah...@gmail.com wrote:
Hi there,
I've been banging my head against the wall trying to replicate Google+'s
layout, but haven't been succesful. This is what I want to achieve:
1. A 100% browser width
I had similar issues, all pointed back to some defensive coding.
As all calls are aync , behavior will be some what unexpected in few
situations.
Here are some tricks I played to such errors.
1) try in different browsers.
2) Load the app instance, then try, meaning use once, and second,
third,
Try to reproduce the error with a small example.
Am 22.08.2011 16:29, schrieb Gianluigi:
Well, actually It's a massive class definition.
There are 2 piece of that class that I suspect gives troubles...
1) a string with a json definition inside
2) This typed map: MapKeyItem, LookupRow where
I have this gwt app which say, runs on http://mygwtapp.com/ (which is
actually: http://mygwtapp.com/index.html)
The application host a database of users, queried by searching usernames
using the search view and results are shown in the user results view.
Pretty useful enough. However I need
You have to use redirect rules on your web server, e.g. nginx, apache,
tomcat, etc. That way you can deliver your app's index.html for different
URLs based on regular expressions. Once your server delivers your index.html
you can do Window.Location.getPath() in your EntryPoint and then do
Anyone have any tips on using polymorphic types within the editor framework?
I have some paths of my object graph that hold polymorphic types, and
their getters return the super type. How can I create the correct
editor for these paths?
Creating a ValueAwareEditorT where T is the super-type, and I
Actually I just found:
http://stackoverflow.com/questions/7043760/using-gwt-editors-with-a-complex-usecase
where bobv explains some ways to do it, so can ignore this question.
On Mon, Aug 22, 2011 at 6:35 PM, Aidan O'Kelly aida...@gmail.com wrote:
Anyone have any tips on using polymorphic types
On Tuesday, 23 August, 2011 01:08 AM, Jens wrote:
You have to use redirect rules on your web server, e.g. nginx, apache,
tomcat, etc. That way you can deliver your app's index.html for
different URLs based on regular expressions. Once your server delivers
your index.html you can do
On 08/22/2011 02:34 AM, jsg wrote:
Hi Jeff,
Given both our experience and your confirmation, I'm going to file a
bug report in case this thread isn't being noticed.
Thanks for your effort.
On Aug 22, 12:46 am, jchimene jchim...@gmail.com wrote:
Hi Julian,
I was too glib in my earlier
Hello folks,
I'm curious what content management system is mostly used to embed GWT
apps into. Are you using a CMS at all? If so please post the name and
or a link.
Thank you!
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to
You can include jQuery fraework in your application and use JSNI to invoke
jQuery's animation function.
public class Animation {
public static int SPEED_SLOW = 1300;
public static int SPEED_NORMAL = 800;
public static int SPEED_FAST = 400;
public static native void doFadeInAnimation(Element e,
Can you help me with a little example code? :-)
--
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
We haven't tried it in compiled mode yet, but it definitely doesn't
work in dev mode for us.
What is your code that returns a value? Neither the
FieldUpdate.update() nor the ScheduledCommand.execute() expects a
value back so I'm a little perplexed as to your context? And what is
MyVariable?
Well it would, but your problem is your URL requirement.
With standard GWT Places your URL would look like:
http://mygwtapp.com/#UserPlace:unique username or db id or if you
customize GWT Places you could achieve URLs like
http://mygwtapp.com/#/user/unique username or db id. So as you can see
I remember seeing a race between Gwt-Query and jQuery with animations where
Gwt-Query run that race, does anyone has de link to that video somewhere?
2011/8/22 Dimitrijević Ivan dim...@gmail.com
You can include jQuery fraework in your application and use JSNI to invoke
jQuery's animation
I'm trying to display a tree of Categories, following the basic
CellTree gwt examples.
What I am stuck at is determining the leaf condition of a Category.
A Category is-a-leaf when it hasn't children, right? So, here's my
Category (I am using Objectify for appengine persistence):
@Entity
public
On 08/22/2011 01:13 PM, jsg wrote:
We haven't tried it in compiled mode yet, but it definitely doesn't
work in dev mode for us.
Alright - at least that's better than what was happening on my side. The
problem was that in dev mode, the NPE exception was correctly caught in
the try/catch block.
Hi!
Due to the fact that the Java Calendar Class is (unfortunately) not
compatible with GWT I’m having some problems:
I need to generate a Date-Object out of the Information by “week of
year” and “day of week”.
With the Calendar-class my code looks like:
Calendar cal =
I'm trying to create a chart using GWT. The chart has a grid and x
and y axis labels and at least one line indicating status over time.
The example code I got from a co-worker uses two classes the
com.google.gwt.widgetideas.graphics.client package: GWTCanvas and
Color.
The documentation about
Try to reproduce the error with a small example.
I would also recommend that. Are the classes KeyItem and LookupRow
serializable? Do they implement an interface for serialization?
Because they need to.
check out this documentation:
Hi! I'm trying to use AutoBean framework to transfer data from server
to GWT App. GWT-RPC is not good for me, because i need to cache
responces.
So I'm trying to use JsonpRequestBuilder to fetch data and AutoBean
framework for encoding/decoding.
The simple (and not working) aproach is like this:
Generally you grab a Context2d object from the canvas, and most of the
methods you identified are exposed there.
See:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/canvas/dom/client/Context2d.html
--
You received this message because you are subscribed to the Google
I've found a solution: it's possible to convert Object to String on
the client:
---
JsonpRequestBuilder jrb; // = ...
jrb.requestObject(url, new AsyncCallbackJavaScriptObject(){
public void onSuccess(String result) {
JSONObject jsObj = new JSONObject(result);
Hello!
In its current form, CellTree is unusable for anything but simplest
use cases. For example, removing a selected node from its parent's
ListDataProvider breaks the tree in the debug mode (the tree becomes
unresponsive to the user); basically, almost any programmatic
operation on a populated
I haven't tried CellTree myself, so I don't have an opinion on it one
way or the other, but if it was me, I'd start by reviewing the list of
open bug reports against it and starring the ones that seem to be
affecting my app.
http://code.google.com/p/google-web-toolkit/issues/list?q=CellTree
Hi,
I have a compiled project deployed on AppEngine.
Some .gif files are not found by GWT.
I am perplexed.
The CSS file is found.
Other .gif images used by the CSS file are found.
Looking at DevTools in Chrome, I see which ones are not found.
Clicking on the link, the server finds them and
Warning: com.google.gwt.user.client.ui.AbsolutePanel descendants will
be incorrectly positioned, i.e. not relative to their parent element,
when 'position:static', which is the CSS default, is in effect. One
possible fix is to call
'panel.getElement().getStyle().setPosition(Position.RELATIVE)'.
Hi,
I am using *Gwt 2.3.0* and Eclipse Version: 3.6.1 IDE, when I try to compile
my module I am getting following error:
Compiling module com.veersoft.gwt.AgeingReport
Validating newly compiled units
[ERROR] Errors in
Hi,
i'm using SmartGwt for xpath.
i'm able to execute it successfully in webapplication.
i have written a GWTTestcase to test this.
when i run that testcase, it is failing in runtime by throwing runtime
exception.
could someone please help me resolving this issue
here is the exception info:
Hello,
I've a problem with RequestFactory, Objectify and One to One
RelationShip. The problem is at the bottom of this post.
Entities :
Class Owner :
public class Owner extends DatastoreObject {
private String name;
transient @Transient
private Animal animal;
On 2011/08/20 04:04:50, Nick Chalko wrote:
LGTM
http://gwt-code-reviews.appspot.com/1526804/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 10559
Author: gwt.mirror...@gmail.com
Date: Mon Aug 22 09:48:40 2011
Log: Add bootstrap tests
159 of 257 (61.87%) Pass with 32 Failures and 7 Errors.
Review at http://gwt-code-reviews.appspot.com/1526804
Review by: rchan...@google.com
Reviewers: bobv,
Description:
Implements * globbing for RequestFactory with(), the simpler half of
the proposal in
http://code.google.com/p/google-web-toolkit/issues/detail?id=6697
Also fixes bugs exposed in using null members in collections
Please review this at
On 2011/08/23 00:52:49, rjrjr wrote:
Ready for review
http://gwt-code-reviews.appspot.com/1520808/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: jlabanca, rjrjr,
Description:
Changes Style to return itself instead of returning void.
issue 6717
http://code.google.com/p/google-web-toolkit/issues/detail?id=6717
Please review this at http://gwt-code-reviews.appspot.com/1530803/
Affected files:
No good. This defeats compiler optimizations big time. We don't like void
returns either, but we like big fat slow apps even less.
On Aug 22, 2011 7:50 PM, larse...@gmail.com wrote:
Reviewers: jlabanca, rjrjr,
Description:
Changes Style to return itself instead of returning void.
issue 6717
Just out of curiosity, does this have to defeat the compiler optimisations?
Isn't it known at compile time that those setters will always return the
same Style instance? In that sense, from the compiler's point of view, isn't
the situation with the setter returning the Style the same as the
On Tue, Aug 23, 2011 at 12:17 AM, Daniel Bell daniel.r.b...@gmail.comwrote:
Just out of curiosity, does this have to defeat the compiler optimisations?
Isn't it known at compile time that those setters will always return the
same Style instance? In that sense, from the compiler's point of
69 matches
Mail list logo