GWT frameworks?

2011-07-25 Thread flyingb...@gmail.com
Is there no more new big frameworks for gwt?

Only ones from this three choices?


Smart GWT, GXT, and Vaaldin?



I like gxt the best when I tried it before because of speed and widget
options.

Smart GWT was slow for me I not sure if they improved that.


Is there better frameworks now for gwt?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Is there a good html5 upload library to use?

2010-09-14 Thread flyingb...@gmail.com
I want to have multiple file upload and tried to follow
http://gwtpro.com/2010/01/30/using-gwt-deferred-binding-to-implement-an-html-file-input-widget/

I could not get it to work still.

I am wonder does anyone have a solution to multiple file upload?
I got http://code.google.com/p/gwtupload/ to work but this  can only
select 1 file at a time to queue.

So not a true multi file uploader.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Any bulk file upload in gwt?

2010-07-02 Thread flyingb...@gmail.com
Is there any. like a lib that will use the flash mass uploading?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Alternatives for gwt?

2010-05-05 Thread flyingb...@gmail.com
I am wondering are there good alternative libraries like smartgwt/gxt.

I am looking for better libraries to code with if there are any.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Export CSV from Client

2010-05-05 Thread flyingb...@gmail.com
to  save data as a file, you will need to passs the client data to
server and server send back the data to download as a cvs.

On May 5, 12:30 pm, cho.cabot cho.ca...@gmail.com wrote:
 I am trying to allow a user to download data he has manipulated in a
 GWT application in CSV format by clicking a button.  I do not want to
 have to go back to the server to create/download this CSV file since I
 already have the data I need for the file in the client.  I did not
 see a way to accomplish this in the GWT API, so I went the native
 JavaScript route.  I created these methods:

 private native Object exportOpen() /*-{
         var win = window.open(, export, );
         var doc = win.document;
         doc.open(text/csv, replace);
         return win;

 }-*/;

 private native void exportWrite(Object win, String line) /*-{
         win.document.writeln(line);

 }-*/;

 private native void exportClose(Object win) /*-{
         win.document.close();

 }-*/;

 And when a button is clicked, the following method is called:

 private void export() {
         Object win = exportOpen();
         // Actual code loops through data and writes lines, but for
 example...
         exportWrite(win, TEST,TEST,TEST);
         exportClose(win);

 }

 This code basically works, except for the fact that the output is just
 displayed in a new browser window without prompting the user with the
 open/save dialog, which is what I was after.

 Does anyone know how I can get the open/save dialog to be opened for
 the user?  Or, is there a way to create and download this data in GWT
 without using native JavaScript?

 Thanks for your help.

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Two way linking?

2010-04-09 Thread flyingb...@gmail.com
I am wondering if there is any way to do this.

I have a object that contains multiple values that the gui will show
multiple textboxes.

I would like to create a link between the textbox and values.

So if i edit the object value, the textbox will change and if I change
the textbox the object will change.

Is there a good way to do this?


also other textbox might be linked to same value so if I change the
value of the object both textbox change and if I change the textbox
value of either object the object value will change along with the
other textbox.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Can't access gwt server by address and not just localhost

2010-02-23 Thread flyingb...@gmail.com
Before it worked where i can run the development server and connect
from another computer. however now it seems can only connect from
localhost and not a comptuer name.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Can't access gwt server by address and not just localhost

2010-02-23 Thread flyingb...@gmail.com
lol, i accently clicked on report message as spam. I need help to fix
this problem. I am using eclipse and all the plugins for gwt. v2.0.2.
So i not sure what google updated lately that cased it to not listen
to public ip anymore

On Feb 23, 5:55 pm, flyingb...@gmail.com flyingb...@gmail.com
wrote:
 Before it worked where i can run the development server and connect
 from another computer. however now it seems can only connect from
 localhost and not a comptuer name.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Can't access gwt server by address and not just localhost

2010-02-23 Thread flyingb...@gmail.com
Never mind I found out how.

