On Feb 21, 5:42 pm, FKereki fker...@gmail.com wrote:
I'm running some GWTTestCase code, and was wondering... isn't
button.click() the same as creating a DOM click event and firing it
for the button?
No, it calls the button's (JavaScript/DOM) click() method.
I'm testing a View. I added a
On Feb 21, 2:31 pm, FKereki fker...@gmail.com wrote:
I'm trying to work out the consensus as to the best way of structuring
a project for testing.
For client side code, you have two kinds of tests:
* pure unit tests, based on JUnit (and, thanks to MVP, applying to
most of your code)
*
Hi Ramesh,
Making this sort of request can only be done via JSONP
GWT 2.0 introduces the JSONPRequestBuilder object for such a case.
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/index.html?overview-summary.html
Dan Morill of Google has also wrote an article on this:
I have a page with content coming from the database. I would like to
modify my meta tag to be able to put in some keywords coming from the
database.
For example:
meta name=keywords value=some keywords coming from the database
This meta tag attribute value for content should be modified after
my
XHR is more robust and more correct than JSONP, but JSONP allows for
cross domain server interaction in a very convenient manner. Because
of its hacky nature sometimes it's easy to get things wrong. For
example, on the server side I was gzipping my service responses and
IE6 was crashing! Found out
Hie
Thanks for the reply. I re-reviewed after your statement and found one
thing.
My page 1 is directly under war folder
and page 2 is in war/ui/page folder . If i move page 2 also directly under
war then the component comes up fine.
So what i need to do to make it work for page 2 inside
It's *generally* considered by the web development community that
useragent sniffing is bad and object/feature detection is good... why
then does GWT sniff the useragent?
Can anyone explain why - is there a benefit??
Cheers,
Dave
--
You received this message because you are subscribed to the
hi Dariusz!
you should NOT set the keywords via a RPC call.
since that info is only usefull to search engine robots, and they do
not understand nor execute js code, your rpc call wont never be
executed...
just do it the 'OLD' way, getting the keywords from DB when rendering
the page.
HTH
On Feb 20, 3:05 pm, spacejunkie priyank.pa...@gmail.com wrote:
Hi,
I am woring on building a dashboard application. The site uses a
layout template and each page has the same header footer etc. Only the
content section differs across pages.
Following the same convention, I would like to
On Feb 21, 12:14 am, Paul S paulsschw...@gmail.com wrote:
Switching to XHTML is about changing the doctype of the page, not the
file extension.
Using XHTML is by no mean a matter of DOCTYPE, but of media type.
See this: http://hixie.ch/advocacy/xhtml
On Feb 21, 12:33 am, markww
Hi Michael,
Thanks, but acutally this is what I would like to do. I would like to
render the page after I received the keywords from database.
I thought, I could do it via the DOM object. Something like:
DOM.setAttribute( meta, value, My keywords );
If I do this, I can't see the changes inside
On Feb 21, 8:20 am, Tatchan tatcha...@gmail.com wrote:
It seems the PopupPanel will try to remove itself from its parent each
time of showing. The parent in this case is a composite which does not
implement HasWidgets, hence the exception.
Is this my misuse of PopupPanel or a GWT bug?
For that you have to use another technologie, like ASP, PHP or JSP.
for instance, in JSP:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
meta http-equiv=content-type content=text/html;
charset=UTF-8
meta name=keywords value=%= ServerSide.executeAwesomeCode()
%
Hi Keath,
Great initiative, thank you for looking in to maven support !!!
I'm using maven for some years now and introduced it at a number of
companies...
I can really recommend it, it's great to see google giving it more
attention, please continue the good job!
I just (last week) finished
On Feb 22, 6:41 am, Thomas Broyer t.bro...@gmail.com wrote:
On Feb 21, 5:42 pm, FKereki fker...@gmail.com wrote:
I'm running some GWTTestCase code, and was wondering... isn't
button.click() the same as creating a DOM click event and firing it
for the button?
No, it calls the button's
I also could not find exact match, but this should work:
Widget w = ...;
dockLayoutPanel.add(w, DockLayoutPanel.EAST);
w.getElement().getParentElement().addClassName(xxx);
Did not test, but the parent element is probably the TD element.
Anyway, adding the style class directly to the widget
because it's much better:
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html#benefits
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi all,
As I'm sure most of us here on the forum are doing, not everything is
a new project.
When you are doing conversion of an old project (struts, JSP, JSF,
etc), the old way of measuring 'time' and 'size' are a little
different with AJAX/GWT.
For example, this tool:
and please, be reasonable, saying 'use speedtracer' doesn't help --
how do you use speedtracer to get a bandwidth/size number for a screen/
scenario and the response time (too much detail there for simple
metric comparisons of an old site to a new site).
On Feb 22, 8:56 am, dhartford
Hi,
what's the best way to get browser-dependent CSS in UiBinder?
Sometimes IE requires a bit of special styling...
Thanks
Chris
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi All,
How to add an image or a html to the menu item of a menu bar ? I have a
menu bar (vertical) of 6 menu items. I would like to add a tick(ok/right)
image in-front of the menu item on selection. With that , I want to hide the
tick image on select of other menu item in the menu or clicking on
I know this is a have you turned it on type of question, but are you
actually running it in debug mode? Ive made that mistake myself a few time,
being so used to pressing the play button I sometimes do it without
realising, when i really meant to press the little bug icon instead!
On 19 February
Hi,
fair points:
for BigDecimal I would probably use:
http://code.google.com/p/gwt-math/
As far as the FetchType.EAGER is concerned (this is a shortened
version of what you can find in the Pro Web 2.0 Application
Development with GWT book):
* it is there just so that I don't need to initialize
I added an issue to the issue tracker if you also are in need of that
method and want to star it
http://code.google.com/p/google-web-toolkit/issues/detail?id=4663
Dominik
On 19 Feb., 09:09, Dominik Steiner dominik.j.stei...@googlemail.com
wrote:
@Chris,
yes, thanks for the tip, I already
Thanks Thomas, I could get the app to use only limited portion of the
body. But how do place the app in a div on my page.
My Page looks like this
html
body
divThis Is the Header/div
div id=the_body
div id=sidebar_linksThis is the sidebar/div
div id=contentGWT app should appear here/div
What type of application are you trying to write? Are you trying to use
Google App Engine for Java?
Can you list the build classpath for your application?
On Fri, Feb 19, 2010 at 11:21 AM, dane.molotok dane.molo...@gmail.comwrote:
I bet this addresses GWT not being able to find your Exception:
Hi do you have ready to try simple example packaged as archive + gwt GEP
project?
On Mon, Feb 22, 2010 at 4:59 PM, Morswin mors...@gmail.com wrote:
Hi,
fair points:
for BigDecimal I would probably use:
http://code.google.com/p/gwt-math/
As far as the FetchType.EAGER is concerned (this is
Depends on what you actually want to measure. As you already point
out, measuring AJAX apps is different. Here's a simple approach that I
would take - I admit it's not perfect, but at least it's simple :-)
- Decide on a scenario
- Execute the scenario on both
- Measure total time
- Measure total
On Feb 22, 4:41 pm, spacejunkie priyank.pa...@gmail.com wrote:
Thanks Thomas, I could get the app to use only limited portion of the
body. But how do place the app in a div on my page.
My Page looks like this
html
body
divThis Is the Header/div
div id=the_body
div
Hi,
I am looking to port a very large Swing app to GWT and was
wondering if it is possible to only load parts of an application if
the user needs it. For example most users will not need the 'Admin'
function so I don't want to load the code unless they click on a tab
in the interface. If this
Hi,
I am running into a variety of issues trying to develop a gwt gui
prototype using an existing spring project as the backend. The spring
project is compiled to a jar file. I would like to have the following
structure if possible:
1. myproject_backend_services -- compiled to a jar
2.
Hi,
I've been using Eclipse JEE with VP Plugin for awhile now. Today, I
decided to install GWT plugin onto my eclipse, however, it failed to
load now. I tried reinstalling my Eclipse and install GWT 1st, which
work. Then I installed VP plug in, the same problem occurred.
Anyone have solutions
I am having a great deal of trouble figuring out how implement MVP
pattern for a view extending/aggregating Tree.
Much of the logic which I'd like to put in presenter would involve
manipulating TreeItems, but TreeItem's constructor calls GWT.create()
and thus can not be called from a normal
I am just starting to try GWT und i already have a Problem going
through the Getting Started page.
After creating a project with webAppCreator i am supposed to run the
App using ant devmode.
However, i am getting the following error:
tstin...@linux-2d15:~/devel/gwt/MyWebApp ant devmode
Hi All,
I am new to GWT and I am working on RPC i couldn ot understand what is
exaclty RPC and how it relates to GWT what GWT is trying to achieve from the
RPC.
Could someone pls help me in understanding RPC concept, how is it
implemented in RPC.
Thanks and Regards
Sri
--
You received this
Hi,
i have a big problem, when i try to deploy my EAR project (containing
GWT and EJB project) on Glassfish V3 i have this error:
Exception while loading the app : java.lang.RuntimeException: Unable
to load EJB module. DeploymentContext does not contain any EJB Check
archive to ensure correct
On Feb 22, 3:12 pm, Chris Lercher cl_for_mail...@gmx.net wrote:
Hi,
what's the best way to get browser-dependent CSS in UiBinder?
Sometimes IE requires a bit of special styling...
Use CssResource's conditionals with @if rules!
Excerpt from the Mail sample:
@if user.agent ie6 {
@url
I'm trying to use RichTextArea to create my own Math Editor using
MathML but am having trouble with insertHTML. insertHTML takes as
input only a string and there is no functionality to add elements from
other namespaces and for the life of me I can't figure out why that
is. The ability to add
Hi guys,
In order to track exceptions in our GWT application (client-side), we
hook a global exception handler in our EntryPoint. Our exception
handler builds the stack trace from the exception and sends it to our
server (we have a GWT servlet to receive error messages).
Now, our problem is
Hi,
Yes, you're right. In fact I'm using the PopupPanel directly. This is
just an example to say that there might be an exception thrown if
someone creates a custom widget (by extending Composite) which uses a
PopupPanel in the initWidget() method.
On Feb 22, 5:59 pm, Thomas Broyer
On Feb 22, 9:13 am, Tapas Adhikary tapas4...@gmail.com wrote:
Hi All,
How to add an image or a html to the menu item of a menu bar ? I have a
menu bar (vertical) of 6 menu items. I would like to add a tick(ok/right)
image in-front of the menu item on selection. With that , I want to hide
On Feb 22, 1:17 pm, FKereki fker...@gmail.com wrote:
On Feb 22, 6:41 am, Thomas Broyer t.bro...@gmail.com wrote:
On Feb 21, 5:42 pm, FKereki fker...@gmail.com wrote:
I'm running some GWTTestCase code, and was wondering... isn't
button.click() the same as creating a DOM click event and
Wow. I have no words.
I couldn't see the forest for the trees.
I had tunnel vision
Insert incredibly lame cliché excuse here.
This fixed my problem. Not sure how I missed it in the tutorial. Thank
you.
--
You received this message because you are subscribed to the Google Groups
Google Web
While waiting for my question to go through, I found a solution
myself:
I found, that I could use the tables TableListener, that can give me
the widget that
is contained in the call, that is clicked on, as well as row and
column.
So I created a new widget, where I added a key value to the Label
Have any of you maven users out there (or anyone at all, really)
figured out how to specify a bindAddress argument in the gwt:run goal?
I would like to be able to connect to the gwt server from a VM on my
machine, but can't find a way to do that, currently. Is there some way
of specifying
Perfect, exactly what I was looking for. The conditionals can even be
used directly from within style.../style in the .ui.xml-file :-)
Thanks
Chris
On Feb 22, 5:16 pm, Thomas Broyer t.bro...@gmail.com wrote:
On Feb 22, 3:12 pm, Chris Lercher cl_for_mail...@gmx.net wrote:
Hi,
what's the
Thanks for the reply Martin,
OK, I think you maybe misunderstood my question though.
I understand what Deferred Binding is and why it's a good thing - what
I wanted to know was why does GWT sniff use the navigator.useragent
string e.g.
var ua = navigator.userAgent.toLowerCase();
if
On Feb 22, 11:45 am, DaveC david.andrew.chap...@googlemail.com
wrote:
Thanks for the reply Martin,
OK, I think you maybe misunderstood my question though.
I understand what Deferred Binding is and why it's a good thing - what
I wanted to know was why does GWT sniff use the
When I started my project I had GWT based testing but befor I got very
far I went to an MVP based archetecture and. At that point I all but
quit using the gwt based tests and just test everything as pure java.
On Feb 22, 3:05 am, Thomas Broyer t.bro...@gmail.com wrote:
On Feb 21, 2:31 pm,
Wouldnt that also target IE7, since GWT does not distinguish between
IE6 and 7 in compiling the js?
On Feb 22, 11:16 am, Thomas Broyer t.bro...@gmail.com wrote:
On Feb 22, 3:12 pm, Chris Lercher cl_for_mail...@gmx.net wrote:
Hi,
what's the best way to get browser-dependent CSS in UiBinder?
Hi Paul,
Hotswapping should work if the following are true:
1) Your project's output folder is set to war/WEB-INF/classes (as all
WAR-based projects created with GPE do)
2) Your GPE launch configuration uses the embedded server (i.e. not
-noserver mode)
3) You run the GPE launch configuration in
First ensure the test directory is a source folder: right-click the
directory, go to Build Path, and select Use as source folder. Next,
populate this with unit tests like usual. You'll be able to right-click and
select Run As GWT JUnit test after that.
If you want to run these from the
Hi,
There are a few workarounds for your problems.. Longer term, we're hoping
to improve the current issues with dependent projects.
Issue #1: You'll likely have to separate your backend project into a
backend project and a shared project. See
Hi Renogen,
Could you paste your logs? It should be in WORKSPACE/.metadata/.log. Also,
any other information you can dig up about the clash would be useful.
Thanks,
jason
On Sun, Feb 21, 2010 at 11:08 AM, Renogen ohk...@gmail.com wrote:
Hi,
I've been using Eclipse JEE with VP Plugin for
I think you can achieve this by using GWT's super-source mechanism:
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml
On Fri, Feb 19, 2010 at 2:48 PM, Tim K timk...@gmail.com wrote:
I have a server version of a class in one jar, and a client version
I think that I will need a iframe that loads tomcat page. But this
solution isnt good
On 21 feb, 16:49, Fran fra...@gmail.com wrote:
it dont work, apache cant conect totomcatwith this changes. The
login msn is loading indefinitely... And error logs dont show nothing,
excepttomcatthat says:
Cool, does this also allow for serialization between client and server
version out of the box, or will this require any special additional
serialization code?
BTW, this would probably solve the issues in this thread about reusing
TopLink objects etc on the client:
I believe, that people in a specialized Tomcat forum may be able to
help you a lot better.
As a last hint, if all else fails, you can still experiment with a
timeout on the client. See this thread:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/11960c28e1a2d9eb?pli=1
Or
Keep in mind, that it hot-swaps code, but doesn't rebuild the objects.
This may be confusing, because when something on the client side
changes, you typically reload the page - thereby re-initializing all
instances.
On the server side you don't do that when hot-swapping. So (at least
for me)
Can the UIBinder Template (MyWidget.ui.xml) and the owner java class
MyWidget.java reside in different paths and not the same which is by
default.
The reason is as follows.
I am providing a library with custom widgets. These widgets have setter
methods which can be used to change properties for
Any one with a solution for this issue?
I even tried using UiBinder and css in conjunction to solve this issue but
have not been able to.
Any direction would be helpful.
Thanks
Ashish
On Fri, Feb 19, 2010 at 5:52 PM, Ashish Khivesara
ashish.khives...@gmail.com wrote:
This looks like a bug.
Hi All,
I have a use case wherein there are 2 suggestboxes and the requirement is
such that the user can either select one of the suggestions or can even
input his own. When a suggestion is selected from box1, box2 is populated.
Now if the user types his own then its called as non standard
Hello all, I can now confirm the 1.7.1 gwt-servlet.jar file was being
used in my WEB-INF/lib folder output by IntelliJ IDEA 9.0.1.
I thought I had removed all references to 1.7.1 from IntelliJ when I
updated to 2.0.2, but since JetBrains have introduced these new, darn-
fangled artifacts in
I am trying to integrate GWT 2.0 into a current Web Application.
I want to override the location of the output from war/WEB-INF/
classes
to WEB-INF/classes.
Is there some xml I can add to the module definition xml file?
ApplicartionName.gwt.xml?
Thanks
skippy
--
You received this message
More info, looks like this is a source of pain for others too...
http://code.google.com/p/google-web-toolkit/issues/detail?id=4429
On Feb 22, 4:30 pm, ahhughes ahhug...@gmail.com wrote:
Found a few posts:
Depending on the size of the 'Admin' function, you may want to look
into using one of the following:
Code Splitting -
http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html
(We're still early in the process of figuring out the best way to take
advantage of this)
and
LazyPanel
Don't use 2.0.0 and 2.0.1 this works for me in 2.0.2 :)
On Feb 23, 8:43 am, ahhughes ahhug...@gmail.com wrote:
More info, looks like this is a source of pain for others
too...http://code.google.com/p/google-web-toolkit/issues/detail?id=4429
On Feb 22, 4:30 pm, ahhughes
Hi, Once again thank you for your reply.
I finally solved the problem, turns out I forgot to import the CSS file in
my HTML and your suggestion worked out well.
I didn't want to use HorizontalPanel because I'm doing an e-Commerce site so
i want it to flow well. I'm not using UiBinder though, any
Hi,
I am using the SplitLayoutPanel in GWT and I get the error. The code
is as follows.
DockPanel mainPanel = new DockPanel();
mainPanel.setBorderWidth(5);
mainPanel.setSize(100%, 100%);
Widget header = createHeaderWidget();
mainPanel.add(header,
Thanks Alan,
Please send me the zip ASAP. That will be a great help.
Thanks again,
-Tapas
On Mon, Feb 22, 2010 at 9:53 PM, Alan Hadsell ahads...@gmail.com wrote:
On Feb 22, 9:13 am, Tapas Adhikary tapas4...@gmail.com wrote:
Hi All,
How to add an image or a html to the menu item of a
I have 3 continues forms. On final submission data of 3 forms should
be inserted in database.
How to store 3 froms data up to final submission?
Please respond.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
Hi Guys,
The LayoutPanels typically take in a (sizing) unit (like PX or PC or
EM) and a discrete size for each component, like:
ui:UiBinder
g:DockLayoutPanel unit='PX'
g:north size='64'
g:Label text=Example/g:Label
/g:north
/g:DockLayoutPanel
/ui:UiBinder
But what if I don't
You can write your own properties detection to do it.
But can't you see the what you are telling means compile 100+ different
versions of the page if you evaluate individual properties?
The way gwt do it give you 6 versions only, one for each browser...
Also, why should you care about browser
Hi All,
I am new to GWT and I am working on RPC i couldn ot understand what is
exaclty RPC and how it relates to GWT what GWT is trying to achieve from the
RPC.
Could someone pls help me in understanding RPC concept, how is it
implemented in RPC.
Thanks and Regards
Sri
--
You received this
Having some issues with Composite/UIBinder - the following will show
the map but it clips the image and things disappear when moved about
(see below). If I ditch uibinder then it renders and behaves as
expected. Am I missing anything here that would cause this behavior?
I'm thinking it could be
public static native void doConnect() /*-{
$wnd.jQuery(document).trigger('sdfsf',
{
jid: 'sss',
password: 'sss'
}
);
}-*/;
i tried the above ,but there is no error in firebug
the problem appears because of the RemoteServiceRelativePath as you
noticed it says relativepath,
one way to fix that is to use your code ((ServiceDefTarget)
gwtService).setServiceEntryPoint(/some/absolute/path);
or use the power of the relative path (that's how i do it, because I'm
lazy)
you should put the css in a folder named public inside your module
package, the folder should be on the same level as the client folder
there's no need for the stylesheet src='Music.css' / specification
on the .gwt.xml file
you could take a look at the GWT-Upload library it has same situation,
I like to start a discussion on the usage of the RPC policy files in
noserver mode, and I am interested if this might be improved.
Let me explain my use case and show my problems that I experience.
I have 4 GWT app's connecting all to the same backend app. All GWT
app's have two backend
What Thomas said. But yes, if we could make a good safe-eval JSON parser
available, that would be great. The old json library is both unsafe
(because it uses eval()) and ugly (because it was written long before
overlay types).
On Sat, Feb 20, 2010 at 10:22 AM, Thomas Broyer t.bro...@gmail.com
Reviewers: jlabanca,
Description:
This addresses two issues:
- http://code.google.com/p/google-web-toolkit/issues/detail?id=4308
- http://code.google.com/p/google-web-toolkit/issues/detail?id=4637
Please review this at http://gwt-code-reviews.appspot.com/150803
Affected files:
LGTM
http://gwt-code-reviews.appspot.com/150803/diff/1/4
File user/test/com/google/gwt/emultest/java/lang/MathTest.java (right):
http://gwt-code-reviews.appspot.com/150803/diff/1/4#newcode2
Line 2: * Copyright 2007 Google Inc.
2010
http://gwt-code-reviews.appspot.com/150803
--
Hi Ed,
maybe this will give you some relevant answers:
http://code.google.com/p/acris/wiki/SeparateClientAndServer ,
especially the part Accessing RPC files from server. There is a
solution how to access RPC files in no-server mode remotely also.
On 22. Feb, 11:17 h., Ed post2edb...@hotmail.com
Revision: 7604
Author: jlaba...@google.com
Date: Mon Feb 22 11:51:55 2010
Log: Remove type parameter on TreeView and use TreeModel as a source of
ListModels.
http://code.google.com/p/google-web-toolkit/source/detail?r=7604
Added:
Scheduler is the preferred API. I have most of a patch to move the
implementation of the existing DeferredCommand API over to Scheduler.
http://code.google.com/p/google-web-toolkit/issues/detail?id=4668
--
Bob Vawter
Google Web Toolkit Team
--
Hi Ladislav,
Thanks for your response.
I do almost the same thing as Acris does, I only have my files located in
the classpath (I also use GWT-SL to read my policy files)..
But Acris also doesn't solve the problem of having all these policy files
scattered around and assumes that you have them
Reviewers: jgw,
Description:
ImageSrcIE6 throws an NPE exception if you set the source of a cloned
img element. IE6 will fetch a single image multiple times if the image
isn't in cache. GWT works around this by setting the src on the first
image only, then adding an array of kids that need to
Revision: 7605
Author: j...@google.com
Date: Mon Feb 22 13:53:24 2010
Log: Add Math.cbrt, improve Math.log10, add tests.
Public review: http://gwt-code-reviews.appspot.com/150803/show
Issue: 4308, 4637
Patch by: jat, elk
Review by: jlabanca
88 matches
Mail list logo