On Wednesday, February 8, 2012 12:57:22 PM UTC+1, Zdenek wrote:
Am I really violating MVP design with the callbacks?
I'd say yes (at least it probably makes things harder to unit-test, which
is one of the reasons to use MVP int he first place).
Now the question is whether it's a real
On 08/02/2012 15:03, Chris Price wrote:
Another alternative which fixes the root cause of the issue, is to call -
canvas.getCanvasElement().getStyle().setDisplay(Display.BLOCK);
The problem is that the canvas display mode is inline, which causes
strange alignment issues like these (strange
You could simply use a boolean field updated by start(), onStop() and
onCancel(). In our case, we store the AcceptsOneWidget in a field on
start() and set the field to 'null' in onStop() and onCancel().
--
You received this message because you are subscribed to the Google Groups
Google Web
On Thursday, February 9, 2012 1:39:10 AM UTC+1, dparish wrote:
Thomas,
I'm working on restructuring AppActivityMapper so that I inject in the
Activities. My reasoning for the static injector was it kept me from
having gigantic constructor arguments. If AppActivityMapper has 30
You have the choice to skip sanitization if you trust the value:
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/safehtml/shared/SafeHtmlUtils.html#fromTrustedString(java.lang.String)
--
You received this message because you are subscribed to the Google Groups
Google
in gwt.xml
module rename-to='als'
and in service, write a function
@RemoteServiceRelativePath(search)
then in web.xml
servlet-mapping
url-pattern/als/test/url-pattern
/servlet-mapping
compile, als folder under war
run
the application cannot be run.
then delete the rename-to attribute
in
You also have to update your host html page which references your
module-name.nocache.js file.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
On Feb 9, 6:47 pm, Jens jens.nehlme...@gmail.com wrote:
You also have to update your host html page which references your
module-name.nocache.js file.
-- J.
Great!! this solve the problem!!
thanks
--
You received this message because you are subscribed to the Google Groups
Google Web
A 304 HTTP status code is supposed to tell the browser that it can
reuse its cached versions of those resources. I think shift-reload
still forces the new ones to be obtained but you have to ask why the
browser is sending ETag information for resources it apparently
doesn't have.
--
You
Hi,
the event-argument you get contains a getColumn()-method, which in
turn returns a Column?,?-object. You can use this to find the column
the user has clicked.
I use a custom Column-class, that itself keeps a name. This way I can
cast the column-object into the class I have created, that has a
Adding and removing the column is - IMO - a bad idea. As far as I
understood there'll be an easier way to add styles to columns in
GWT2.5. However at the moment I've implemented a workaround that works
for me - with some limitations:
I'm not too experienced, even though I'm using GWT for about 2 years
now. My understanding is that you might want to look into Activities
and Places.
I myself solved this in a different manner. Once the user logs in with
username and password, I verify it (and display a loading-circle
meanwhile)
The code below shows a table in the center of a DockLayoutPanel.
If you run this code you'll see that the header is not aligned with
the data when the horizontal bar shows up.
If there's no scrolling then the header is aligned correctly.
Tested with GWT2.4 on
IE8 Windows7 and IE7 WinXP
With
I realize that, I was just thinking a class that can be appended
directly to a SafeHtmlBuilder would be convenient. Something like
SafeHtmlString but SafeHtmlDate?
Thanks,
Pat
On Feb 9, 5:28 am, Thomas Broyer t.bro...@gmail.com wrote:
You have the choice to skip sanitization if you trust the
Now that I have looked a little more into it, something like this
would produce the same result without adding another class to GWT.
public static SafeHtml fromDate(Date date, String pattern) {
return new
SafeHtmlString(DateTimeFormat.getFormat(htmlEscape(pattern)).format(date));
}
Hi
Can someone please tell me a link to the complete setup sample example
on raphaelGWT? Also how to compile the code and testing it on the
browser?
-Thanks
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email
Hi!
In my current GWT project I have abstract class and many subclasses of it
and they depends on other heavy parts of application. I need split somehow
all parts that depends on each inheritor but I can't add manually
GWT.runAsync in childs. Can I declare something in abstract class to tell
Maybe you can use a singleton/static class to store all these values
that need to be accessed cross classes?
On 2月9日, 上午10时29分, Joshua Carey jc11...@gmail.com wrote:
I am new to gwt and I have followed the examples on gwt page to create a
simple (3 tabbed) gwt project. In my root panel view
What I want to do is:
Currently, I can only add scroll panel inside the center part of
DockLayoutPanel.
I want all the parts of DockLayoutPanel share a scroll bar.
If can do, how to implement a such class? Which class should I extend
and what interfaces should be implemented?
--
You received
1. If I resize a DockLayoutPanel, then which method in DockLayoutPanel
will be called to redo layout?
2. Here is my case:
MyOwnScrollPanel contains DockLayoutPanel (in center) contains another
DockLayoutPanel. (We call it panel2)
I override the onResize() method in MyOwnScrollPanel, it sets its
You have to construct it with your own caption widget.
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html#DialogBox(com.google.gwt.user.client.ui.DialogBox.Caption)
It would be nice if there was a better solution, but this is better
than
thanks for your suggestion
i am using like below:
ColumnT, String col = (ColumnT, String) event.getColumn();
int index = dataGrid.getColumnIndex(col);
//contains the column name list
columnList = VO.getColumns();
String columnName
I'm a little confused how it all works. But basically when looking at a
given tab (screen) the rootpanelpresenter is also displayed across the top
of the screen. And on other tabs if you change a value in the dropdown list
from the rootpanelpresenter, it also updates the values displayed on the
I'm a little confused how it all works. But basically when looking at a
given tab (screen) the rootpanelpresenter is also displayed across the top
of the screen. And on other tabs if you change a value in the dropdown list
from the rootpanelpresenter, it also updates the values displayed on the
I have a Map in a domain object and I'd really like to pass it through
RequestFactory. RF doesn't do Maps, so I now generate a List of KeyValue
in a getter in my domain object and they have KeyValueProxy equivalents on
the client side. It seems that RF bypasses the getter when populating the
Have you referenced the property in a .with() on your request on the
client-side?
http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#relationships
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this
No, I hadn't! Simple solution, fixed. I've been on that page all day but
missed that!
Thanks Thomas,
Richard
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
you have all information bout how to get started using raphaelgwt in its wiki:
http://code.google.com/p/raphaelgwt/wiki/GettingStarted
Also, if you are just getting started with your project, check out my new
project raphael4gwt, that I think it supports 100% of the raphaeljs API in
java.
Hi coders,
Hopefully the subject explains the question enough but here's a bit of
background.
I have been using events for pretty much everything, but while searching
for a better way than using ButonCell in my CellTable, I discovered that
using SafeHtml I could generate an anchor with a
While working on a feature to an app, that is similar to one found on
gmail, where you can move a gtalk chat to another window, I found some
problems concerning JSNI and child windows. Basically, JSNI works as
expected with objects and functions from another window, except when
it involves
Thanks, Alan! Looks good in Mac OS X Snow Leopard. Looks like we're
ok now until March 13th. Now if only Mozilla can resist the urge to
stop breaking things with every new release.
https://wiki.mozilla.org/Releases
On Feb 8, 11:17 am, Alan Leung acle...@google.com wrote:
The new plugin is
If you're just passing an ID, I think just using links is a lot better
than making events and listening for them. If you're passing an entire
object, then events are probably better to keep you from making
another call to the server.
I personally prefer links, because it also allows the user to
Thanks for the information. I updated all my locators and no longer have
the flushing problem.
It still seems like the behavior I'm seeing in the RF Servlet is differing
from what is documented at
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts#Flow
where
it says:
I personally prefer links, because it also allows the user to open the
link in another window or tab.
And the history works
--
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 design time, the images is located at
war/Images/abc.png
and I have a class called Commons in client package and stored the
image location as string
public class Commons {
public static final String abc_path = /Images/abc.png
}
then in the page show image, I write the following
Up until yesterday I was using the GWT Developer Plugin for Firefox
3.6 without issue. Then, suddenly, when I started up Firefox yesterday
it did not recognize the plugin as being installed. In the add-on
list, the plugin stated that I had to restart Firefox to complete the
installation. I tried
I was prompted to install the new version today. But it just won't
install. It says it'll be installed after restart firefox. But after
restarting, it still says it'll be installed after restarting. quite
annoying.
--
You received this message because you are subscribed to the Google Groups
Hi,
Can you please point me to an article or a thread which help me
develop a site like igoogle, where I can create a host page. I
understand, tht the Gadgets themselves are developed using Gadgets
API, but I would like to have the host page also hosted within my
intranet, so I want to build the
Well it turns out that for IE8 the compatibilty button was pressed,
while IE7 runs by default on compatibility mode.
On Feb 9, 2:53 pm, woland athensdeve...@gmail.com wrote:
The code below shows a table in the center of a DockLayoutPanel.
If you run this code you'll see that the header is not
Well it turns out that for IE8 the compatibilty button was pressed,
while IE7 runs by default on compatibility mode.
On Feb 9, 2:53 pm, woland athensdeve...@gmail.com wrote:
The code below shows a table in the center of a DockLayoutPanel.
If you run this code you'll see that the header is not
try
http://shindig.apache.org/
HTH.
Subhro.
On Fri, Feb 10, 2012 at 7:00 AM, RAJ nrwor...@gmail.com wrote:
Hi,
Can you please point me to an article or a thread which help me
develop a site like igoogle, where I can create a host page. I
understand, tht the Gadgets themselves are
There's a
com.google.gwt.user.RemoteServiceObfuscateTypeNameshttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/RemoteServiceObfuscateTypeNames.gwt.xml
module
since GWT 2.0; I guess it'll do what you're asking for.
--
Reviewers: johnlenz,
Description:
Fix Closure backend with JsNumericEntry
Please review this at http://gwt-code-reviews.appspot.com/1640803/
Affected files:
M dev/core/src/com/google/gwt/dev/js/ClosureJsAstTranslator.java
Index:
Reviewers: conroy,
Description:
Updates Missing Plugin Page
Please review this at http://gwt-code-reviews.appspot.com/1641803/
Affected files:
M plugins/MissingPlugin/war/MissingPlugin.html
Index: plugins/MissingPlugin/war/MissingPlugin.html
LGTM
http://gwt-code-reviews.appspot.com/1641803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
45 matches
Mail list logo