iGoogle-like effect with GWT

2009-03-01 Thread Pete Kay

Hi,

I would like to use GWT to develop a user portal much like the front
page of iGoogle where user can add or remove widgets at will.

So, the question I have is that is it possible to use any GWT lib to
develop that front page and how to use GWT to develop the
widgets that can be add/remove on top?

Any suggestion will be greatly appreciated.

Thanks,
Pete

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Problem with Smartgwt and Activemq's Ajax code

2008-12-17 Thread Pete Kay
Hi,

I have GWT jsni wrapper built for Activemq's amq.js without any problem.

The problem is when I migrated the GWT code to smartgwt, smartgwt seems to
have function name conflict with functions in prototype.js.  I tried
modifyng the function names in prototype.js ( the find and select
functions), but the events can't be received anymore.

Does anyone have any idea how this problem maybe resolved?

Thanks,
Pete

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Problem with writing JSNI wrapper for ActiveMQ ajax code

2008-11-25 Thread Pete Kay
Hi,

I have a small piece of javascript code that I would like to wrap around
with JSNI to make it GWT.  It is essentially a javascript that calls
amq.addListener where amq is a object provided by amq.js. When a message
arrived, I would like it to call a Java Callback function.

Here is the Javascript that call the addListener method and then do
something.

script type=text/javascript src=amq/amq.js/script
script type=text/javascriptamq.uri='/mycontext/amq';/script
var myHandler =
{
  rcvMessage: function(message)
  {
 alert(received +message);
  }
};
amq.addListener(myId,myDestination,myHandler.rcvMessage);


For the GWT context, I would like the myHandler function to call a Java
callback object that I can define within GWT.
Here is the jsni code, but it does not work. Could someone tell me what's
wrong?

public static native void listen(ActiveMqCallback cb) /*-{
var myHandler =
{
  rcvMessage: function(message)
  {
 Event e = new Event(message);
 [EMAIL 
PROTECTED]::onEventArrived(Ljava/lang/String,Ljava/lang/String;)(message.type,message.value);

  }
};

amq.addListener(myId,myDestination,myHandler.rcvMessage);
}-*/;



Thank you very much in advance for all your help.
Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Socket connection

2008-11-21 Thread Pete Kay
Hi

Does anyone know of any GWT lib that can do socket connection?

Thanks alot in advance for your help.

Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Using GWT to draw line

2008-11-18 Thread Pete Kay
Hi,

I wouls like to use GWT to make a very simple drag and drop flow chart
object.  Is it possible?  The part that I can't figure out is how to use GWT
to create a LINE that I can use to connect two rectangular images.

Any suggestion will be greatly appreciated.

Thanks,
Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Need help with using GWT on Linux

2008-10-10 Thread Pete Kay
Hi,

I have been trying to get gwt working on my Centos machine for 3 days
without any success.
I am running 32 bits Eclipse 3.4 and eclipse can be brought up, finally.
However, when I tried to Run,
I am getting
** Unable to find a usable Mozilla install **
You may specify one in mozilla-hosted-browser.conf, see comments in the file
for details.

I tried download the latest firefox and put it into /usr/src/.  Before
starting eclipse, I ran the following commands:

export GWT_BROWSER=/usr/src/firefox/firefox

export GWT_EXTERNAL_BROWSER=/usr/src/firefox/firefox

But still it does not work.

In my mozilla-hosted-browser.conf, I added one line:

mozilla-1.7.13

# This is the default mozilla that ships with GWT.
mozilla-1.7.12

# See if there are compatible mozilla distributions already installed.
/usr/lib/mozilla-1.7.13
/usr/lib/mozilla-1.7.12
/usr/lib64/mozilla


I added that line to try to get gwt to use the /usr/lib64/mozilla lib, the
onese that are pre-built by the Centos.

All these do not work.

I am now running out of idea, could someon please help me out?

Any help will be greatly appreciated.

Regards,
Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Desperately need help with getting gwt/eclipse to work on Centos5.2 64

2008-10-09 Thread Pete Kay
Hi,

