Re: gwt root panel presenter question

2012-02-09 Thread Joshua Carey
on the current tab (Screen). So somehow they are communicating but i'm unsure how. On Thu, Feb 9, 2012 at 2:22 AM, hua@autodesk.com linhu...@citiz.netwrote: Maybe you can use a singleton/static class to store all these values that need to be accessed cross classes? On 2月9日, 上午10时29分, Joshua Carey

Re: gwt root panel presenter question

2012-02-09 Thread Joshua Carey
on the current tab (Screen). So somehow they are communicating but i'm unsure how. On Thu, Feb 9, 2012 at 10:07 AM, Joshua Carey jc11...@gmail.com wrote: I'm a little confused how it all works. But basically when looking at a given tab (screen) the rootpanelpresenter is also displayed across the top

gwt root panel presenter question

2012-02-08 Thread Joshua Carey
I am new to gwt and I have followed the examples on gwt page to create a simple (3 tabbed) gwt project. In my root panel view and presenter classes, there is a drop down box that has street names. The drop down has about 10 different values with the default being the first one. My question

Joshua Carey wants to chat

2012-02-02 Thread Joshua Carey
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! --- Joshua Carey wants to stay

How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Joshua Carey
I have a gwt application that calls a gwt servlet (from my presenter class) to write a PDF file to disk, then in my presenter class I display the newly created PDF using Window.open(my.pdf);. The problem is that the window.open executes before the pdf is finished writing to disk. I would

Re: How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Joshua Carey
in the onSuccess() method. Hope this helps. On Feb 1, 1:52 pm, Joshua Carey jc11...@gmail.com wrote: I have a gwt application that calls a gwt servlet (from my presenter class) to write a PDF file to disk, then in my presenter class I display the newly created PDF using Window.open(my.pdf

Re: How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Joshua Carey
you need to pass the workload to the server method and pass an AsyncCallback object. In that object you put your Window.open() call in the onSuccess() method. Hope this helps. On Feb 1, 1:52 pm, Joshua Carey jc11...@gmail.com wrote: I have a gwt application that calls a gwt servlet (from my

PushButton in Table row??

2012-01-31 Thread Joshua Carey
I currently have a celltable that has data loaded from a database. For every row, I have a Button in the row that points to a pdf. The thing is that I wan't to put an image on the button on each row. So exact same logic is now but instead of having text on the button, I want to put an

Displaying PDF BLOB in new window - GWT

2012-01-25 Thread Joshua Carey
Hi everyone, I currently am getting a BLOB from oracle and displaying it in a new window. To accomplish this, I am reading the blob into a byte array, then writing the BYTE array out to the file system as pdf. I then use Window.open(URL to PDF on filesystem). The problem is that I am

Re: Displaying PDF BLOB in new window - GWT

2012-01-25 Thread Joshua Carey
or save it to users file system hth On Wed, Jan 25, 2012 at 7:52 PM, Joshua Carey jc11...@gmail.com wrote: Hi everyone, I currently am getting a BLOB from oracle and displaying it in a new window. To accomplish this, I am reading the blob into a byte array, then writing the BYTE array

Re: Displaying PDF BLOB in new window - GWT

2012-01-25 Thread Joshua Carey
- you may have to spend a few minutes searching the web for a few examples but I'd guess that there are literally thousands of examples of adding a simple servlet to serve pdfs and the like. Regards Alan On 1/25/2012 12:37 PM, Joshua Carey wrote: Hi, since i'm using a gwt built

HELP.. ADDING IMAGE TO PushButton.

2012-01-24 Thread Joshua Carey
Hi, I am new to GWT but been developing java for a few years. I am trying to add a simple png ICON to a button and in GWT I guess PushButton is the only widget to use. I am not concerned with changing the image when the button is pressed, etc. I simply want a default image to always

Re: HELP.. ADDING IMAGE TO PushButton.

2012-01-24 Thread Joshua Carey
Hi Tom, Thanks for your reply. Where is the issue tracker? I would definitely like to see why WEB-INF doesn't work. But I am in the process of trying your suggestion now. Here is my directory structure: note I am using the DIR to let you know the name is a directory. If I don't use dir then

Re: HELP.. ADDING IMAGE TO PushButton.

2012-01-24 Thread Joshua Carey
I tried using the example you provided: new Button(img src=' + GWT.getHostPageBaseUrl() + img/pdficon_large.png'); and it basically put the img src= tag above as text on the button. I am going to try to create an image object first using the path above: GWT.getHostPageBaseURL() +

Re: HELP.. ADDING IMAGE TO PushButton.

2012-01-24 Thread Joshua Carey
Hi Thomas, I finally got it to work. You were correct in that once I put the images as part of the war file and NOT in the WEB-INF, it worked correctly. Although our JAVA guy here is insisting WEB-INF is the place it needs to be. I'm assuming it is a GWT thing that doesn't allow reading files

HELP.. BUTTONCELL - How to put Image on ButtonCell??????

2012-01-24 Thread Joshua Carey
I have a table that has a button on everyrow. This button actually launches a PDF browser to display an image. How can I put an ICON IMAGE on a BUTTONCELL object? I have a regular PUSHBUTTON outside of my table that I am able to load an IMAGE on, but I don't see any options in GWT to use