May be you are missing ui:field=textBox attribute?
g:TextBox ui:field=textBoxXXX/g:TextBox
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Have you tried Event.addNativePreviewHandler()
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/Event.html#addNativePreviewHandler(com.google.gwt.user.client.Event.NativePreviewHandler)
?
--
You received this message because you are subscribed to the Google
To migrate application from 2.3 to 2.4, please do the following
steps.
S. Abraham
www.DataStoreGwt.com
1. Copy existing project into a new destination directory.
2. Remove the gwt-servlet.jar from the directory war\WEB-INF\lib\gwt-
servlet.jar
3. Import your existing project, File
Honeycomb introduced
Fragmentshttp://developer.android.com/guide/topics/fundamentals/fragments.htmlthat
represent behaviors of portions of user interface. Fragments were
specifically created for tablets that have larger screens than regular
phones. They play nicely with the Back button by
is this possible?
On Sat, Sep 17, 2011 at 7:59 PM, Navindian navind...@gmail.com wrote:
a href=widgetURL
WidgetURL need to be mapped to GWT Widget/Panel.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
final DateBox.Format format = new
DateBox.DefaultFormat(DateTimeFormat.getFormat(DateTimeFormat.PredefinedFormat.TIME_SHORT));
begin.setFormat(format);
begin.hideDatePicker();
I have two problems with this DateBox
1. I don't want it
Hi,
I have HTMLPanel in which I include an iframe with a youtube. My
problem is that whenever I display a popup panel (e.g. custom made
dialog boxes) that youtube iframe is always displayed on top of the
popup panel?
Does anybody know how to solve this problem?
Thanks
--
You received this
Thanks Y2i!
Event.addNativePreviewHandler() does it (see code below)! However,
alt, ctrl, and meta doesn't seam to work (shift works)!? Since
FocusWidget.setAccessKey(char) handles key combos with the alt key GWT
should be able to listen for alt, right? But how? And how do I handle
ctrl and meta?
You have different options for loading / parsing JSON data:
1. Receive it as a string from the server as a result of a RCP / REST
call. Therefore Pirit was originally intended.
2. Load it from an external file. I'm using this option in my unit tests.
See
Hello,
gwt-servlet.jar contains server-side RPC classes, and must be changed
whenever you change client side implementation.
If you don't you'll likely get Incompatible remote service
exceptions.
Up to 2.3 the plugin did not give any warning, now it does and it's
one of the most useful features
in my host page,if there is no iframe which id is __gwt_historyFrame,i
also can make the application to support history.
why there must be a iframe?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hello,
I am currently facing the task of adding a new database layer based on
JPA2 to both a standalone Java application as well as a GWT project
that is based on the business logic provided inside this standalone
Java application. (Basically GWT acts as the UI-layer by providing
service methods
DeferredCommand is deprecated,than what is the DeferredCommand?
--
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 to
What do you mean?
On 19 sep, 09:14, Navindian navind...@gmail.com wrote:
is this possible?
On Sat, Sep 17, 2011 at 7:59 PM, Navindian navind...@gmail.com wrote:
a href=widgetURL
WidgetURL need to be mapped to GWT Widget/Panel.
--
You received this message because you are
Should work.. just make sure you only have one EntityManager instance per
request. I use a command pattern so I have one place where I can handle the
transaction (create transaction before command handler executes and commit
afterwards). But command pattern as well as DTO's leads to lots of
You do not need to invalidate or refresh your components to make them
updated with your last change.
There must be something wrong with your UI binding indeed. Could you
please post us a snippet of your xml? Which widget do you use to bing
the ui?
--
You received this message because you are
Scheduler.get().scheduleDeferred(...) is the replacement.
-- 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
https://groups.google.com/d/msg/google-web-toolkit/-/V1yWoo1ll6cJ.
To post to this
I have to provide a link in Google Map Infowindow like a
href=localhost:8080/xyzPanel
The Following code need to be exposed as /xyzPanel.
*
public* *class* xyzPanel *extends* AbsolutePanel {
*public* xyzPanel () {
setSize(200px, 200px);
Label lblNewLabel = *new* Label(label1);
As far as I understand you, you can do the following:
*http://path/showWidget=infoPanel*
String widgetToShow = Window.Location.getParameter(showWidget);
if(widgetToShow.equals(infoPanel)) {
// DO something to expose your Panel to the user
// infoPanel should be *visible=false* by default
I mean rather something like *http://host/index.html?showWidget=infoPanel*
--
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/-/TWvZ0Mw8s1YJ.
To post
Hi Jens,
Thanks for the quick reply.
I have the creation of DTOs and the JPA query language in mind. Thanks
for pointing out.
Our DB-Accesses are very straight forward, so no really complex
queries.
Just one more thing... Why is it important to have one EntityManager
instance per request?
What
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previsouly created Image
widget's url to an unsecured url (which causes IE to popup a dialog
asking the user for permission).
The
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previsouly created Image
widget's url to an unsecured url (which causes IE to popup a dialog
asking the user for permission).
The
Hi,
is there a possibility/tweak in the newly released GWT 2.4.0
RequestFactory API to integrate user permissions for executing
specific service actions (like an ActionValidator used in gwtp library
http://code.google.com/p/gwt-platform/wiki/IntroductionActionValidator
) ?
Say there is a need in
Hello Alexander,
I'm also struggling with this behaviour of UPDATE events being sent even if
nothing was actually updated.
The documentation for the WriteOperation class says:
UPDATE: An
Current status:
As for now, I did come as far, as deploy is ok, and all classes seem
to exist. However my current problem is, that no injection seems to
work out:
ServiceImpl:
@EJB(mappedName = sung/app/kylintv/product )
private Product product;
// public void
The toolbar in the rich text editor in the showcase example is missing the
RTL and LTR buttons that allow the user to specify that the text is RTL.
Without these buttons, the text is not truly RTL. For instance even if
entering Hebrew/Arabic text aligned to the right, bullets are on the left.
thanks ,but how to use ?
On 9月19日, 下午6时27分, Jens jens.nehlme...@gmail.com wrote:
Scheduler.get().scheduleDeferred(...) is the replacement.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Yes it is possible, you can add widget to the footer, override the
render() method in Header class. Try the below code.
HeaderStudent footer = new HeaderStudent(new
ClickableTextCell())
{
@Override
public void render(Cell.Context context, SafeHtmlBuilder sb)
{
The response for rpc, httprequest etc is asynchrnous. You can put the
handleResponse() code inside Scheduler.get().scheduleDeferred(...).
This will protect the current event loop.
S. Abraham
www.DataStoreGwt.com
On Sep 19, 5:39 pm, wahaha il...@yahoo.com.cn wrote:
thanks ,but how to use ?
On
I wish to do the step of exposing panel through URL.
On Mon, Sep 19, 2011 at 4:06 PM, Alexander Orlov
alexander.or...@loxal.netwrote:
As far as I understand you, you can do the following:
*http://path/showWidget=infoPanel*
String widgetToShow = Window.Location.getParameter(showWidget);
Thanks, that what I was looking for. Ill try it today and post back the
solution of anyone needed it layer.
On Sep 19, 2011 12:51 PM, Sudhakar Abraham s.abra...@datastoregwt.com
wrote:
Yes it is possible, you can add widget to the footer, override the
render() method in Header class. Try the
I have
*@UiHandler(dialogOk)*
*void dialogOk(final ClickEvent event) {*
*// do something*
*}*
*
*
This is perfectly valid code if dialogOk is within THIS class but how can I
add a ClickHandler to a static Widget that is defined in another class?
I want to avoid putting this
Try adding wmode=Opaque to the end of the iFrame URL.
On Sep 19, 1:16 am, erebrus ereb...@gmail.com wrote:
Hi,
I have HTMLPanel in which I include an iframe with a youtube. My
problem is that whenever I display a popup panel (e.g. custom made
dialog boxes) that youtube iframe is always
Why the GWT team decided to name the interface for a view Display?
IMHO View would be a better choice. This would turn the Contact
example into something like this:
public class ContactsPresenter implements Presenter {
public interface View {
// methods
}
}
public class ContactsView
I'm seeing an error in web mode that's not showing up in hosted mode.
I initially posted the issue on the GWT-Platform group here:
http://groups.google.com/group/gwt-platform/browse_thread/thread/08bf21467e9f2ec0
.
The gist is that ArrayLists in java throw
ArrayIndexOutOfBoundsException for
The JavaDoc says IndexOutOfBoundsException, so you shouldn't expect a more
specific exception.
BTW, coding with exceptions is kind of an anti-pattern in JS (because it's
faster to check for good values beforehand than rely on exceptions being
thrown when bad values are passed in); this is kind
write a @UiHandler method in another class the widget is declared look
stupid to me. (Cool, let's put 8 class with @UiHandler(widget) and let see
which handler wins!)
Why don't you simply do the opposite?
*@UiHandler(dialogOk)*
*void dialogOk(final ClickEvent event) {*
*
anyone knows?
On Sep 19, 5:09 pm, wahaha il...@yahoo.com.cn wrote:
in my host page,if there is no iframe which id is __gwt_historyFrame,i
also can make the application to support history.
why there must be a iframe?
--
You received this message because you are subscribed to the Google Groups
I have the same opinion and I would also like to know if there is a motive
for the name Display.
2011/9/19 Behi behran...@gmail.com
Why the GWT team decided to name the interface for a view Display?
IMHO View would be a better choice. This would turn the Contact
example into something like
I'm seeing this error in eclipse problems:
GWT SDK JAR gwt-servlet.jar is missing in the WEB-INF/lib
directory
Does anyone know whether this is new in GWT 2.4? I don't recall seeing
it before.
I'm using gwt-maven-plugin and my pom file has gwt-servlet as a
dependency. If I put this jar in
This iframe is needed for IE6-7 support. If you don't need to support those,
you can safely remove it.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Yes nothing to do with the maps API. xyzPanel need to be exposed as uri such
that when i click that url, it will show the existing panel window in gwt.
On Mon, Sep 19, 2011 at 4:37 PM, Rossko ros...@culzean.clara.co.uk wrote:
I have to provide a link in Google Map Infowindow like a
Hello again Juan (and all :)),
In an attempt to solve this problem:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/96c0c1ce2af9d96d/16b856e4e130a711
I decided to implement one of my services as RPC instead of RF. Then,
I started having this Hibernate issue again. I
I am trying to switch from CellTable to the GWT 2.4's new DataGrid
CellWidget however I run into a problem.
I used the CellTable inside two normal divs for styling purposes (border,
etc).
The UiBinder code looked as follows:
*g:HTMLPanel*
*div class={mainRes.style.box_shadow}
*
* div
I'm using smartgwt and I'm trying to add ComboBoxItem to a Dialog box
(I'm adding it to a DynamicForm and then adding the form to the dialog
box)
But, when I do that, the it doesn't let me select an item from the
drop down using the mouse. I can do it only using the arrow keys. It
works fine
Hi,
I'm displaying an HTML widget (populated with some downloaded html
page) in a PopupPanel object. The problem which I'm facing is as soon
as the popup panel loads with the HTML widget, it navigates to some
other page page and the content layout of popup panel changes.
Is there a way to prevent
Hi,
I want to make a RPC Call but instead i get the following Error:
com.google.gwt.user.client.rpc.StatusCodeException: 404 html
head
meta http-equiv=Content-Type content=text/html;
charset=ISO-8859-1/
titleError 404 NOT_FOUND/title
/head
bodyh2HTTP ERROR 404/h2
pProblem accessing
Hi everybody
I'm using a DockLayoutPanel with north, west, east, south and center
panels (SimplePanel). when I zoom in the rendered page on my browser,
the center panel gets smaller and all other panels surrounding it get
bigger. I think the the relative size of panels must stay constant
when
Case sensitivity: Your URL pattern is FoCuS/SpeicherService but your
software is looking for /focus/SpeicherService
On Sep 19, 1:33 pm, ph09 ph.hei...@googlemail.com wrote:
Hi,
I want to make a RPC Call but instead i get the following Error:
Thanks, that did it.
On Sep 19, 2:47 pm, KevMo kevinps...@gmail.com wrote:
Try adding wmode=Opaque to the end of the iFrame URL.
On Sep 19, 1:16 am, erebrus ereb...@gmail.com wrote:
Hi,
I have HTMLPanel in which I include an iframe with a youtube. My
problem is that whenever I
The now discontinued GWT Incubator project had a Time option for its
DatePicker:
http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=Spinner
I dunno why the GWT didn't pick up on this feature, but they didn't.
I was using the Incubator's date-time
Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() {
public void execute() {
// What went into your old DeferredCommand
}
});
On Sep 19, 8:39 am, wahaha il...@yahoo.com.cn wrote:
thanks ,but how to use ?
On 9月19日, 下午6时27分, Jens
Thanks for the advice! I've submitted a patch for GWT-P so the code
won't rely on the exception being thrown.
On Sep 19, 11:36 am, Thomas Broyer t.bro...@gmail.com wrote:
The JavaDoc says IndexOutOfBoundsException, so you shouldn't expect a more
specific exception.
BTW, coding with
This seems to be related to issue
6051http://code.google.com/p/google-web-toolkit/issues/detail?id=6051
.
--
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 had the same problem a couple weeks ago. Yes, DataGrid must display in
one of the Layout Panel classes as it needs the ProvidesResize interface you
describe. You may want to try the
Pages on this forum behave exactly the same.
What happens is the fixed sizes specified for north, west, east and south
stay the same in their numerical terms, they just get zoomed out. This
makes them bigger.
And the remaining area occupied by the center panel takes the rest of the
space,
How can use editors with this solution ??
--
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/-/NyHX7LQ9PAQJ.
To post to this group, send email to
Hi,
I am using an async data provider to refresh the data in a cell table.
How do I keep my selection model up to date?
At the moment, the selection model keeps returning selected objects
even if they are not available to the cell table anymore.
brgds,
Papick
--
You received this message
i want a example for AnimatedLayout
--
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 to
what is the browser event loop?
On 9月19日, 下午8时58分, Sudhakar Abraham s.abra...@datastoregwt.com
wrote:
The response for rpc, httprequest etc is asynchrnous. You can put the
handleResponse() code inside Scheduler.get().scheduleDeferred(...).
This will protect the current event loop.
S.
With the later versions of GWT, we can just do this:
// Listen for a mouse move anywhere on the page
MouseMoveHandler moveHandler = new MouseMoveHandler() {
@Override
public void onMouseMove(MouseMoveEvent event) {
System.out.println(Mouse move + event.getClientX() + : +
event.getClientY());
Hi Tiago,
I faced similar issues with hibernate, RF and lazy initialization.
Finally I found that it was because of proxying that is done by hibernate. I
finally solved it by using the @Proxy(lazy=false) annotation.
@Entity
@Table(name = CALL_TABLE)
@Proxy(lazy=false)
public class Call
...and i would like to have a cup of steaming hot coffee! ;)
On 20 Sep., 05:12, wahaha il...@yahoo.com.cn wrote:
i want a example for AnimatedLayout
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Thanks for responding.
Thanks in advance for any help.
Since I have posed two questions at once, if it's all the same to
everyone, I'd like to focus on my issue with canvas first.
What's goes wrong when I try to make a Canvas part of a view using
uibinder?
If I code something like this, I see
http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/BrowserEvents.java
File user/src/com/google/gwt/dom/client/BrowserEvents.java (right):
http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/BrowserEvents.java#newcode39
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previously created Image
widget's url to an unsecured url (which causes IE to popup a dialog
asking the user for permission).
The
LGTM
http://gwt-code-reviews.appspot.com/1545803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1546803/diff/1/user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java
File user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java
(right):
Reviewers: rjrjr,
Description:
Allow DateBox to fire events with null date values for invalid and empty
input
strings.
Please review this at http://gwt-code-reviews.appspot.com/1552803/
Affected files:
M user/src/com/google/gwt/user/datepicker/client/DateBox.java
Index:
http://gwt-code-reviews.appspot.com/1552803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/BrowserEvents.java
File user/src/com/google/gwt/dom/client/BrowserEvents.java (right):
http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/BrowserEvents.java#newcode39
LGTM
http://gwt-code-reviews.appspot.com/1551803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: rchandia,
Description:
Fixes some errors in the eclipse readme, and fixes some marker files.
Please review this at http://gwt-code-reviews.appspot.com/1553803/
Affected files:
M eclipse/README.txt
A samples/hello/war/WEB-INF/classes/marker
Index: eclipse/README.txt
http://gwt-code-reviews.appspot.com/1550803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
PTAL
http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/Document.java
File user/src/com/google/gwt/dom/client/Document.java (right):
http://gwt-code-reviews.appspot.com/1550803/diff/1/user/src/com/google/gwt/dom/client/Document.java#newcode18
LGTM
http://gwt-code-reviews.appspot.com/1550803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM. W/nits
http://gwt-code-reviews.appspot.com/1553803/diff/1/eclipse/README.txt
File eclipse/README.txt (right):
http://gwt-code-reviews.appspot.com/1553803/diff/1/eclipse/README.txt#newcode115
eclipse/README.txt:115: Project-Properties-Java
Compiler-AnnotationProcessor-Factory Path
Indent
LGTM
http://gwt-code-reviews.appspot.com/1552803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 10656
Author: rj...@google.com
Date: Mon Sep 19 14:21:25 2011
Log: Fixes some errors in the eclipse readme, and fixes some marker
files.
Review at http://gwt-code-reviews.appspot.com/1553803
Review by: rchan...@google.com
Revision: 10657
Author: ncha...@google.com
Date: Mon Sep 19 20:31:06 2011
Log: Edited wiki page BeanValidation through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10657
Modified:
/wiki/BeanValidation.wiki
===
Oh jeez. Reitveld just dropped a huge comment I had due to an invalid
XSRF token. Let's try again.
Scala puts $ in class names, e.g. Foo$.class for objects, so scalagwt
would have classes like Foo$$Bar or Foo$$anon$2 that messed up the
usual Foo$Bar - Foo.Bar source name heuristic. This led to
http://gwt-code-reviews.appspot.com/1542804/diff/5001/dev/core/src/com/google/gwt/core/ext/typeinfo/TypeOracle.java
File dev/core/src/com/google/gwt/core/ext/typeinfo/TypeOracle.java
(right):
83 matches
Mail list logo