what should i use to make such a request?
i have tried com.google.gwt.xhr.client.XMLHttpRequest, but the status
code i get is 0.
On Jun 8, 4:26 am, Sripathi Krishnan
wrote:
> It seems you are making a cross-domain request. In general, you cannot use
> RequestBuilder to make cross domain calls.
>
Is there any specific reason for what you are using JBoss. If not try
using Tomcat instead.
Application Deployment in JBoss is a bit different than usual servlet
container (like Tomcat and Jetty) and specially used in enterprise
applications that uses EJB like stuff.
On Jun 7, 1:42 pm, Vineet Cha
Just use the setWidth method. I use this when I want to use the Tab
layout panel in a dialog box.
On Jun 7, 8:21 pm, Nick Jost wrote:
> Specifically, getting around the aptly named, "BIG_ENOUGH_TO_NOT_WRAP"
> constant. I don't see anything, but would appreciate magic/help.
--
You received this
On 06/07/2010 04:58 PM, Rob Tanner wrote:
> I have a Date() object that holds a date of birth and I want to
> extract the year and make sure no one's trying to tell me they're 150
> years old, etc. The getYear method of the Date() class is deprecated
> and you normally use a Calendar() to get the
Specifically, getting around the aptly named, "BIG_ENOUGH_TO_NOT_WRAP"
constant. I don't see anything, but would appreciate magic/help.
--
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..
I have a Date() object that holds a date of birth and I want to
extract the year and make sure no one's trying to tell me they're 150
years old, etc. The getYear method of the Date() class is deprecated
and you normally use a Calendar() to get the year. The problem is
that when I try to use a Cal
Hi,
I've done some research about keeping GWT deployments as seamless as
possible for both new and old clients.
Basically avoiding (when possible) the LegacySerializationPolicy,
IncompatibleRemoteServiceException, type name elision, no RPC
whitelist, etc. errors that I had been seeing while deplo
I'm attempting to set the width of a tab layout panel and getting odd
results. I'm using CSS to add a border but there _appears_ to be a
hard coded width of 16384px to avoid wrap around. Is there a way of
getting around this?
--
You received this message because you are subscribed to the Google
On Jun 7, 11:32 pm, Patrick Tucker wrote:
> I'm trying to inherit 1 class file that is in a particular package.
> The problem is the package has other classes that inherit from java
> classes that GWT has not emulated. Because of this I can not use
> something like "" in my GWT module. The
> c
On Jun 4, 1:44 am, Jiang Zhu wrote:
> When I looked at MVP related articles, demos and so many
> implementations, I keep ask myself following questions.
>
> (1) How to make Place definition simple yet flexible?
> (2) How to elegantly decouple presenters and decouple a presenter and
> it's contai
I'm trying to inherit 1 class file that is in a particular package.
The problem is the package has other classes that inherit from java
classes that GWT has not emulated. Because of this I can not use
something like "" in my GWT module. The
class iself can be emulated byt GWT as I have pulled it
I've not written a gdata app before, but I'm pretty sure that what you are
experiencing is by design.
http://code.google.com/apis/gdata/docs/auth/overview.html
On Fri, Jun 4, 2010 at 3:48 PM, Chris wrote:
> Hello:
>
> I'm using the latest gwt-gdata package to allow users of my app
> (written in
It seems you are making a cross-domain request. In general, you cannot use
RequestBuilder to make cross domain calls.
--Sri
On 7 June 2010 23:39, Alex wrote:
> im getting empty string from response.getText()
> and response.getStatusText() give OK
>
> must the response from the server be in xm
Hello,
Thx for the interest, yes you can add some video in youtube by copying
embeded video. But not only youtube but others too (dailymotion etc).
2010/6/7 mariyan nenchev
> I think it is possible to add youtube videos. Just go to some video in
> youtube right click and copy embeded video.
>
>
Thanks!
On Jun 7, 8:27 pm, kozura wrote:
> Yes, this is fine and there is no race condition; I do this all the
> time. The deferred command is guaranteed to run after all other
> processing of the current event stack is completed, which includes all
> rendering that determines final sizing.
>
>
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 7, 3:56 am, Ravuthakumar wrote:
> Hi,
>
> Does GWT 2.0 requires JSDK 1.5 or higher version?
> There is a limitation, we have to use only
Yes, this is fine and there is no race condition; I do this all the
time. The deferred command is guaranteed to run after all other
processing of the current event stack is completed, which includes all
rendering that determines final sizing.
On Jun 6, 1:58 pm, Chris Lercher wrote:
> Hi,
>
> I w
I need to set up my project to use basic authentication to simulate
the way our firewall works. I can do this through web.xml. However I
need to add a user to Jetty and assign a specific role. Does anyone
know how to get access to the Jetty config used by hosted mode?
--
You received this message
Nope, and the alternate plan won't work either; since GWT1.5 the code
has made full use of the generics and other features available in Java
1.5. To use java 1.4 you'd have to go back to GWT 1.4, and I don't
believe the RPC formats are compatible such that you could do the
server in 1.4 and the cl
im getting empty string from response.getText()
and response.getStatusText() give OK
must the response from the server be in xml?
must the data i send be in xml?
im working on a google wave gadget.
im trying to send a http POST to a web service which i have no control
of.
the data im sending is i
Oops - my oversight - will give that a whirl, fingers crossed. Thanks
for the pointer.
On Jun 7, 3:53 pm, kozura wrote:
> Most normal classes are serializable. Do you have a 0-arg
> constructor? Here are the requirements on serializable classes:
>
> http://code.google.com/webtoolkit/doc/latest/
http://code.google.com/webtoolkit/doc/latest/FAQ_GettingStarted.html#What_are_the_system_requirements_for_GWT?
What are the system requirements for GWT?
Google Web Toolkit is designed to run on systems that meet the
following requirements:
Java: Sun Java 2 Runtime Environment 1.5
Operating system:
On Jun 7, 11:00 am, Boris Granveaud wrote:
> Hi,
>
> It seems that JSONParser doesn't like some unicode characters if they
> are not escaped with \u:
>
> public class Test implements EntryPoint {
> public void onModuleLoad() {
> for (char c = 0x2000; c < 0x2050; c++) {
> String s
Hi ,
you i used GWT-RPC to resolve the problems in my application but i found the
same problems as before,
[ERROR] [ilemErp] Errors in
'file:/D:/workspace/ilemERP/osi/osi-client/src/main/java/ch/ilem/erp/osi/client/panel/cust/OsiReqNewPanel.java'
18:03:49.070 [ERROR] [ilemErp] Line 1028: No sourc
Wow, I completely missed that () in the examples - I guess I just
assumed they were variables not functions - thanks!
On Jun 7, 12:47 pm, Jeff Chimene wrote:
> On 06/07/2010 08:56 AM, John wrote:
>
> > @Source("icons/PNG-48/Loading.png")
> > public ImageResource loading;
>
> @Source("icons/PNG
There are many ways to do this. I've found that sometimes it is useful
to use the event bus to reveal a hierarchy a presenters, each
presenter responsible for maintaining the view of a specific "slot":
left menu, main content, footer, etc.
Sometimes, a view is itself comprised of complex widgets t
BTW, here's the uibinder composite "MyComposite", and the code that
uses it:
public class MyComposite extends Composite {
private static MyCompositeUiBinder uiBinder =
GWT.create(MyCompositeUiBinder.class);
interface MyCompositeUiBinder extends UiBinder {
}
publ
I am working on getting my GWT application to use the iui.css and
things are not going as expected. While I have been able to output
the html dom structure that iui needs (ul/li/ etc), not quite working.
Before I keep digging, I was wondering if anyone else on this list has
tried to get the lever
Hi Kevin,
I had the same problem, and here's what I did:
1. Each UI component has It's own presenter.
2. There is one main AppController for global stuff and management (so
far it's like the article)
3. The presenters can communicate with each other by using the
eventBus (HandlerManager).
for
On 06/07/2010 08:56 AM, John wrote:
> @Source("icons/PNG-48/Loading.png")
> public ImageResource loading;
@Source("icons/PNG-48/Loading.png")
public ImageResource loading();
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to
or you can simply stop creating new Image() and use
element.getStyle().setBackgroundImage() instead. much cleaner this way.
On Mon, Jun 7, 2010 at 7:10 PM, Erik M. wrote:
> Thanks foir your ideas, I'll give them a try tonight!
>
> On Jun 4, 8:33 pm, fmod wrote:
> > Hi
> >
> > Use > > theselect
Thanks foir your ideas, I'll give them a try tonight!
On Jun 4, 8:33 pm, fmod wrote:
> Hi
>
> Use > theselectionwith the mouse?Selectionof an image means its getting
> > a blue background and being draggable to other windows.
> > Can you think of an HTML or GWT solution?
>
> > I read that one op
Thanks you guys for replying. I guess I was a bit unclear in where my
confusion was. I understand the difference between RootPanel and
RootLayoutPanel. However, I had a basic login screen and no click
events were being triggered because somehow by adding my login window
to the RootLayoutPanel, a
I'm trying to setup just a basic ClientBundle with on ImageResource as
per the Dev Guide:
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#ClientBundleExamples
public interface Icons extends ClientBundle {
public static final Icons INSTANCE = GWT.create(Icons.class
Hey,
So I'd still like to understand what you're describing better. Perhaps
you could take a look at this and provide some commentary on how your
approach differs? Perhaps contribute a change? (source code comments
are enabled). http://code.google.com/p/handlebars/wiki/PlaceServiceOverview
Trist
Short of designing the layout for you it's hard to give "hints".
fmod's hint is a good one though, because you'll run into that quickly
doing the layout you want. Here's a starting point, in particular,
take a look at the source code that goes with the various widget to
build an intuition around h
You should be able to do something like this with a model backing up
the widgets.
Essentially you have a text box that people type into.
Then you add a handler for onBlur()... this would trigger to parse the
text box contents into multiple email addresses that get saved in some
model object that's
Please stop spamming everyone with your misleading blog link in every
single post!
On Jun 4, 4:21 pm, Sorinel C wrote:
> Do you use pure GWT grid, or somthing else from, let's say, SmartGWT
> or GXT, or even GWT-Ext ? 'cause it might be different fromm each
> another.
>
> Cheers!
>
> PS: how you
Hey there,
It seems like Google guys are currently in transition as to how to do
MVP. Integration with Roo as well as new ideas about production level
frameworks sort of muddle the issue for now and as stated by GWT guys
themselves, aren't quite figured all out yet. If you haven't seen the
I/O vid
I'm getting the following error when compiling my project. Any ideas why
this error would occur?
Compiling module
[ERROR] Unexpected
java.lang.NullPointerException
at com.google.gwt.dev.javac.CompiledClass.(CompiledClass.java:83)
at
com.google.gwt.dev.javac.JdtCompiler$FindTypesInCud.visit(JdtC
Most normal classes are serializable. Do you have a 0-arg
constructor? Here are the requirements on serializable classes:
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes
On Jun 7, 6:35 am, raj wrote:
> I had a trawl through the forum and
I think it is possible to add youtube videos. Just go to some video in
youtube right click and copy embeded video.
--
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
Would be great to be able to add Youtube urls as opposed to embedded
code.
Drag and drop of the video containers would be great too.
On Jun 4, 5:12 pm, dodo dard wrote:
> Hello,
>
> I would like to show you my project MultiWatch GWT
> :http://multi-watch.appspot.com/
>
> It use GWT / GAE techn
We had the same problem.
It turned out that in the css file we had a link to a image that was not
used/referenced. That would trigger the server to send 404 but
in http form, I think...let me confirm and get back
/Flemming
On Fri, Apr 9, 2010 at 5:44 PM, Khan wrote:
> Currently my team of dev
don't have time to reproduce it properly (sorry about that Bruce / GWT
team) today.
I create a class field of a two dimensional array of a simple type
(in English)
int [][]var
when I initialise it statically
int [][] matrix = new int[NUM_X][NUM_Y]
it seems to work fine, but
when I leave out
Try this:
public class MyGrid extends Grid {
public MyGrid() {
sinkEvents(MOUSEEVENTS);
}// end constructor
public void onBrowserEvent(Event event) {
Element td = getEventTargetCell(event);
if (td == null)
return;
int type = event.getTypeInt();
switch (type) {
c
Hi guys,
My first post here, and a strange problem.
Application runs properly on all the browsers (IE7, Chrome 4+, Firefox
3.5+) if it is deployed in Tomcat.
Now when I deploy on remote apache server, It runs fine in all the
browser, but in IE7 I get this..
--
Line: 2056
Char: 12
Error
Hi
I am implementing hybrid protocol (openid + oauth) in popup window. I
want know when the "helper" popup window is closing becouse I must do
some code before it's close.
Code like this dont work on new opened "helper" window, but on entire
application:
Window.open("http://www.google.pl";, "popup
I am new to GWT, and I took a look through the "Large scale
application development and MVP" tutorial, and I was wondering how to
deal with a UI that contains distinct parts that are composited
together. For example:
* Application contains a menu on the left, a main view in the middle
which can sh
Hi
I am using Eclipse with GWT-plugin to develop a web application. As a
test I tried to deploy my application on JBoss in the following way
1.created a New Google Web Application project with Google App Engine
unchecked
2.the application uses basic widgets ... Horizontal split panel,
label, Stac
Hi All,
I need to create a text box which can take input and once it looses
focus it converts that text to a clickable link with image too. And
still the user should be able to input more if he wants.
This functionality is similar to Outlook "To" textbox where when you
type a distibution list it c
Hi,
It seems that JSONParser doesn't like some unicode characters if they
are not escaped with \u:
public class Test implements EntryPoint {
public void onModuleLoad() {
for (char c = 0x2000; c < 0x2050; c++) {
String str = "{\"string\":\"" + c + "\"}";
try {
JSONVal
We are having same issue too.
On Apr 20, 6:21 am, Ferdie wrote:
> We are having the same problem.
>
> On Apr 9, 5:44 pm, Khan wrote:
>
> > Currently my team of developers are experiencing an issue with
> > Internet Explorere 7 and 8 with our GWT application.
> > This works fine with FireFox, Chr
Hi,
Does GWT 2.0 requires JSDK 1.5 or higher version?
There is a limitation, we have to use only jdk1.4.
Other thought is, use 1.5 in deveopment environment(till compiling to
JS) then 1.4 during runtime. Is it possible? I wish to utilize the
features in GWT 2.0(latest version).
Planning to use G
I am trying to launch
http://127.0.0.1:/GWTOSM.html?gwt.codesvr=127.0.0.1:9997
For which I was aksed to download the GWT developer plugin which I did
many times but I am still being asked to do the same .
My firefox details are as follows
Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-
Hello,
I would like to show you my project MultiWatch GWT :
http://multi-watch.appspot.com/
It use GWT / GAE technology.
Please give me your opinion about this project. It isn't final yet,
because I'm waiting feedback from user.
Thanks.
--
You received this message because you are subscribed
I had a trawl through the forum and haven't found a solution to this
yet (so not sure if its a bug that has recurred or something I am
doing wrong).
My service class is as follows:
public interface ImpliedVolatilityCalcService extends RemoteService {
// public List calculate(VolCalcP
Thanks Sri,
I am doing the same as you suggested i.e. getting the required data in
response body.
Fahim
On Jun 4, 2:39 pm, Sripathi Krishnan
wrote:
> > Is there any way I could get the http response header information here?
>
> No. Browsers don't allow access to response headers unless you are
On 6 juin, 20:04, veeravelli kiran kumar
wrote:
> Hi Stefan,
> Thanks for the reply. Yes I was taking about i18n . What approach
> should I follow to use labels (labels for various components in the
> UI ) from external file (like the bundles used in JSF) where i can
> change key value pairs to
On 6 juin, 22:14, Blessed Geek wrote:
> Maven is great when used as a "more capable Ant", but sucks when used
> for everything else that it has been so far been used for (like
> attempting to create the Universe in 7 days).
>
> Maven as a build dependency and testing setup tool is not bad but th
Hi Stefan,
Thanks for your reply.
Should I call the printer on client side to print some string I defined?
Regards,
Garin
On Sun, Jun 6, 2010 at 11:17 PM, Stefan Bachert wrote:
> Hi,
>
> Yes, you are able to print the current browser window.
>
>
> http://google-web-toolkit.googlecode.com/svn/
You won't have to know what row the clicked button is in if when you
add each button to the table you add a click handler, and in the
onclick method do something like this (assuming you are in a for loop
with the counter of i when you populate the table):
handleEditButtonClick(data.get(i));
Th
It was a bug in Speed Tracer:
http://code.google.com/p/speedtracer/issues/detail?id=20.
Now fixed :)
On Jun 3, 3:24 pm, Dogan Narinc wrote:
> Thanks Brendan,
>
> I've posted a question on the Speed Tracer forum
> here:https://groups.google.com/group/speedtracer/browse_thread/thread/ea74...
>
>
In addition to whatever Chris already mentioned, you should also catch
IncompatibleServiceException when you make RPC calls, and ask the user to
reload/refresh the page.
--Sri
On 7 June 2010 14:44, Chris Lercher wrote:
> Maybe it should be said, that "don't cache" doesn't mean, that the
> clie
Hello,
is there really no advice for me? Or is something wrong with my
question?
Sorry, but this is the only group for GWT I know and I really would
like to get started with it. But if the result looks awful, it doesn't
make fun.
I started thinking about a workaround with fixed pixel sizes, but
Maybe it should be said, that "don't cache" doesn't mean, that the
client will have to re-download the file every time. It just means,
that it will verify, if the file has changed. Your server should be
capable of setting the ETag and Last-Modified time automatically. See
http://www.web-caching.com
Also, don't cache other files (like your entry html page, or anything
whose content might change without changing its name).
On Jun 7, 11:03 am, Chris Lercher wrote:
> You can cache all files that end with ".cache.*" forever, because they
> automatically get a new name when the content changes.
You can cache all files that end with ".cache.*" forever, because they
automatically get a new name when the content changes.
You shouldn't cache the files that end with ".nocache.*" at all
(Caching them would result in a serious problem!)
See
http://code.google.com/webtoolkit/doc/latest/FAQ_Deb
I mainly using GWT 2.0 with UiBinder. Here is how I center a widget
inside a LayoutPanel.
Hope it helps you.
On Jun 6, 4:33 pm, Magnus wrote:
> The link:http://h1403230.stratoserver.net/apache2-default/tmp/gwt-layout.png
--
You received this message becaus
Hi,
We will be releasing our gwt based app in prod soon. And we have to find way
to deal with browser caching when new release is done and deployed in prod.
Imagine, you deploy prod ver 1.0 and next week you have to deploy ver 1.1,
but the user's browser cached js for ver 1.0, so the user will use
@Stefan: That's what I thought too, and the javadoc and the dev pages
make you believe that (Use LayoutPanels, they are new, shiny, better).
But the layout panels are drastically different from the normal
panels. If you want to have a "traditional" website behavior where the
browser displays scroll
hello google,
believe it or not but this seems to be a problem as huherto wrote on
the mailing list in earlier this year. unfortunately, he did not
receive an answer either:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/4bdf2a7dc15c9bf/e86d524b03e69cef?lnk=gst&q=JDOFatalU
thanks. one followup, I have the edit/delete buttons in their own
table cell in each row. How do I tell which row they were in? I'm
trying button.getElement().getParent() but not sure where to go from
there. thx
On Jun 6, 2:38 pm, Dan wrote:
> Rather than put the ID in the flextable or grid, I ha
73 matches
Mail list logo