The development mode server will, by default, only bind to localhost
which will break cross-machine debugging. You can get the old behavior
by specifying -bindAddress 0.0.0.0. Please see issue (#4322) for more
details. For webAppCreator-generated ant files, you can pass this with
ant -Dgwt.args=-bindAddress 0.0.0.0 devmode.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



FireFox 3.6 Can't Debug Anymore :(

2010-01-21 Thread flyingb...@gmail.com
I just upgraded my firefox and now I cant debug anymore.

Only firefox seem to handle the slow ajax rpc speed in converting all
the data i get from the server.

chrome and ie seems to not work well. I tried to override the
compatibility of the extension and it didnt seem to work.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Why is ajax in debug mode so slow?

2010-01-20 Thread flyingb...@gmail.com
So what is the debugger doing to be so slow? Isn't the debugger
suppose to just be pure java emulating the outcome of the script.

On Jan 20, 2:01 am, makoki iagoto...@gmail.com wrote:
 Maybe it's because of real-time java to javascript compilation?

 On 20 ene, 02:53, flyingb...@gmail.com flyingb...@gmail.com wrote:

  In gwt debug mode, loading the data from the ajax serialization is so
  slow.

  If i compile it and run it the away loads in about a second but if
  loaded though the debugger plugin it takes a couple minutes for it to
  load the ajax datas.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Why is ajax in debug mode so slow?

2010-01-19 Thread flyingb...@gmail.com
In gwt debug mode, loading the data from the ajax serialization is so
slow.

If i compile it and run it the away loads in about a second but if
loaded though the debugger plugin it takes a couple minutes for it to
load the ajax datas.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Multiple Methods Within One RPC Service?

2010-01-12 Thread flyingb...@gmail.com
I use one too. I think a single point is better than multiple points.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Gilead 1.3

2010-01-12 Thread flyingb...@gmail.com
I never understand how to use hibernate. It seems so complex and doing
normal mysql commands seems a whole lot eaiser.


On Jan 12, 12:19 pm, noon bruno.marches...@gmail.com wrote:
 Oups, I forgot to post the project URL :http://gilead.sourceforge.net

 Regards
 Bruno

 On 12 jan, 21:09, noon bruno.marches...@gmail.com wrote:

  Hello,

  I am pleased to announce the new release of Gilead, an Open-Source
  framework for seamless intregration of Hibernate and GWT.

  This new release brings new features, such as
      - Predefined remote services, for both GWT :
           * The Loading service allows you to load an entity or a lazy
  association from the GWT side,
           * The Request service brings the ability to execute a HQL
  request directly from the GWT side,
      - A new specific transport annotation (@LimitedAccess) to
  implement custom access to entity fields (role based for example)
      - Lazy property checking on GWT side, to know if a null
  association on client side was already null on server or just lazy but
  not loaded (and thus replaced with null by Gilead)
      - A ConfigurationHelper class, to limit Gilead configuration to
  one line of code

  A specific effort has also been made to improve performances and GWT
  serialization.

  Finally, this release also fixes many issues, reported since 1.2.3,
  especially on persistent collections.

  Hope this helps !
  Bruno
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Is for each loop faster than for loop?

2009-12-15 Thread flyingb...@gmail.com
Just wondering what is a better way to code. Using for each loops or
for loops?

I am wondering will the resulting javascript be different.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Is for each loop faster than for loop?

2009-12-15 Thread flyingb...@gmail.com
Well i just ran test i not sure how to compile out differently but it
seems like for each loop is slow.

- For Each Loop ---

Start: 1260903435636
End: 1260903435648
ForEach - Elapsed time in milliseconds: 12

---END---

- Iterator Loop ---

Start: 1260903435648
End: 1260903435656
Iterator - Elapsed time in milliseconds: 8

---END---

- For Loop 

Start: 1260903435656
End: 1260903435662
For - Elapsed time in milliseconds: 6

---END---

- While Loop ---

Start: 1260903435662
End: 1260903435668
While - Elapsed time in milliseconds: 6

---END---

Using the code

[code]
package com.ottocap.NewWorkFlow.client.Widget;

import java.util.Arrays;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ArrayToList {
  public ArrayToList() {

  String sArray[] = createArray();

  //convert array to list
  List lList = Arrays.asList(sArray);

  System.out.println(\n- For Each Loop ---\n);
  long lForEachStartTime = new Date().getTime();
  System.out.println(Start:  + lForEachStartTime);

  //for loop
  for (Object thestring: lList){
  String stemp = (String)thestring;
  }

  long lForEachEndTime = new Date().getTime();
  System.out.println(End:  + lForEachEndTime);

  long lForEachDifference = lForEachEndTime - lForEachStartTime;
  System.out.println(ForEach - Elapsed time in milliseconds:  +
lForEachDifference);

  System.out.println(\n---END---);


  System.out.println(\n- Iterator Loop ---\n);
  long lIteratorStartTime = new Date().getTime();
  System.out.println(Start:  + lIteratorStartTime);

  //iterator loop
  IteratorString iterator = lList.iterator();
  while ( iterator.hasNext() ){
  String stemp = iterator.next();
  }
  long lIteratorEndTime = new Date().getTime();
  System.out.println(End:  + lIteratorEndTime);

  long lIteratorDifference = lIteratorEndTime - lIteratorStartTime;
  System.out.println(Iterator - Elapsed time in milliseconds:  +
lIteratorDifference);

  System.out.println(\n---END---);



  System.out.println(\n- For Loop \n);
  long lForStartTime = new Date().getTime();
  System.out.println(Start:  + lForStartTime);

  //for loop
  for (int i=0; i lList.size(); i++){
  String stemp = (String)lList.get(i);
  }

  long lForEndTime = new Date().getTime();
  System.out.println(End:  + lForEndTime);

  long lForDifference = lForEndTime - lForStartTime;
  System.out.println(For - Elapsed time in milliseconds:  +
lForDifference);

  System.out.println(\n---END---);


  System.out.println(\n- While Loop ---\n);
  long lWhileStartTime = new Date().getTime();
  System.out.println(Start:  + lWhileStartTime);

  //while loop
  int j=0;
  while (j lList.size())
  {
  String stemp = (String)lList.get(j);
  j++;
  }
  long lWhileEndTime = new Date().getTime();
  System.out.println(End:  + lWhileEndTime);

  long lWhileDifference = lWhileEndTime - lWhileStartTime;
  System.out.println(While - Elapsed time in milliseconds:  +
lWhileDifference);

  System.out.println(\n---END---);


  }

  static String [] createArray(){

  String sArray[] = new String [15];

  for(int i=0; i15; i++)
  sArray[i] = Array  + i;

  return sArray;
  }
}
[/code]



On Dec 15, 10:43 am, Chris Lowe chris.lowe...@gmail.com wrote:
 You could try compiling with the Pretty or Detailed options and
 examine the javascript?

 On Dec 15, 6:29 pm, flyingb...@gmail.com flyingb...@gmail.com
 wrote:

  Just wondering what is a better way to code. Using for each loops or
  for loops?

  I am wondering will the resulting javascript be different.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: How to debug a gadget using GWT 2.0 RC2

2009-12-04 Thread flyingb...@gmail.com
debug on ur local comp?

On Dec 3, 11:55 pm, 3ala2 alaa.alw...@gmail.com wrote:
 I want to debug a gadget in iGoogle. In GWT 1.7 I used to put the URL
 ashttp://www.google.com/ig. Now there is no possibility to do so. The
 gadget doesn't have an html file to debug in development mode using
 internal server. I need the external server to be iGoogle. Is there a
 way to do so? So the main question is: How do you debug a Google
 gadget using GWT 2.0RC2 and Eclipse?!

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Roadmap for GWT 2.0

2009-12-01 Thread flyingb...@gmail.com
it should be soon because they are at rc2. usually after rc2 it is the
final which usually is in 2 weeks

On Dec 1, 5:43 am, Feldman, Nir nir.feld...@hp.com wrote:
 Hi,
 Is there any estimations regarding the date of the release of GWT 2.0?
 Any rough estimation will do it (month / 3 months / 6 months)...

 Thanks,
 Nir

 [cid:image001@01CA729D.0B545AB0]

 Nir Feldman
 Release Control RD Team Leader
 Hewlett-Packard Company

 +972-3-5399896   Phone
 +972-54-7213833 Cell
 +972-3-5331617 Fax
 nir.feld...@hp.commailto:nir.feld...@hp.com

  image001.gif
 2KViewDownload

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Need help with gwt webserver

2009-10-21 Thread flyingb...@gmail.com

I am going from netbeans glassfish to just using eclipse.

It seems like eclipse does not use glassfish server for debugging and
I get tons of error like
Syntax error, parameterized types are only available if source level
is 1.5

Is there a way to fix jetty so it can compile 1.5 sources?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Is there any newer gwt library other than smartgwt and gxt?

2009-10-20 Thread flyingb...@gmail.com

gwt-ext stopped development for a long time now. They went to make the
wrapper for smartgwt.

On Oct 20, 6:43 am, logicpeters logicpet...@gmail.com wrote:
 There is still gwt-ext.  Although it only supports earlier versions of
 EXT, it is still an excellent UI toolkit.  It's too bad about the
 split into SmartGWT and GXT -- neither have been as good as the old
 days of gwt-ext.  It seems like the EXT license debacle has really
 been a major blow to developing great-looking UI's on GWT.

 On Oct 20, 9:26 am, Mohamed Mansour m0.interact...@gmail.com wrote:

  Still, its not fully open source, you need the extjs (which is not)
  and extjs costs money as the previous poster stated. If you include
  extjs to your opensource project, it means your project isn't fully
  open source.

  I would rather see a toolkit which is fully opensource like GWT. Where
  developers can contribute to it to make one awesome toolkit. Like a
  toolkit library.

  On Oct 20, 5:28 am, Alex Bertram akbert...@gmail.com wrote:

   Have been using GXT for about a year under the open source license and
   haven't paid a thing...

   SVN access would be nice but so our app (in production) hasn't been
   affected by the bugs. Have my complaints about the library, but do
   have to say it makes UI development fast although you do have to work
   to get beyond the bulky desktop look.

   Alex

   On Oct 20, 10:20 am, David Sanders shang.xiao.sand...@gmail.com
   wrote:

*crosses extgwt off list*

I love it when people cut through the bullshit...

2009/10/20 martin.krau...@gmail.com martin.krau...@gmail.com

 Let me enlighten you guys. First of all ExtGWT is anything but free.
 It costs $329 / per license. Moreover there is an annual upgrade fee
 because they upgrade from minor versions to a major versions for no
 apparent reason other than to charge an upgrade fee. For example
 2.0.1, 2.0.2, 2.0.3, 2.1 and then version 3.0 without any significant
 features to justify this version jump.

 Now the $329 / license really doesn't get you much. Version 2.0 final
 of ExtGWT was pretty much demoware with over 100 critical bugs.
 Several months later several bugs have been fixed but license holders
 are not entitled to the latest bug fix release of 2.0.3. You not only
 need a license but you need a support subscription to download the
 latest stable version.

 Seehttp://www.extjs.com/products/gxt/download.php
http://www.extjs.com/forum/showthread.php?p=393316#post393316

 Basic level of annual support cost $300 / license / year.
http://www.extjs.com/store/gxt/

 Bottom line : cost of ExtGWT is $629 / license / year.

 On Oct 20, 10:39 am, Alexandros Papadakis alpa...@gmail.com wrote:
  Looks like it... I have seen in their forums that there is a 2.0.3
 also...
  maybe in their trunk?

  On Tue, Oct 20, 2009 at 2:33 AM, Josh Morris 
  joshuadmor...@gmail.com
 wrote:

   It looks like they are coming out with a new 2.1 release in 
   November,
   but they are not going to release 2.0.2. Is this a new practice? I
   don't remember having to deal with this before.

   On Oct 19, 3:52 pm, flyingb...@gmail.com flyingb...@gmail.com
   wrote:
I been looking for a good library that is free.

Both of the 2 have different problems. Mian problem of smartgwt 
is it
does not have a correct changehandler because it get fires 
while you
type.

GXT have lot of random bugs and they claim to fix it and can 
only get
the newer version if you buy their subscription.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Is there any newer gwt library other than smartgwt and gxt?

2009-10-19 Thread flyingb...@gmail.com

I been looking for a good library that is free.

Both of the 2 have different problems. Mian problem of smartgwt is it
does not have a correct changehandler because it get fires while you
type.

GXT have lot of random bugs and they claim to fix it and can only get
the newer version if you buy their subscription.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Best practices for screen layout in GWT

2009-08-12 Thread flyingb...@gmail.com

I did my layout by coding but better way is to use css but I suck in
using css .

On Aug 11, 9:47 am, Sean slough...@gmail.com wrote:
 I personally did the layout all in code. I originally used a DockPanel
 and realized that I was only using WEST, NORTH, and CENTER. And being
 in a DockPanel limited me. So I ended up swapping out (Fairly easily)
 for a VerticalPanel with either Widgets or a HorizontalPanel in it.
 While the widgets were all set in code, I still have a lot of
 flexibility to change things with CSS. This also allows the widgets to
 all speak to each other if you so choose.

 On Aug 11, 6:48 am, Oskar Hannesson osk...@centrum.is wrote:

  Hello.
  Can anyone give me a hint what layout technique is best suitable for
  GWT.
  Should I use tables , iframe, div or even construct the page in
  code by using DockPanel.
  I tried the iframe but I had trouble directing the response message to
  a different iframe.
  I also got DockPanel to work but i'm not sure if it is a good idea to
  do the layout in code entirely.

  Thanks
  Oskar H.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT fileupload in jetty?

2009-06-26 Thread flyingb...@gmail.com

Oh... freaking a. I forgot to also import commons-io file.
Seems like that was the problem.

made me wasted a few hours trying to find alternative ways :/

On Jun 26, 4:19 pm, flyingb...@gmail.com flyingb...@gmail.com
wrote:
 Hi, I  tried using the commons-fileupload-1.2.1.jar in jetty and I get
 this problem

 html
 head
 meta http-equiv=Content-Type content=text/html;
 charset=ISO-8859-1/
 titleError 500 org/apache/commons/io/output/
 DeferredFileOutputStream/title
 /head
 bodyh2HTTP ERROR: 500/h2preorg/apache/commons/io/output/
 DeferredFileOutputStream/pre
 pRequestURI=/newworkflow/uploadcompanylogo/ph3Caused by:/
 h3prejava.lang.NoClassDefFoundError
 : org/apache/commons/io/output/DeferredFileOutputStream
         at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem
 (DiskFileItemFactory.java:196)
         at org.apache.commons.fileupload.FileUploadBase.parseRequest
 (FileUploadBase.java:358)
         at
 org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest
 (ServletFileUpload.java:126)
         at
 com.ottocap.NewWorkFlow.server.FileHandlers.UploadCompanyLogo.doPost
 (UploadCompanyLogo.java:47)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
 487)
         at org.mortbay.jetty.servlet.ServletHandler.handle
 (ServletHandler.java:362)
         at org.mortbay.jetty.security.SecurityHandler.handle
 (SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle
 (SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle
 (ContextHandler.java:729)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 405)
         at org.mortbay.jetty.handler.HandlerWrapper.handle
 (HandlerWrapper.java:152)
         at org.mortbay.jetty.handler.RequestLogHandler.handle
 (RequestLogHandler.java:49)
         at org.mortbay.jetty.handler.HandlerWrapper.handle
 (HandlerWrapper.java:152)
         at org.mortbay.jetty.Server.handle(Server.java:324)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
 505)
         at org.mortbay.jetty.HttpConnection$RequestHandler.content
 (HttpConnection.java:843)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
         at org.mortbay.io.nio.SelectChannelEndPoint.run
 (SelectChannelEndPoint.java:395)
         at org.mortbay.thread.QueuedThreadPool$PoolThread.run
 (QueuedThreadPool.java:488)
 /pre
 pismalla href=http://jetty.mortbay.org/;Powered by
 Jetty:///a/small/i/pbr/

 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/
 br/

 /body
 /html

 Why doesnt this seem to work in jetty? How can I code a fileupload for
 gwt that works?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



