Hi,
Try using a self-closing tag.
g:ListBox ui:field=.../
Olivier
On 8 juin, 08:32, Kuldeep Poonia kpoon...@gmail.com wrote:
Hi all,
I hava a variable name in Class Base and want to bind this to the
listbox. so i use
@ListBox name.
and in ui.xml i use
g:ListBox
I have the following inner interfaces defined in a custom widget class (a
decorator panel-type class):
public interface Resources extends ClientBundle {
Resources INSTANCE = GWT.create(Resources.class);
@Source(roundedcornr_bl.png)
ImageResource roundedcornr_bl();
The idea is that you need to teach Tomcat how to instantiate your
Servlets.
You need: guice-2.0.jar, guice-servlet-2.0.jar, aopalliance.jar.
In war/WEB-INF/web.xml:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
David,
I use something like that. To easy manage my CSS class names, I use a
generator similar to the CssResource-generator. I define an interface
extending Identifiers with one method for each CSS class name:
interface MyCssClasses
extends Identifiers
{
public String firstClass();
public
Hi,
JSONParser must only be used with trusted JSON because it uses
eval(). Thing about using a real JSON parser. This will avoid
problem like this one.
As a JSON parser example, you can see my port of the JavaScript parser
from json.org:
spierce7 schrieb:
Lothar, your code works (at least for the current date) :
It should work for every date, just instantiate Date with
one of the non-default constructors.
However, I can't find a way to get the first day of the week for any
given date. For instance, lets say I wanted to find
Thanks to all, the limitation is due to other dependent components/
infrastructure.
Migrating all applications is not a viable option now, thanks for your
input.
On Jun 7, 11:45 pm, Jim Douglas jdoug...@basis.com wrote:
Just out of interest...what's keeping you on 1.4? It reached EOSL
more
Do we need any GWT related libraries at Runtime? Or is just Java
script?
On Jun 7, 11:45 pm, Jim Douglas jdoug...@basis.com wrote:
Just out of interest...what's keeping you on 1.4? It reached EOSL
more than a year and a half ago:
http://java.sun.com/products/archive/eol.policy.html
On Jun
Do we need any GWT related libraries at Runtime? Or is just Java
script?
GWT has a mandatory client component and an optional server component. The
client component is just javascript at runtime. So, you just need to ensure
developers have JDK 1.5 at compile time. At runtime, it just doesn't
Thanks a lot,
but I've got further questions ;)
I'm using gwt-mvc. So, the described Method is located in the Model.
What to do in the Controller exactly? After calling loginUser, my
program decides which way to go by taking the feedback.
So should I do the following?
Finally I think I'm going to try with the JavaScriptObject class,
cause I can cast it in Element object.
public class CallChartView extends Widget implements
CallChartPresenter.Display {
public CallChartView() {
setElement(Element.as(createChart()));
}
Hello,
I just see option Change background image on Google search first
page (www.google.com). Design of dialog looks like GWT. Is this
written in GWT? It would be a really huge reference
Regards,
Matic
--
You received this message because you are subscribed to the Google Groups
Google
Hi Olivier
Thanks for Reply. But same problem comming
The UiField com.google.gwt.user.client.ui.ListBox itemName does not
have a HaxText or HasValue super-interface
On Jun 9, 11:14 am, Olivier Monaco olivier.mon...@free.fr wrote:
Hi,
Try using a self-closing tag.
g:ListBox ui:field=.../
yes, i can confirm this after looking at the source. this is GWT ;--)
On Wed, Jun 9, 2010 at 12:48 PM, maticpetek maticpe...@gmail.com wrote:
Hello,
I just see option Change background image on Google search first
page (www.google.com). Design of dialog looks like GWT. Is this
written in
Please give a small use case.
On 9 juin, 11:51, Kuldeep Poonia kpoon...@gmail.com wrote:
Hi Olivier
Thanks for Reply. But same problem comming
The UiField com.google.gwt.user.client.ui.ListBox itemName does not
have a HaxText or HasValue super-interface
On Jun 9, 11:14 am, Olivier Monaco
Try to replace your $.jqplot by $wnd.$.jqplot. The window object
where the JSNI is run is not the main window. You can access it
through $wnd.
Olivier
On 9 juin, 11:39, Rizen vianney.dep...@gmail.com wrote:
Finally I think I'm going to try with the JavaScriptObject class,
cause I can cast it
Don't think it is GWT. Although the code is obfuscated, it doesn't have any
of GWTs tell-tale signs.
@Rudolf - anything specific in the source that makes you think it is GWT?
--Sri
On 9 June 2010 15:26, rudolf michael roud...@gmail.com wrote:
yes, i can confirm this after looking at the
Check out these cool plug-ins which extends the features of Carbide.ui
3.4 Theme Edition to enable the creation of themes for various S60
platform editions and devices from Nokia.
New versions of the Nokia E71 and Nokia E66 plug-ins are available.
These updates have refined the content of the
On 8 Jun., 22:02, Ian Bambury ianbamb...@gmail.com wrote:
If you add your own CSS, it doesn't go around trying to correct it. It's
just what you do in GWT (using the widgets as they are meant to be use
You mean I am using the panels in a way they were not made for?
So this
Hi Ian,
as longer I think about your advice, the more I like it. You could do
interesting things within the resize code, e. g. hide some widgets if
there is not enough room...
However, before I give it a new try, I need some additional
information:
- If I calculate everything on my own: Which
I've already tried but it's exactly the same problem.
Here is a part of the error log :
[...]
com.google.gwt.core.client.JavaScriptException: (ReferenceError): $ is
not defined
fileName: http://127.0.0.1:
lineNumber: 4
stack: ()@http://127.0.0.1::4
[...]
--
You received this message
As a matter of fact, I resolved it.
The getThreadLocalRequest() return null when called into the
constructor of the 1st RemoteServiceServlet called.
What can be disturbing is :
- It returns null even if the session is already initialized by a
classic servlet
- It is not returning null when
Okay, next try (I've read your post this time ;)).
You want to cast a JavaScriptObject to an Element. You can... but it's
a bad idea. A Widget needs an Element because it offer some DOM
manipulation. Providing a JSO may lead to strange behavior. You need
to write a clean GWT wrapper around
On 9 June 2010 11:42, Magnus alpineblas...@googlemail.com wrote:
You mean I am using the panels in a way they were not made for?
Yes. Currently they seem to be aimed at dividing the screen or viewport into
different areas, the final (centre) area taking all the remaining space.
So this
On 9 June 2010 11:48, Magnus alpineblas...@googlemail.com wrote:
Hi Ian,
as longer I think about your advice, the more I like it. You could do
interesting things within the resize code, e. g. hide some widgets if
there is not enough room...
However, before I give it a new try, I need some
Hi Magnus,
When browsers allow to do a predicable layout than it is possible with
GWT, too.
GWT helps you more or less to overcome some bug, but it isn't perfect.
GWT does not check style and try to workaround bug.
GWT is able to create different approaches (css) for an specific
browser AND
Hi, i want to put a parameter in the url and get it value from my gwt
java code.
For example, if i go in the browser to
http://localhost:8080/MyApplication/Hostedpage.html?debug=true
I want then in my java code do something with that value:
String debugParameterValue = ?;
Make and extra income from home. International company seek motivated
individuals to work from home. Positions available data entry, research and
more.
http://www.clicknearn.net/3527.html
For further details Contact us
Address : 81 Badlis road Waltham stow, London
Website : www.clicknearn.net
Hi David,
to support an easily exchangable theming, you need to design any
widget against an abstract theme.
Then you can apply a concrete theme when you like.
Even concrete themes are shareable then
This topic has an huge effect on re-useablitity of widgets at all.
I publish an open source
Window.Location.getParameter(debug)
On 9 June 2010 15:27, nacho vela.igna...@gmail.com wrote:
Hi, i want to put a parameter in the url and get it value from my gwt
java code.
For example, if i go in the browser to
http://localhost:8080/MyApplication/Hostedpage.html?debug=true
I want then
Yes, this project is nice, i had a look some time ago. I am planning to use
it for my future project.
--
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
yeah you're right...just the obfuscated js made think that it is GWT,
but apparently there is not
*..nocache.jsview-source:http://192.168.0.173:8080/SMD/smdesigner_gwt/smdesigner_gwt.nocache.js
file included. this means that this is not a GWT Module.
On Wed, Jun 9, 2010 at 1:14 PM, Sripathi
On 9 Jun., 14:07, Ian Bambury ianbamb...@gmail.com wrote:
You mean I am using the panels in a way they were not made for?
Yes. Currently they seem to be aimed at dividing the screen or viewport into
different areas, the final (centre) area taking all the remaining space.
So far, so good.
no one ever used stackpanel with internationalization?
The only other solution I see is to create the stackpanel
programmatically without uibinder.
On Jun 5, 12:07 pm, googelybear googelyb...@gmail.com wrote:
Hi,
I am using aStackPanelin ui binder and would like to
internationalize the
On 9 Jun., 14:11, Ian Bambury ianbamb...@gmail.com wrote:
E. g. to center a TextBox, I need its width in pixels. How do I get
this?
getWidth() ?
but you just need to use 'margin:0 auto'
What does this style mean?
- What if I do not know the pixel sizes of child objects?
E. g. my
Strange is, that you show us two picture of IE and one of FF. But you
are talking about two variants of FF and one of IE
No! I made a screenshot of FF on my linux box before and put it on the
net. Later I made a screenshot from IE showing the other screenshot.
On 9 Jun., 14:11, Ian Bambury ianbamb...@gmail.com wrote:
You don't need a parent panel as such, just position it absolutely after
adding it to the RootPanel.
But how do I get the Resize-Event if I don't subclass an existing
layout panel?
Magnus
--
You received this message because you are
So far, so good. The point is that I add another layout pane to the
remaining space. Where is the contradiction?
You are trying to float a fixed=width widget in the centre of the screen. It
doesn't matter now many times you nest it, it will still work the same way.
I didn't actually write
but you just need to use 'margin:0 auto'
What does this style mean?
It means that you need to look it up or ask in a forum dedicated to CSS.
This forum is for GWT.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
But how do I get the Resize-Event if I don't subclass an existing
layout panel?
Window.addResizeHandler(handler);
--
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.
I want to cast a JavaScriptObject to an Element cause I think is the
best solution for the moment. Using the MVP architecture I don't know
how to do that in a different way. If there is something better I will
be interested as well.
About the problem with $, I wrote typeof($) in FireBug's
For both gwt 2.0.2 and 2.0.3 some of our users that have upgraded to
Safari 5 are seeing this error. This is a vanilla GWT application (no
external library). This is happening in web mode. Everything works
fine in Safari 4 (and all other browsers). Also, some of our Safari 5
users are not seeing
Hi group,
I have started writing the layout code using the onresize event, and I
think this will be the solution I wanted. I created a class Display,
derived from LayoutPanel,.
But I am still missing information to layout my widgets. It is not
that easy to geht width and height, als mentioned
I started a project on GWT 2.0 and easily upgraded to 2.01, 2.0.2 and
2.0.3 since then. This project targets mobile devices so I really was
eager to try the new mobile widgets in 2.1M1. I finally had some
time to upgrade yesterday... However, my project doesn't build
correctly anymore. I first had
Where can I find description about mobile widgets? Here you use
mobile. I guess widgets are not real mobile widgets. Am I right?
Jim
On Jun 9, 10:22 am, gcauchon gcauc...@gmail.com wrote:
I started a project on GWT 2.0 and easily upgraded to 2.01, 2.0.2 and
2.0.3 since then. This project
This is a pretty serious issue for enterprise apps. i.e. sorting
issues for date columns in a grid
http://code.google.com/p/google-web-toolkit/issues/detail?id=3600q=compareto
Why has the GWT team not fixed it? There's even a patch/fix in the
ticket. I really would hate to do a custom
When you call loginUser, you will create an instance of
XGENgwtModelCallback (I'm assuming that's what you called
LoginCallback). In that instantiation, you will need to define the
onLogin method:
loginModel.loginUser(user, passwd, false, new XGENgwtModelCallback() {
@Override
public void
There isn't much details about widget with mobile support. What I do
know is that there are many things not supported by Safari Mobile (for
instance). I wasn't at I/O this year and up to now the only place I've
read about it is on I/O Twitter stream:
http://twitter.com/googleio/status/14307224349
Hi,
To be clear: What are you expecting to have in your layout scenario? i.e. A
menu on top, a Chess Widget centered in the browser with same margins from
top/left/right/bottoms? Also, the chess Widget should have 64 cells of the
same height/width.? i.e. the cell doesn't change if the browser
When we try to run dev mode to get a better stack trace, everything
works fine. Could it be a change in the javascript engine in safari 5
that's causing this error?
Any insights?
Regards,
Pascal
On 9 juin, 10:18, Pascal zig...@gmail.com wrote:
For both gwt 2.0.2 and 2.0.3 some of our users
Hi,
everything you said is correct.
Magnus
On Jun 9, 5:09 pm, Alejandro D. Garin aga...@gmail.com wrote:
Hi,
To be clear: What are you expecting to have in your layout scenario? i.e. A
menu on top, a Chess Widget centered in the browser with same margins from
top/left/right/bottoms? Also,
if you develop with eclipse, in your starter project pick GWT and App
Engine, and it will set up a basic GWT / App Engine project. That's
the basic wiring required, (it uses RPC, it's convenient but not a
must). As to guidelines... that's a huge topic... suggest browse the
Google App Engine for
For the $, maybe the library is not loaded when you try to create
your chart.
As I told before, you need to write a wrapper. This wrapper create the
div needed by jqPlot and add an unique ID to it. This ID is used as
the first argument to jqPlot JavaScript function. But you can't
create your
I have a GWT application that starts an independent thread and leaves
it running for use by multiple GWT sessions.
It appears that under Tomcat, when I Stop of Undeploy the application,
this thread keeps running. I can't figure out the right way to manage
shutting down the thread when the
Hi
I´m reviewing the GWT 2.1 applications generated by Roo and see that
Roo generates a common GWT´s Place subclass for all places in app
(ApplicationPlace), and that the application´s entrypoint registers
handlers (activiymanagers) for placechangeevent, everything is ok
until here, every time
Hi,
In my client, I need to call a rest service that is on another external
server and the URL is something like :
*
http://extServer/CallProgram http://extserver/CallProgram*
The Request object is a String
myRequest callingNumber111-222- callingNumber
calledNumber777-888-
You could return a string for what day of the week it is from the
DateTimeFormat (using E), then do a large if statement to return the
first day of the week.
Charles Keepax
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
Greetings!
Hi ,
Very Good Day,
Currently one of my client, CMM Level 5 company is looking for Java
Developer
with Chordiant 2 -5 Years of experience.
Title: Java Developer with Chordiant
Location: Hyderabad, India
Qualifications : B.E/BTech/MTech/ MCA
Experience : 2-5yrs relevant
Preference
In my client, I need to call a rest service that is on another
external server and the URL is something like :
http://extServer/CallProgram
The Request object is a String
myRequest callingNumber111-222- callingNumber
calledNumber777-888- calledNumber/myRequest
The response is an xml .
i've figured it out..
one can nest javascriptobjects and just access the nested object thru
jsni.. =)
On May 31, 9:22 pm, powwow jimmy.w...@gmail.com wrote:
I have this in my html and I can use JavaScriptOverlay types no
problem and it works:
script
var properties = {width:640,
Hi Laurent,
I am also new to GWT, also fascinated :-). I also already went trough
samples and tutorials and well stopped at the point how to bind
components to, in my case, database table in Oracle database. I don't
know what do you mean exactly by Google datastore but I think you
mean the
i also have the same problem..
i have this setup:
public class Entry extends JavaScriptObject
{
protected Entry() { }
public final native String getWidth() /*-{ return
this.Width; }-*/;
public final native String getHeight() /*-{ return
this.Height; }-*/;
}
public
Hi,
I'm excited about trying out java google app engine.
My tutorials has been going fine while running on eclipse;
but i keep getting this error trying to deploy to google.
An internal error occurred during: Deploying GAEj to Google.
XML error validating C:\Users\seni\workspace\GAEj\war\WEB-INF
Probably the best class to implement that functionality would be
DateTimeFormat (
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/DateTimeFormat.html
) which is very similar to the Java DateFormat class. So for example:
Date today = new Date();
DateTimeFormat
Hi,
GUIs are asynchronously. You still think synchronously. No change to
succeed synchronously.
Your GUI continue to run while your service is send.
Remove the return int.
Put Code to continue with in onSuccess
Stefan Bachert
http://gwtworld.de
On Jun 8, 3:07 pm, uwi_u uwe.chris...@gad.de
Can somebody from Google please block this Saima Waseem, it is
spamming all over Google Groups, thanks!
On Jun 9, 2:30 pm, Saima Waseem saimawaseem2...@gmail.com wrote:
Make and extra income from home. International company seek motivated
individuals to work from home. Positions available data
@kensai
If you look at Google App Engine, the datastore is part of Google's
free-to-start cloud hosting service.
On Wed, Jun 9, 2010 at 02:56, kensai yanesha archenr...@googlemail.comwrote:
Hi Laurent,
I am also new to GWT, also fascinated :-). I also already went trough
samples and
I think you're looking for one of these groups:
http://code.google.com/appengine/community.html
On Jun 9, 6:26 am, Joshua Balogun joshua.balogu...@gmail.com wrote:
Hi,
I'm excited about trying out java google app engine.
My tutorials has been going fine while running on eclipse;
but i keep
Hi,
The code below is part of the task, but it center the main chess table in
the dock center panel. Does this work for you or at least give some help?
http://www.puntosoft.com.ar/gwt/layoutChess/LayoutChess.html
http://www.puntosoft.com.ar/gwt/layoutChess/LayoutChess.java
Interestingly i've discovered that this bug only applies to 32bit
safari. On 10.5 or Win running safari 5 normally causes the error,
but if i choose to use rosetta to run it (64bit ppc code), it works
fine. On 10.6 when safari is in i386_x64 mode, it works fine, but if
i choose to run in 32-bit
Hi Alejandro,
this looks very good and I am still analyzing the java code. I will
give you a more detailed feedback later...
The java code looks clean, but the html file is pumped up with of
JavaScript.
Does this code belong to the solution or is it just generated from
other sources?
Magnus
Just from the webappcreator. Nothing special.
On Jun 9, 2010 3:28 PM, Magnus alpineblas...@googlemail.com wrote:
Hi Alejandro,
this looks very good and I am still analyzing the java code. I will
give you a more detailed feedback later...
The java code looks clean, but the html file is pumped
Hi Alejandro,
forget my question about the html file. Following your link to the
html file leads to the JavaScript hell. :-) But I managed to download
the original source, which is quite friendly.
I'll test and I'll answer!
Many thanks!
Magnus
On Jun 9, 8:28 pm, Magnus
Yes, others are hitting this, and it looks like a bug in the Safari 5
Javascript Core.
On Wed, Jun 9, 2010 at 11:11 AM, Pascal zig...@gmail.com wrote:
When we try to run dev mode to get a better stack trace, everything
works fine. Could it be a change in the javascript engine in safari 5
It seems to be 32bit safari related... running in rosetta or on SL in
64bit clears the issue up for us.
On Jun 9, 10:11 am, Pascal zig...@gmail.com wrote:
When we try to run dev mode to get a better stack trace, everything
works fine. Could it be a change in the javascript engine in safari 5
Hi,
I'm quite new in GWT.
I built gwt app using Spring, Hibernate and GXT.
It works fine in hosted mode (jetty), but when i build war (maven
install) then war file is generated.
WAR itsefl looks good, but when i navigate to deployed App in my
browser pop-up is showed.
gwt module my module may need
i've resolved problem creating new DTO on the server from this
creating by hibernate;
On 5 Cze, 14:57, fazie d.rabi...@gmail.com wrote:
Hi,
I've got problem using GWT+Spring+Hibernate+Maven App.
The SerializationException occurs when I use class including another
class (DTO).
public class
I have several Java classes that I am using on the serverside, and I
am using these same classes to serialize the JSON stream back to my
GWT application. I am using the JsonpRequestBuilder to call my
service and it is successfully returning a JavascriptObject.
What is the recommended approach
Hi there
I'm trying to hide a layer in my LayoutPanel. The idea is to have a
layer act a bit like a popup, but it's not really a popup, and it
makes it easier if it is a layer.
I'm trying to hide it, so I toggle the layer child (a simplePanel)'s
visibility property on/off, which seems to work
You have two options -
1. Use a proxy server to proxy requests from your server to the external
domain. The new url will then be something like
http://myserver.com/extserver/CallProgram. Then use regular
RequestBuilder to make the calls. Apache's mod_proxy can do this job easily,
I did some reading up on RPC. Sounds like it would be perfect except
for the face that it is limited by the Same Origin Policy, so I can't
use it.
I wish we could do an RPC with JsonpRequestBuilder
Thanks for your insight, you have convinced me to do the Javascript
Overlays. I do like type
Do all steps of an IncrementalCommand run in one tick, or does it
return control to the js event loop in between steps, thereby allowing
other commands on the deferred queue to run in between steps? e.g.
List results = some list returned from a service;
DeferredCommand.addCommand(new
This is occurring for us in the Arrays.mergeSort() code. A reduced
testcase (which looks like the binarySearch code) is in the webkit bug
tracking system at:
https://bugs.webkit.org/show_bug.cgi?id=40355
It appears that in some complex expressions the right shift operator
is not evaluating
No, it cannot creep. Each execute callback runs as 1 uninterrupted thread.
On Wed, Jun 9, 2010 at 4:25 PM, macagain rgk...@gmail.com wrote:
Do all steps of an IncrementalCommand run in one tick, or does it
return control to the js event loop in between steps, thereby allowing
other commands
If you're using EasyMock, this is a very easy way to mock a service.
Been using this for a long time.
http://robvanmaris.jteam.nl/2008/04/22/test-driven-development-for-gwt-ui-code-with-asynchronous-rpc/
This is a great method. I was using EacyMocks Catpure method to do the
same thing;
+1.
When the user presses load / submit / ... on my app, I enable the
glass pane, and they have to wait until the submit has completed
successfully. I see nothing wrong with this approach:
PopupPanel loadingDialog = new PopupPanel();
loadingDialog.setWidget(loadingImageAnimation);
hi friends,
GWT 2.0.3
Feature :
1. it's not allow to select the tree using right click.
I am try to use the Context menu on tree or TreeItem using
onBrowserContext event.
but there is no TreeItem is selected on right click of treeitem.
how to achieve the context menu features in GWT 2.0.3
I think there is, my bad ;)
Thx
On Jun 7, 7:28 pm, Thomas Broyer t.bro...@gmail.com wrote:
On Jun 7, 1:43 pm, Frank Verbruggen fea...@gmail.com wrote:
I am currently writing some code to use models for a subclass of the
Grid class.
The idea being that I want to port a rich Java interface
Revision: 8240
Author: jlaba...@google.com
Date: Wed Jun 9 09:35:40 2010
Log: Replacing CurrencyCell with generic NumberCell that uses NumberFormat.
Review at http://gwt-code-reviews.appspot.com/568801
http://code.google.com/p/google-web-toolkit/source/detail?r=8240
Added:
89 matches
Mail list logo