Enter Key Forces Call to onModuleLoad()

2010-04-14 Thread Daniel Simons
In my app I have a View which implements the KeyUpHandler. Within the view I have a TextBox for which I have added the key up event handler. My view summarized looks something like this: public class View extends Composite implements KeyUpHandler { public View() {

Re: Enter Key Forces Call to onModuleLoad()

2010-04-14 Thread Daniel Simons
be submitting, causing the page to reload (and therefore calling onModuleLoad). --Sri On 15 April 2010 00:04, Daniel Simons daniel.simo...@gmail.com wrote: In my app I have a View which implements the KeyUpHandler. Within the view I have a TextBox for which I have added the key up event

How To Simulate KeyPress

2010-05-04 Thread Daniel Simons
I am creating a mobile web app with GWT and have discovered that the TextBox.setFocus(true) method does not work in mobile Safari. I also tried using JSNI to directly call element.focus(), which also did not work. Looking at other potential work arounds, the textbox in my application that I

How To Retrieve the Service Method Name?

2010-05-18 Thread Daniel Simons
I am looking for a way to retrieve the Service Method name for a given RPC Service Call. I would prefer a solution that is more precise than parsing through the request content via RPCServletUtils.readContentAsUtf8(request). Any suggestions? -- You received this message because you are

Safari Mobile And The Use of History Tokens

2010-05-26 Thread Daniel Simons
I recently created a mobile application using gwt with the MVP pattern along with a valueChangeHandler that invokes the onValueChange method when the History Token changes. There are 3 ways that my application updates the history token. 1) Defining the token within the html like in the following

Compilation NullPointerException

2010-06-07 Thread Daniel Simons
I'm getting the following error when compiling my project. Any ideas why this error would occur? Compiling module module name [ERROR] Unexpected java.lang.NullPointerException at com.google.gwt.dev.javac.CompiledClass.init(CompiledClass.java:83) at

Re: Compilation NullPointerException

2010-06-08 Thread Daniel Simons
extensively used inner classes and generics. The solution was, to make some inner classes static which should be done anyway when possible Stefan Bachert http://gwtworld.de On 7 Jun., 17:06, Daniel Simons daniel.simo...@gmail.com wrote: I'm getting the following error when compiling my project

Build file Corresponding to GWT Compilation From Eclipse

2010-06-15 Thread Daniel Simons
I'm curious about what occurs with regard to Ant when eclipse compiles my gwt project. I'm assuming there is a build.xml file that is generated and ant runs some javac process declared within the build.xml to compile the java into javascript. If this is correct, is it possible to view the

Re: Document.get().getElementById(String) and $doc.getElementById(String) returning nulls

2010-07-01 Thread Daniel Simons
i) The problem here is that you are trying to reference an element that has not yet been added to the dom. Check where you are adding the element...most likely a you have a call to RootPanel.get().add(elem). Be sure that this happens before calling getElementsById(). ii) I prefer to create my

Java 7 And Closures

2010-07-19 Thread Daniel Simons
Hey Guys, I was wondering if there have been plans centered around including Java 7 features such as closures to future versions of GWT. Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: GWT Rocks!

2010-07-27 Thread Daniel Simons
I agree On Tue, Jul 27, 2010 at 5:30 PM, nacho vela.igna...@gmail.com wrote: Hi, i just must say that i like GWT more and more every second!!! In argentinian 'GWT es una masa!!!' In spanish 'GWT está de puta madre!!!' Nothing more, i had to share my felling :D -- You received this

eCommerce Shopping Cart With GWT

2010-08-17 Thread Daniel Simons
I'm am in the planning phase of developing a shopping cart application using GWT for the front-end. So far I have looked at integrating with a couple eCommerce solutions (ie, konakart and softslate). Does anyone have any advice on eCommerce Solutions? Are there any solutions out there that

The Compiler is Compiling Only One Permutation

2010-09-09 Thread Daniel Simons
I am trying to compile all 5 permutation for my GWT App. For some reason it is only compiling 1. I've tried with the following line in my .gwt.xml and without the line. set-property name=user.agent value=''ie6,gecko,gecko1_8,safari,opera / I'm using Eclipse Galileo with Eclipse Plugin 3.5

Styling the DecoratedPopupPanel

2009-12-24 Thread Daniel Simons
I am trying to make the DecoratedPopupPanel appear in a different color. As far as I can tell changing the DecoratedPopupPanel properties in my css file does not affect the popup inside of the popup at all. For example, I tried introducing the following which had no effect:

Re: Styling the DecoratedPopupPanel

2009-12-26 Thread Daniel Simons
, vborder.png and corner.png files which make up the edges of the DecoratedPopupPanel would need to be modified. Has anyone made an attempt to do this? If so, what suggestions do you have? Thanks, Daniel On Thu, Dec 24, 2009 at 10:28 AM, Daniel Simons daniel.simo...@gmail.comwrote: I am trying

Re: MVP Article... Source Code?

2009-12-31 Thread Daniel Simons
I would be interested to know, for those that have studied the Hupa Project, and now the Contacts Project, what do you think is the more appropriate way of handling the Back/Forward browser button actions. Both methods seem to have there own flaws, for instance, as a project gets larger, the

Re: MVP Article... Source Code?

2010-01-03 Thread Daniel Simons
In my experience, the fewer components you have for a single view, the easier it becomes to maintain code. With that being said, there are some cases where it makes more sense to combine a large number of UI components into a single view, but you certainly can have many views and many presenters

