Hi, I followed instructions on how to setup a maven gwt project using the gwt-maven-plugin. It works nicely, and under a 64-bit version of eclipse downloaded for Windows, with Java packages added later via EPP update sites, it works beautifully. However, on my mac, with eclipse downloaded directly from website as a pre-built, JavaEE bund...
what is a difference between component and the class extend composite in gwt?
...
Hello,
I am trying to implement a simple dialog. I would like to have OK and cancel buttons aligned right at the bottom of the dialog. I embed the buttons into the HorizontalPanel and try to set horizontal alignment to RIGHT. However, this does not work. How to make the buttons align right? Thank you.
Here's the snippet:
private Widget...
Hi
I want to get a nested div in GWT and be able to put a widget in there. Something like this:
<div id="container">
<div id="content_left">
</div>
...other divs
</div>
I want to be able to get content_left and put a widget in there. So far all RootPanel gets are the divs inside the tag. I also tried using DOM.getElemen...
All the time, I use PHP on server side to generate HTML/XHTML directly or via Smarty/PHPTAL or any other templating engine. I do believe most of developers follow the same path most of the time.
Now I'm thinking of delegating GUI & client-side to GWT and using to send RPCXML / RPCJSON / POST / GET to server side which run PHP. I'm looki...
I have a large project which I am compiling with GWT. During this process GWT generates some cache files in C:\Documents and Settings\[UserDir]\Local Settings\Temp\. For example:
gwt60627byte-cache (86,321 KB)
gwt60628byte-cache (4,445 KB)
gwt60629byte-cache (53,773 KB)
gwt60696byte-cache (8,111 KB)
gwt60697byte-cache (572,777 KB)
I k...
I was just reading my news when I stumbled on Google-Collections project.
Does this work with GWT?
...
Just discovered the Guava libraries project.
Do these work with GWT?
...
I am updating an existing project from GWT 1.5.2 to GWT 2.0.0. We use maven 2 to manage our dependencies and do all of our development in Eclipse 3.5.
Because we use maven to manage our dependencies, I do not have all of those jars in the war\web-inf\lib directory as GWT specifies. Instead, they are in the maven repository, just where...
I am using a simple FormPanel in GWT (com.google.gwt.user.client.ui.FormPanel).
Once setting the action for the form, in Firefox, Safari, Chrome the submit method works fine while in IE (8) nothing happens when submit is called (I am submitting a form to paypal, not that it matters).
I am on GWT 2.0. Is this some kind of known probl...
I have a GWT 2.0 ToggleButton that I have styled from a ResourceBundle:
ToggleButton tb = new ToggleButton();
tb.setStyleName(MyResources.INSTANCE.MyCssResource().TogBut());
The client side implementation then adds additional styles to the "TogBut-up" and "TogBut-down" for the styling of the states of the button.
I can't however add...
Hello,
I'm trying to add an object to a collection in my client view and to save it on server with hibernate/jpa mechanism.
Here is the problem:
Take a Group object which can contains Account objects.
On my client view (gwt), I create a new group (so the id is null) and I add to this group some accounts (where ids exist). BUT these ac...
Hello Everyone :-)
After having successfully built a non-trivial UI programmatically using GWT, I am trying to recreate the same UI using UiBinder. I have never used any kind of declarative UI system before and although I am making progress and can see the benefits of such an approach, I am failing to get a DecoratorPanel to wrap a Stac...
I have a class in which I have decrlared a serialized class to store image data
@Persistent(serialized = "true")
private DownloadableFile imageLogoFile;
Implementation of the class
public class DownloadableFile implements Serializable {
public DownloadableFile(byte[] content, String filename, String mimeType) {
super();
this....
Is there a way to ensure the same PersistenceManager instance is used throughout the different code parts executed in the context of the same RPC request?
Having to manually handle out the persistence manager instance from function to function is quite a pain:
for example:
private void updateItem(ItemModel listItem)
throws ...
I am writing a GWT application, using Hibernate at the server side. Right now, I am entirely confused about the correct way to transfer my objects to the client side of the GWT application in the least amount of code. I am using Gilead to avoid having to double the amount of classes in my domain model [1].
First off, my question is how ...
I wish to programatically clone a widget. I am able to clone the Element inside the Widget with Dom.clone but I don't seem to be able to create a Widget from this cloned element. Is this possible?
//somewhere in onModuleLoad()...
Button button = new Button("Original");
RootPanel.get().add(button);
//........
With GWT 2.0, I can't get CssResource to work properly in IE. I'm using NotStrict css resource, with some top level selectors like "html, body".
It works well in webkit & gecko browsers, in IE, only a few CSS rules are injected, like 5% of my stylesheet. It's very hard do debug.
...
Hello, I have a maven gwt project, and I'm using ClientBundle to package my image resources within the project. I would like to place the images in /src/main/resources as should be done in maven instead of src/main/java/com/mycompany/myproject/client as gwt wants.
Is there any way I can achieve this?
Thank you,
Sammy
...
Hello
I'm implementing a client-server GPS application. Client side is a J2ME midlet that sends GPS location via HTTP/XML to a Java Webservice (Tomcat servlet). The servlet stores positions in SQL database. The other client app is a web browser that can login and see the actual position of midlet using Google Maps. This client is writte...