i am using - and new to - GWT and i made an Image Widget to view an image. This image is found on my file system i wrote.
String src = "file:///D:/myfolder/myfile.jpg";
Image image = new Image();
image.setUrl(src);
but image doesn't appear!
...
Hello, I am trying to use JAAS to authenticate my users. My project is in GWT v2, which runs jetty. I use eclipse for development.
From http://code.google.com/p/google-web-toolkit/issues/detail?id=4462 I found out that jetty doesn't like any realm definitions in web.xml, so I moved them to jetty-web.xml.
I keep getting ClassNotFound ...
I have created Image. How to convert color Image to black&white. For example, on mouse over it.
...
Hi all,
I have a strange issue in my gwt app.. my application is working fine and looking good in Google chrome and firefox. But in IE i am facing some issues in visual display of widgets. The issues are :
ListGrid is having some extraspaces (with dark black spaces)between each columns and misalignments of entire grid
In Listgrid i h...
Im doing a program in GWT. Here is the snippet where Im having problem
private String[] populateRSSData() {
1==>> String[] data = null;
try {
new RequestBuilder(RequestBuilder.GET,
"../database.php?action=populaterss").sendRequest(null,
new RequestCallback() {
@Override
public void onResponseReceived(Reque...
I have a RPC service with the following method:
public List<Serializable> myMethod(TransactionCall call) {...}
But I get a warning when this method is analyzed, and then the rpc call fails
Analyzing 'my.project.package.myService' for serializable types
Analyzing methods:
public abstract java.util.List<java.io.Serializable> myMet...
I'm developing a web UI using GWT. While working only with the widgets I could debug from Eclipse using the Firefox extension, but now that I'm integrating the UI with other OSGi bundles I cannot use this solution.
For deploying the GWT application I create the .war and convert it to an OSGi bundle using BND. Then I launch the OSGi cont...
How can i send an Array with a HTTP Get request?
I'm Using GWT client to send the request.
...
I want to develop my first AppEngine application, that will also use GWT. Since I don't have any experience with GWT and AppEngine, I started with tutorials on GWT site, and after succefully completing Getting Started, I started working on http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
But I ran into a problem, and...
I'm not getting any effect out of DOM.setElementAttribute, am I doing something wrong?
class MyListBox extends com.google.gwt.user.client.ui.ListBox {
....
protected void setHoverAutoWidth() {
addDomHandler(new MouseOverHandler() {
public void onMouseOver(MouseOverEvent event) {
DOM.setElementAttribute(getElement()...
Hello.
I am beginner in GWT. My web-application need to save information, that user was typed, to txt file - how to implement this?
Thanks in advance.
...
Is there GWT api that will tell me which browser version it detected?
I've found a flaw with IE7's regex handling and need to code around some tricky String.matches() expressions.
...
What is the purpose of the IsSerializable interface in GWT (regarding the RPC mechanism). I have never been able to find a good explanation as to why it is the way it is and why the default Java Serializable tagging interface does not work.
...
I'm trying to change the row highlighting in my FlexTable using KeyCodes.KEY_UP/DOWN. This doesn't seem to work (based on 1809155):
public class KeyAwareFlexTable extends FlexTable
implements KeyDownHandler, HasKeyDownHandlers {
public KeyAwareFlexTable() {
this.addKeyDownHandler(this);
}
@Override
public void ...
Has anyone found/written any tutorials on the official GWT MVP framework that's found in the GWT 2.1 RC?
...
I'm looking for a way to do something like this:
// style.css
@def borderSize '2px';
.style {
width: borderSize + 2;
height: borderSize + 2;
}
where the width and height attributes would end up having values of 4px.
...
Language: Java/GWT
Platform: Ubuntu/Firefox
I need to listen for arrow keys pressed in a TextBox. It seems that pressing up and down does not generate keypressevents for some reason. Instead I tried giving focus to a focus panel, handling the arrow keys and passing any other events to the TextBox, but the delegation has no effect. I've ...
I have a multiselect ListBox in a FormPanel in GWT. I have set the name of the listbox to "foo" via ListBox.setName(). When I post the form, I see that all of the selected values get posted, but all are bound to the same name "foo". So I seemingly cannot get each of the posted values (I am using Django/Python server-side to handle the po...
Hi, I've been having some problems with GWT and SOYC.
Using the maven pluging for gwt: gwt-maven-plugin, how can I pass extra flags to the GWT compiler. I'm trying to set the XsoycDetailed flag, so that I can get a detailed SOYC report. Thanks.
...
Hi
I am getting a base64 byte[] from an xml file via jaxb and I am not sure how to convert this back to an gwt image (which is basically an underlying html img if I understood that correctly). How do I convert into the proper string?
My first instinct was to
public void onSuccess(final byte[] icon) {
img.setUrl("data:image/png;base64,...