How do i fix this problem?

2009-06-25 Thread flyingb...@gmail.com

I am using the eclipse gwt 1.6 plugin and trying to run in hosted
mode.

I get this problem:

java.sql.SQLException: No suitable driver found for jdbc:mysql://
localhost:3306/newworkflow



I am not sure where can I add a connector file so I could connect to
the mysql database in hosted mode.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How do i fix this problem?

2009-06-25 Thread flyingb...@gmail.com

Oh . so i need to put it in there. My server i put it in the main
server lib. I really don't know how server setup work that well with
all those configs. But putting it into that lib folder for development
seems to work.

On Jun 25, 12:19 pm, Daniel Jue teamp...@gmail.com wrote:
 You need your database jar file on your class path or in your
 WEB-INF/lib directory.  Is it there?

 You might see something in your hosted mode window that looks like
 this, in brown:

 [WARN] Server class 'oracle.jdbc.driver.OracleDriver' could not be
 found in the web app, but was found on the system classpath

 On Thu, Jun 25, 2009 at 3:11 PM,

 flyingb...@gmail.comflyingb...@gmail.com wrote:

  I am using the eclipse gwt 1.6 plugin and trying to run in hosted
  mode.

  I get this problem:

  java.sql.SQLException: No suitable driver found for jdbc:mysql://
  localhost:3306/newworkflow

  I am not sure where can I add a connector file so I could connect to
  the mysql database in hosted mode.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Jumping screens