Compiling GWT 2.0 Project Using Ant on Linux

2010-03-08 Thread Daniel Simons
Changes to the GWT-SDK between version 1.7.1 and 2.0 introduced an error at compile time which seems to be the result of the 'define-configuration-property' element being unknown by the compiler. Below is the error: [java] Loading module 'my.uploader.File' [java]Loading inherited

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
Moving the JRE System Library to the bottom resolved the Access Restriction errors, but now I receive a new problem. When I right-click on the hupa-parent project, then select run configuration, with -Dhupa.config.file=${project_loc}/server/src/main/webapp/WEB-INF/conf/config.properties included

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
-SNAPSHOT @ C:\Documents and Settings\dsimons\workspace\hupa\trunk\server\pom.xml] Could these issues be related? On Mon, Sep 14, 2009 at 11:45 AM, Daniel Simons daniel.simo...@gmail.comwrote: Moving the JRE System Library to the bottom resolved the Access Restriction errors, but now I receive

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
I sincerely apologize for the newb issues...The ClassNotFoundException was due to the fact that ${project_loc} was undefined. On Mon, Sep 14, 2009 at 1:46 PM, Daniel Simons daniel.simo...@gmail.comwrote: Still haven't discovered the source of the classNotFoundExceptionWhen I perform 'maven

Re: Running Hupa in Hosted Mode

2009-09-14 Thread Daniel Simons
Now the properties file is loading correctly, however, the following error occurs when running in hosted mode: [ERROR] Unable to load module entry point class org.apache.hupa.client.Hupa (see associated exception for details) com.google.gwt.core.client.JavaScriptException: (Error): Invalid

Re: Running Hupa in Hosted Mode

2009-09-14 Thread Daniel Simons
Interestingly...I modified EnableHyperlink.java line 57 from: html.getElement().getStyle().setProperty(color, grey); to html.getElement().getStyle().setProperty(color, blue); and the error did not occur On Mon, Sep 14, 2009 at 3:35 PM, Daniel Simons daniel.simo...@gmail.comwrote: Now

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Daniel Simons
pitfalls to altering the structure of Hupa that you know of? On Tue, Sep 15, 2009 at 5:21 AM, Norman Maurer nor...@apache.org wrote: Hi Daniel, so all is working now ? If you have any improvements for the README.txt just let me know.. Thx, Norman 2009/9/14 Daniel Simons daniel.simo

Re: Running Apache Hupa sample of GWT MVP

2009-09-16 Thread Daniel Simons
/15 Daniel Simons daniel.simo...@gmail.com: Hi Norman, After some minor frustration I did get it working...Thanks for your help. One way that my setup is different from the instructions in the readme.txt is that rather than creating a vm argument in the debug configuration, I simply

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Daniel Simons
Actually what is most likely happening is that when you changed the color property value it kicked off a fresh buildtry changing the color value back to grey to see if that was the case. Regards, daniel On Tue, Sep 22, 2009 at 9:32 AM, purplehaze roman.i...@gmail.com wrote: Hi *, I have

How To Extend Entities For Use In RequestFactory

2010-12-08 Thread Daniel Simons
I have several entities which are automatically generated using hibernate tools. I would like to make use of RequestFactory by extending these entities, but am running into a number of issues in doing so. It seems that the current design of RequestFactory requires that all DAO methods be defined

Nested Activities

2010-12-13 Thread Daniel Simons
I have solution for nesting activities that appears to work for all general cases. I would like to share my solution and find out how others are solving this problem. Here is my process: 1) for each panel of my site I have a unique Activity Manager/Mapper 2) the mapper maps to one or more

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Daniel Simons
I have a project that utilizes RequestFactory and works in 2.1 but not in 2.1.1. Is there an example out there making use of the 2.1.1 RequestFactory improvements? On Tue, Dec 14, 2010 at 8:05 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, December 14, 2010 1:14:30 PM UTC+1, kabram

GWT 2.1.1 RequestFactory Problem

2010-12-20 Thread Daniel Simons
I am running into an issue with conversion from domain object to client object in RequestFactory whereby the domain class being returned is invalid. I have a domain Entity called Connection and under the certain conditions the return type is mypackage.server.domain.Connection_$$_javassist_1

FileUpload Cell

2010-12-20 Thread Daniel Simons
Any suggestions for creating a FileUpload cell? It looks like it should be as simple as extending AbstractSafeHtmlCellString, then overriding the render method to contain an html constant input type=file/. Wanted to make sure I'm not leaving out anything. Daniel -- You received this message

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Daniel Simons
I think the css property you are looking for is display:block. You can assign this to your image or wrap your image in a div (divs have block display by default). Daniel Simons On Dec 22, 2010, at 9:57 AM, Ben Imp benlee...@gmail.com wrote: That is kind of a tricky question to answer

Re: HTML5 placeholder

2010-12-23 Thread Daniel Simons
You could call setAttribute on the UiField. This would look like the following: yourField.getElement().setAttribute(placeHolder,content of placeholder); Daniel On Thu, Dec 23, 2010 at 8:41 AM, alexh alexanderhar...@gmail.com wrote: Hi, I was wondering there is a way to add an HTML5

Re: HTML5 placeholder

2010-12-23 Thread Daniel Simons
I tried a test using setPropertyString, and cannot get it to work. Am I wrong in thinking that 'this[name] = value;' is not useful in this case b/c placeHolder should be an actual element attribute rather than a property that is referenced in js? Daniel On Thu, Dec 23, 2010 at 9:12 AM, Thomas