You can also write pure JUnit (not GWT JUnit) tests in a separate project
and use syncproxy for calling your RPC services synchronously (very desired
behavior for testing RPC services). In this tutorial I try to explain, step
by step how to do it:
Hi Thomas,
ok, but if the user should be able to do this one would have to implement
such a functionality?
For example, there could be a small dropdown list somewhere at the table
header which allows to mark all columns that schould be shown...
Magnus
--
You received this message because
I have a scenario where i am working with a GWT DataGrid on which when the
user makes a double-click an event should be raised containing the
information about the model bean of the selected selected row.
e.g : For a DataGrid containing informations about persons (columns: first
name , last
My (dirty) workaround was extending AbstractCell class and adding the
custom code within:
@Override
public void onBrowserEvent(final Context context, final Element parent,
final C value,
final NativeEvent event, final ValueUpdaterC
valueUpdater) {
HasDataT
ok, but if the user should be able to do this one would have to implement
such a functionality?
Yes.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Oh my God! It's disgusting, but it is so!
Isn't exist better way to work with nested objects?
суббота, 11 декабря 2010 г., 20:10:03 UTC+4 пользователь tshalif написал:
I wonder either there is a better way to tell RequestFactory to
recursively populate my object graph - I feel a bit silly
If you want to do this outside the Datagrid you can use
DataGrid.addCellPreviewHandler(). The event contains all the information
you need.
And it is SelectionModel? super T because its less restrictive. For
example you can have a DataGridInteger that holds a more generic
SelectionModelNumber.
Editor Framework: RequestFactoryEditorDriver.getPaths() is one solution. It
gives you all paths needed by your Editor hierarchy.
In GWT 2.5 there is a global/wildcard operator
*: http://code.google.com/p/google-web-toolkit/issues/detail?id=6697 (but
** is not supported yet).
I think thats all
AFAIK one thing the with does for you is call the method named, so
with(lines) will call getLines(), which I imagine would let you build up
any structure, including a recursive one.
I haven't tried deeply nested structures, though - please update if you
know better.
On Tuesday, November 23,
Thanks Jens for the tip.
For anybody interested on the solution I've implemented it in the following
manner :
addCellPreviewHandler(new CellPreviewEvent.HandlerT() {
@Override
public void onCellPreview(final CellPreviewEventT event) {
//
I can use removeColumnStyleName to hide one column and addColumnStyleName
to restore that column. I run into one issue. Once one column is hiding,
each row of the result table has a large height (almost double).
James
On Wednesday, October 17, 2012 11:32:07 AM UTC-4, Thomas Broyer wrote:
Hello,
@Magnus
In my projects where i do use ant to make the automatic build and export of
JAR's i put the source code and compiled files together, without any
distinction whatsoever (only file extension). To build and export the jar
files with Ant i recommend you to use an Eclipse plugin for
You should be able to find what you are looking for under Large scale
application development and MVP - parts 1 and 2
See : https://developers.google.com/web-toolkit/articles/mvp-architecture
I've long since abandoned the notion of hiding my pojos from my views so I
guess I'm in MVC denial.
On Wednesday, October 17, 2012 5:28:16 PM UTC-4, furious_panda wrote:
Hi,
I need some help, I did not found examples or forums discussions about
these subjects.
I want to try to do a GWT application using MVP pattern. But I have some
difficulties.
In MVP, Presenter have to contain
Hi.
I am trying to use GWT Bean Validation but I can't find in the docs wich
ones are the supported annotations in client side and server side. For
example I've tried to use @Email and it seems doesn't work.
So I would like to know if there some list of supported annotations.
On the other
Hi,
I took a look at most of the libraries, but there is no one that can make
my happy, because none of them seems to be lightweight.
Atmosphere requires Maven. If I go to Maven someday, I would like to do
this on the basis of a free decision, but not as a dependency for the
library I am
Hopefully you have called uiBinder.createAndBindUi(this) after
instantiating your tabPanel_? If not it won't contain any tabs.
How/when do you call your render() method? Maybe you have refactored
something while migrating to GWT 2.5?
-- J.
--
You received this message because you are
Hello
I'm trying to add CLICK ROW EVENT to FixedWidthGrid but I have no any
result, dou you have any idea?
Thanks,
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
The problem is that websocket (as any other HTML5 spec) has chages a bit in
the last two years making some useful libraries outdated and not definitely
working.
On Thursday, October 18, 2012 6:56:19 PM UTC+2, Magnus wrote:
Hi,
I took a look at most of the libraries, but there is no one that
I'm trying to figure out how to use AutoBeanFactory to decode a JSONString,
e.g.
AutoBeanIPayload autoBean = AutoBeanCodex.decode(myAutoBeanFactory,
IPayload.class, jsonValue.stringValue());
IPayload payload = autoBean.as();
What I'm not clear on is how to define myAutoBeanFactory?
I
I have some rather complex data objects that currently get marshaled from
client to server and server to client (comet communication). Btw, not
complex in quantity of data, or data relationships, but data is arrays of
lots of different derived interface/class types. The data used to be just
Anyone had success with this? I can add the resin server, but when I try to
add the gwt project to it I just get There are no resources that can be
added to the server.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this
Just wondering if the GWT mail example for source maps code is available
for download? It seems that I've got the Code server to generate the source
mapping files and I enable the source mapping in my chrome browsers. But
when I select the JavaScript file in the source view all I see is
I have just recently discovered the onPreviewNativeEvent() method which
allows you to capture key presses without registering a KeyDownHandler.
Off the top of my head, I do not recall which widgets specifically support
this. I have been using it in my Dialog widgets. You will need to
Dear all,
I would like to add the following two inherits in my aaa.gwt.xml
inherits name='com.aaa.theme.standard.Standard'/
inherits name='com.aaa.theme.standard.StandardRTL'/
but these two should be added based on condition of the following
extend-property name=locale values=en/
extend-property
Just wondering if the GWT mail example for source maps code is available
for download? It seems that I've got the Code server to generate the source
mapping files and I enable the source mapping in my chrome browsers. But
when I select the JavaScript file in the source view all I see is
You can globally listen for all browser events by using
Event.addNativePreviewHandler(). Inside the handler you can globally check
for shortcut keys on keydown / keyup events.
But be aware that there are inconsistencies between browsers for the return
values of NativeEvent.getKeyCode() and
Hi All,
I need a requestfactory, which can transports a MapString, ? extends
BaseObject objects. Is there any example to help me to understanding, how
can I do it?
thx
Zamek
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view
Hi all,
I am using the following two inheritance in my xml file
*inherits name='com.sab2i.theme.standard.StandardRTL'/*
*inherits name='com.sab2i.theme.standard.Standard'/*
but i would like to inlucde one of theme base on the locale when the page
is called.
for example if locale =en, i would
I would like to get
[ text box ] Error message.
But I am getting this:
Error message [ text box ]
This is my ui.xml:
tr
tdui:msg description=EmailEmail/ui:msg/td
td
e:ValueBoxEditorDecorator ui:field=email
e:valuebox
g:TextBox styleName={resources.style.editField}/
Is it possible to perform regular Java object serialization in the GWT
client?
Puh, once compiled your Java code is JavaScript code. No JVM available, no
reflection available, classes/methods/variable names obfuscated. So your
only chance would be a GWT generator that produces
you could run the GWT project with external server;
On Friday, October 19, 2012 4:56:19 AM UTC+8, Carl Whalley wrote:
Anyone had success with this? I can add the resin server, but when I try
to add the gwt project to it I just get There are no resources that can be
added to the server.
--
I started seeing this today as well. However, it seems with the new version
of chrome you are not allowed to install extensions unless its through the
chrome web store (
http://support.google.com/chrome_webstore/bin/answer.py?hl=enanswer=2664769p=crx_warning).
But I couldn't find the plugin
Is it possible to use big Double objects for accessor methods in
conjunction with a BeanEditor implements EditorBean ?
With the code below it works in Eclipse but when deployed to Tomcat I get a
NoSuchMethodError (see below)
class Bean {
Double foo = null;
public void setFoo(Double foo) {
All,
Matthew doesn't mention it above (it's a copy/paste from the mail he sent
to us members of the Steering Committee a few days ago) but be prepared to
rebase your changes sometime in the near future, as the plugins folder
(for instance) will be extracted out into its own repository, meaning
Hi Guys -
We are going to be pushing the 2.5 RC2 (plus 1-2 minor cherrypicks) to
Final next week - if there are any problems, please let me
(unn...@google.com) know before Monday morning. Note that problems
includes only regressions - so stuff that worked in 2.4 and is now broken
in 2.5.
Hmmm - I'm not sure that will qualify as a regression - did it work in 2.4
(I thought closure compiler was new in 2.5)? I'll ping our guys that
worked on Closure Compiler though and see what the status is - thanks for
the heads up!
- Unnur
On Thu, Oct 18, 2012 at 11:19 AM, Johannes Barop
These came up on the GWT group from guys upgrading to 2.5 RC1/2:
RequestFactory (Update from 2.4 to 2.5):
https://groups.google.com/forum/#!msg/google-web-toolkit/kYrmJ3gQLRI/ZcjrSIZ_qWYJ
TabLayoutPanel (Update from 2.3 to 2.5):
Hi Johannes -
I've confirmed that this is not a regression - just a known issue with
the new closure compiler stuff. I've updated the bug accordingly.
- Unnur
On Thu, Oct 18, 2012 at 11:35 AM, Unnur Gretarsdottir unn...@google.comwrote:
Hmmm - I'm not sure that will qualify as a regression
Hi Jens -
It seems like both of those are still being debugged and are potentially
unrelated to the 2.5 upgrade. As far as I know, there were few changes to
RequestFactory and TabLayoutPanel in 2.5. I added both of those threads to
my watchlist however, and if they resolve in the next few days
I'm still having this issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=7475
Am 18.10.2012 um 17:56 schrieb unnurg unn...@google.com:
Hi Guys -
We are going to be pushing the 2.5 RC2 (plus 1-2 minor cherrypicks) to
Final next week - if there are any problems, please let
Reviewers: skybrian, tbroyer,
Description:
Replace instances of element.setInnerHTML(safeHtml.asString())
with element.setInnerSafeHtml(safeHtml).
Please review this at http://gwt-code-reviews.appspot.com/1857803/
Affected files:
M
LGTM
http://gwt-code-reviews.appspot.com/1857803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: mdempsky,
Description:
Update the DevMode Chrome plugin's Makefile to build a zip file to
upload to the Chrome web store.
Instead of building a crx file, we build a zip file containing the files
to upload. Also, the Chrome web store doesn't allow the key or update
URL to be set in
LGTM
http://gwt-code-reviews.appspot.com/1858803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1858803/diff/1/plugins/npapi/Makefile
File plugins/npapi/Makefile (right):
http://gwt-code-reviews.appspot.com/1858803/diff/1/plugins/npapi/Makefile#newcode57
plugins/npapi/Makefile:57: EXTENSION_FILES = *.html *.js *.png *.txt \
Oops, I did want to comment
46 matches
Mail list logo