2009-06-15 Thread flyingb...@gmail.com

screen jumps lot of time is the case of hidden boxes. I had jumping
screen problem and set tons of styles of hidden value to prevent it..

On Jun 15, 1:27 pm, Erron erron.aus...@gmail.com wrote:
 Hi,

 I've been looking into this issue for some time and still haven't
 found the cause.  We have a financial application that displays a
 listing of accounts on one screen. When the user clicks on a link, it
 displays a hidden tab with the detailed information for that account.
 The problem is that when they click on the link (example link,
 myapp.html#transHistory_E2) , the page scrolls down slightly, enough
 to hide the header of the site. BTW, this appears to be an IE only
 issue

 My first suspect was the history token was the same as an anchor on
 the page, but I have not found any case of this.

 Any other ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Profiling Hosted Mode Using TPTP

2009-04-13 Thread flyingb...@gmail.com

Well I not sure if this is the case for you or not. In my workflow
program I did not use rpc and gotten data with json.

The workflow program the data from the json is huge and the program
became really slow when I am reading the json data into a new class.

What I ended up doing is the class just became calls to the json data
so it is like a wrapper. Doing that saves the processing time by a
whole lot. Well not sure what type of program is causing your app to
run slow.

On Apr 13, 11:20 am, Vitali Lovich vlov...@gmail.com wrote:
 Profiling in hosted mode is kind of a waste of time since there's a lot of
 expensive stuff that happens that's hosted-mode specific.  You have to be
 really careful  fully understand how GWT works in hosted mode to be able to
 glean any kind of meaning.  And even then, it's meaningless because the
 browser will likely have a very different profile for all but pure data
 processing code (creating a Label in hosted mode is very different than what
 happens when you compile the code).

 http://getfirebug.com/js.html.  However, you should compile in DETAILED mode
 so that the JS makes even a little sense - even then you might find it hard
 to understand what the profiler is telling you.

 On Mon, Apr 13, 2009 at 1:54 PM, Superman859 russ.d.hollo...@gmail.comwrote:



  I have gotten to the point where I would like to profile my app to see
  why it is running slow, but I'm not quite sure where to begin.

  I would like to be able to first profile in hosted mode (and later use
  a Javascript profiler in web mode).

  I found a profiler called TPTP that seems to be somewhat common and
  open source.  I have the plugin installed, but I'm not quite sure how
  to get the app to run and profile in Hosted mode.

  I have used Cypal Studio thus far, and to run it I go to run
  configurations - Run As - Hosted mode, which I believe Cypal Studio
  had set up automatically.

  But I do not know how to configure a setup for profiling.  Can someone
  provide some guidance on setting on a profiler configuration or some
  method of running this in hosted mode so that I can profile it using
  TPTP (or any other good free profiler) ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6...and quite a bit more

2009-04-08 Thread flyingb...@gmail.com

I should go back in using eclipse for the project or osmething. I been
using netbeans with the gwt4nb but that havnt been updated to support
1.6

I dont really know how to write those config files to setup the new
debugger and stuff for netbeans

On Apr 8, 10:28 am, Miguel Méndez mmen...@google.com wrote:
 Restarting a second time fixes it?



 On Wed, Apr 8, 2009 at 1:17 PM, Jim jim.p...@gmail.com wrote:

  I am using Eclipse 3.3. I got this exception first time when I tried
  to run web application after I installed the plugin and restarted
  eclipse. However this exception goes away after I restarted my
  Eclipse.

  Jim

  On Apr 8, 1:03 pm, Miguel Méndez mmen...@google.com wrote:
   What version of eclipse are you using?  What version of ajdt?

   On Wed, Apr 8, 2009 at 11:41 AM, Jim jim.p...@gmail.com wrote:

I got the following exception:

Plug-in org.eclipse.ajdt.ui was unable to load class
org.eclipse.ajdt.internal.ui.ajde.CachedRuntimeClasspathEntryResolver.
An error occurred while automatically activating bundle
org.eclipse.ajdt.ui (33).

when I try to run web application from the project context menu
after I create an web application based on the tutorial, I have ajdt
installed in this box.

Jim Xie

On Apr 8, 9:43 am, Stan B stan...@gmail.com wrote:
 Thank you, can't wait to dig in!

 Does the Google/GWT plugin for Eclipse create the service stubs
  (Async/
 Sync/Impl classes) and modify the web.xml to add the servlet for you
 like Cypal Studio?

 On Apr 7, 11:57 pm, Bruce Johnson br...@google.com wrote:

  Hi Folks!

  Exciting news today. Rather than attempting to describe everything
here, let
  me point you to some blog posts that hopefully you will find
interesting:

  GWT 1.6 and friends:
   http://googlewebtoolkit.blogspot.com/2009/04/introducing-gwt-16-and-f.
  ..

  Seriously this time, the new language on App Engine: Javahttp://
googleappengine.blogspot.com/2009/04/seriously-this-time-new-l...

  Google Plugin for Eclipse -- Peanut Butter to Eclipse's
Chocolatehttp://
googlewebtoolkit.blogspot.com/2009/04/google-plugin-for-eclips...

  -- Bruce, on behalf of the GWT, App Engine, and Google Plugin
  teams-
Hide quoted text -

 - Show quoted text -

   --
   Miguel- Hide quoted text -

   - Show quoted text -

 --
 Miguel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Reverse engineering

2009-04-08 Thread flyingb...@gmail.com

the source code is in the jar files. so in netbeans i can hit ctrl
+shift+b to go to the class it used

On Apr 8, 8:15 am, fatjack1...@googlemail.com
fatjack1...@googlemail.com wrote:
 Hi,

 Im wondering if there is an easy way to reverse engineer your code to
 produce class diagrams?

 Regards,
 Jack
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: iText Causing GWT-RPC callback to fail. Need to send to HttpServletResponse?

2009-04-08 Thread flyingb...@gmail.com

Can we see how does your itext pdf look like? here is mine:
http://www.nabble.com/file/p17809870/DomesticApprovalS13371.pdf

On Apr 7, 10:50 pm, Carl Pritchett bogusggem...@gmail.com wrote:
 Hi,

 You'll have to work out a token generation scheme. If you find a nice
 one, post it.

 Sessions will typically timeout (the timeout is app server dependent),
 but I also added session.invalidate() on login to ensure that the
 previous session is invalidated (e.g. two users usin the same
 browser).

 Carl.

 On Apr 8, 8:04 am, Superman859 russ.d.hollo...@gmail.com wrote: Thanks 
 Carl!  Your method worked fine.  It's almost fully implemented,
  but the only question I have that remains is the proper way to
  generate tokens.  I haven't ever had to generate them before - is
  there an automatic way of generating unique tokens, or is generateToken
  () a function I would write myself and have to ensure that each token
  generated was unique?

  For now, I just hard coded a random string into the code, which worked
  well enough to see that the PDF did indeed open in a new window and
  display as expected.

  I will also need to figure out the session settings so that they are
  invalidated properly, although I think I will need to do a bit more
  reading on this.

  // RPC code in the class which extends RemoteServiceServlet
  public String generatePDF(ReportDO report, int id) {

                  // initialize new document for PDF
                  Document document = new Document();

                  // generate one time token that the client can use to 
  retrieve the
  PDF
                  String token = 258958395ai53;

                  // generate test PDF
                  try {

                  ByteArrayOutputStream baos = new ByteArrayOutputStream();
                  PdfWriter.getInstance(document, baos);
                  document.open();
                  document.add(new Paragraph(Hello World!));
                  document.close();

                  byte[] pdf = baos.toByteArray();

                  HttpServletRequest request = this.getThreadLocalRequest();
                  HttpSession session = request.getSession();
                  session.setAttribute(token, pdf);

                  }
                  catch (Exception e) {
                          
  System.out.println(ReportServlet::generatePDF::Exception  +
  e.getMessage());
                  }

                  return token;

          }

  // standard servlet
  public class PDFServlet extends HttpServlet {

          public void doGet(HttpServletRequest request, HttpServletResponse
  response) throws IOException, ServletException {

                  // create output stream from byte array in session
                  ByteArrayOutputStream baos = new ByteArrayOutputStream();
                  String token = request.getParameter(token);
                  byte[] pdf = (byte[]) 
  request.getSession().getAttribute(token);
                  baos.write(pdf);

                  // setting some response headers
                  response.setHeader(Expires, 0);
                  response.setHeader(Cache-Control, must-revalidate, 
  post-check=0,
  pre-check=0);
                  response.setHeader(Pragma, public);

                  response.setContentType(application/pdf);

                  // content length is needed for MSIE
                  response.setContentLength(baos.size());

                  // write ByteArrayOutputStream to ServletOutputStream
                  ServletOutputStream out = response.getOutputStream();
                  baos.writeTo(out);
                  out.flush();
          }

  }

  // client side code section
  ReportController.getInstance().generatePDF(report, id, new
  AsyncCallback() {

                                          public void onFailure(Throwable 
  caught) {
                                                  SC.say(Failed);

                                          }

                                          public void onSuccess(Object 
  result) {
                                                  String token = (String) 
  result;
                                                  
  Window.open(PDFService?token= + token, _blank,
  menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes);

                                          }

                                  });
                          }
                  });

  On Apr 7, 1:04 am, Carl Pritchett bogusggem...@gmail.com wrote:

   The simplest safest way I can think of is basically the same as other
   people have already stated in this thread.
   Using a token and storing data in the session means that the pdf data
   is unique to the user (as long as the session is invalidated
   properly).

   - Send an RPC call to generate the pdf (or at least send the
   information used to generate the pdf)
   - The RPC service saves the pdf (or request data) in the session:

           // use the data to create the PDF 

