Given the following:
public class NameTokens {
public static final String HOME_PAGE = home;
public static String getHomePage() {
return HOME_PAGE;
}
}
UiBinder:
ui:UiBinder
...
ui:with field=nt type=foo.bar.NameTokens /
...
lia
This is great!
I really like the GroupedListBox and UTCTimeBox, which really should have
been provided in GWT Core.
Any chance to see a publication to maven central for these widgets?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
I can recommend this library:
https://github.com/branflake2267/GWT-Maps-V3-Api
It is a Java wrapper around the Google maps v3 JavaScript API.
Here is a showcase of features: http://gonevertical-apis.appspot.com/
If you scroll down there is an example with autocomplete with places.
Here is the
Javascript newbie here, trying to create the following Javascript overlay
type. How can I accomplish this? this.name should evaluate to this.userId
public class LoginInfo extends JavaScriptObject {
private static final String USER_ID = userId;
protected LoginInfo() {
}
I'm using the GWT Maps V3 Api from
https://github.com/branflake2267/GWT-Maps-V3-Api
After finding directions on the map, I'm trying to clear the previous ones
before finding new.
In DirectionsRenderer:
/**
* This method specifies the map on which directions will be rendered.
Pass null
Hi,
I'm trying to move as much of my widgets into native HTML elements, for
example InlineLabel to span and so on.
But how do you use the img element in the most efficient way in UiBinder
with an ImageResource from a ClientBundle?
Do I have to set the class as a style defined with @sprite for
I'm using the GWT maps v3 javascript bindings developed by Brandon
Donnelson. I have a problem that the map doesn't display correctly when I
use it in a PopupPanel. It looks exactly as the picture in this thread on
stack overflow:
I am trying to implement the GWT perfect caching by using a custom javax
servlet filter. All files containing .nocache. should never be cached, and
files containing .cache. should be cached for a week.
Here is the code for my filter:
public class GWTCacheControlFilter implements Filter
{
I have a popup with setAutoHideEnabled (it automatically hides when you
click somewhere outside of it).
I display it using a button but I want to have toggle functionality. First
click shows the popup, then second
click on button hides it (but clicking somewhere outside also hides it).
The
I have created a custom widget which is basically a HTMLPanel that extends
Composite and is styled as a button.
I'm using the widget with UiBinder, but I want to use the @UiHandler
annotation inside the view where the button
is located and catch its click event.
How can I do this? I have tried
Thanks, it turns it the limit of open files on my ubuntu server where I
compile was 1024.
If anyone have the same problem I solved it by using this guide:
http://lj4newbies.blogspot.com/2007/04/too-many-open-files.html
In /etc/security/limits.conf I added
* soft nofile 65535
* hard nofile
I've recently started getting these errors when I GWT compile my project
for my ClientBundles (which have quite a lot of images).
[java] Rebinding ...ClientBundle
[java] Invoking generator
com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[java]
I'm wrapping a HTMLPanel inside a FocusPanel so I can add a clickhandler to
the entire panel to show a popup. Inside the FocusPanel I have a CheckBox
and the problem I have is that when I click on the check box
(ValueChangeEvent) I don't want the clickhandler on the FocusPanel to
trigger. Is
I read your reply, despite how dumb I would
feel if that was all it took to fix the problem... I just can't quite
work out what I'm doing wrong!
Thanks for your help,
Evan
On Sep 23, 5:03 pm, Jonas jonas.zumk...@gmail.com wrote:
Hi,
this Wiki entry helped me to solve the problem:
http
I'm trying to display a base 64 encoded image in my cell table. I've tried
using the ImageCell but nothing is displayed.
ColumnTravelDto, String ownerImageColumn = new ColumnTravelDto,
String(new ImageCell())
{
@Override
public String getValue(TravelDto object)
{
return
Hmm, I can't get it to work. Here's my full code:
public class GroupCell extends AbstractCellGroupDto
{
public GroupCell()
{
super(click);
}
@Override
public SetString getConsumedEvents()
{
return Collections.singleton(click);
}
@Override
I just want to make it possible to select the cell by clicking somewhere
inside it like a normal TextColumn for example. My cell just displays data
using a table with an image and some headers but I can't select a row in the
cell table by clicking somewhere on the image for example. If I change
I have a CellTable with a custom cell that extends AbstractCell and
overrides the render method for displaying its data. The problem is that I
can't click inside the actual cell to select it, I have to click somewhere
outside the cell. The default color change on mouse hover also does not work
the concepts that are used with the RequestFactory. If anyone
stumples upon a nice in depth explanation: Please let me know.
Jonas
--
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
verbose=false to Annotation Processing. I thought this
isn't necessary as they didn't mention it in the text. I was wrong.
Jonas
--
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
give me a hint for where I should look for?
Thanks
Jonas
--
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/-/qeF6NRHPYTAJ.
To post to this group, send
It definitely was hosted mode that was the problem. When compiled and
deployed it takes only a couple of seconds, somewhere around 5 seconds for
very large files which is still a bit too long for me to be satisfied. I
think I will give JSON a shot. Thanks all for the feedback.
--
You received
In my GWT program I parse a large xml file using JAXB on the server side
and then convert these objects into DTO. They contain a lot of strings,
doubles, and integers in a nested hierarchy. I'm using ArrayList as
collection for the nested objects. The problem is that when I send this over
RPC
This is hosted mode and on my intel core i3 work laptop. I tried the same
code on my home computer and there it was much faster, around 5 seconds
instead of 16. But still, far from what I had expected. I'll try and see
what the speed is when deployed.
--
You received this message because you
Nick,
On Tuesday, May 24, 2011 11:56:57 PM UTC+2, Nick Apperley wrote:
Max - With regards to point 1 I did consider it but it isn't feasible
to use SSL for the entire website when large amounts of data is being
sent to/from the server. Most of the data being received from the
server is in
Hi Rupesh,
I don't think this has anything to do with GWT. Perhaps you'll have more
luck asking the folks on the EasyMock mailing list at
http://tech.groups.yahoo.com/group/easymock/ or read the Spring docs at
http://www.springsource.org/documentation.
You should consider posting some more
Nick,
two points:
1. Have you considered using TLS/SSL for your complete application? Without
that a MITM would still be able to sniff the session cookie and act on
behalf of the user, sniff users' data, modify data on the way between server
and client and so on.
2. If you really really want
Hi erebrus,
without some code it'll be difficult to help you. Please post the code
snippet which creates your Image.
HTH
Max
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
at
http://groups.google.com/group/google-web-toolkit?hl=en.
package de.maxwerner.gwtplayground.client;
import com.google.gwt.event.dom.client.DomEvent;
/**
* Represents a native display event.
*
* @author Max Jonas Werner max.jonas.wer...@justsoftwareag.com
*/
public class DisplayEvent
at 17 May 2011 19:33:39
* Created by Max Jonas Werner max.jonas.wer...@justsoftwareag.com
*
* (c) Copyright 2011 Just Software AG
*
* This file contains unpublished, proprietary trade secret information of
* just software AG. Use, transcription, duplication and
* modification are strictly
Hi julio,
there's also an open issue in the issue tracker for GWT:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5558
It is increasingly annoying that the docs in
http://code.google.com/webtoolkit/doc/latest/tutorial/manageevents.html are
not updated to reflect this issue.
HTH
I'm developing a large system using MVP. In my view I use the
interfaces for returning HasClickHandlers instead of returning a
Button since I want to decouple the view as much as possible from the
presenter. My question is when I have a TextBox for example and want
to use both addKeyDownHandler,
I have a registration page for new users using SimpleCaptcha. I got it
to work without UiBinder but can't get it to work with. Does anyone
have any ideas to what I'm doing wrong?
The following works (without UiBinder):
private static String html = divtable ... trtd id=
Why has this topic been deleted from Groups?
On 20 December 2010 21:03, Max Jonas Werner m...@maxwerner.de wrote:
You're a lucky guy that you can use this feature. ;-)
Cheers!
Max
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group
This is weird. I can't search for this topic and it doesn't show up in my or
in pieceovcake's activity log but the direct link still works. What am I
missing here?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
Hi pieceovcake,
yes, we're using sth. like you've mentioned a lot in our application. It
looks sth. like this:
...
private TextArea _ta;
...
_ta.setText(placeholder);
_ta.setStyleName(textarea-placeholder);
_ta.addFocusHandler(new FocusHandler() {
@Override
public void onFocus(final
You're a lucky guy that you can use this feature. ;-)
Cheers!
Max
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
:)
On 23 Nov., 17:26, Max Jonas Werner m...@maxwerner.de wrote:
Hi,
I have built a widget for my GWT application that shows the latest
actions users of the application have performed. To refresh this
widget automatically I use a Timer and its schedule() method like
Hi,
I have built a widget for my GWT application that shows the latest
actions users of the application have performed. To refresh this
widget automatically I use a Timer and its schedule() method like
this:
private final Timer t = new Timer() {
@Override
public void run() {
exception handler.
So, what's the magic trick? Or does GWT really surround every function
with try catch? But even then, I only want to log errors that are not
explicitly caught somewhere along the way.
Any insights are greatly appreciated :)
Cheers, Jonas
--
You received this message because you
/browse_thread/thread/2b009cd96032d33e
)
It would be nice to get some statement on this from a googler. Since
Wave is developed using GWT I would like to be able to develop
extensions using GWT, as well.
Cheers,
Jonas
--
Jonas Huckestein
http://thezukunft.com
--
You received this message because you
, Jonas
On Feb 9, 2:58 pm, Sky myonceinalifet...@gmail.com wrote:
I also hope to incorporate wave into my current GWT projects ^_^
It mostly depends on how complete it is. Last I checked (a good number
of months ago) the Wave API was very much in it's infancy. I'm going
to revisit it soon!
On Feb
of the Wave API for
GWT that I made to locally test my gadgets, but I guess I might not be
the only one.
Cheers,
Jonas
--
Jonas Huckestein
http://thezukunft.com
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
Is it possible that you can't put a DockLayoutPanel inside a
ScrollPanel?
When I try nothing is paintet on the screen.
I really dont know what is going on - any help would be appriciated.
Thanks
/J
--
You received this message because you are subscribed to the Google Groups
Google Web
or soething (I will have to check that with my team though ;))
Cheers, Jonas
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email
etc...
In any case, concerning your original question, I guess that using a
custom constructor that sets someWidget (or not) and adding @UiField
(provided=true) will solve your problem, although I am having doubts
about the testibility of that :)
Cheers, Jonas
On Dec 14, 3:39 am, FKereki fker
guide
http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html
.
Concerning your second question, my preliminary tests have shown that
static member functions and variables do not cause the entire class to
be loaded, so you should be okay :)
Cheers and happy coding,
Jonas
On Dec 12
(param.getValue());
if(i.hasNext()) token += ;
}
}
/* ... ... ... */
}
This approach has thus far worked pretty well for our product :)
Cheers, Jonas
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
from its console tab ;)
Cheers, Jonas
On 11 Dez., 10:55, István Szoboszlai mrsz...@gmail.com wrote:
Hello Rajeev,
Actually I think it is good, but I liked it when it was a separate
window. Of course you can drag the development mode tab to be a
separate window.
I liked the tabbing
editor on
UiBinder is not a huge problem (perhaps we can even integrate it in
Dreamweaver, dear Google?). It is much more dificult to do that on top
of declarative Java :)
Cheers, Jonas
On Dec 11, 1:23 pm, Stefan Bachert stefanbach...@yahoo.de wrote:
Classical web development urges me to have
are JSNI overlay types. Does
anybody know of a way to use JDO objects on the client side?
Hope I could help :)
Cheers, Jonas
On Dec 6, 11:34 am, Dalla dalla_man...@hotmail.com wrote:
Hi all
I´m just now getting started with using GWT and GAE.
Curious about best practices when it comes to JDOs
for row i (which was row i+1 before you removed row i).
You could try this:
for (int i=0, n=__this.getRowCount() ; in ; i++)
__this.removeRow(0);
or this:
__this.removeAllRows();
HTH
Paul
Jonas wrote:
Hello all,
i'm trying to remove the rows from a dynamic flex table
for row i (which was row i+1 before you removed row i).
You could try this:
for (int i=0, n=__this.getRowCount() ; in ; i++)
__this.removeRow(0);
or this:
__this.removeAllRows();
HTH
Paul
Jonas wrote:
Hello all,
i'm trying to remove the rows from a dynamic flex table
Hello all,
i'm trying to remove the rows from a dynamic flex table, but without
success. This is my code, i have 5 columns and a variable number of
rows. The idea is to remove all the rows and put new rows in it.
Here is what i'm doing
for (int i = 0; i __this.getRowCount(); i++) {
i have the same problem...any help?
On 16 Jun., 11:23, ramraj sriramaraju2...@gmail.com wrote:
Hi,
I am using gwt2.0,i have some RPC service classes,previously i have
used 1.6 at that all rpc functionlaities are working fine after
changed to 2.0 i am un able to call the RPC methods,while
I connect to mysql and display data from a table on page?
--
Jonas Trevisan
Cel: 91273828
Msn: jonas...@hotmail.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group
Hi elninio,
i have the same problem with the inherits.
Any solution?
Regards,
jonas
On 2 Dez. 2008, 13:29, elninio khochtaf.an...@gmail.com wrote:
Hi everyone,
I see that GWTENT-ACEGI is being forgotten.
I can't find any thread on it.
Actually I'm trying to use acegi in my GWT App, but I
go.
I have an implementation of this rendering if anybody is interested.
Looking forward to your feedback
Best Regards
Jonas
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Hi, just to clarify... It's the field Anmärkning that renders
incorrectly in Firefox 3.0.1 on Windows XP Pro SP2 and SP3. In
Firefox, the field ORDLISTAN is inside field Anmärkning were as in IE7
and Google Chrome it renders correctly, that is apart and not over
another.
Best regards,
Jonas
Hi, I think you might have a point here. I may have got the idea of
HorizontalPanel backwards. I will try your approach and let you know.
Thanks!
Best regards,
Jonas
On 16 Sep, 11:53, Thomas Broyer [EMAIL PROTECTED] wrote:
On 16 sep, 09:24, Jonas [EMAIL PROTECTED] wrote:
Hi, just to clarify
is this the case? Is it a bug or have I missed something?
Best regards,
Jonas
package org.gutamal.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.FlexTable;
import
61 matches
Mail list logo