I have been trying to get gwt working on my Centos machine for 3 days
without any success.
I am running 32 bits Eclipse 3.4 and eclipse can be brought up, finally.
However, when I tried to Run,
I am getting
** Unable to find a usable Mozilla install **
You may specify one in mozilla-hosted-browser.conf, see comments in the file
for details.

I tried download the latest firefox and put it into /usr/src/.  Before
starting eclipse, I ran the following commands:

export GWT_BROWSER=/usr/src/firefox/firefox
export GWT_EXTERNAL_BROWSER=/usr/src/firefox/firefox

But still it does not work.

In my mozilla-hosted-browser.conf, I added one line:

mozilla-1.7.13

# This is the default mozilla that ships with GWT.
mozilla-1.7.12

# See if there are compatible mozilla distributions already installed.
/usr/lib/mozilla-1.7.13
/usr/lib/mozilla-1.7.12
/usr/lib64/mozilla


I added that line to try to get gwt to use the /usr/lib64/mozilla lib, the
onese that are pre-built by the Centos.

All these do not work.

I am now running out of idea, could someon please help me out?

Any help will be greatly appreciated.

Regards,
Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Desperately need help with getting gwt/eclipse to work on Centos5.2 64

2008-10-09 Thread Pete Kay
Hi,

I have been trying to get gwt working on my Centos machine for 3 days
without any success.
I am running 32 bits Eclipse 3.4 and eclipse can be brought up, finally.
However, when I tried to Run,
I am getting
** Unable to find a usable Mozilla install **
You may specify one in mozilla-hosted-browser.conf, see comments in the file
for details.

I tried download the latest firefox and put it into /usr/src/.  Before
starting eclipse, I ran the following commands:

export GWT_BROWSER=/usr/src/firefox/firefox
export GWT_EXTERNAL_BROWSER=/usr/src/firefox/firefox

But still it does not work.

In my mozilla-hosted-browser.conf, I added one line:

mozilla-1.7.13

# This is the default mozilla that ships with GWT.
mozilla-1.7.12

# See if there are compatible mozilla distributions already installed.
/usr/lib/mozilla-1.7.13
/usr/lib/mozilla-1.7.12
/usr/lib64/mozilla


I added that line to try to get gwt to use the /usr/lib64/mozilla lib, the
onese that are pre-built by the Centos.

All these do not work.

I am now running out of idea, could someon please help me out?

Any help will be greatly appreciated.

Regards,
Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Voice recording support and Stream media support

2008-09-12 Thread Pete Kay
Hi,

I am looking for a way that I can record sound from browser and stores it as
a .wav file in the backend.  I am able to do it with Flash, but I am not
sure if it is possible to embed Flash within GWT panel.  If there is a way
to record sound from GWT, then I don't need to use Flash, which is a cleaner
solution.  Can GWT do that?

Also, does GWT has any capability of streaming media out to browser the way
that Flash/Flex is capable of?Any hint on where to start looking will be
greatly appreciated.

Best Regards,
Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: need to change relative path to absolute path

2008-09-11 Thread Pete Kay
Hi,

I am bringing up a brand new default app that I am creating using
ApplicationCreator and ProjectCreator.  However, I am getting the following
error when Runing it from Eclipse:

'com.yht.ui.gwt.Application/Application.html' does not appear to be a valid
fully-qualified Java class name
Google Web Toolkit 1.5.2
ApplicationCreator [-eclipse projectName] [-out dir] [-overwrite] [-ignore]
[-addToClassPath classPathEntry] [-addModule module] className
where
  -eclipse Creates a debug launch config for the named eclipse
project
  -out The directory to write output files into (defaults to
current)
  -overwrite   Overwrite any existing files
  -ignore  Ignore any existing files; do not overwrite
  -addToClassPath  Adds extra elements to the class path.
  -addModule   Adds extra GWT modules to be inherited.
and
  classNameThe fully-qualified name of the application class to
create

What is wrong with my eclipse?  Could someone please help me out?

Thank you in advance for all your help.

Pete

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---