IE error can't debug!

2009-04-01 Thread flyingb...@gmail.com

When i run the debugger, everything runs fine. however, when I try
using ie itself I sometimes get.

540 function
com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2
(o){
541   if (o.nodeType) {
542 return o.nodeType == 1;
543   }
544   return false;
545 }


Line:541
Char: 3
Error: Object required
Code: 0
URL: 
http://localhost:8080/instantquoteprogram/F7AE60F70A19094FD6CD8F6548AE3E8F.cache.html



This only happens in IE. Anyone have any clue what might cause this
error?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: IE error can't debug!

2009-04-01 Thread flyingb...@gmail.com

Oh ya, after this error happens, nothing is clickable anymore.

On Apr 1, 9:48 am, flyingb...@gmail.com flyingb...@gmail.com
wrote:
 When i run the debugger, everything runs fine. however, when I try
 using ie itself I sometimes get.

 540 function
 com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2
 (o){
 541   if (o.nodeType) {
 542     return o.nodeType == 1;
 543   }
 544   return false;
 545 }

 Line:541
 Char: 3
 Error: Object required
 Code: 0
 URL:http://localhost:8080/instantquoteprogram/F7AE60F70A19094FD6CD8F6548A...

 This only happens in IE. Anyone have any clue what might cause this
 error?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: IE error can't debug!

2009-04-01 Thread flyingb...@gmail.com

When the script debugor editor runs it shows this:

