Anchor with SafeUri constant

2015-03-10 Thread Jonas
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

Re: Gwt Time picker widget

2013-06-20 Thread Jonas
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

Re: GWT 2.5.1 integration with Autocomplete Google Places

2013-05-30 Thread Jonas
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 overlay type, how to pass variable to $this

2013-04-11 Thread Jonas
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() { }

GWT Maps V3 Api, clearing directions

2012-08-31 Thread Jonas
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

How to create ImageElement in UiBinder from ImageResource

2012-08-24 Thread Jonas
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

GWT Maps v3 resize problem in popup

2012-08-21 Thread Jonas
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:

Perfect caching problem

2012-06-25 Thread Jonas
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 {

Popup show/hide toggle functionality with auto hide enabled

2012-03-18 Thread Jonas
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

Using @UiHandler for click event on custom widget

2012-03-17 Thread Jonas
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

Re: GWT Compiler - java.io.IOException: Too many open files

2012-02-15 Thread Jonas
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

GWT Compiler - java.io.IOException: Too many open files

2012-02-14 Thread Jonas
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]

CheckBox valuechangehandler inside a FocusPanel with clickhandler

2011-10-07 Thread Jonas
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

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-10-01 Thread Jonas Zumkehr
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

Base64 encoded image in ImageCell?

2011-09-27 Thread Jonas
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

Re: Custom cell, not responding to mouse clicks

2011-09-26 Thread Jonas
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

Re: Custom cell, not responding to mouse clicks

2011-09-26 Thread Jonas
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

Custom cell, not responding to mouse clicks

2011-09-24 Thread Jonas
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

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-23 Thread Jonas
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

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-23 Thread Jonas
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

Could not initialize class com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer

2011-09-21 Thread Jonas
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

Ang.: Aw: Sending large nested DTO object over RPC - Browser freezes

2011-06-17 Thread Jonas
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

Sending large nested DTO object over RPC - Browser freezes

2011-06-15 Thread Jonas
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

Ang.: Re: Sending large nested DTO object over RPC - Browser freezes

2011-06-15 Thread Jonas
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

Re: Setting Up A Login Page To Use SSL

2011-05-25 Thread Max Jonas Werner
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

Re: Please send some sample code in detail for Gwt server side method unit test cases.

2011-05-24 Thread Max Jonas Werner
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

Re: Setting Up A Login Page To Use SSL

2011-05-24 Thread Max Jonas Werner
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

Re: Image URL from Facebook doesn't load on Chrome, but does on other browsers.

2011-05-23 Thread Max Jonas Werner
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

Prototypical implementation of Desktop Notifications

2011-05-20 Thread Max Jonas Werner
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

[gwt-contrib] Rudimentary implementation of Web Notifications

2011-05-18 Thread Max Jonas Werner
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

Re: KeyPressEvent doesn't capture Enter

2011-04-27 Thread Max Jonas Werner
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

MVP HasHandlers usage

2011-04-18 Thread Jonas
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,

Showing Captcha using UiBinder

2011-04-14 Thread Jonas
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=

Re: textbox water mark

2010-12-28 Thread Max Jonas Werner
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

Re: textbox water mark

2010-12-28 Thread Max Jonas Werner
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,

Re: textbox water mark

2010-12-20 Thread Max Jonas Werner
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

Re: textbox water mark

2010-12-20 Thread Max Jonas Werner
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

Re: Repeating Timer and onUnload()

2010-11-27 Thread Max Jonas Werner
:) 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

Repeating Timer and onUnload()

2010-11-23 Thread Max Jonas Werner
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() {

How is the the UncaughtExceptionHandler implemented/compiled?

2010-08-31 Thread Jonas Huckestein
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

xs linker does not support all GWT features?

2010-02-11 Thread Jonas Huckestein
/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

Re: Any Google Wave developers in this group?

2010-02-10 Thread Jonas Huckestein
, 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

Any Google Wave developers in this group?

2010-02-08 Thread Jonas Huckestein
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

ScrollPanel with DockLayoutPanel inside

2009-12-23 Thread Jonas
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

Re: MVP + UiBinder, thoughts?

2009-12-15 Thread Jonas Huckestein
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

Re: One class, several UiBinder templates

2009-12-14 Thread Jonas Huckestein
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

Re: code splitting: interpreting the result

2009-12-13 Thread Jonas Huckestein
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

Re: Parsing hash variables in the querystring?

2009-12-13 Thread Jonas Huckestein
(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

Re: Eclipse Plugin for GWT 2.0 release

2009-12-11 Thread Jonas Huckestein
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

Re: UI Binder, really a good approach?

2009-12-11 Thread Jonas Huckestein
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

Re: GWT + GAE best practice?

2009-12-06 Thread Jonas Huckestein
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

Re: Flex Table - Remove rows

2009-11-13 Thread Jonas
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

Re: Flex Table - Remove rows

2009-11-13 Thread Jonas
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

Flex Table - Remove rows

2009-11-12 Thread Jonas
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++) {

Re: Getting com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException while calling RPC method

2009-08-07 Thread jonas
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

Re: GWT and mysql

2009-07-13 Thread Jonas Trevisan
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

Re: Aspect-Oriented Programming for GWT, GWTENT-0.5 now available for downloa

2009-01-06 Thread jonas
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

[gwt-contrib] Suggestion, new TableBulkRenderer

2008-10-27 Thread Jonas
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 -~--~~~~--~~--~--~---

Re: Page renders diffrently on FireFox then IE7 and Chrome

2008-09-16 Thread Jonas
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

Re: Page renders diffrently on FireFox then IE7 and Chrome

2008-09-16 Thread 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

Page renders diffrently on FireFox then IE7 and Chrome

2008-09-15 Thread Jonas
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