Hi,
I developed an application with several services. After updating from
GWT 1.5.2 to 1.5.3 the RPC calls to the server doesn't work anymore. I
got an error message on server side:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at
The method with JSNI seems to be recommanded.
I was wondering if this one is also acceptable:
1) Take the html file of the module
2) Insert a DIV element with the wanted value to pass to gwt: DIV
id=div_id value=div_value/
3) Get the value of the DIV element in the onModuleLoad:
Thanks for the feedback Shawn and Reinier. I'm not relying on Cookies
at all, the Session ID will be created by the server, it will be a
large pseudo random number. The session IDs will of course expire.
Interesting point about problems that could be created by restricting
access to a single IP,
I'm not sure I understand your situation right, but:
if your panel knows at run time that it's size has changed (e.g.
from a method that adds the new widget to it) then it could fire a
change event via DeferrerdCommand. The glass panel could be registered
as a listener with it and obtain new
I am experience a problem when I set the border to different colors
based on whatever the class argument is in the body tag of a given
page.
my css is
body.class1 #main-nav {border-bottom:6px; solid #db6d16;}
body.class2 #main-nav {border-bottom:6px; solid #db6d16;}
Problem: The page loads
Hello,
I need to upload a file to my server. Looking to GWT API the only way
to do that seems to use
FileUpload class associated with a FormPanel.
My problem is that I already know the name of the file to upload and
don't want to ask to my user
to select it on the file system.
My 1th idea was
A web browser won't allow you to do this, since it would basically allow anyone
to pull copies of
important files off your hard disk without your permission, this a FileUpload
(like input
type=file) is a readonly structure from a JavaScript point of view.
You can however use flash, or a
Thanks for the reply. First, this problem did not happen in GWT 1.53. It
only happens on OOPHM branch. I believe the WAR includes jar correctly.
Attached is my web.xml. The lib folder I means is the subfolder of installed
Tomcat directory.
On Thu, Dec 4, 2008 at 5:45 AM, [EMAIL PROTECTED]
ERRATUM:
On 4 déc, 10:58, Thomas Broyer [EMAIL PROTECTED] wrote:
Walden, you need a refresh on URIs and HTTP
As Walden pointed out to me in private, I should have directed this
answer towards Jason; as it's quite clear that Walden is aware of all
I said ;-)
thanks for your help, thats better, but still no luck.
This time it gives me a ;
com_darkflame_client_MessageHistory_$popupWindowWithString__Lcom_darkflame_client_MessageHistory_2Ljava_lang_String_2_popup_0.document.getElementById($intern_324)
is null
error when run ver gwt.
(my gwt line is
Hi,
Does this fail in a browser agnostic way?
On Dec 3, 5:57 am, David Hoffer [EMAIL PROTECTED] wrote:
Why do you think final may be a problem? I don't change the image
instance only set the URL on the already existing image.
Does GWT not like final?
-Dave
On Tue, Dec 2, 2008 at 11:23
Good morning everyone, I hope you are all well.
My name is Jorge and I am a real estate agent.
I need help creating an application to read information from another
website as follows, and I am wondering if someone can help me out.
I use a website called Postlets to manage my listings for sale
I'm coming from a Java background and new to GWT and I don't know
CSS. Is there some sample/basic CSS available I can use until I am
able to get up-to-speed on CSS?
I am using inherits
name='com.google.gwt.user.theme.standard.Standard'/ in my xml file
but that only seems to provide very basic
So far, I am running this in hosted mode only. We are new to GWT and
are trying to learn how to get something working and are having some
trouble such as this issue.
Setting the image via URL seems to be problematic. In summary this is
what I observe:
1. If I get a static image from
I would think Dreamweaver is more or less redundant in a GWT project,
save perhaps for doing mock ups of widget layouts for demo,
discussion. The traditional distinction between page designers and
Java server programmers no longer exists really with GWT. You write
GWT client code in Java, but you
Thank you both, this is a great head start.
On Dec 4, 7:31 am, Netsurfer [EMAIL PROTECTED] wrote:
I think that my latest post could be useful for your problem:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
Shared model objects stored as GWT-modules could be used
Hi Dave,
We also have the LazyPanel widget which is being promoted from the GWT
Incubator to GWT core. The LazyPanel lets you add widgets that you want to
lazily load to the panel and call setVisible(true) when you want them to
load up and display.
You can check out the LazyPanel on the GWT
Can anyone help me to resolve my issue?
How to use the DataModel classes (User defined data model like
‘Customer’) across different projects. The Customer.class is shared
by a GWT application and RMI server application. The Customer.class is
in a JAR file which will be used by more than one
hi im a very new to the gwt .. i have install the eclips in my windows
system and config gwt alone with gwt ext. im getting a warnning like
Classpath entry GWT_HOME/gwt-user.jar will not be exported or
published
in the first try befor doing any thing.. i hav strictly followed the
guidelines.
im
Hi,
Some time ago, i created some portlets for JBOSS Portal using gwt.
Now i need to create similar portlets for jira/confluence. I create a
plugin, but it does not understand the gwt code - i think bec it does not
make deploy of the application.
i haven't seen many references about that.
Does
Hi,
I am using GWT-ext to create grid. I need to create an table with
multiple columns. One of the column should have checkbox as header.
For ex: Defined 'FieldDefs' and 'ColumnDefs' as below
FieldDef[] fieldDefs = new FieldDef[]{
new StringFieldDef(company),
new
Hi,
I was trying to run remote paginng grid from gwtext showcase2. my
xml is:
module
inherits name='com.gwtext.GwtExt'/
inherits name='com.gwtext.Pagebus'/
inherits name='com.google.gwt.user.User'/
inherits name=com.risklabs.gwtutils.Gwtutils/
script
What needs to be done to use the classes which are not defined in
com.xxx.client package of GWT project?
Every class used on the client side has to be included in a module
that has to either be or be included by your main module. Now, it
doesn't strictly have to be in a client package since
Hi LoneWolf,
The reason why you're getting these warning messages is because the
@gwt.typeArgs doesn't apply to the method public UsersList loadUsers(int
start) since the UsersList type itself is a serializable type.
Simply remove the @gwt.typeArgs annotation and you should no longer get any
You can pass a reference to the calling class to Alert class and call a
method in the calling class.. here's an example:
public class CallingClass {
public CallingClass() {
panel.Add(new AlertClass(this));
}
public void yesButtonAction() {
// Do yes button action here
}
}
public
After searching around, I think this is a CSS thing. Sorry!!
On Dec 4, 2:02 pm, Tobi [EMAIL PROTECTED] wrote:
Is there a way I can add whitespace to the front of a listbox item?
I've tried various methods, nothing seems to work. I'm not sure if
this is browser specific behavior.
Hi,
I have User registration form in GWT. Now in the controller how do i
get the values which i have entered in the form.
Is there any mechanism like Action Forms of struts in GWT ?
meaning, i want to know that how to get the Action Forms concept (in
Struts) using GWT.
All,
I wanted to use BeanMapping class to do my conversion between the
local model and the remote DTO model and I have three questions:
1) Is that open source?
2)Where can I download it?
3) What other option do we have other than using this class? I don't
want to write code for creating
On 4 déc, 20:08, JohnofLong [EMAIL PROTECTED] wrote:
I am having issues with my GWT application being able to upload
images. My html form and PHP file work fine but when I try and upload
an image with my GWT app and my PHP file it does not work and I get a
null response.
[...]
JUnit assertions (using GWTTestCase) keeps failing when calling
RootPanel.get(id).
Calling RootPanel.get(id) returns null, when it should not. The host
page has a div block defined with an id set.
Following is the sample code which produced these results.
Host Page:
html
head
meta
JUnit assertions (using GWTTestCase) keeps failing when calling
RootPanel.get(id).
Calling RootPanel.get(id) returns null, when it should not. The host
page has a div block defined with an id set.
Following is the sample code which produced these results. The tests
were ran in web mode.
Thank you for you guys,From every begining,I think this can be done by
Dom or JSNI,but right now I think alex.d's solution is good.
On Dec 2, 11:15 pm, rakesh wagh [EMAIL PROTECTED] wrote:
Are you quizzing us or asking for help? I would go with alex.d 's
solution.
Other method(which I
We are itching to use 1.6, especially the new async loading features
and oophm.
Is anyone using it in production? Are there any good tags to check out
that are relatively stable?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi all,
I'm trying to figure out how you can sort locally using the
PagingScroll table. Not sure what the syntax is so any help is
appreciated. Thanks
Suri
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web
I run into the same issues. In my case, it is a mini ui builder. So
the user has the choice to keep the widgets close etc. Are there some
standard rules to follow as part of the design ? I also noticed that a
resetting of the height/width sets it back correctly in firefox also.
ie, I have a grid
On Dec 4, 8:13 pm, Suri [EMAIL PROTECTED] wrote:
Hi all,
I'm trying to figure out how you can sort locally using the
PagingScroll table. Not sure what the syntax is so any help is
appreciated. Thanks
Suri
I've just started using the PagingScrollTable myself, but I think I
can point you in
Hi,
I am using Gwt-ext to build my table. But I need to implement the
table in such a way that the row can be expandable when I click on +
symbol.
Please provide me example to this
Thanks in advance.
Cris
--~--~-~--~~~---~--~~
You received this message because
I have a similar problem ,I am trying to add twitter js to my GWT site
using HTMLPanel widget ,I am trying to add the divs and javascript to
the HTMLPanel.
It works on Firefox but not on IE or chrome.I think IE and chrome does
not take the script tag or it does not call the javascript (may be for
Here are few things to consider:
- Check the Instantiation Designer tool. Personally never used it
beyond evaluation... but you and your team might have some luck with
it.
- Let the HTML team design the layout. Let the GWT team design the
application and place the components as per the layout.
Hi gregor,
Thanks soo much for your response But it will require code change to all
the popups that use a glass panel. And also in future some developer may
forget to fire a Deffered command when the size changes So i dont think
its such a good method
I am working with pure GWT.
Suppose your Left-side panel is in class LeftContainer and center panel is
CenterContainer.
*class* LeftContainer *extends* AbsolutePanel {
Hyperlink link = *new* Hyperlink(a,a);
DockPanel parent = *null*;
LeftContainer(DockPanel parent) {
*this*.parent =
I also reported a feature request a long time ago that might be addressed
with the proposed change.
http://code.google.com/p/google-web-toolkit/issues/detail?id=1275
On Thu, Dec 4, 2008 at 7:21 AM, Mat Gessel [EMAIL PROTECTED] wrote:
Excellent write up John.
+1 for the more accessible
It is definitely something that we would consider. Of course, the first step
would be to get some good alternative month selectors into the
gwt-incubator...
On Wed, Dec 3, 2008 at 9:28 PM, Arthur Kalmenson [EMAIL PROTECTED]wrote:
Hi John,
Thank you for the reply. Are there any plans in the
setTransientEnabledOnVisibleDates seems a bit awkward. What if we removed
the VisibleDates from the name instead? So we'd have:
setTransientEnabled
addTransientStyleToDates
etc.
Why do we want people to be able to remove date styles that do not exist
without getting an assertion
Based on the all positive responses and use cases, adding a
PreviewEventHandler sounds like a great addition. Since the new
PreviewEventHandler would not be stack based, you'll be able to have
multiple PreviewEventHandlers at the same time. I'll start working on a
patch immediately.
Thanks,
Also, you might want to turn your javadoc warnings on in your IDE, as I
notice that there are a lot of missing javadoc tags.
On Thu, Dec 4, 2008 at 10:01 AM, Emily Crutcher [EMAIL PROTECTED] wrote:
setTransientEnabledOnVisibleDates seems a bit awkward. What if we
removed the VisibleDates
I wrote a MonthSelector a while back that uses DropDownListBoxes for
month and year. I can fix it up to be compatible with recent changes
and add it to the incubator. I'll see if I can fit that in tonight.
On Thu, Dec 4, 2008 at 9:39 AM, Emily Crutcher [EMAIL PROTECTED] wrote:
It is definitely
That sounds great, thanks.
On Thu, Dec 4, 2008 at 10:31 AM, Isaac Truett [EMAIL PROTECTED] wrote:
I wrote a MonthSelector a while back that uses DropDownListBoxes for
month and year. I can fix it up to be compatible with recent changes
and add it to the incubator. I'll see if I can fit that
The attached patch against the 1.6 branch adds
EmittedArtifact.getLastModified() which is used to set the mtime on
files written to disk by the compiler. This resolves issue 2280.
The default implementation in the EmittedArtifact base class is
concrete to avoid breaking changes and always
That would be awesome. We've been meaning to implement it ourselves
for some time but haven't had the chance. I'll be very interested in
using it. Thanks!
--
Arthur Kalmenson
On Thu, Dec 4, 2008 at 10:31 AM, Isaac Truett [EMAIL PROTECTED] wrote:
I wrote a MonthSelector a while back that
[google-web-toolkit] [EMAIL PROTECTED] commented on revision r4248.
Details are at
http://code.google.com/p/google-web-toolkit/source/detail?r=4248
Score: Negative
General Comment:
I like the display improvements, but the tests need work. See below.
Line-by-line comments:
File:
I can take this review.
On Thu, Dec 4, 2008 at 10:56 AM, BobV [EMAIL PROTECTED] wrote:
The attached patch against the 1.6 branch adds
EmittedArtifact.getLastModified() which is used to set the mtime on
files written to disk by the compiler. This resolves issue 2280.
The default
There is already a static Event.addEventPreview() that delegates through to
DOM.addEventPreview() (the idea being that the static DOM methods could be
removed eventually). The static event triggering methods are also going on
Event and following this pattern.
+1, btw, to this whole idea. The
Could you create a in issue for this problem here:
http://code.google.com/p/google-web-toolkit-incubator/issues/entry
Thanks!
Emily
On Wed, Dec 3, 2008 at 8:56 AM, Revv [EMAIL PROTECTED] wrote:
PROBLEM DESCRIPTION: In IE, even simple shape(meaning very short path
string) drawn with
Looks great, I went ahead and committed at r4250. I actually tweaked
StandardGeneratedResource such that the constructor takes a File instead of
a URL, which simplifies the calling code and allows a simple
file.lastModified() implementation. Please make sure my tweak is sane.
On Thu, Dec 4,
Make that r4250 + r4251; I forgot to commit the calling code in
StandardGeneratorContext.
On Thu, Dec 4, 2008 at 1:46 PM, Scott Blum [EMAIL PROTECTED] wrote:
Looks great, I went ahead and committed at r4250. I actually tweaked
StandardGeneratedResource such that the constructor takes a File
Author: [EMAIL PROTECTED]
Date: Thu Dec 4 10:46:41 2008
New Revision: 4251
Modified:
releases/1.6/dev/core/src/com/google/gwt/dev/shell/StandardGeneratorContext.java
Log:
Should have been part of r4250.
Modified:
On Thu, Dec 4, 2008 at 1:46 PM, Scott Blum [EMAIL PROTECTED] wrote:
Make that r4250 + r4251; I forgot to commit the calling code in
StandardGeneratorContext.
LGTM
--
Bob Vawter
Google Web Toolkit Team
--~--~-~--~~~---~--~~
Author: [EMAIL PROTECTED]
Date: Thu Dec 4 10:56:16 2008
New Revision: 4252
Modified:
releases/1.6/user/super/com/google/gwt/emul/java/lang/Deprecated.java
Log:
Fixed wrong URL.
Issue: #1552
Modified:
releases/1.6/user/super/com/google/gwt/emul/java/lang/Deprecated.java
Does anyone volunteer to support the ProgressBar widget in gwt-incubator?
Thanks!
Emily
--
There are only 10 types of people in the world: Those who understand
binary, and those who don't
--~--~-~--~~~---~--~~
[google-web-toolkit] ray.ryan commented on revision r4249.
Details are at
http://code.google.com/p/google-web-toolkit/source/detail?r=4249
Score: Positive
General Comment:
Looks good. Can you write a junit test that implements and exercises one of
the HasFooHandler interfaces to confirm
[google-web-toolkit] [EMAIL PROTECTED] commented on revision r4249.
Details are at
http://code.google.com/p/google-web-toolkit/source/detail?r=4249
General Comment:
Sorry, I don't quite understand, what is the use case to extend a
Has*Handlers interface?
Respond to these comments at
[google-web-toolkit] [EMAIL PROTECTED] commented on revision r4249.
Details are at
http://code.google.com/p/google-web-toolkit/source/detail?r=4249
General Comment:
(Oops, back to my Google self.)
Imagine you have a controller that owns a few HasValuelt;Stringgt;
instances. It should be
[google-web-toolkit] [EMAIL PROTECTED] commented on revision r4249.
Details are at
http://code.google.com/p/google-web-toolkit/source/detail?r=4249
General Comment:
Yep, can add a specific check for HasValue to our LogicalEventsTest which
currently does the checking to ensure all our logical
Sorry this took so long. Hard to let go of the get rid of those asserts
urge, but no time to do it right.
rjrjr
http://code.google.com/p/google-web-toolkit/source/detail?r=4253
Get VisibleDate verbiage out of method names.
TBR: ecc
submitter: rjrjr
Author: [EMAIL PROTECTED]
Date: Thu Dec 4 10:44:43 2008
New Revision: 4250
Modified:
releases/1.6/dev/core/src/com/google/gwt/core/ext/linker/EmittedArtifact.java
releases/1.6/dev/core/src/com/google/gwt/core/ext/linker/SyntheticArtifact.java
Would it make sense to group fragment files under a subdir whose name is the
strong name of the startup script?
A40BE3F0/
A40BE3F0-001.cache.js
A40BE3F0-002.cache.js
A40BE3F0-003.cache.js
On Thu, Dec 4, 2008 at 4:26 PM, John Tamplin [EMAIL PROTECTED] wrote:
On Thu, Dec 4, 2008 at
Feel free to see the attached patch in progress. I need to add unit tests
and do some testing, but this is a good chance for people to offer their
opinions.
Thanks,
John LaBanca
[EMAIL PROTECTED]
On Thu, Dec 4, 2008 at 1:10 PM, Joel Webber [EMAIL PROTECTED] wrote:
There is already a static
On Thu, Dec 4, 2008 at 5:02 PM, Bruce Johnson [EMAIL PROTECTED] wrote:
Would it make sense to group fragment files under a subdir whose name is the
strong name of the startup script?
A40BE3F0/
A40BE3F0-001.cache.js
A40BE3F0-002.cache.js
A40BE3F0-003.cache.js
Okay, that's two
Author: [EMAIL PROTECTED]
Date: Thu Dec 4 14:14:39 2008
New Revision: 4254
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/Accessibility.java
releases/1.6/user/src/com/google/gwt/user/client/ui/CustomButton.java
Log:
For issue 3048, make toggle buttons (and other custom
[google-web-toolkit] [EMAIL PROTECTED] commented on revision r4255.
Details are at
http://code.google.com/p/google-web-toolkit/source/detail?r=4255
General Comment:
Nice additions to the test. One nit on CalendarUtil
Line-by-line comments:
File:
On Thu, Dec 4, 2008 at 5:02 PM, Bruce Johnson [EMAIL PROTECTED] wrote:
Would it make sense to group fragment files under a subdir whose name is
the strong name of the startup script?
A40BE3F0/
A40BE3F0-001.cache.js
A40BE3F0-002.cache.js
A40BE3F0-003.cache.js
These strings
On Thu, Dec 4, 2008 at 3:03 PM, John Tamplin [EMAIL PROTECTED] wrote:
On Thu, Dec 4, 2008 at 5:02 PM, Bruce Johnson [EMAIL PROTECTED] wrote:
Would it make sense to group fragment files under a subdir whose name is
the strong name of the startup script?
A40BE3F0/
A40BE3F0-001.cache.js
What about:
A40BE3F0/
001.cache.js
002.cache.js
003.cache.js
On Thu, Dec 4, 2008 at 6:03 PM, John Tamplin [EMAIL PROTECTED] wrote:
On Thu, Dec 4, 2008 at 5:02 PM, Bruce Johnson [EMAIL PROTECTED] wrote:
Would it make sense to group fragment files under a subdir whose name is
the
On Thu, Dec 4, 2008 at 6:14 PM, Bruce Johnson [EMAIL PROTECTED] wrote:
What about:
A40BE3F0/
001.cache.js
002.cache.js
003.cache.js
That's what I was thinking you really meant. -Lex
--~--~-~--~~~---~--~~
Last one looks good to me, although the directory names personally
don't bother me too much as I view them as hidden non-user visible
URLs. If shortness is actually a major requirement, might I suggest
moving to modified base64 encoded strongnames, as that would collapse
the length of the
OK, done! Check it here:
http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=204
On Dec 5, 2:27 am, Emily Crutcher [EMAIL PROTECTED] wrote:
Could you create a in issue for this problem here:
http://code.google.com/p/google-web-toolkit-incubator/issues/entry
Thanks!
Yep, sounds right, thanks!
On Thu, Dec 4, 2008 at 6:53 PM, Isaac Truett [EMAIL PROTECTED] wrote:
On second thought, gwt-incubator is supposed to compile against trunk,
isn't it? Well, since this is written to compile against the
1_6_datepicker branch, I'll hold off committing until that
Also, the code should be reviewed before committing. I'll be happy to be
your reviewer once we land the 1.6 datepicker + release the 1.5 final
gwt-incubator drop. As until then, we cannot add 1.6 specific code to
gwt-incubator.
On Fri, Dec 5, 2008 at 1:05 AM, Emily Crutcher [EMAIL PROTECTED]
Emily,
My requirements are much simpeler, I just need a way to get notified of all
events that happens in GWT.
When I notice no more mouse or keyboard events, I have to popup a modal
dialog that blocks the UI.
Since GWT already effectively has one method that gets called to dispatch
the actual
80 matches
Mail list logo