function com_google_gwt_event_shared_HandlerManager_
$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2
(this$static, event){
  var oldSource;
  if (event.com_google_gwt_event_shared_GwtEvent_dead) {
event.revive__();
  }
  oldSource = event.com_google_gwt_event_shared_GwtEvent_source;
  event.com_google_gwt_event_shared_GwtEvent_source = this
$static.com_google_gwt_event_shared_HandlerManager_source;
  try {
++this
$static.com_google_gwt_event_shared_HandlerManager_firingDepth;
com_google_gwt_event_shared_HandlerManager$HandlerRegistry_
$fireEvent__Lcom_google_gwt_event_shared_HandlerManager
$HandlerRegistry_2Lcom_google_gwt_event_shared_GwtEvent_2Z(this
$static.com_google_gwt_event_shared_HandlerManager_registry, event,
this
$static.com_google_gwt_event_shared_HandlerManager_isReverseOrder);
  }
   finally {
--this
$static.com_google_gwt_event_shared_HandlerManager_firingDepth;
if (this
$static.com_google_gwt_event_shared_HandlerManager_firingDepth == 0) {
  com_google_gwt_event_shared_HandlerManager_
$handleQueuedAddsAndRemoves__Lcom_google_gwt_event_shared_HandlerManager_2
(this$static);
}
  }
  if (oldSource == null) {
event.com_google_gwt_event_shared_GwtEvent_dead = true;
event.com_google_gwt_event_shared_GwtEvent_source = null;
  }
   else {
event.com_google_gwt_event_shared_GwtEvent_source = oldSource;
  }
}



On Apr 1, 9:50 am, flyingb...@gmail.com flyingb...@gmail.com
wrote:
 Oh ya, after this error happens, nothing is clickable anymore.

 On Apr 1, 9:48 am, flyingb...@gmail.com flyingb...@gmail.com
 wrote:

  When i run the debugger, everything runs fine. however, when I try
  using ie itself I sometimes get.

  540 function
  com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2
  (o){
  541   if (o.nodeType) {
  542     return o.nodeType == 1;
  543   }
  544   return false;
  545 }

  Line:541
  Char: 3
  Error: Object required
  Code: 0
  URL:http://localhost:8080/instantquoteprogram/F7AE60F70A19094FD6CD8F6548A...

  This only happens in IE. Anyone have any clue what might cause this
  error?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: IE error can't debug!

2009-04-01 Thread flyingb...@gmail.com

But that does not show any errors at all. When I run the hosted mode
debugger no problems show up. It only happens when I am using IE. Does
not happen in the debug host mode thing. even though alert box says it
is internet explorer.



On Apr 1, 9:59 am, Vitali Lovich vlov...@gmail.com wrote:
 Not sure what you mean - what debugger?  The proper way of debugging GWT is
 to run it in hosted mode, where it's your Java code that's being executed.

 On Wed, Apr 1, 2009 at 12:55 PM, flyingb...@gmail.com
 flyingb...@gmail.comwrote:



  When the script debugor editor runs it shows this:

  function com_google_gwt_event_shared_HandlerManager_

  $fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2
  (this$static, event){
   var oldSource;
   if (event.com_google_gwt_event_shared_GwtEvent_dead) {
     event.revive__();
   }
   oldSource = event.com_google_gwt_event_shared_GwtEvent_source;
   event.com_google_gwt_event_shared_GwtEvent_source = this
  $static.com_google_gwt_event_shared_HandlerManager_source;
   try {
     ++this
  $static.com_google_gwt_event_shared_HandlerManager_firingDepth;
     com_google_gwt_event_shared_HandlerManager$HandlerRegistry_
  $fireEvent__Lcom_google_gwt_event_shared_HandlerManager
  $HandlerRegistry_2Lcom_google_gwt_event_shared_GwtEvent_2Z(this
  $static.com_google_gwt_event_shared_HandlerManager_registry, event,
  this
  $static.com_google_gwt_event_shared_HandlerManager_isReverseOrder);
   }
    finally {
     --this
  $static.com_google_gwt_event_shared_HandlerManager_firingDepth;
     if (this
  $static.com_google_gwt_event_shared_HandlerManager_firingDepth == 0) {
       com_google_gwt_event_shared_HandlerManager_
  $handleQueuedAddsAndRemoves__Lcom_google_gwt_event_shared_HandlerManager_2
  (this$static);
     }
   }
   if (oldSource == null) {
     event.com_google_gwt_event_shared_GwtEvent_dead = true;
     event.com_google_gwt_event_shared_GwtEvent_source = null;
   }
    else {
     event.com_google_gwt_event_shared_GwtEvent_source = oldSource;
   }
  }

  On Apr 1, 9:50 am, flyingb...@gmail.com flyingb...@gmail.com
  wrote:
   Oh ya, after this error happens, nothing is clickable anymore.

   On Apr 1, 9:48 am, flyingb...@gmail.com flyingb...@gmail.com
   wrote:

When i run the debugger, everything runs fine. however, when I try
using ie itself I sometimes get.

540 function

  com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2
(o){
541   if (o.nodeType) {
542     return o.nodeType == 1;
543   }
544   return false;
545 }

Line:541
Char: 3
Error: Object required
Code: 0
URL:
 http://localhost:8080/instantquoteprogram/F7AE60F70A19094FD6CD8F6548A...

This only happens in IE. Anyone have any clue what might cause this
error?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: IE error can't debug!

2009-04-01 Thread flyingb...@gmail.com

I think my last msg didnt post. I think I figure out the problem. It
has to do with DialogBox.

I had old code that I wasn't using anymore. It should not do anything
though. I not sure why it is causing an error in the program. But it
is caused by the dialogbox i think
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: A thought about GWT project structure

2009-04-01 Thread flyingb...@gmail.com

Well my gwt project I seperated the client and server side. The main
thing that is possible if it was one project is passing objects
stright to the server.

So my project use json to create objects when the client ask for stuff
from the server.

There might be ways to have the object passing but I not sure how to
do that.

