Hi,
Have you look at com.google.gwt.user.client.ui.HeaderPanel ?
Alexandre
2012/8/8 Santosh santosh.ku...@darkhorseboa.com
We have many screens where different types of GWT panels are used. One
common problem across many screens is that, content size is derived at
runtime. So, if I define
Hi,
The response of the first request contains the header
access-control-allow-origin: *. This is known as Cross-Origin Resource
Sharing ( see http://www.w3.org/TR/cors/ ) and allows to call other domain
with XHR.
Be careful, not all browser support this feature.
Alexandre
2012/7/24 KutaBeach
getData();
}
Alexandre
2012/6/21 tzhotmail mwakat...@gmail.com
Thanks Alexandre , but that did not work as well
On Tuesday, 19 June 2012 11:56:18 UTC-4, Alexandre Ardhuin wrote:
The value attribute in @ProxyForName should be com.vo.GenericTreeNode
instead of com.vo.GenericTreeNode**Account
You can use SingleUploader#setI18Constants (
http://gwtupload.googlecode.com/svn/trunk/website/javadoc/all/gwtupload/client/SingleUploader.html#setI18Constants%28gwtupload.client.IUploader.UploaderConstants%29)
Alexandre
2012/6/21 dev anshul2...@gmail.com
I'm using SingleUploader in my
The value attribute in @ProxyForName should be com.vo.GenericTreeNode
instead of com.vo.GenericTreeNodeAccount
Alexandre
2012/6/19 tzhotmail mwakat...@gmail.com
Please help on GWT JAVA Generics with ValueProxy
I have the following Domain class
public class GenericTreeNodeT implements
Hi Juan,
Was you triing with the latest version ?
Could you try to update gwt-maven-archetypes ( in gwt-maven-archetypes
folder : git pull ) and reinstall the plugin ( mvn clean install ) ?
The latest version works fine for me.
Alexandre
2012/6/1 Juan Pablo Gardella
Ok, thanks.
2012/5/29 Rajeev Dayal rda...@google.com
Just verified that you're added to the corporate CLA list. I think I was
looking at an outdated spreadsheet.
You're all good!
On Fri May 25 10:15:54 GMT-400 2012, Alexandre Ardhuin
alexandre.ardh...@gmail.com wrote:
Confirmation
Hi all,
A few days ago I submitted a patch (
http://gwt-code-reviews.appspot.com/1712803/ ) after having followed the
steps described at
https://developers.google.com/web-toolkit/makinggwtbetter#submittingpatches.
My CTO had signed the Corporate Contributor License Agreement (
2012/5/25 Thomas Broyer t.bro...@gmail.com
On Friday, May 25, 2012 2:55:21 PM UTC+2, Alexandre Ardhuin wrote:
I don't see the review made by Thomas in this contributors group and I
wonder why.
Ah, you didn't CC
google-web-toolkit-contributors@googlegroups.com.http://groups.google.com
some more digging to see what happened. Did you receive any sort
of confirmation e-mail? If so, could you forward it to me directly?
Thanks,
Rajeev
On Fri May 25 08:55:21 GMT-400 2012, Alexandre Ardhuin
alexandre.ardh...@gmail.com wrote:
Hi all,
A few days ago I submitted a patch
2012/5/21 Thomas Broyer t.bro...@gmail.com
On Wednesday, May 9, 2012 4:47:47 PM UTC+2, Thomas Broyer wrote:
Yes, please file a bug for that.
If you can contribute the patch to gwt-code-reviews.appspot.com it'd be
even better (see https://developers.**google.com/web-toolkit/**
Hi,
You can do :
Date now = new Date();
Date date5minutesAgo = new Date(now.getTime() -
TimeUnit.MINUTES.toMillis(5));
Date date5hoursAgo = new Date(now.getTime() - TimeUnit.HOURS.toMillis(5));
Alexandre
2012/2/7 tong123123 tong123...@gmail.com
as gwt has no Calendar class, how to do
Hi,
You have to explicitly add ScrollPanel in your DockLayoutPanel to make the
area scrollable.
Alexandre
2011/12/5 saurabh saurabh saurabh.bl...@gmail.com
Hi everyone,
I got the following lines of code here:
DockLayoutPanel doc = new DockLayoutPanel(Unit.PX);
//some
Hi,
see
http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html
Alexandre
2011/11/30 suresh babu sureshgbab...@gmail.com
Thank you for your quick reply, so how can I manage history without using
MVP framework.
On Tue, Nov 29, 2011 at 10:01 PM, Thomas Broyer
Hi,
To debug a remote server you have to :
- start DevMode on your localhost,
- connect to your remote server with the normal url
- add gwt.codesvr=localhost:9997 parameter to the url where 9997 is the
port on witch DevMode is listening
As exemple if you have your app running on
Hi,
You can look at the great tutorial Building Games With Google
Technologies http://proppy-playn101.appspot.com/#1
Alexandre
2011/11/2 James Butler jnbutler1...@gmail.com
If anyone else knows of online tutorials, books, or other game resources
for GWT, please reply here and list them for
Hi,
After migrate from gwt-2.3.0 to gwt-2.4.0, I face the following NPE when the
requestFactory method returns a List containing a null value :
27 sept. 2011 10:10:39
com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost
GRAVE: Unexpected error
java.lang.NullPointerException
Hi,
As javadoc of Composite.initWidget() says :
Sets the widget to be wrapped by the composite. The wrapped widget must be
set before calling any {@link Widget} methods on this object, or adding it
to a panel. This method may only be called once for a given composite.
So, it doesn't matter where
Oups, I had searched on this group but not in issue tracker.
Thanks Thomas
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email
Hi,
If you use the SimpleRemoteLogHandler, you have to add an URL mapping in
your web.xml
servlet
servlet-nameremoteLogging/servlet-name
servlet-classcom.google.gwt.logging.server.RemoteLoggingServiceImpl/servlet-class
/servlet
servlet-mapping
Hi,
You can not call an other domain with xmlHttpRequest. This is known as same
origin policy.
Alexandre.
2011/9/8 wahaha il...@yahoo.com.cn
i tested the RequestBuilder class,it does not work.
final RequestBuilder rb = new
RequestBuilder(RequestBuilder.POST,
Hi,
Although I can not find an up-to-date version of this file in 2.4
documentation, some informations on the bootstrap sequence are available at
http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideBootstrap
Alexandre.
2011/9/8 dreamer venugopal.vasire...@gmail.com
Hi,
As said in
http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#passing-java,
Java arrays appear to javascript as opaque value that can only be passed
back into Java code.
You have to use JsArray, JsArrayBoolean, JsArrayInteger, JsArrayNumber or
JsArrayString to pass
with
single objects like numbers or strings, but with a custom Java object.
Do I need to build a wrapper for doing It? -something like
JsLocationArray-, and add in there the possibility of pushing a
Location instead of the JSON structure I'm using?
Jésica.
On Sep 7, 5:13 am, Alexandre Ardhuin
Hi,
GWT has a built-in support for internationalization.
If you only want to write translated messages, use
com.google.gwt.i18n.client.Constants (see
http://code.google.com/webtoolkit/doc/latest/DevGuideI18nConstants.html) or
com.google.gwt.i18n.client.Messages if you need to substitute
Hi,
You can define an interface like :
package myPackage;
interface GetUrlCallback{
String getUrl(Bounds bounds);
}
and change the method TMSOptions#setGetURL() to accept a GetUrlCallback
parameter :
public native void setGetURL(GetUrlCallback callback)/*-{
this.getURL =
Hi,
You can use CSS to do this
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab {
background-color: #123456;
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab-selected {
background-color: #654321;
}
Alexandre
2011/9/1 nf...@pevco.com nf...@pevco.com
I'm using TabLayoutPanel and would like to
Hi,
Like property's definition of user.agent ( see
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/UserAgent.gwt.xml?r=4347)
you can define a property ( or extend user.agent ) to detect chrome
or
safari.
define-property name=myProperty
Hi,
You should have the following :
/MyModule.gwt.xml
/public/config.xml
Then, you can access file with the URL : GWT.getModuleBaseURL() +
config.xml
An other way to load content is to use a TextResource with ClientBundle (
see
Thanks Thomas,
As you suggest, I tried to use
gen${project.build.directory}/gwt-generated.jar/gen but unfortunately it
does not work ( gwt-generated.jar is just a folder in the build directory
).
I will wait 2.4 release to use longer names.
Alexandre.
2011/6/24 Thomas Broyer t.bro...@gmail.com
Hi all,
I'm on a encypted file system that does not support more than 256 characters
for file names.
My gwt project does not compile because of this restriction. One of
generated files is named :
it looks like
http://code.google.com/p/google-web-toolkit/issues/detail?id=6354
Alexandre.
2011/6/20 Alexandre Ardhuin alexandre.ardh...@gmail.com
Hi all,
I face a very strange behavior on requestFactory with GWT-2.3.
Sometimes, java.util.SetT collections are not deserialized as expected
Hi all,
I face a very strange behavior on requestFactory with GWT-2.3.
Sometimes, java.util.SetT collections are not deserialized as expected
(java.util.ListT works well). Some elements are missing.
Here's the code that illustrates the problem :
// --
//
Have you add an URL mapping in your web.xml ?
servlet
servlet-nameremoteLogging/servlet-name
servlet-classcom.google.gwt.logging.server.RemoteLoggingServiceImpl/servlet-class
/servlet
servlet-mapping
servlet-nameremoteLogging/servlet-name
Define a SingleSelectionModel and add it to CellTable :
final SingleSelectionModelT ssm = new SingleSelectionModelT();
cellTable.setSelectionModel(ssm);
ssm.addSelectionChangeHandler(new Handler() {
@Override
public void onSelectionChange(final SelectionChangeEvent event)
{
This test case shows you how to do :
http://code.google.com/p/gwt-google-apis/source/browse/trunk/ajaxloader/ajaxloader/test/com/google/gwt/ajaxloader/client/ClientLocationTest.java
Alexandre
2011/4/16 muggs muggs...@gmail.com
I'm currently trying out my first gwt app with gwt-map library. I'm
Hi,
You can use a com.google.gwt.view.client.MultiSelectionModel with your
CellTable
MultiSelectionModelT msm = new MultiSelectionModelT();
cellTable.setSelectionModel(msm);
for (T item : cellTable.getVisibleItems()) {
msm.setSelected(item, true);
}
Alexandre
2011/4/18 Subhrajyoti Moitra
but
that doesn't appear to work with ui binders where the constants interface is
utilized within the ui.xml file.
Did your project use the approach of the constants being referenced
directly in the ui.xml file?
Thanks,
Jeff
On Fri, Apr 15, 2011 at 12:03 AM, Alexandre Ardhuin
I have something similar in my project. I resolved the problem with Deferred
Binding.
In HTML page, I can set a js variable :
var profil = profil1;
This js variable will be re-use in Module.gwt.xml to replace default i18n by
a specific one:
!-- 'profil' property --
define-property
Suppose that you have :
g:DockLayoutPanel unit='PX' ui:field=dlp
g:north size='100'
g:SimplePanel ui:field=headerContainer
g:HTMLPanel ui:field=headerContent
(... content that can change ...)
/g:HTMLPanel
Hi,
You can retrieve the container element of your center and then get height
and width.
Widget centerWidget = ... ; // the widget at center
Element container =
myDockLayoutPanel.getWidgetContainerElement(centerWidget);
int width = container.getOffsetWidth();
int height =
Hi,
You probably have to update data in the cellList (with #setRowData) to
show only items matching your filter.
Moreover, hiding some elements in list could lead to differences between the
number of visible items and result of methods like #getRowCount() .
Alexandre.
2011/4/11 waldo2188
Have you look at ValueProxy with RequestFactory ?
http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#valueProxies
Your proxyfied object doesn't need to implement Serializable.
Alexandre
2011/4/10 Phalgun Guduthur phalgun.gudut...@gmail.com
Can someone tell me which is
You can use
com.google.gwt.user.cellview.client.CellTable.setRowStyles(RowStylesT) to
provide a class name by row.
Alexandre
2011/4/11 Patrick Cailly metronome.ba...@worldonline.fr
Is it possible to change the bakcround colors of certain rows in a
CellTable
ie in a table of persons :
{
background-color: blue;
}
Alexandre
2011/4/11 Patrick Cailly metronome.ba...@worldonline.fr
Any example showing this ?
thanks anyway
Patrick
- Original Message -
*From:* Alexandre Ardhuin alexandre.ardh...@gmail.com
*To:* google-web-toolkit@googlegroups.com
*Sent:* Monday, April 11
You can use the atmosphere framework and his GWT module :
http://code.google.com/p/atmosphere-gwt-comet/
Alexandre.
2011/4/6 Lucas Garcia somentelu...@gmail.com
Is there someone working with Comet in GWT?
I tried to look for it, there are some libraries in which allow you to
do it, but I
Hi,
You can also use a com.google.gwt.user.client.ui.PushButton that have a
constructor with 2 images as parameter.
Alexandre.
2011/4/5 Zak Linder zakn...@gmail.com
Hi Arilene-
You need to set the original image with a MouseOutHandler as well.
img_p1.addMouseOverHandler(new
If you use a com.google.gwt.user.client.ui.DialogBox to collect data. Thus
you are still in the same window.
Alexandre
2011/4/5 Mittal mitt...@gmail.com
I have following use case,
Master Form - has button called Add Row - that shall open Dialog Box
to collect data, lets say First Name ,
Hi,
You should use StackLayoutPanel to have integration with uiBinder.
See the exemple at
http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/client/ui/StackLayoutPanel.html:
g:StackLayoutPanel unit='PX'
g:stack
g:header size='3'bHTML/b header/g:header
change the standard blue color still unchangeable :(
thanks in advance
On 5 avr, 11:27, Issam boualem.is...@gmail.com wrote:
I am very thankful for your rapid answer
thank you very much
Issam
On 5 avr, 11:13, Alexandre Ardhuin alexandre.ardh...@gmail.com
wrote:
Hi
Hi,
Are you sure the textarea contains the good id attribute ?
Are you sure to enter the if statement ?
You don't have to use JSNI to update the textarea. Use instead :
Element element = Document.get().getElementById(fieldId);
if (element != null) {
GWT.log(found element with id: +
Not natively, but you can easily set this attribute :
Anchor a =
a.getElement().setAttribute(data-icon, delete);
Alexandre.
2011/3/24 mtrebizan mtrebi...@gmail.com
Does GWT support data-icon attribute for anchors?
--
You received this message because you are subscribed to the Google
Hi,
If you have ImageResource, you can use
com.google.gwt.cell.client.ImageResourceCell .
If you have only urls, you can create your own ImageCell like
com.google.gwt.cell.client.ImageCell and change html template used :
public class MyImageCell extends AbstractCellString {
interface Template
I have something like that in my code. I use a
com.google.gwt.user.client.ui.LayoutPanel
g:center
g:LayoutPanel ui:field=placeholder /
/g:center
and in java code :
@UiField
LayoutPanel placeholder;
public void setPlaceHolder(IsWidget w)
{
placeholder.clear();
Hi,
I think you should use :
cellTable.setRowCount(result.size());
cellTable.setRowData(0, result);
instead of :
cellTable.setRowData(result);
Javadoc of
com.google.gwt.user.cellview.client.AbstractHasData.setRowData(List?
extends T) tells : Set the complete list of values to display on one
ListBox use html SELECT element.
Thus, you have natively (without keypresshandler) keys up/down to change
selection and :
- in Firefox and IE : ALT+DOWN/ALT+UP to expand/collapse select.
- in chrome : Space/esc to expand/collapse select.
I don't know if you can expand select with javascript.
I use RequestFactory without JPA and I have no problem.
You just have to respect some rules listed at
http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/DevGuideRequestFactory.html#interface
If you only use RequestFactory to retrieve data, you can even use ValueProxy
instead of EntityProxy.
57 matches
Mail list logo