Hai All,
I had problem with dialog box in IE.My issue is ,I opened two IE
browsers, when i clicked on outside dialogbox it is losing focus on
current browser in IE and it is automatically highlighting other
opened browser.I am showing dialogbox after applying GlassPanel.
Same code is workinf f
I read the thread
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/22aecc7de7b8a92
on tree performance.
We are having a similar issue with the tree, where most of the cases
it would have 1-10 items. However rarely it would have 500-1000 items,
which slows down IE badly.
Ou
Hi guys, I am rather new to programming. Will appreciate it if you
guys can help explain what's wrong here in detail.
I am using GWT with NetBeans IDE 6.5. Started with the StockWatcher
tutorial and below's a history of what I did.
1. In the Windows command-line, I created the directories, files
If millisecond precision is adequate for your application, you can use
java.util.Date. Your code with java.util.Date might look something
like this:
//Format the timestamp
DateTimeFormat timestampParser = DateTimeFormat.getFormat
("-MM-dd HH:mm:ss.SSS");
Date newOrder
It's pretty easy to add in the functionality anyway, if you really
want it:
import java.util.AbstractList;
import com.google.gwt.dom.client.Node;
import com.google.gwt.dom.client.NodeList;
/**
* An immutable list view of NodeList
* @author thobel
*
*/
public class NodeListWrapper extends Abs
Once the application is compiled, everything you need to run it is in
the 'com.test.MyTestApplication'
folder. You can copy all those files anywhere you like. You can rename the
index file (or here, in your case, test.html) to anything you like and it
will still all work.
If you want to rename the
I have tested with the new GWT release and it does work.
Thank you for your help Bruno.
On Mar 10, 8:49 am, noon wrote:
> Hi all,
>
> After some investiation, I confirm that the issue was onGWTside (and
> especially in CompilingClassLoader.findClass method).
> I write "was" because the issue is
thanks
do you mean renaming the folder generated under www, that is www/
com.test.MyTestApplication, into something meaningful (example,
"screen")
shouldn't in that case the reference on test.html page
be also updated to
?
that is laborious after the code is generated. Or am I getting it
wron
Except in hosted mode (where you probably don't care) just rename
com.test.MyTestApplication to anything you want, or copy its content to
wherever you want
Ian
http://examples.roughian.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Hi Sumit,
Thanks for your interest. I eventually gave up and started from scratch
again, and whatever I did before, it appears I didn't do it again :-)
Cheers,
Ian
http://examples.roughian.com
2009/3/10 Sumit Chandel
> Hi Ian,
> Not sure if this is still an issue for you, but if it is, have
My use case is this: I have a parent frame with navigation menus
implemented in GWT and a content iframe that can contain pages from
different sub-domains. The pages in the content frame call a non-GWT
Javascript function in the parent frame called registerPage(). The
registerPage() function the
Hi,
I seem to be having an issue with timestamps when my project is
compiled (It works fine in Hosted mode). I know why, im just wondering
if anyone could tell me a quick way around my problem. So heres my
code on the client:
//Format the timestamp
Hi,
I'm getting problem when trying to use opensocial
I created gadget with GWT using and it works, but as far as I
add implements NeedsOpenSocial and public void initializeFeature
(OpenSocialFeature feature){ } empty method the compilation fails..
here is output:
His,
I may be asking a trivial question, but is there a proper way to
change the url address of the gwt page from something like
http://localhost:/com.test.MyTestApplication/test.html
to
http://localhost:/SOMETHING_MEANINGFUL/AND_MAYBE_SOMETHING_MEANINGFUL2/test.html
ie, are urls custom
I guess I don't understand what you're trying to accomplish.So the
div is already attached to the DOM of the host page, but at some point
you're trying to pull that div into the GWT 'area' of the page? (When
I say 'area' I mean the boundaries of whatever RootPanel element GWT
is attaching its
Using a SimplePanel does what it sounds like you're trying to
accomplish. Don't call add(~), but .setWidget(otherPanel). It
handles the 'clear' for you as a SimplePanel can only contain one
widget set in it at a time.
On Mar 10, 3:56 pm, JF wrote:
> Hi,
>
> i am wondering if the is a way to
Ok, i eventually managed to have everything works but i'm not happy.
To make this work, i had to :
- put gwt-dev.mac.jar inside my WEB-INF/lib so jetty can find the
classes in case of a JSP. That sucks because i have an extra step
(removing it) during my deployment to the prod server (which is w
Hi Ian,
Not sure if this is still an issue for you, but if it is, have you checked
out that nothing has changed in the SubProject.gwt.xml file, particularly in
a way that would break GWT compilation / project structure? If nothing has
changed there, maybe the JAR itself is missing the SubProject.gw
I tried to put the gwt-dev-mac.jar (which should not be put, but it's
just to test). Now, i get a different error :
I installed recently Safari 4 BETA (just to let you know)
[...]
[java] On Mac OS X, ensure that you have Safari 3 installed.
BUILD FAILED
/Users/thomas/Dev/Inv_WEB_v2/myV2/build.
And Just to add some details,
The HostedMode is starting. The problem only occurs with my JSP files
On Mar 10, 1:00 pm, Masto wrote:
> Migrating from gwt 1.5 to gwt 1.6, i'm facing a problem trying to
> start the hosted mode.
>
> When i access my login.jsp using the HostedMode (under war/), i
Migrating from gwt 1.5 to gwt 1.6, i'm facing a problem trying to
start the hosted mode.
When i access my login.jsp using the HostedMode (under war/), i get a
NoClassDefFoundError (org/apache/jasper/runtime/JspSourceDependent).
I'm using Mac OS X Leopard.
See below all my projects structures:
Hi,
i am wondering if the is a way to change panel at runtime with an
onlick event. Right now what i am doing is
mainPanel.clear()
mainPanel.add(otherPanel)
Cheers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"G
I forgot to mention that the Div that I should wrap is already in DOM.
I get it this way:
Element myBigDiv = DOM.getElementById("myDiv");
On Mar 10, 9:44 pm, wera wrote:
> Thanks
> I tried that, its like setting innerHTML. So it takes a lot time
>
> I saw that there is a function HTML.wrap(Elem
Thanks
I tried that, its like setting innerHTML. So it takes a lot time
I saw that there is a function HTML.wrap(Element)
But I didn't succeed to use it, I get an exception when I add the
created component to DOM
thank you
On Mar 10, 9:20 pm, "levi.bracken" wrote:
> Have you tried just settin
Doing security in a Servlet Filter is the way to go. It could be
Acegi or something homegrown, but as long as you filter on security
before you chain to the servlet, you're good to go.
On Mar 6, 8:25 pm, lineman78 wrote:
> Generally there should not be any problems with you using SSL in your
>
You'll need to keep a collection (perhaps a HashSet or ArrayList) of
all of the checkboxes (or treeNodes) and then iterate through them
each time an onchecked event fires and call .setCheck(false), except
for the one selected.
>From a user interface perspective, you may want to think about using
Have you tried just setting the text in the constructor of the HTML
widget or HTML Panel?
String customHtml = "My Custom HTML...";
HTML myDiv = new HTML(customHtml);
That should do the job unless your content is changing. It's
typically very fast. What kind of markup is in your html?
On Ma
We have a gwt widget that works great in FF, but in IE the Dialog box
has serious clipping problems. The problem is demonstrated here:
We've traced the problem to the fact that the page holding the root
div and the folder containing the GWT output are different.
The source of the page contains
Hi all,
I have an HTML div that should be moved to GWT component efficiently.
What do you recommend?
Before I was doing it by setting innerHTML in gwt HTML() component
(http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/
src/com/google/gwt/user/client/ui/HTML.java?r=3173)
But
Hi Sumal,
What errors are you receiving when trying to download a GWT distribution? As
far as I know, there shouldn't be anything stopping you from downloading a
distro on our end.
Regards,
-Sumit Chandel
On Mon, Mar 9, 2009 at 11:58 PM, suma...@gmail.com wrote:
>
> HI,
>
> I'm Sumal from Sri La
Hi Joakim,
If I understand what you're trying to do correctly, it sounds like what you
want to do is add a GWT component to an existing application built with
handwritten JavaScript. Is that right?
If so, you should be able to accomplish that by taking the following steps:
1) Create an element on
There's nothing to serialize. Try adding a field and a getter and
setter then see what happens.
-jason
On Mar 10, 2009, at 11:40 AM, Clundahl wrote:
>
> I have been trying to get this simple class to be serializable
>
> package com.ww.client;
>
> import java.io.Serializable;
>
> public class
I have been trying to get this simple class to be serializable
package com.ww.client;
import java.io.Serializable;
public class Test implements Serializable {
public Test() {
// TODO Auto-generated constructor stub
}
}
I get
"Caused by: com.google.gwt.user.c
Due to code reuse, this extra "unused" code doesn't turn out to be
that much in reality.
Additionally, if you have configured your Server to properly set the
cache-control headers for anything with a xxx.cache.xxx filename, then
a client is downloading that payload exactly ONCE for your ent
On Tue, Mar 10, 2009 at 6:01 PM, mikedshaffer wrote:
> Lothar's original suggestion
>
> "Do the UI-update in a method called updateUI where you check if all
> necessary data (e.g. above lists) are present and call this method
> in every onSuccess-method of the different AsyncCallback-classes. "
>
Thanks!
I'll try those solutions. What is the best practice?
To put everything in a single module or to have many small modules? I
guess that the compiler can optimize a lot if you put everything on a
single module, but the browser is downloading code that it doesn't
need if the page that the user
Hi Paul van Hoven,
As doopa mentioned, there are already a number of threads on the group
talking about the crawlability problem for Ajax applications. There's one
really great thread that sprang to mind that I suggest you check out. The
problem is described in great detail and Ian gives an excelle
Lothar's original suggestion
"Do the UI-update in a method called updateUI where you check if all
necessary data (e.g. above lists) are present and call this method
in every onSuccess-method of the different AsyncCallback-classes. "
is the way to go.
How much extra code is too much? You have 5
You can't. Reflection is not available.
Ian
http://examples.roughian.com
2009/3/10 Josse
>
> To make the question more clear:
>
> How can i use in GWT Class.getDeclaredMethods which is in the package
> java.lang.reflect :/.
> >
>
--~--~-~--~~~---~--~~
You recei
Actually from a user's point of view, hanging the UI is NEVER
acceptable even if it is for less than a second.
In the case of waiting for a couple of seconds, depending on the
browser and version, you cannot change tabs, cannot close the browser
or anything. This is a VERY NAUGHTY thing to
Hi maszuari,
On which widget were you listening for the onMouseDown event? I tried
running the code snippet below with a Button in GWT 1.6 milestone 2, and the
issue looks to be solved there in that comparing the button down event to
the BUTTON_LEFT constant (still with a value of 1) returns true o
Lothar,
good point but i think that's the beauty of GWT code,
they already have one parameter(timeoutMillis) in following call( i
have not tested it, if it works or not but i guess it will work.)
Request request = new Request(xmlHttpRequest, timeoutMillis,
callback);
So if call doesnt get fi
To make the question more clear:
How can i use in GWT Class.getDeclaredMethods which is in the package
java.lang.reflect :/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this
You said you didn't want to chain calls.
If you make more than 2 calls to the server, then the 3rd one onwards will
be delayed.
The quickest and most efficient way is to do the work on the server in one
call. The maintenance is no different, in fact it is easier, since you don't
have to bother wit
ping2ravi schrieb:
> Do you see any problem in having synchronous calls.? except that it
> may hang the UI for a second and that is acceptable.
If the server is not available or the request get lost for some
other reason, the UI of the browser hangs for a couple of minutes
and not seconds.
Reg
Ian,
That is not an option for me, creating such API is not a good idea
from application maintenance as well as architect point of view.
Lothar,
Your suggestion sounds good and i can use it where i need to update
the UI, but what about if condition
if(IsUserloggedIn())
{
callApi1()
callApi2()
}
e
Synchronous RPC is a tremendously bad idea. Read this for more insight:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/faca1575f306ba0f/3be719c021aa19bd
The way I have addressed some of the problems you mention is with an
event-based model. For example, to display the r
ping2ravi schrieb:
> 1) Check if user is logged in
> 2) Get Some data List list1 e.g. getUserAddresses
> 3) Get some data List list2 e.g. getUserFriends
> 4) Get Some data List List3 e.g. getUserCommunities
> 5) now create the UI based on above data retrieved. Now as all GWT RPC
> calls are
Do it on the server.
Make one request, check the user is logged in, get list1, get list2, get
list3, return. In the callback, process what you get.
Ian
http://examples.roughian.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
Hi ytbrya,
You would probably get more responses if you post up in the appropriate
forum. Since this question is about using OFCGWT, I would suggest posting up
in the OFCGWT forum first to see if anyone can help you there.
OFCGWT forum:
http://groups.google.com/group/ofcgwt
Hope that helps,
-Sumi
HI All GWT Experts,
Its long time i have been looking for some Synchronous way of making
RPC calls in GWT. Whenever its just one call to server, writing code
is not pain.
But lets say, to initiate one component i need to make following
calls.
1) Check if user is logged in
2) Get Some data List li
Hi,
today I wrote a simple 1-class-service-exporter which works much like
SL. Because the GWT code of RemoteServiceServlet has a lot
dependencies to ServletContext and not well-separated code, I had to
copy a lot of code :-(
Here's the (well working) result:
import java.io.ByteArrayOutputStream;
Hi,
this problem is highly annoying. I'm dynamically setting panels
contents with this code:
if (w instanceof HasWidgets && ui
instanceof HasWidgets){
// clear the elements
HasWidgets tar
I have a Tree(com.gwtext.client.widgets.tree) with some checkable tree
node (where setChecked(true); )
I would like to uncheck other checkboxes when one if it is onchecked,
so that only one checked box at one time.
My question is how can I uncheck a checkbox in public void
onCheckChange(TreeNode
Perfect. Thanks for that more than awesome pointer.
It work great in IE and Firefox. Yet to figure out whether it will
work in Webkit based browsers (Chrome and Safari, Opera).
Thanks a million
--~--~-~--~~~---~--~~
You received this message because you are subscr
This would work, but I think it would fragment the hdd too much. If it
is possible I would rather not do it this way.
On 10 Mrz., 16:04, Sean wrote:
> Can't you create the .jpgs on the server, but have a cleanup script
> that runs on a chronjob that cleans them out after a certain amount of
> ti
On 10 mar, 15:08, renatu wrote:
> My problem is that this is getting umanagable. I have 6 compile
> scripts, 6 entry-points and etc.
> I know that I can create one big module and put all this components
> inside of it, but I couldn't figure out how to start a specific module
> with a specific ho
Can't you create the .jpgs on the server, but have a cleanup script
that runs on a chronjob that cleans them out after a certain amount of
time?
On Mar 10, 10:48 am, mufflon wrote:
> ^^push
>
> Somebody got an idea? I really need to know how this works (if it
> works at all).
> I can´t save the
^^push
Somebody got an idea? I really need to know how this works (if it
works at all).
I can´t save the generated file on the server either because there
will be a huge number of them...
Best regards
Felix
--~--~-~--~~~---~--~~
You received this message because y
Nic,
I had the same problem with the IndexOutOfBoundsException.
I fixed the demo code to get it working with the gen2 package:
public void onModuleLoad() {
int numStudents = 100;
...
FixedWidthGrid dataTable = createDataTable(numStudents, 10);
./.
/**
* Create the data ta
Hi,
I'm just starting on GWT. I am building a website that is using GWT
(actually Ext-GWT).
We are using it just as a replacement for component that we want to
have richer functionnality, so we have a lot of jsf pages that doesn't
use GWT, but when we need a cool grid, a nice form or some AJAX
en
Hi! Does anybody have experience about WMS maps visualization using
GWT?
Thanks in advance
--~--~-~--~~~---~--~~
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-T
Is there a way to use the Formatters with GWT wrappers? Didn't find
any hint / example
--~--~-~--~~~---~--~~
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-Toolk
We are using GWT and OpenLayers in several projects making use of the
JSNI.
Until now we could use simple Openlayers js function such as Zoom. It
was clear to me that to use a zoom using JSNI I have to do :
private static native void _zoomTo(JavaScriptObject map, int
zoomLevel) /*-{
map.
Hi,
I am receving a very strange error. Basically, when I compile my GWT
application it seems to have stopped picking up on anything I change!
The changes do however work perfectly well in Hosted mode. I have
tried everything I can think of from clearing the cache to trying to
open the project in
Hi,
I use a custom GWTx generator for reflection that will create property
descriptors for all class clasees that implement
HasPropertyChangeSupport like the:
http://code.google.com/p/gwt-mosaic/source/browse/trunk/src/org/gwt/mosaic/showcase/client/content/other/Customer.java
in the demo. The
AgreedI'd love to see how you are doing this in GWT. Maybe
include some of your source code and we could be of more assistance,
either with advice or a direction to look (likely the POI forum!)
On Mar 10, 7:06 am, Lothar Kimmeringer wrote:
> Kedar schrieb:
>
> > I have genrated Excel
The validation is not done, I forgot to hide it in the showcase.
On Mar 10, 2:54 pm, Miroslav Genov wrote:
> Hello,
> First of all I wanna great you for the good work that you are doing.
> Great Job !.
>
> But I have a small problem with the validation, are you sure that
> validation is worki
Hello,
In a menu i have made, i m loading an image through Image class.
However, in order to change the path of the image i have to recompile
my program. So i thought to use css and make an image field there. The
question is , is it possible to load my image through image class but
check also if c
Kedar schrieb:
> I have genrated Excel Sheet from my application, but the problem
> i encountered is that I am able to generate Excel for nearly 50 record
> containing 8 fields each, but if the count increses call to generate
> Excel fails.
> I thought this might be an buffer problem,
Hello,
First of all I wanna great you for the good work that you are doing.
Great Job !.
But I have a small problem with the validation, are you sure that
validation is working correctly ?
I've tried it on IE and also on Chrome and it's not working correctly.
I think that the problem is
Hello I would like to use reflexion on my gwt Application. I know with
GWT u can't use dynamic binding but deffering binding. So inteads of :
Class c = Class.forName("java.lang.String"); I use :
Class c = GWT.create(String.class);
But can I do the same things than below in GWT?
Method m[] = c.ge
Hi,
I think a framework like this is much needed within the GWT community.
I wish you the best of luck!
Btw, how did you implement data binding? Through generators or
javascript? :D
Miguel Ping
On Mar 10, 8:09 am, "georgopoulos.georg...@gmail.com"
wrote:
> Maybe port 8880 is blocked for you,
anything stored under WEB-INF is invisible to the outside world, putting your
script there will
cause JBoss to respond with a 404.
Imagine me hitting your site with http://yoursite.com/WEB-INF/web.xml and then
downloading your
Servlet classes, not exactly what you want is it ;)
Just put the
Hi all,
I have genrated Excel Sheet from my application, but the problem
i encountered is that I am able to generate Excel for nearly 50 record
containing 8 fields each, but if the count increses call to generate
Excel fails.
I thought this might be an buffer problem, but not able to
I think theoretically assigning width/height properties via CSS is
faster than in code. However since this is typically done only once
per widget, the difference is immaterial for most practical purposes.
In javascript it's repetition that kills you performance wise, say
creating many table cells
My mistake. The problem occurs also on linux.
On 10 Mrz., 09:11, Michael Wyraz wrote:
> The problem only occurs on my windows machine. On linux it works fine.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google
Donald Knuth is credited as once saying "Premature optimization is the
root of all evil". I think the question you're asking here is well
intentioned John, however misguided. Whilst performance is important
we're often blinded by it's supposed benefits as developers and forget
more important conce
Hallo Eva!
Du hast zu deinem GWT- Projekt ein *.launch- File, das du schön über
Eclipse konfigurieren kannst. Bei den "program arguments" kannst du
mit dem Parameter "style" angeben, wie der Quellcode in Javascript
compiliert wird (Detailliert, oder "unlesbar, aber kompakt"):
-style PRETTY
Es g
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=FAQ_JavaScriptGibberish
If you prefer not to have GWT obfuscate its output, then you can use
the -style flag on the GWT Compiler. This flag has one of three
possible values:
* OBF (for obfuscated),
The problem only occurs on my windows machine. On linux it works fine.
--~--~-~--~~~---~--~~
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.c
Maybe port 8880 is blocked for you, try
http://69.20.122.77/gwt-mosaic/Showcase.html
On Mar 10, 9:53 am, "alex.d" wrote:
> Good news! But it looks like links are not working ;-)
>
> On 9 Mrz., 21:12, "georgopoulos.georg...@gmail.com"
>
> wrote:
> > Hi All,
>
> > GWT Mosaic 0.2.0-rc1 based on G
Good news! But it looks like links are not working ;-)
On 9 Mrz., 21:12, "georgopoulos.georg...@gmail.com"
wrote:
> Hi All,
>
> GWT Mosaic 0.2.0-rc1 based on GWT 1.6 is out.
>
> Key features:
>
> - LayoutManagers, some basic like: FillLayout, BoxLayout,
> BorderLayout, GridLayout and more advan
Can you please provide more information? Where do you see the ??'s and
what are you doing with the input fields? What browser are you using?
My guess is that you are using an RPC call to send the data back to the
server when the user presses a button. If this is the case, try putting
breakp
This is more a Hibernate than GWT issue. From your error log, it looks like
it boils down to you not configuring it correctly. If you look at the newer
Hibernate, there's no XML configuration. It's all done through annotations,
which are a lot easier to understand.
You may want to look into jus
Hi,
I have developed the application using the 3parts tutorial from the
site www.eggsylife.blogspot.com as suggested by you.
Actually for database I have used MySQL and for the connection with
database I have created the applicationContext.xml as follows :
- applicationContext.xml
http://ww
HI,
I'm Sumal from Sri Lanka... I tried many times to download GWT even
older versions to download but can't. I'm using a DSL connection and
PIV PC. Regularary I'm downloading SW, Movies but get error messages
when downloading this. Please be kind enough to send the downloaded
GWT to my email add
87 matches
Mail list logo