On Apr 1, 12:27 pm, Ken kenxu...@yahoo.com wrote:
 In GWT recommended project structure, client code and server code are
 placed in one project. I find this structure is not so development-
 friendly in practice. (GWT 1.6 has some new update to the project
 structure to make it more like standard WAR project, but client and
 server code are still in one project.)

 Client code will be eventually compiled to Javascript and run on web
 browser. Server code will run on web server. These two parts of code
 shouldn’t reference to each other. The only connection between them
 should be the RPC interface (sub-interfaces of RemoteService) and DTOs
 (the Java objects get transmitted between client and server). Any
 attempt to let your widget reference to an RPC implementation Servlet
 or let the Servlet reference to a widget is wrong. However, your Java
 compiler (not GWT compiler) can not detect this kind of error, as
 these Java classes are all in the same project, and they are “allowed”
 to reference to each other. You can’t detect the error either in
 hosted mode, because client and server code run in same JVM in hosted
 mode. You only can find out half the issue when you call GWTCompiler
 (Compiler in GWT 1.6) to translate the client to Javascript. I say
 half because GWTCompiler only shows you the toxic references from
 client to server, but not the other way.

 A solution would be to have three projects instead of one:
 MyProjectRpc
 MyProjectGwt
 MyProjectWeb

 MyProjectRpc is a GWT module. It only contains RemoteService
 interfaces and DTOs. It has no UI or widgets.
 MyProjectGwt is your client module. It inherits MyProjectRpc, and
 contains widgets. MyProjectGwt’s Java build path includes
 MyProjectRpc.
 MyProjectWeb is your server project. It is a standard WAR project.
 Your RPC implementation servlets go here. Its Java build path includes
 MyProjectRpc.

 Therefore, both MyProjectGwt and MyProjectWeb reference to
 MyProjectRpc only. If your widgets incidentally reference to a
 servlet, Eclipse (Java compiler) will tell you right away.

 To make above solution work, you need to configure GWTCompiler to
 output to MyProjectWeb instead of the default folder www. (-out
 argument will do the job.) You also need to run your own web server
 for hosted mode instead of GWT’s internal Tomcat. (Pass –noserver to
 GWTShell.)

 There may be better way to do it. Please share your idea for a better
 project structure. I would appreciate if developers from Google could
 provide advice.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



1.6 RC 1 Bug or something else?

2009-03-25 Thread flyingb...@gmail.com

I am confused I am not getting any error message in the debug console
or in firefox.

However in ie. When i open up a order. I see it show error on page for
a second however all the data seem to have loaded and but none of the
textbox and stuff works anymore. Feel like all the handlers for the
textfields and stuff all disappered.

No clue what is causing this problem and not even getting an error in
the debugger.

How do I solve this type of program that is happening in ie7.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: 1.6 RC 1 Bug or something else?

2009-03-25 Thread flyingb...@gmail.com

Ok, it seems like it is a bug in RC1 i compile the same code in the
1.6 Beta 2 and it does not have this weird problem. No clue what is
causing it to detect all the handlers or something.
I guess i will use beta 2 for now because this is a major bug that is
happening.


On Mar 25, 12:43 pm, Vitali Lovich vlov...@gmail.com wrote:
 You won't get any errors unless you run in HostedMode.  GWT.log messages get
 stripped from your code when compiled into javascript.

 The IE errors don't really have anything to do with this.  If you look, I'm
 sure they're non-critical.

 If you want messages in compiled code, either write your own log display,
 your use Window alerts for one-off messages.

 On Wed, Mar 25, 2009 at 3:22 PM, flyingb...@gmail.com
 flyingb...@gmail.comwrote:



  I am confused I am not getting any error message in the debug console
  or in firefox.

  However in ie. When i open up a order. I see it show error on page for
  a second however all the data seem to have loaded and but none of the
  textbox and stuff works anymore. Feel like all the handlers for the
  textfields and stuff all disappered.

  No clue what is causing this problem and not even getting an error in
  the debugger.

  How do I solve this type of program that is happening in ie7.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt code where locales can be changed be dynamically

2009-03-19 Thread flyingb...@gmail.com

Why dont u do redirect the google way with Window.open


just use target as _self

also if you really if u want to be able to change local on the fly you
would need to create all the strings as variables that can get
changed.
Make a class an abstract while the differnet languages extends it.

so than you can call the class.



