GWT is fairly complex - I'm guess the compiler does a lot of optimization
for you and will make that decision for you. For instance, if you set the
width to a constant, it might decide it's better to have that in a css style
sheet, or as actual javascript manipulating the DOM.
I'm not saying that
I think second approach is faster in runtime.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from
I use Netbeans IDE for developing GWT application easily .
for more information see this link:
http://saeedzarinfam.blogspot.com/2009/03/gwt-16-on-netbeans-65.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"G
I would like to read the automatic genererated Java Script file. Where
can I find it? I have read that the Java Script file is compressed, so
that the code cannot be read. Is there a possibility with Eclipse to
avoid that compression?
--~--~-~--~~~---~--~~
You recei
Ich würde gerne die von GWT automatisch gererierte Java Script Datei
einsehen. Wo finde ich diese? Ich habe auch gelesen, dass die Java
Script Datei komprimiert ist, so dass man den Code nicht erkennen
kann. Gibt es eine Möglichkeit mit Eclipse diese Komprimierung zu
verhindern?
--~--~-~
Hi,
I have not used Netbeans.
But I am using Eclipse and I find it good to work upon the platform.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, s
Hi, i have a problem in gwt application with unicode,
when i fill input fields with unicode font (Cyrillic) and then make
rpc call,
result is shown as
Have anybody solved this problem?
Thanks
--~--~-~--~~~---~--~~
You received this message because you ar
I use Netbeans IDE for developing GWT application easily .
for more information see this link:
http://saeedzarinfam.blogspot.com/2009/03/gwt-16-on-netbeans-65.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Go
My approach is to set in code if it would screw things up if anyone were to
play about with the settings, and set in style sheets if you would want to
let people play about with them.
So if you need a widget in a cell-panel to fill the cell, set it to 100% in
code, but set the background colour in
In general, for better performance. Would you rather
public SomePanel extends Panel {
public SomePanel() {
setWidth("100px");
setWidth("100px");
}
..
}
OR
panel-style {
width: 100px;
height: 100px;
}
I tend to try setting every
I have a class that I'm using to construct a MenuBar separate from the
class that implements EntryPoint. Here's a snippet from my MenuBar
class:
public class TheLocalConnectorMenu extends MenuBar {
TheLocalConnectorMenu() {
// Make sure the click event is noticed by calling class
All set on this - followed example given on event listeners in
developer guide.
On Mar 5, 12:11 am, zackmac wrote:
> I'm trying to make a click event occur for several images that are
> rendered as HTML using AbstractImagePrototype.getHTML() and having
> trouble. I can make a click event just f
Did you try clientWidth:
https://developer.mozilla.org/en/DOM/element.clientWidth
try:
private native static int getClientHeight(Element elem)
/*-{
return elem.clientHeight;
}-*/;
and
private native static int getClientWidth(Element elem)
/*-{
return elem.clientWidth;
}-*/
I put this folder in the public folder in my project. I added gwtext.jar and
tags like and has an error.
Manuele dos Reis Ferreira
Bacharelanda em Ciência da Computação UFBA
http://manueleferreira.wordpress.com/
--~--~-~--~~~---~--~~
You received this message bec
I have struggled for quite some time with this. I have scoured the
Internet and the GWT group for possible answers but I have not seen
any.
What I wanna know is how to determine the size of the view port
(viewable area) inside a ScrollPanel when the scrollbars are visible.
For example:
Absolute
I believe you're talking about reverse geocoding.
See Geocoder.getLocations()
On Mon, Mar 9, 2009 at 7:06 PM, Paul van Hoven <
paul.van.ho...@googlemail.com> wrote:
>
> I've got a vector of markers. Now, i would like to have the
> corresponding (at least closest) address to a given marker. Is th
Hi,
After applying styling for GWT Checkbox, the Checkboxes are disabled
(can't check) in web mode.
It is working in hosted mode, IE 7 and Safari.
import com.google.gwt.user.client.ui.CheckBox;
CheckBox aCheckBox = new CheckBox("Testing");
aCheckBox.addStyleName("keywordSearchPanel-CheckBox
I've got a vector of markers. Now, i would like to have the
corresponding (at least closest) address to a given marker. Is this
possible with gwt maps? I could not find a solution yet.
In particular i got a Vector object with various marker
positions.
--~--~-~--~~~---~
Hi,
I am working on a app that will display scheduled tasks in different
"calendar views" (day, week, month). The month view is not a
problem. The day and week views are proving more difficult to
design. I am looking for ideas.
The plan so far has been to create a FlexTable that, in the case
Hi all,
After some investiation, I confirm that the issue was on GWT side (and
especially in CompilingClassLoader.findClass method).
I write "was" because the issue is fixed since SVN release 4417
(http://code.google.com/p/google-web-toolkit/source/detail?
r=4417&path=/releases/1.6/dev/core/src/c
thanks guys
On Mar 9, 5:00 pm, mikedshaffer wrote:
> If you take a look the page using Firebug, you'll see a bunch of CSS
> and Flash, not much else going on there. Good GUI library for GWT?
> Check out SmartGWThttp://code.google.com/p/smartgwt/ or Ext
> GWThttp://extjs.com/products/gxt/ B
Hi;
I am developing a GWT application which I try to make more secure with
database based authentication. I read a lot of articles but I am still
not so sure about which practice is better for me. I don't know much
about spring and I never used it. But I read in the articles Spring
Security is go
> I think you want your module one level further down, in the
> com.company.common package. As it stands now, your tag
> references package com.company.interface.
You sir are correct. I changed the tag to point to common and
things will now compile.
Thanks a lot for your hlep.
--~--~-
Yes, I figured that out after I wrote this. Thanks.
--
From: "darkflame"
Sent: Monday, March 09, 2009 2:10 PM
To: "Google Web Toolkit"
Subject: Re: ImageBundleCreator documentation
>
> The merged image files are normaly made automaticaly when you
no expirence with NetBeans but I *love* eclipse.
I just followed the getting started guide and it worked perfectly.
On Mar 9, 5:15 pm, Harish wrote:
> Iam new to GWT, firstly i wanted to know which is the best editor is
> it Eclipse or Netbeens. Secondly, how to make a application on Eclipse
> i
The merged image files are normaly made automaticaly when you
compilewhy do you need to make it yourself?
L Frohman wrote:
> I found a lot of documentation on ImageBundle, but I can't find any on
> ImageBundleCreator, or how
> to create the merged image files used by ImageBundle. Can anyone
Hi,
I've problem with event handling of the widgets inside the treeitem.
I've treeitem with Button and DisclosurePanel. Button onClick event is
working fine.
But DisclosurePanel events are not getting fired. When I click on
DisclosurePanel, instead of displaying the contents of on
DisclosurePanel,
Just wanted to throw out there, that you don't have to use the various
panels, necessarily. It may be easier to design by just using a
flextable, or grid.
For instance,
Grid g = new Grid(5, 5);
g.setWidget(0,0, new Label("Hello"));
g.setWidget(0,1, new Button("Click"));
g.setWidget(2,4, new Labe
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 advanced advanced like: FormLayout
http://dev.gumboo.com:8880/gwt-mosaic-0.2.0/#CwMixedLayout
http://dev.gumboo.com:8
Hi guys,
I am very interested in your aproach, my "similar" personal solution
to this problem (I have built an ecommerce platform with gwt) was to
develop an small program that generates one html file per product of
the store, it is, one html file with apropiated tags (title,
description, keyword
On 9 mar, 13:29, Darkflame wrote:
> Window.open(url, name, features) is what you want to use to load a new
> page.
>
> So just add a click listener to the button and use that.
> name determains if it loads a new page ("_blank" or just in the
> current window "_self")
...though if you want to r
Thanks for the info.
I just wanted to find out if there are ready-made classes to do this
functionality. It seems like there are none.
On Mar 9, 11:49 am, Vitali Lovich wrote:
> I'm confused - why don't you just use a regular String (or StringBuffer -
> does GWT have StringBuilder? I can't regu
As far as I know, you are still bound by all the browser rules,
regardless of the fact you're running in hosted mode. The hosted mode
browser is still a web browser, and your code is compiled out to
Javascript, so I'm pretty the compiler isn't going to behave
differently in hosted mode.
Your bes
I don't want to enter into an Eclipse vs. Netbeans debate, but I'll
simply say that I use Eclipse and have virtually no experience with
Netbeans. But if you're looking for help setting up Eclipse to use
GWT, take a look at Robert Hanson's book, GWT in Action (
http://www.amazon.com/GWT-Action-Eas
I prefer Eclipse. It also seems that there's more use of GWT & Eclipse
together, so any problems you should have setting it up have already been
solved.
http://code.google.com/webtoolkit/gettingstarted.html
As allways, a simple "gwt eclipse" Google query provides the answer.
On Mon, Mar 9, 2009
I'm confused - why don't you just use a regular String (or StringBuffer -
does GWT have StringBuilder? I can't regular)? If you want something that
validates or parses the HTML for you, then you're SOL unless you find a
javascript parser of HTML or write your own. My recommendation for that
would
The dev-windows/dev-linux is strictly for hosted mode. Their output should
be identical (it is just javascript, html & css after all). & The server
code is just native Java (unless you used JNI on your own)
On Mon, Mar 9, 2009 at 5:16 AM, mr.Sundar wrote:
>
> Hi,
>
> Is there any issues or con
> 3. Create a module descriptor for the common code
>
>In d:\source\com\company\common.gwt.xml
>
>
>
>
>
>
I think you want your module one level further down, in the
com.company.common package. As it stands now, your tag
references package com.company.int
I found a lot of documentation on ImageBundle, but I can't find any on
ImageBundleCreator, or how
to create the merged image files used by ImageBundle. Can anyone point me to it?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
i am software engineer.so im join this group
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from th
Iam new to GWT, firstly i wanted to know which is the best editor is
it Eclipse or Netbeens. Secondly, how to make a application on Eclipse
i have lots of confusion. Please help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Hi everyone, Ive just started GWT. I made some small modules using GWT
which seam to work fine with "shell" i.e. GWT's own browser in an html
file. It works properly and also performs all the required
functionality.
BUT when I try to run the same code on a jsp page it doesnt work at
all. Ive inclu
I have a GWT module which depends on some non-gui non-widget java code
that logically belongs outside of the GWT source tree. I know there
are lots of posts about things like this, but many are confusing - I'd
like to be very explicit.
My GWT project is at
c:\GWTProjs\ProjectX
and the common
Hi,
Is there any issues or concerns, if compiled with gwt-dev-windows.jar
and run the same in linux environment?
Regards
Sun
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to th
Me too! I've seen the same behavior (showing Google Code Documentation
reader) when I leave it open for a long time in IE7 and attempt to
either refresh or click on another link. Other times it works like a
charm. Any ideas?
On Mar 8, 6:11 am, philippe wrote:
> I'm not sure this is the same prob
Hi All,
I want to create a unit tests that mocks the XML response of a REST
service. In that unit test, I would want to read a XML file on disk
and return that instead of the actual REST response. So, in my unit
test I do:
FileReader fileReader = new FileReader(fileName);
Unfortunately, w
Hi Hez,
As Vitali mentioned, marking these downloads as deprecated is our way of
keeping them from view on the main download page. The milestone builds
aren't fit for production, so we want to make sure no one mistakenly
downloads a milestone build for work that they're planning to put into
product
Indeed, this was the case. All works well now. Thanks for the
clue. :-)
L.
On Mar 5, 1:45 pm, Isaac Truett wrote:
> > but it seems to be caching the data or something
>
> Are you sure you aren't wrapping your MutableTableModel in a CachedTableModel?
>
> On Wed, Mar 4, 2009 at 2:23 PM, limbic
Yes, but I want something which does not carry UI. I really don't
need UI. All I need is something that represents the arbitrary html
string model. It will be plus if this class also supports method of
manipulating the underlying string.
On Mar 7, 9:11 pm, Vitali Lovich wrote:
> Do you mean t
My .02 USD...
I do about half of my GWT development on a Mac, and the other half on
Windows. After the initial configuration, they are identical. The
secret to that is to use Eclipse. GWT inside of Eclipse is a piece of
cake and is basically the same on either platform. I move Eclipse
from wo
I have not used 1.6 yet but from what I understand you are now
responsible for providing your own web.xml (GWT no longer creates one
when you compile your app). Either create one manually and put it in
a /WEB-INF directory in your project or generate one through your Ant
script.
Again, I haven't
If you take a look the page using Firebug, you'll see a bunch of CSS
and Flash, not much else going on there. Good GUI library for GWT?
Check out SmartGWT http://code.google.com/p/smartgwt/ or Ext GWT
http://extjs.com/products/gxt/ Both are fantastic libraries of UI
goodness...
Good luck!
Lat
Right, the JSON parser in GWT is strictly for client side use. If you
want to create JSON on the server you would need to use a Java JSON
library for that.
-jason
On Mar 6, 2009, at 3:24 PM, Shawn Brown wrote:
>
> Can you use the client api in server code?
>
> On Fri, Mar 6, 2009 at 11:54 PM
Thanks thats 100% clear now.
On Mar 8, 11:29 pm, Brian wrote:
> The panels lay their children out according to the panel's type.
> Horizontal Panels lay out children (including other panels)
> horizontally, etc ,you don't explicitly arrange their positions, you
> create panel types and let the c
I know the browser only handles 2 open connections to one server, and
I've read the server-push FAQ. The design of the app calls for having
4-5 section/windows/sections/frames (whatever you want to call them),
which I was either going to have each in it's own separate module
(running the same bro
After weekend I tried again and it worked very well... I don't know the
reason for the not working code last week, but here is my code, that worked
very well:
@Override
public void onMouseMove(Widget sender, int x, int y) {
super.onMouseMove(sender, x, y);
if (this.getPopupLeft() + this.getOff
Hi,
I am not sure where to direct this, but I wanted to tell that we have just
finished the first phase of a larger project using only GWT.
It is a site for playing live chess (http://www.seriouschess.com)
I thought that maybe this could be used as a good example of what can be done.
We ar
You mean the "Games" "Shop" with the ghost, etc? It's Adobe Flash,
which is why it takes forever to load...
On Mar 9, 8:23 am, Darkflame wrote:
> Dunno, but the lack of Opera support puts me off straight away.
>
> Aside from that just looks like buttons textured with css to
> me...should all b
Thanks. I increased the stack to 4k, and now I can compile.
Because the stack trace had the same pattern over and over, I assumed
there was some code that was causing the compiler to enter into a
loop, and eventually overflow the stack. But it seems not -- it just
needed more stack space.
On M
I had the same, so I increased the stack size and it never happened
again so far.
This page, http://www.caucho.com/resin/doc/jvm-tuning.xtp , will give
you the arguments to increase stack size and heap size (if you get any
out of memory errors)
On Mar 8, 8:32 pm, Brian wrote:
> Can anyone point
as part of a reorganisation of the python port of GWT, pyjamas, i just
added dynamic module loading, using AJAX. i note that this is
something that has been on the GWT roadmap for quite some time. so,
having managed to implement it successfully in pyjamas i thought that
the GWT development team m
I wouldn't recommend that. Are you trying to actually open a separate URL?
If you just want to transition within your application to a new screen,
you'll have to remove the old panel from its parent, & add in the next
screen. That way, you'll have a seamless transition within your application
& y
You are. Either keep it there, or use an ant script (or whatever your build
system is) to put it there.
On Mon, Mar 9, 2009 at 8:28 AM, Doru wrote:
>
> Hi,
>
> Yes I know that. But who is supposed to put that file there?
> HostedMode is not putting that file there ( when is generating the
Window.open(url, name, features) is what you want to use to load a new
page.
So just add a click listener to the button and use that.
name determains if it loads a new page ("_blank" or just in the
current window "_self")
On Mar 9, 6:55 am, ragavan wrote:
> Hi,
>
> am new to GWT. I have a sma
Hi,
Yes I know that. But who is supposed to put that file there?
HostedMode is not putting that file there ( when is generating the
WAR) but after that when is launching the application is looking for
the file and is not finding anything and an exception is thrown.
Who is supposed to put
Dunno, but the lack of Opera support puts me off straight away.
Aside from that just looks like buttons textured with css to
me...should all be possible with GWT alone.
(allthough I only glanced at the site).
On Mar 9, 10:03 am, ytbryan wrote:
> hi all,
>
> how does whirled's developer create
Thanks to Vitali for answering this so promptly, so in the effort of
teamwork, I'll attempt to follow up and answer ds's inquiry.
Every modern programming language needs a "container" to run it's code
in. Java has a container, .Net has a container, even old Visual Basic
had a container.Not t
Ah, yes, that should work :)
Cheers for your help.
2009/3/9 Thomas Broyer :
>
>
>
> On 9 mar, 00:28, Darkflame wrote:
>> That seems like what I need thanks :)
>>
>> Dont suppose its possible to create an AbstractImagePrototype at run
>> time? (say from an existing image or url)
>>
>> The widget
hi, i get this error when i tried debug mode:
debug-connect-gwt-shell:
** Unable to find a usable Mozilla install **
You may specify one in mozilla-hosted-browser.conf, see comments in
the file for details.
/home/mibtar/NetBeansProjects/webapps/WebApplication1/nbproject/build-
gwt.xml:34: The fol
On 9 mar, 00:28, Darkflame wrote:
> That seems like what I need thanks :)
>
> Dont suppose its possible to create an AbstractImagePrototype at run
> time? (say from an existing image or url)
>
> The widget I'm making needs to be updatable, and it would be handy if
> I could add to that List arr
the problem was in my jars.
i have generated jars by eclipse.
when i check add directory entries into eclise, everything works fine.
bu i have another question, how i can import javax.naming package into
my gwt application ?
On Mar 9, 4:50 am, "paata...@gmail.com" wrote:
> hi all,
> I have E
http://lmgtfy.com/?q=SmartGWT+Migration
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this gr
web.xml goes in war/WEB-INF
On Mon, Mar 9, 2009 at 5:45 PM, Doru wrote:
>
> Hi Vitaly,
>
> I am not an expert in HostedMode but what I observed is that
> HostedMode is generating the WAR with the JS output of the
> compilation. The problem is that it's not putting any web.xml inside
> the
can you give me the link ?
On Mar 9, 4:44 am, Shawn Brown wrote:
> Sorry, I meant "those" lists/forums
>
> smartgwt
> gwt ext
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to
Hi,
Would be nice if you could please explain it in detail. I am also
facing the same probem. How can I overcome the same. I have added a
crimson-1.1.3.jar in order to import javax.xml.parsers,org.w3c.dom and
org.xml.sax packages in a GWt-Ext app. But when I run my app, I get
"Line 31: No source c
Hi,
I am trying to read an XML file and create a tree in GWT-Ext. Code to
implement the same has been taken from GWT-Ext showcase demo. Problem
is: code successfully creates a tree with child nodes but I could not
find a way to create tree with sub sub child. Code only generates node
upto a single
Hi All,
I am working on a gwt project with version 1.4 where we use
both windows and linux environment.We are able to compile the gwt
classes with the help of gwt-dev-windows.jar alone in linux
environment.The application also runs fine even without gwt-dev-
linux.jar file.
I am so curiou
hi all,
how does whirled's developer create such nice interface? http://www.whirled.com/
can someone tell me what gui library did they use? or can someone
recommend me a good gui library for gwt?
thank you.
--~--~-~--~~~---~--~~
You received this message because
hi all,
I have EJB 3.0 Application on jboss AS. It is separated from gwt
application.
i want write gwt client application, i need to add server jar into my
classpath. how i can do this ?
i need entities, and ejb 3.0 session interfaces. (Also i don't have
sources of the server application)
my Se
Hi Vitaly,
I am not an expert in HostedMode but what I observed is that
HostedMode is generating the WAR with the JS output of the
compilation. The problem is that it's not putting any web.xml inside
the WAR and also it doesn't ask me where the web.xml is located. I
have a correct web.xml bu
The web.xml file goes directly into your war - war/web.xml. HostedMode
should pick it up directly.
On Mon, Mar 9, 2009 at 4:21 AM, Doru wrote:
>
> Hi Vitaly,
>
>I already have the web.xml file properly configured. My only
> issue is that I don't know how to tell to the HostedMode applic
Hi Vitaly,
I already have the web.xml file properly configured. My only
issue is that I don't know how to tell to the HostedMode application
with an argument where the web.xml file is located. There is a -war
argument which I used and which is generating a war folder
structure...but how d
zujee schrieb:
> How to read a file from client side. I need to pass the file name as
> parameter. So otherthan annotation is there any other way?
You have to use the file-upload-widget and a FormPanel. This
procedure has been discussed a couple of times, so e.g.
http://www.google.de/search?q=gw
83 matches
Mail list logo