gwt

Is there any ORM tools on google app engine (Java)?

Hi, everyone. I used Ruby and Rails before, and I enjoy Rails's ORM, which make me develop application very fast... ...(also make me reduce lots of SQL statement.) But now, I need to move from ROR to Google App Engine. Is there any ORM tools on that? Also, I heart that Google have some amazing tools called "Google Web Toolkit", can I tak...

How to use JAXB annotations in the client side for GWT?

I wanted to use the JaxB annotation in my class like this: @XmlRootElement public class ItemExtension implements Serializable { But GWT complains when I put it in the client side. [ERROR] Line 4: The import javax.xml.bind cannot be resolved [ERROR] Line 14: XmlRootElement cannot be resolved to a type Is there a workaround...

How to make a button link to another html page?

How to make a button link to another html page? button.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { //this code has to redirect to another page within the project } ...

TextItem In GWT With Decimal Problem

Hi, I think this may be very simple, but it swallow my time. I am using TextItem In GWT in my JAVA Application to get the price input from the the user. I am trying to stop allowing more than one dot (".") on text item. All my exercise are gone to fail. I am using regular expression; Try to handle the key chars on BlurHandler event of...

DockLayoutPanel not fullscreen with GWT uiBinder

I want to display a fixed-size GUI (say, 700 x 400 pixels) at the top left of a browser window arbitrarily sized by the user. Within my 700x400, I want to lay out components via DockLayout. If possible, I'd like to do this purely declaratively, i.e. without code, using UIBinder XML. The docs and examples aren't enough for me to figure t...

GWT/MVP: detecting change events in a table with proper MVP pattern

We're using gwt-presenter, but not really a question specific to that... I've got a table with users in it. As I build the table in the view (from the data provided by the presenter), I need to add two action buttons ("Edit", and "Delete") at the end of the row. What's the best way to assign click handlers to these buttons so the pres...

How do declarative layout and uibinder work?

Hey all, I have 2 questions, could you please help me... I want to know how does the createAndBindUi() method technically work? If I want to make UIBinder template dynamically, what can I do? I know that UIBinder works at compile time but is there anyway to implement something like that which works at runtime? ...

How to configure lazy or incremental build in general with Ant?

Java compiler provides incremental build, so javac ant task as well. But most other processes don't. Considering build processes, they transform some set of files (source) into another set of files (target). I can distinct two cases here: Transformator cannot take a subset of source files, only the whole set. Here we can only make la...

finding full path with FileUpload widget in Google Web Toolkit

Is there a way that I can get full path name of a file when I open it on a web application developed by GWT? Can I open a local file on my web page? Consider this is using the FileUpload widget. ...

How to change GWT-Visualization defualt locale?

Hi! I'm using Google visualization API in my GWT app, AnnotatedTimeLine to be more specific. It works fine, but I'd like the chart messages and zoom options to be localized (message saying there is no data etc). I have specified locale in my module's XML file, but this doesn't seem to work. Still getting english messages. Any ideas? Re...

Why is the dialog size so small with this GWT DockLayoutPanel?

I've generated a new Web Application project using GWT 2.0.4. I replace the onModuleLoad() code with: public void onModuleLoad() { DockLayoutPanel dp = new DockLayoutPanel(Unit.EM); dp.addNorth(new Button("north search"), 4); dp.addSouth(new Button("Search"), 4); dp.addWest(new Button("west"), 4); dp.addEast(new But...

How I can transform this scenario in GWT context

I have just started using GWT for web interface for our application. My app has three different views for three different types of users. Each user has different type of interface (i.e. different navigation different menus etc). There is one login page which will be index page of the application. The user shall enter the credentials an...

Should writing Javascript be avoided in favour of GWT/WebSharper or some other abstraction?

I'm curious what's the view on "things that compile into javascript" e.g. GWT, Script# and WebSharper and their like. These seem to be fairly niche components aimed at allowing folks to write javascript without writing javascript. Personally I'm comfortable writing javascript (using JQuery/Prototype/ExtJS or some other such library) and...

GWT document format converter

Hello, I am searching on ways to make a small app using GWT for converting documents from one format to other. Mainly these formats .doc , .pdf , .odt , .rtf.. and maybe a couple more. Has anyone tried this before?? I came across the library JODConverter but it needs open office to be already installed and i don't really know how ...

GWT CSS ignored on update

Hey all- Here's what I've got. I have a tree in GWT set up to process only a certain level depth of children, retrieving from the server and only updating according to which children one clicks. I am familiar with addStyleName() functions and I have used this to style the foreground color of certain tree nodes, and it has appeared suc...

GWT: Sending PDF document from server to client

Hi! I have an RPC service and one of the method is generating a report using Pentaho Reporting Engine. Report is an PDF file. What I'd like to do, is when user request a report, the report is sent back to him and save dialog or sth pops up. I tried this inside my service method: Resource res = manager.createDirectly(new URL(reportUrl), ...

Using GWT widgets as like jQuery Plugins?

Can i use Google GWT Widgets like a jQuery Plugins? For example: Gwt('#a_css_selector').mywidget({some:'prefs'}); ...

RestDataSource sample code : SmartGWT working samples using REST with Database CRUD

We've embarked on a GWT project and using SmartGWT -- we found out that the open source version of SmartGWT does NOT come with DataSources that connect to a RDBMS. In order to connect to a RDBMS, we need to extend RestDataSource and implement REST services that provides the CRUD in the format that the RestDataSource expects. Are there a...

Checking capsLock status

I am using Java with GWT. In TextItem(GWT), I want to show the callout if the Caps Lock is on while set focus on there. Is there any property or trick to accomplish this? Thanks in advance. Sathya. ...

Problem adding videos to panel

Hi, I have code that creates video files(with given names in an output folder).I have buttons in my UI that add : panel.add(video1); panel.add(video2); panel.add(video3); panel.add(video4); (where video1=new HTML("embed src=path....")) and clear : panel.clear(); these videos from the UI.The problem is that it works f...