On Mar 19, 10:23 am, Vitali Lovich vlov...@gmail.com wrote:
 Thanks - I tried looking for that online  couldn't find it.

 On Thu, Mar 19, 2009 at 12:49 PM, Thomas Broyer t.bro...@gmail.com wrote:

  On 19 mar, 16:58, Vitali Lovich vlov...@gmail.com wrote:
   Like I said, just reload the page with locale=locale_to_use: e.g.

   public static native void redirect(String url)/*-{
         $wnd.location = url;
     }-*/;

   redirect(http://mydomain.com/MySuperDuperApp?locale=en_US;);

  Window.Location.assign(?locale=en_US) should be enough.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



can someone covert a 1.5 run file to 1.6 for me?

2009-03-19 Thread flyingb...@gmail.com

Well the project i did is already using gwt 1.6 but the test is still
using the old method

i used gwt4nb to generate the project layout for 1.5

but there is no gwt4nb for 1.6 yet so I cant get it converted to the
new test layout.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Anyway to clone a listbox?

2009-03-16 Thread flyingb...@gmail.com

but that will make it just an html object no way to make it back to a
listbox?

On Mar 13, 2:18 pm, Velu kool.v...@gmail.com wrote:
 Hopefully the solution below will help you.

 Create your list box once and -

 String listBoxHtmlString = yourListBox.toString();

 Once you have the html string you can create as many number of HTML
 objects out of that as needed.

 HTML listBoxHtml = new HTML(listBoxHtmlString);
 yourWidget.add(listBoxHtml, left, top);

 However, I am not sure this is anymore efficient than creating as many
 instances of the ListBox itself.

 Try it and let us know.

 Thanks
 S. Velu

 On Mar 13, 1:04 pm, flyingb...@gmail.com flyingb...@gmail.com
 wrote:

  Just wondering is there any way to make clone of listbox where I would
  not have to readd all the values to a new listbox again.

  For example my listbox is filled with like 100 items.

  It will have to go though a loop to add them. I have more than one
  listbox so it would have to go though a loop to add them to the new
  listbox.

  So is there any where where you can create one listbox and than make
  new listbox use the old lsitbox name/values
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Anyway to clone a listbox?

2009-03-16 Thread flyingb...@gmail.com

I just tried

HTML listBoxHtml = new HTML(mycolorliststring.get
(threadtype));
return ColorfulListBox.wrap(listBoxHtml.getElement());

but i get an error

On Mar 16, 8:20 am, flyingb...@gmail.com flyingb...@gmail.com
wrote:
 but that will make it just an html object no way to make it back to a
 listbox?

 On Mar 13, 2:18 pm, Velu kool.v...@gmail.com wrote:

  Hopefully the solution below will help you.

  Create your list box once and -

  String listBoxHtmlString = yourListBox.toString();

  Once you have the html string you can create as many number of HTML
  objects out of that as needed.

  HTML listBoxHtml = new HTML(listBoxHtmlString);
  yourWidget.add(listBoxHtml, left, top);

  However, I am not sure this is anymore efficient than creating as many
  instances of the ListBox itself.

  Try it and let us know.

  Thanks
  S. Velu

  On Mar 13, 1:04 pm, flyingb...@gmail.com flyingb...@gmail.com
  wrote:

   Just wondering is there any way to make clone of listbox where I would
   not have to readd all the values to a new listbox again.

   For example my listbox is filled with like 100 items.

   It will have to go though a loop to add them. I have more than one
   listbox so it would have to go though a loop to add them to the new
   listbox.

   So is there any where where you can create one listbox and than make
   new listbox use the old lsitbox name/values
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Anyway to clone a listbox?

2009-03-16 Thread flyingb...@gmail.com

I also tried

HTML listBoxHtml = new HTML(mycolorliststring.get
(threadtype));
Window.alert(listBoxHtml.getElement().getFirstChildElement
().getInnerHTML());
return ColorfulListBox.wrap(listBoxHtml.getElement
().getFirstChildElement());

Error: uncaught exception: java.lang.IllegalStateException: Should
only call onAttach when the widget is detached from the browser's
document

get that error too.


On Mar 16, 9:16 am, flyingb...@gmail.com flyingb...@gmail.com
wrote:
 I just tried

         HTML listBoxHtml = new HTML(mycolorliststring.get
 (threadtype));
         return ColorfulListBox.wrap(listBoxHtml.getElement());

 but i get an error

 On Mar 16, 8:20 am, flyingb...@gmail.com flyingb...@gmail.com
 wrote:

  but that will make it just an html object no way to make it back to a
  listbox?

  On Mar 13, 2:18 pm, Velu kool.v...@gmail.com wrote:

   Hopefully the solution below will help you.

   Create your list box once and -

   String listBoxHtmlString = yourListBox.toString();

   Once you have the html string you can create as many number of HTML
   objects out of that as needed.

   HTML listBoxHtml = new HTML(listBoxHtmlString);
   yourWidget.add(listBoxHtml, left, top);

   However, I am not sure this is anymore efficient than creating as many
   instances of the ListBox itself.

   Try it and let us know.

   Thanks
   S. Velu

   On Mar 13, 1:04 pm, flyingb...@gmail.com flyingb...@gmail.com
   wrote:

Just wondering is there any way to make clone of listbox where I would
not have to readd all the values to a new listbox again.

For example my listbox is filled with like 100 items.

It will have to go though a loop to add them. I have more than one
listbox so it would have to go though a loop to add them to the new
listbox.

So is there any where where you can create one listbox and than make
new listbox use the old lsitbox name/values
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Anyway to clone a listbox?

2009-03-16 Thread flyingb...@gmail.com

oh ya colorfullist box is just a listbox where i have a background
color to the list. Just in case your wondering

On Mar 16, 9:30 am, flyingb...@gmail.com flyingb...@gmail.com
wrote:
 I also tried

         HTML listBoxHtml = new HTML(mycolorliststring.get
 (threadtype));
         Window.alert(listBoxHtml.getElement().getFirstChildElement
 ().getInnerHTML());
         return ColorfulListBox.wrap(listBoxHtml.getElement
 ().getFirstChildElement());

 Error: uncaught exception: java.lang.IllegalStateException: Should
 only call onAttach when the widget is detached from the browser's
 document

 get that error too.

 On Mar 16, 9:16 am, flyingb...@gmail.com flyingb...@gmail.com
 wrote:

  I just tried

          HTML listBoxHtml = new HTML(mycolorliststring.get
  (threadtype));
          return ColorfulListBox.wrap(listBoxHtml.getElement());

  but i get an error

  On Mar 16, 8:20 am, flyingb...@gmail.com flyingb...@gmail.com
  wrote:

   but that will make it just an html object no way to make it back to a
   listbox?

   On Mar 13, 2:18 pm, Velu kool.v...@gmail.com wrote:

Hopefully the solution below will help you.

Create your list box once and -

String listBoxHtmlString = yourListBox.toString();

Once you have the html string you can create as many number of HTML
objects out of that as needed.

HTML listBoxHtml = new HTML(listBoxHtmlString);
yourWidget.add(listBoxHtml, left, top);

However, I am not sure this is anymore efficient than creating as many
instances of the ListBox itself.

Try it and let us know.

Thanks
S. Velu

On Mar 13, 1:04 pm, flyingb...@gmail.com flyingb...@gmail.com
wrote:

 Just wondering is there any way to make clone of listbox where I would
 not have to readd all the values to a new listbox again.

 For example my listbox is filled with like 100 items.

 It will have to go though a loop to add them. I have more than one
 listbox so it would have to go though a loop to add them to the new
 listbox.

 So is there any where where you can create one listbox and than make
 new listbox use the old lsitbox name/values


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Anyway to clone a listbox?

2009-03-13 Thread flyingb...@gmail.com

Just wondering is there any way to make clone of listbox where I would
not have to readd all the values to a new listbox again.


For example my listbox is filled with like 100 items.

It will have to go though a loop to add them. I have more than one
listbox so it would have to go though a loop to add them to the new
listbox.

So is there any where where you can create one listbox and than make
new listbox use the old lsitbox name/values
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 Milestone 1

2009-02-12 Thread flyingb...@gmail.com

Well, I just finished changing every single listener i have into
handlers and have to rewrite widgets a little that fires listeners. I
have no idea what to do with the build.xml thing to make it using new
compiler.

On Feb 12, 9:26 am, Scott Blum sco...@google.com wrote:
 On Wed, Feb 11, 2009 at 4:29 AM, Alex dP (Violet UML Editor, WebVNC...) 

 alexandre.de.pelleg...@gmail.com wrote:

  Congratulation for this release.

  Unfortunately, there's still nothing about Maven support. No official
  repository, no official plugin I hope this will arrive this
  Milestone 2.

  Regards,
  Alexandre de Pellegrin

 This is not likely for 1.6... we simply don't have any Maven users (much
 less experts) among the contributors.  If this is something a lot of people
 would find valuable, it would be great if someone in the community could
 step up.

 I will note that we made some changes in 1.6 regarding ClassLoaders that
 should remove barriers to running GWT hosted mode (and unit tests) from
 within Maven.

 Scott
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Is there a garbage college for removed elements?

2009-02-12 Thread flyingb...@gmail.com

Just wondering does gwt handle garbage collection.

For example if I attach a widget than later unreference it. Will the
widget listeners/handlers be removed or will it still be trying to
listen for that widget?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---