thx for Jukito !!
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/7cXOonXbLFgJ.
To post to this group, send email to
Hi,
Can someone please guide me in writing GWT Junit test cases?
I'm new to Junit too.
what files are involved and what to mention in which file?etc?
Thanks,
Raja
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
Some time ago I have used approach 2) and have bounded all ClientBundles as
Singletons. But now I would go with 1) because when you look at the
generated source code of a ClientBundle (use -gen path option) you will
see that nearly everything in a ClientBundle implementation is static. So it
Hi,
take a look
here.http://code.google.com/webtoolkit/doc/latest/tutorial/JUnit.html
For a interesting example take a look to the included file
(ValidationTest.java).
Regards.
2011/8/18 Raja grsvarma...@gmail.com
Hi,
Can someone please guide me in writing GWT Junit test cases?
I'm new
thanks for clarification!
hf,
daniel
On Thu, Aug 18, 2011 at 10:56 AM, Jens jens.nehlme...@gmail.com wrote:
Some time ago I have used approach 2) and have bounded all ClientBundles as
Singletons. But now I would go with 1) because when you look at the
generated source code of a ClientBundle
Hi,
i have already gone through that link.
apart from the text class, do i need to have any xml file for configuration?
i'm using smartgwt library for xpath functions.
i can't understand how to debug the error.
here is my code:
*public* *boolean* isPasswordExpired() {
*int* expire =
One thing you should know about unit testing the client code (gwt) of your
project is that it's *very very slow*. See more
herehttp://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html
.
If you're new to unit testing (or only junit?), then I'd recommend writing
some tests for a pure
Hi everybody,
I have this class:
*class Person{*
*@Caption(name=Name)*
*String name;*
*}*
How can acces to this annotation in deferred binding?.
When I access to the JField that represents the field name, the method
*nameJField.getDeclaredAnnotations()
*or
See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.
2011/8/17 Daniel Guggi daniel.gu...@gmail.com
@spring you may have a look here (requestfactory + spring3 integration):
http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/
here an
Make sure the annotation has rentention(runtime):
@Retention(RUNTIME)
public @interface Caption { ...
On Thu, Aug 18, 2011 at 8:21 AM, Adolfo Panizo Touzon
adolfo.pan...@gmail.com wrote:
Hi everybody,
I have this class:
*class Person{*
*@Caption(name=Name)*
*String name;*
*}*
How
O...It works! Thanks.
2011/8/18 Gal Dolber gal.dol...@gmail.com
Make sure the annotation has rentention(runtime):
@Retention(RUNTIME)
public @interface Caption { ...
On Thu, Aug 18, 2011 at 8:21 AM, Adolfo Panizo Touzon
adolfo.pan...@gmail.com wrote:
Hi everybody,
I have this
I think using ServiceLocator boils down to
Methods that return a Request object in the client interface are
implemented as static methods in the service class. Alternatively, they may
be implemented as instance methods in a service object returned by a
ServiceLocator.
what pretty much
I think code is better organized and has better testability if service
methods are implemented as instance methods on a service class instead of
static methods on the domain classes
On Thu, Aug 18, 2011 at 9:08 AM, Alexander Orlov
alexander.or...@loxal.netwrote:
I think using ServiceLocator
Hie
When i try to deploy my app to appengine (based on gwt + gae) I see below
error. thus, cannot deploy. Please advise. Just to mention if i run the app
on local server it runs fine.
[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Failed to get
But what's about this case: This method is from a server-side entity class
that has to associate it's *user* field with a given user (retrieved by its
userId).
public void setUser(final Integer userId) {
this.user = User.find(userId); // this is what I need to do using
the static
Only advantage I can see right now is that you can overwrite methods of a
super class, e.g. a generic service method which may not fit well for some
rare specific sub services.
If you do not need to overwrite methods in services then you are probably
fine not using a ServiceLocator. Without a
I didn't understand your exemple. Who is responsible for doing all of this
stuff is the requestfactory framework, not you
On Thu, Aug 18, 2011 at 9:43 AM, Alexander Orlov
alexander.or...@loxal.netwrote:
But what's about this case: This method is from a server-side entity class
that has to
On Thursday, August 18, 2011 2:48:56 PM UTC+2, Magno Machado wrote:
I didn't understand your exemple. Who is responsible for doing all of this
stuff is the requestfactory framework, not you
I haven't implemented SL for all entities. So I still rely on this static
server-side method to keep
Seems somehow bad to me. Executing queries in property accessor methods
doesn't feel right to me. this.user should by integer or the parameter
should be a User. In case of the latter a third object (e.g. one of your
services or JPA itself) should be responsible to fill in the correct user
Download the MVP Contacts and extract into local drive.
In eclipse IDE, File--Import--Existing projects into your
workspace and select your contacts file from your directory. Then
follow the options like like finish, next...
S.Abraham
www.DataStoreGwt.com
On Aug 18, 5:42 am, Russ Abbott
Here is what I did for a similar problem. I added a ClickableTextCell
in the Column Header.
CellTable studentTable = new CellTableStudent();
ColumnStudent, String feesColumn = new FeesColumn();
HeaderString header = new HeaderString(new
ClickableTextCell())
{
@Override
On Thursday, August 18, 2011 2:59:43 PM UTC+2, Jens wrote:
Of course in this example using a SL doesn't seem nice..but the example
itself isn't really nice to me :)
Agree :) This is called successively grown.
--
You received this message because you are subscribed to the Google Groups
When I upgrade GWT version from 1.4.60 to 1.5.3 in my project, I run at
hosted mode, I found many errors like below:
[WARN] In order to produce smaller client-side code, 'Object' is not
allowed; consider using a more specific type
Although I can see the pages at hosted mode, but no data can't
With mvn jetty:run doesn't work. In hosted mode is very slow.
Regards Giuseppe
2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com
See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.
2011/8/17 Daniel Guggi daniel.gu...@gmail.com
@spring you may have a look here
On Thursday, August 18, 2011 2:43:47 PM UTC+2, Alexander Orlov wrote:
public void setUser(final Integer userId) {
this.user = User.find(userId); // this is what I need to do using
the static way
// below is what I have to do when I'm using SL
// MainServiceLocator
In the changelogs of the svn repo there is “gecko linux” mentioned for
r10537, does that mean that firefox 6 is now supported for linux? And
if yes for both 32 and 64 bit?
On Aug 16, 11:03 pm, Chris Conroy con...@google.com wrote:
Jason,
Unfortunately, for the time being we're unable to keep
GWT 1.5 introduced generics. Where before you might have had an RPC argument of ArrayList
bar, you will now have ArrayListFoo bar
See here:
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/ReleaseNotes_1_5_Rpc
and here:
Nop. It's works in dev mode inside eclipse. I don't use mvn jetty:run so
don't make run in this manner. Yes is slow in dev mode. If you use Windows
with IE is the fastest browser in dev mode.
Juan
2011/8/18 Giuseppe La Scaleia giuseppe.lascal...@geosdi.org
With mvn jetty:run doesn't work. In
Nop. It's works in dev mode inside eclipse. I don't use mvn jetty:run so
don't make run in this manner. Yes is slow in dev mode. If you use Windows
with IE is the fastest browser in dev mode.
Juan
2011/8/18 Giuseppe La Scaleia giuseppe.lascal...@geosdi.org
With mvn jetty:run doesn't work. In
I don't use Windows i use only Ubuntu or Mac.
So you say to deploy the war under tomcat??
Regards Giuseppe
2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com
Nop. It's works in dev mode inside eclipse. I don't use mvn jetty:run so
don't make run in this manner. Yes is slow in dev mode.
It's a WARN no an error. You can safely ignore it.
2011/8/18 David lujup...@gmail.com
When I upgrade GWT version from 1.4.60 to 1.5.3 in my project, I run at
hosted mode, I found many errors like below:
[WARN] In order to produce smaller client-side code, 'Object' is not
allowed; consider
Hello!
I am getting crazy with this!
How can I debug the client side of an application.
I am using Eclipse in hosted mode and I use breakpoints in both sides but
only works for server side. How can I do the same in client side?
Thankful for attention,
Mark
--
You received this message
Start the app and then add breakpoints. I have no problem for debug client
side classes in dev mode. What's gwt version are you use?
2011/8/18 Marko Borges markoborge...@gmail.com
Hello!
I am getting crazy with this!
How can I debug the client side of an application.
I am using Eclipse in
Hello,
I'm encountering strange issue when using GWT 2.4 RC1. When I compile my app
(from Intellij IDEA) the code is compiled to JS and everything is working
like a charm. The problem occurs when I try to use the hosted mode browser.
Here is the error that is printed in the hosted mode
ops, forgot to mention the distribution name - ubuntu
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/CKRHWeTeevkJ.
To post to this group, send
Just to be sure : you are starting the host mode in debug and connect to it
through the http://127.0.0.1:9997/yourApp address ?
Another potential reason is you have error(s) before reaching your
breakpoints and code execution stops.
Could you describe more how you start your application with
Now I just moved the Service class in the parent package ( service.Service )
and hosted mode is working like a charm.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Hi,
Can someone please help me in using xpath in GWT?
I tried smartgwt xmltools. it is failing.
Is there any alternative for this?
Here is the exception snippet:
java.lang.RuntimeException: Remote test failed at 192.168.123.39 /
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19)
Hi there,
I have to run an rpc call before any other rpc call. So far I have managed
to centralize Rpc to handle showing loading widgets.
What is your suggestion?
Thanks,
George
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view
Hello.
I've created a test case of my CellTable issue as a self contained
panel that can easily be imported into any project:
http://pastebin.com/Gd1BEREu
Basically I have two Date class fields in my row model, a startDate
and an endDate. Each Date has two columns in the CellTable (called
@ExtraTypes works. But I have multiple request calls. So @ExtraTypes can't
be used. Also the Proxies don't extends.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
I recommend apply Command Pattern. So you'll have only one servlet listen
rpc request. So there you can perform some operations around any rpc
request.
PD: Check gwt-dispatch http://code.google.com/p/gwt-dispatch/ and gwt app
architectures best
Solved! Sorry, it was such an idiot thing. I feel embarassed. Thanks for
trying to help!
2011/8/18 Boris Lenzinger boris.lenzin...@gmail.com
Just to be sure : you are starting the host mode in debug and connect to it
through the http://127.0.0.1:9997/yourApp address ?
Another potential
Hello everybody,
I built a @GenDAO annotation processor modeled after the GWTP
annotation processors. The annotation works great, and when I create
a new com.companyx.shared.domain domain object annotated with @GenDAO,
a corresponding com.companyx.server.domain DAO object is code
generated for
Is this the only way to do this, cover it up in the CSS file? I can't
suppress this behavior somehow?
I'm also not sure what you're suggesting, it looks like something got
cut off. Which CSS file needs updating, I'm simply using the stock CSS
file which has no reference to dataGridSelectedRowCell
The docs have actually already be updated for GWT 2.4! With GWT 2.3 (and
it'll still work with future versions if you need more than just
requestfactory on the server-side), you'll use gwt-servlet.jar.
--
You received this message because you are subscribed to the Google Groups
Google Web
The behavior is from the CSS. It isn't a hack to remove it.
You just need to change it so you're not using the stock css anymore. If
you're using cellTable
you'd want to edit one or both of the following 2 css properties.
.cellTableSelectedRowCell {
border: selectionBorderWidth solid
Hello.
I've created a test case of my CellTable issue as a self contained
panel that can easily be imported into any project:
http://pastebin.com/zDLPKUNh
Basically I have two Date class fields in my row model, a startDate
and an endDate. Each Date has two columns in the CellTable (called
On 08/18/2011 12:05 PM, jsg wrote:
Hello.
I've created a test case of my CellTable issue as a self contained
panel that can easily be imported into any project:
http://pastebin.com/zDLPKUNh
Basically I have two Date class fields in my row model, a startDate
and an endDate. Each Date
Hi,
The examples for MVP usually consist of simple pages each of which
typically contains a small number of basic widgets. What would be best
practice in applying MVP to pages that consist of several composite
widgets ?
Should one strive for a single presenter/view per page. Alternatively
is it
You can run the other RPC call('s) in the callback of the first one.
greetz.
On 18 aug, 17:43, George Agiasoglou george.agiasog...@newsint.co.uk
wrote:
Hi there,
I have to run an rpc call before any other rpc call. So far I have managed
to centralize Rpc to handle showing loading widgets.
I found my answer.
I packaged my annotation and processor as a GWT module and inherited
it in my app, but only put the source of the annotation class (and not
the processor) on the GWT compiler classpath.
On Aug 18, 10:03 am, Anthony Homan tho...@gmail.com wrote:
Hello everybody,
I built a
buenas noches, quisiera saber como crear radiobutton dentro de un celltablet
--
Jose F.Estevez H.
T.S.U. en Analisis y Diseño de Sistemas
Consultor Staff I
Tecnology Consulting Solutions - TCS
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
thanks Juan Pablo Gardella, you said it is a WARN no an error, but why can'tno
data be retrieved from server in hosted mode, and in web mode it work fine?
I check my code, it should be ok, only there is the WARN message in hosted
mode.
--
You received this message because you are subscribed
Thanks Paul for you detail explaination. my model is as below:
public class CTableData implements IsSerializable {
public String tableId;
public int currentPage;
public int lastPage;
public long totalRows;
public List com.compositesw.web.client.ui.table.CRowDatarows = new
I am using Cell Table in GWT.In that cell table I am adding these
columns.
TextColumnDocument idColumn = new TextColumnDocument() {
@Override
public String getValue(Document object) {
return Long.toString(object.getId());
}
};
TextColumnDocument
Hi,
I grabbed some DOM attributes that are generated from GWT controls
with FireBug, such as '__listener.f.q' which represents the currently
selected date of the DatePicker control. My question is, can I take
assume it to be always the same name so that I can write some code to
make use of it? I
Hi,
Use SingleSelectionModel or MultipleSelectionModel depending upon your
requirement. And refer
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection
for more info on adding handlers for
Thanks sowdri for reply
On Aug 19, 9:59 am, -sowdri- sow...@gmail.com wrote:
Hi,
Use SingleSelectionModel or MultipleSelectionModel depending uponyour
requirement. And
referhttp://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.ht...
for more info on adding handlers for
On 2011/08/18 00:21:22, rjrjr wrote:
LGTM
http://gwt-code-reviews.appspot.com/1522803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: rjrjr, drfibonacci,
Description:
Updates MobileWebApp to use GWT Maven Plugin 2.3.0-1
- It now honors scope provided
- Its is not necessary to clean up gwt-dev.jar nor gwt-user.jar
Please review this at http://gwt-code-reviews.appspot.com/1525806/
Affected files:
M
Revision: 10543
Author: bobv%google@gtempaccount.com
Date: Thu Aug 18 08:15:26 2011
Log: Created wiki page through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10543
Added:
/wiki/RequestFactory_2_5.wiki
===
Revision: 10544
Author: bobv%google@gtempaccount.com
Date: Thu Aug 18 08:15:43 2011
Log: Edited wiki page RequestFactory_2_5 through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10544
Modified:
/wiki/RequestFactory_2_5.wiki
Revision: 10545
Author: gwt.mirror...@gmail.com
Date: Thu Aug 18 08:27:02 2011
Log: Add missing libxpcomglue_s.a for Darwin FF5
http://code.google.com/p/google-web-toolkit/source/detail?r=10545
Added:
/plugin-sdks/gecko-sdks/gecko-5.0.0/Darwin-gcc3/lib/libxpcomglue_s.a
http://gwt-code-reviews.appspot.com/1525806/diff/1/samples/mobilewebapp/pom.xml
File samples/mobilewebapp/pom.xml (right):
http://gwt-code-reviews.appspot.com/1525806/diff/1/samples/mobilewebapp/pom.xml#newcode191
samples/mobilewebapp/pom.xml:191: version2.3.0-1/version
What's the -1 for? Also,
Revision: 10546
Author: mrruss...@google.com
Date: Thu Aug 18 08:39:41 2011
Log: removed for respin of 2.4.0
http://code.google.com/p/google-web-toolkit/source/detail?r=10546
Deleted:
/tags/2.4.0
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 10547
Author: mrruss...@google.com
Date: Thu Aug 18 08:41:39 2011
Log: tag the 2.4.0 release
http://code.google.com/p/google-web-toolkit/source/detail?r=10547
Added:
/tags/2.4.0
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1525806/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1525806/diff/1/samples/mobilewebapp/pom.xml
File samples/mobilewebapp/pom.xml (right):
http://gwt-code-reviews.appspot.com/1525806/diff/1/samples/mobilewebapp/pom.xml#newcode191
samples/mobilewebapp/pom.xml:191: version2.3.0-1/version
On 2011/08/18 15:34:16,
Since when? I haven't seen the -1 before.
On 2011/08/18 15:53:28, rchandia wrote:
http://gwt-code-reviews.appspot.com/1525806/diff/1/samples/mobilewebapp/pom.xml
File samples/mobilewebapp/pom.xml (right):
According to the GWT maven plugin web page 2.3.0-1 is the latest version.
http://mojo.codehaus.org/gwt-maven-plugin/
El 18 de agosto de 2011 11:53, rchan...@google.com escribió:
http://gwt-code-reviews.**appspot.com/1525806/diff/1/**
Ready for review
http://gwt-code-reviews.appspot.com/1520807/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
D'oh! I thought that was meant to be *our* version string. Sorry.
On Thu Aug 18 08:55:54 GMT-700 2011, Rodrigo Chandia wrote:
According to the GWT maven plugin web page 2.3.0-1 is the latest version.
On Thursday, August 18, 2011 5:55:37 PM UTC+2, Ray Ryan wrote:
Since when?
Early
July:
https://groups.google.com/d/topic/codehaus-mojo-gwt-maven-plugin-users/1dJZJVkukGU/discussion
I haven't seen the -1 before.
http://gwt-code-reviews.appspot.com/1525806/
There was a 2.2.0-1 or
Revision: 10549
Author: gwt.mirror...@gmail.com
Date: Thu Aug 18 09:54:36 2011
Log: Updates MobileWebApp to use GWT Maven Plugin 2.3.0-1
- It now honors scope provided
- Its is not necessary to clean up gwt-dev.jar nor gwt-user.jar
Review at http://gwt-code-reviews.appspot.com/1525806
Revision: 10550
Author: pengzhu...@google.com
Date: Thu Aug 18 07:20:07 2011
Log: Revise CellTableBuilder API. In the earlier version, a Utility
class is used to
render the rows/cells. The utility performs various checks to ensure the
proper
DOM structure. It also appends a cell
Revision: 10551
Author: gwt.mirror...@gmail.com
Date: Thu Aug 18 10:56:20 2011
Log: New requestfactory-apt jar in support of the validation
introduced in
r10542, convenience for IDE users. See
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation
Submitted as r10549
On 2011/08/18 16:07:27, rjrjr wrote:
LGTM
D'oh! I thought that was meant to be *our* version string. Sorry.
On Thu Aug 18 08:55:54 GMT-700 2011, Rodrigo Chandia wrote:
According to the GWT maven plugin web page 2.3.0-1 is the latest
version.
Submitted as r10549
On 2011/08/18 16:07:27, rjrjr wrote:
LGTM
D'oh! I thought that was meant to be *our* version string. Sorry.
On Thu Aug 18 08:55:54 GMT-700 2011, Rodrigo Chandia wrote:
According to the GWT maven plugin web page 2.3.0-1 is the latest
version.
Revision: 10552
Author: rj...@google.com
Date: Thu Aug 18 11:04:28 2011
Log: Edited wiki page RequestFactoryInterfaceValidation through web
user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10552
Modified:
/wiki/RequestFactoryInterfaceValidation.wiki
Revision: 10553
Author: rj...@google.com
Date: Thu Aug 18 11:05:09 2011
Log: Edited wiki page RequestFactoryInterfaceValidation through web
user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10553
Modified:
/wiki/RequestFactoryInterfaceValidation.wiki
Revision: 10554
Author: rj...@google.com
Date: Thu Aug 18 11:06:00 2011
Log: Edited wiki page RequestFactoryInterfaceValidation through web
user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10554
Modified:
/wiki/RequestFactoryInterfaceValidation.wiki
Revision: 10555
Author: rj...@google.com
Date: Thu Aug 18 11:17:07 2011
Log: Edited wiki page RequestFactoryInterfaceValidation through web
user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10555
Modified:
/wiki/RequestFactoryInterfaceValidation.wiki
No, but I'm not sure it can be. The error is actually legitimate: you have
@UiField Label and you're trying to stick an instance of Element in it, in
this case a funny looking one: g:Label...
My alternative is to make this error fatal, which means that you could not
use binder to render prefixed
Reviewers: drfibonacci, rdayal,
Description:
Adding integration with m2e 1.0 to MobileWebApp sample
Please review this at http://gwt-code-reviews.appspot.com/1528804/
Affected files:
M samples/mobilewebapp/pom.xml
Index: samples/mobilewebapp/pom.xml
Comment by gabriel@gmail.com:
I have another problem and I hope you guys could help me out.
I have an interface named BaseValue
void setValue(String value);
void setValues(ListBaseValue value);
String getValue();
ListBaseValue getValues();
and utils methods such as
int getValueAsInt();
Is there a script/ant target I'm missing, or is this done with some
script that isn't published? If so, could it be published?
(To create the gwt-servlet-X-sources.jar that ends up in maven repos.)
Ping?
- Stephen
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 10556
Author: gwt.mirror...@gmail.com
Date: Thu Aug 18 10:35:36 2011
Log: Fix for errors in type checking of GWT LogRecord. The incorrect
type
was being checked for, and the method signature for the instantiate
method was incorrect. And the test method was not doing the
88 matches
Mail list logo