On Thursday, September 22, 2011 8:51:10 PM UTC+2, Laura Bickle wrote:
My app works in development mode, but does not work in production mode.
How do I debug in production mode? I'm using the gwt plugin for eclipse.
I tried googling debugging in production mode gwt, but I'm still lost.
Hey, looks like they're adding the perfect tool for this kind of use cases:
http://code.google.com/p/google-web-toolkit/wiki/SourceMaps (code is in
review at: http://gwt-code-reviews.appspot.com/1558803/ )
--
You received this message because you are subscribed to the Google Groups
Google Web
On Friday, September 23, 2011 12:38:36 AM UTC+2, Richard wrote:
Thanks for the reply.
I read the link but still do not get it.
Does exclude attribute exclude files match the pattern or exclude
the file from the compile list? What I want is to tell gwtc to
*ignore* XmlAdapter or
Hi,
Do you use those classes on the client side ? If it the case, it cannot work
since you probably don't have any *.gwt.xml in your jar since this code
cannot be translated to javascript.
Else it is a classpath problem of your running application.
Can you describe please how you launch the
Hi
I noticed RequestFactoryInterfaceValidator disappeared from 2.4.
Googling around I came across this :
http://gwt-code-reviews.appspot.com/1503804/
From the comments I understand that I have to include requestfactory-apt.jar
in my build path to get compile time errors on RF validation
Ok, got it
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation
--
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,
This post may help:
- http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse
Cheers
Rob
http://code.google.com/p/gwt-cx/
On Sep 23, 6:48 am, cri chuck.irvine...@gmail.com wrote:
I am no doubt revealing my lack of basic maven skills, but here goes
anyway
Hi,
You might also consider Apache FileUpload:
- http://uptick.com.au/content/taking-advantage-apache-fileupload-and-opencsv
Cheers
Rob
http://code.google.com/p/gwt-cx/
On Sep 23, 5:31 am, Manuel Carrasco Moñino man...@apache.org wrote:
Take a look to gwtupload you can use either all the
GPE development mode removes some jar from the classpath of Jetty
based on the code actually used. Check your code refers to at least
one class of the jar sqljdbc4.jar. If not, try to reference (e.g.
instantiate) whathever class from this jar inside your GWT application
(either on client or server
You cannot exclude XmlAdapter or Unmarshaller if they are transitively
refereed to in your client code (ie, if a class in your client code
depends on it), since, as you might guess, every classes in your graph
hierarchy must be translatable in JavaScript on client side.
However, to ignore a class
Tday I updated addon in ff6 :)
--
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/-/139QL7S55JMJ.
To post to this group, send email to
To change the property of .cellTableHeader in CellTableStyle.css. To
set font-size:14px, color:#4b4a4a. I send the code segment try the
below code.
//CellTableStyle.css
.cellTableHeader {
font-size: 12px;
color: #4b4a4a;
height: 35px;
border-bottom: 2px solid #60a6bf;
I'm just trying to test my code that has DateTimeFormat in it.
However I see ...
java.lang.ExceptionInInitializerError
at
com.google.gwt.i18n.client.DateTimeFormat.getDefaultDateTimeFormatInfo(DateTimeFormat.java:808)
at
I found the solution here
http://groups.google.com/group/google-web-toolkit/...thread/thread/f4972bee810b6e86
The problem is the same with GWT. If you create a project in Eclipse
with AppEngine get an error. Solved my problem by creating the project
again without the AppEngine.
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f4972bee810b6e86
On 23 set, 08:50, andre_guitar7 andreg...@gmail.com wrote:
I found the solution
herehttp://groups.google.com/group/google-web-toolkit/...thread/thread/f4...
The problem is the same with GWT. If you
when I install gwt the eclipse shows me a error like:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
No repository found containing:
I have the same problem, if I compil only for IE8 it work fine, but if
I want to compil for IE6, IE8, FF and Chrome, I have an error on IE8
It work ONLY on IE8 :
inherits name=com.google.gwt.user.UserAgent/
set-property name=user.agent values=ie8 /
set-configuration-property
The new FF6 plugin seems to run much faster. In comparison, the
Cromium plugin feels so slow it might as well be standing still. Is
this a correct and generally true observation?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to
If the value of the final field is constant, the compiler can compute
the value of the conditions at compile time. This will cut off the
dead code and increase the speed.
public class A {
final boolean flag;
public A (boolean flag) {
this.flag = flag;
}
public
I am trying to understand and adopt the MVP good practices and
UIBinder alongside Activities, Places, Hisotry, Views,
Presenters
What strikes me is there seems to be too much code that does nothing.
Place is one example. In the MVP part 1 and part 2 examples we had
browser History modelled
If this is not the correct forum to ask this question, please direct
me to the proper location.
I have a portlet that I need to display other portlets based on
receipt of broadcasts of different events. So if the portlet receives
a note event, I need this portlet to display the note detail
Hi
Starting up a new project using *RF* and *guice-persist* on the server-side
to start JPA and provide transaction management.
I have a couple of tests going to inject the EntityManager into the services
via the ServiceLocator :
public class *ApplicationServiceLocator* implements
I have no answers, but I fully agree.
GWT development is getting horrendously complex. I have been playing with
the RequestFactory - and while
I appreciate what it is trying to do, the number of interfaces and classes
one has to deal with is staggering.
Let's hope that Dart (or Dash, or
I agree with you guys completely. Sometimes too strict of an OOP approach
can lead to lots of over-engineering.
I guess it's all about striking a fine balance and knowing when to pick the
battles you want to win and knowing when to concede defeat.
On Fri, Sep 23, 2011 at 11:26 AM, wstrange
I have to agree about this here as well, the Request Factory implementation
is something that requires a lot of boilerplate code. By the time one is
done implementing all the stuff you forget you had to make a call to the
server.
Alfredo
On Fri, Sep 23, 2011 at 11:26 AM, wstrange
I've solved a lot of the boilerplate issues by writing an annotation
processor to create my Proxies. I'd open source it, but I did it on my
companies dime and they arne't interested in opensourcing projects. It is
DEFINITELY worth the effort to do it though.
--
You received this message
Hello,
I've found out that GWT 2.3 compiler does not generate rpc.log files
any more.
Version 2.1 generated these handy files (we could then trace why
specific objects could not be serialized, why they are not reachable
etc.)
Is there any way to generate the rpc logs in GWT 2.3 ? (during both
The uptick post is very outdated. It will only confuse folks I'm
afraid. A much better place to start is the link I posted. (http://
code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven).
Developing GWT in conjunction with Maven has IMHO always been error
prone and tricky. It does seem like
Supposedly mozilla's jetpack SDK (https://wiki.mozilla.org/Labs/
Jetpack/Roadmap) will make it faster to develop and migrate add on's.
At this point however it is unclear to me whether the jetpack API
supports all API function calls required by the GWT developer plugin.
So I guess my questions
Yes, that is my workaround. :-) But it is a hack, we want to have a
*proper* way to fix it.
On Sep 23, 4:05 am, Thomas Broyer t.bro...@gmail.com wrote:
On Friday, September 23, 2011 12:38:36 AM UTC+2, Richard wrote:
Thanks for the reply.
I read the link but still do not get it.
Does
Could you clarify your example?
For example,
Let's say I have com.test.gwt_client.Client.java which refers
javax.xml.bind.Unmarshaller, but Unmarshaller is *NOT* really used -
it only exists in method signature.
What does XML look like?
source path=bind
exclude name=Unmarshaller.java/
On 23 September 2011 09:53, cri chuck.irvine...@gmail.com wrote:
The uptick post is very outdated. It will only confuse folks I'm
afraid. A much better place to start is the link I posted. (http://
code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven).
Developing GWT in conjunction with
A good place to get started would be
http://code.google.com/p/acris/wiki/AnnotationProcessing_DebuggingEclipse
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Did almost the same, but as a Maven plugin that scans the classpath for
classes extending a few base classes.
The only thing I regret: it's part of the build process, so proxies are
recreated each time, and therefore cannot be tweaked; which means that if
something needs to be tweaked, it has
Does this pb happen in dev/test mode ? Or in deploiement mode ?
In production mode.
May be you can try to use a GWT link instead of hard coded HTML mailto
link.
Can you kindly provide an example of what you mean by GWT link instead
of HTML link. Keep in mind that I chose the HTML link in
On 09/23/2011 10:51 AM, melody wrote:
Does this pb happen in dev/test mode ? Or in deploiement mode ?
In production mode.
May be you can try to use a GWT link instead of hard coded HTML mailto
link.
Can you kindly provide an example of what you mean by GWT link instead
of HTML link.
On Fri, Sep 23, 2011 at 7:33 AM, Vitaly vtl...@gmail.com wrote:
Do you have any ideas?
About what ... ?
-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app
I have an entity with an one-to-many relationship, and a single view on the
app where such entities are created, populated and persisted (Using
requestfactory).
At first, I thought I should create the requestcontext and instantiate a new
proxy of the entity when the view is started, like this:
*@Inject*
*private EntityManager em;*
Don't know how to answer your question, but here you should inject
ProviderEntityManager instead of EntityManager. The reason is that service
classes are stored like singletons, and hence you should inject a provider
as explained here
See my last answer. If the class is in your method signature, and thus
your code contains a reference to it, you cannot get rid of the class
with an exclude.
This directive works only if you want to ignore classes which are on
the path of the client side of the application (ie translated in JS)
Got it. Thanks very much!
On Sep 23, 3:54 pm, Alexandre Dupriez alexandre.dupr...@gmail.com
wrote:
See my last answer. If the class is in your method signature, and thus
your code contains a reference to it, you cannot get rid of the class
with an exclude.
This directive works only if you
Is there a way to setup an editor so with a subeditor for one item
within a list without having to setup a ListEditor? My example is:
I have an ConfigProxy that contains a list of LanguageProxy's (which
contain a language code and a boolean for whether it is the default
language or not). When
Hi,
this Wiki entry helped me to solve the problem:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation
Do exactly what is shown in the printscreens and it should work.
I'm not an experienced Java programmer and it was very difficult for me to
understand all the
Hi,
this Wiki entry helped me to solve the problem:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation
Do exactly what is shown in the printscreens and it should work.
If it's not working tell exactly what you did. I almost got crazy and did
see that they added
So I have a skeleton that looks like this:
TextColumnStatusRpcBean statusColumn = new TextColumnStatusRpcBean() {
@Override
public String getCellStyleNames(Context context, StatusRpcBean object) {
return ???;
}
@Override
public String getValue(StatusRpcBean object) {
return
On Fri, Sep 23, 2011 at 8:40 PM, Magno Machado magn...@gmail.com wrote:
And when the user press save, I would call a method on the service to
persist the whole entity in a single step, that is: There will be only one
service method call
Is this the right way of working with requestfactory?
You could edit and flush your subobject from the setValue and flush methods of
a ValueAwareEditor. You're not forced to use subeditors foreach and every value.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the
Note that the. with() only applies to return values, not to arguments. I.e.
from server to client only.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
In other words this requires some high level hacking just to bring Data form
A to B.
I miss the simplicity in all this. GWT is becoming to over engineered imho.
2011/9/23 Thomas Broyer t.bro...@gmail.com
Did almost the same, but as a Maven plugin that scans the classpath for
classes extending
Many people using JPA/JDO or similar on the server-side already have DTOs
and copy things from their entities to/from DTOs to bridge GWT-RPC and
JPA/JDO.
RequestFactory is not much different, except it does the copying part for
you, and it adds better performance (serialization/deserialization
I found this to work
res.addHeader(Content-Disposition, filename=+fileName
+.+extension);
thanks for the support! :)
On Sep 22, 3:18 pm, Ed ej19...@gmail.com wrote:
Here is what i have used:
response.addHeader(Content-Disposition, attachment; filename=\ +
session.getAttribute(REPORT) + \)
(not related to OP)
Ah, good to know, so I'm guessing RequestFactory tracks which
relationships you originally retrieved for a given proxy, and only
send these back with subsequent requests.. ?
On Fri, Sep 23, 2011 at 10:37 PM, Thomas Broyer t.bro...@gmail.com wrote:
Note that the. with() only
I get the exception below any time I try to add a RichTextArea to a
panel in IE9. The RichTextArea can be created, but the exception is
thrown any time it is added to a panel. I've recreated this pretty
easily - it will even happen if I just create a new GWT web
application project in eclipse,
No, RF does a diff between the object you retrieved (unmodifiable, passed to
context.edit(obj)) and the one you're editing (returned from
context.edit(obj)) at the time you fire() your context, and sends that diff
over the wire. If you didn't retrieve a property and fills it on the
Hello Thomas,
Thanks for the suggestion. I do not quite understand the user of
ValueAwareEditor though. I have checked the information at
http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html#ValueAwareEditor
and on your blog (http://tbroyer.posterous.com/gwt-21-editors), and
the
Ok, so now I did this:
on view start:
bars = new ArrayListBarProxy();
foo = request.create(FooProxy.class);
foo.setBars(bars);
when adding one item:
bar = request.create(BarProxy.class);
bar.setXxx(...);
bars.add(bar);
when saving:
request.persist(foo);
request.fire();
But only foo got
Well i agree with you that RF brings a lot of usefull features.
I just wish this could be done in a more simpler way. Like magnum said it s
just too much code.
2011/9/24 Thomas Broyer t.bro...@gmail.com
Many people using JPA/JDO or similar on the server-side already have DTOs
and copy things
Guys whats the difference between DataGrid and Cell Table , other than Data
Grid has fixed header and footer and just the content scrolls .
I have this problem where I have almost given up on resizing Cell Table if
window resizes . The problem here is I am not able to get cell Table
height.I
Once you know the stack, which might vary from company to company, one
option is to write a Maven Archetype that generates the boilerplate required
to get started. Which could well include your gwt-commons library, and a
rich set of BaseClasses for places and activities.. which is what we are
Even I'm struggling with ValueAwareEditors!
According to my understanding, onPropertyChange of Editors implementing
ValueAwareEditors, must be called automatically, by the driver, but so far
no success with it,,
A simple sample wil be a great help!
--
You received this message because you
Eclipse has 2 notions of classpath.
1. Classpath: Modify this in the Project properties BuildPath
settings
2. Runtime classpath: Modify this in Project properties run/debug
configuration settings
Almost every Eclipse classpath (ClassNotFoundException could be solved this
On 2011/09/22 23:35:21, unnurg wrote:
LGTM encore
http://gwt-code-reviews.appspot.com/1557803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: cromwellian,
Description:
Fix name clash between RequestContext and the FindRequest impl
interface.
I think this was only able to compile due to a javac bug. When I
reinstalled eclipse today (don't ask, just don't ask), this line
started failng with:
Name clash: The method
On 2011/09/23 20:00:59, rjrjr wrote:
Review requested
http://gwt-code-reviews.appspot.com/1559803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Bizarre.
LGTM.
http://gwt-code-reviews.appspot.com/1559803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1558803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 10671
Author: gwt.mirror...@gmail.com
Date: Fri Sep 23 15:47:50 2011
Log: Fix name clash between RequestContext and the FindRequest impl
interface.
I think this was only able to compile due to a javac bug. When I
reinstalled eclipse today (don't ask, just don't ask), this
67 matches
Mail list logo