[gwt-contrib] Re: Issue 7038: CompositeEditor and ListEditor optimizations (issue1664803)

2012-05-18 Thread branflake2267

For me, I'm more concerned about setting it null. Not sure this would
work, but if setValue(null) create an empty list to use and don't even
worry about NPE checks. Shoot if set null and returns empty not such a
bad side effect.

On 2012/05/18 00:04:26, tbroyer wrote:

On 2012/05/17 21:38:03, skybrian wrote:
 Oops, I had started an email about the revert but apparently never

sent it.

 Sorry about that!



No problem!



 I might need some background about the editor framework...




https://gwt-code-reviews.appspot.com/1664803/diff/4002/user/src/com/google/gwt/editor/client/adapters/ListEditor.java

 File user/src/com/google/gwt/editor/client/adapters/ListEditor.java

(right):





https://gwt-code-reviews.appspot.com/1664803/diff/4002/user/src/com/google/gwt/editor/client/adapters/ListEditor.java#newcode84

 user/src/com/google/gwt/editor/client/adapters/ListEditor.java:84:

return

 Collections.emptyList();
 If someone calls setList() then the list returned by this method is

no longer

 live; it will still be empty even though there are new items. Is

that what we

 want? It seems unlikely, but if so it should be documented.



setValue() is part of the ValueAwareEditor contract (inherited through
CompositeEditor); it's called by the Editor framework when you
EditorDriver#edit() some object (and, to be exact, also in subeditors

of

CompositeEditors), then flush() is called when you

EditorDriver#flush().

ListEditor#getList() can then be used to add/remove/reorder elements

of the

edited list, with direct effect on subeditors, which can be accessed

by

#getEditor().
As you can see, the list returned by either method is stale as soon as

#setValue

is called again. IMO, this is fine, because getList() should return

'null' if

setValue received a 'null' (more on that later); and it's not

illogical to

return a different list instance when the backing list changes.



For completeness: calling setValue yourself on any ValueAwareEditor

would in

many case have no effect, and at worse would simply confuse the editor

and/or

the Editor framework. In any case, it wouldn't change the value of the

edited

property after a flush(), because there's no getValue().
The only exception here is OptionalFieldEditor, because it's also a
LeafValueEditor, and this behavior is thus on-purpose.



 It seems like a better idea to create the ListEditorWrapper

immediately in the

 constructor and make it final. When setValue() is called, we should

call a new

 method like ListEditorWrapper.replaceBacking(). Then live views

never expire

and
 we don't have to worry about null checks in this class.



There are a few issues with this approach:
1. it would basically only move the null-checks to ListEditorWrapper.
2. there would still need some special treatment in getList to return

'null' if

'null' was passed to setValue.



Let's talk about that last case though: originally,

ListEditor#getValue would

throw an NPE if it received a 'null'. BobV said on the GWT group at

that time

that you should wrapp the ListEditor into an OptionalFieldEditor if

you could

have 'null's. A few weeks/months later, he added the null-check to

setValue, but

didn't change flush() (and to a lesser extent, getEditors).
Today, if you want to be able to change the list field from 'null' no

non-null

or vice versa, you still need the OptionalFieldEditor.



If you asked me, I would have kept the original rule; at least the

contract was

clear. Now with the ListEditor accepting 'null's, IMO, flush() must

not throw in

that case, and getList should return 'null' (rather than, say an empty

list, be

it unmodifiable). getEditors() could return either 'null' or an empty

list, it

doesn't really matter given that a) the list is unmodifiable and b) if

the value

changes from 'null' to a non-null value, a new list would have been

returned

anyway (I mean, when change the backing list, a live-view retrieved

for the

first value is no longer valid after the call to setValue, the

behavior here

wouldn't change then).
This is what patch set #3 does here.




http://gwt-code-reviews.appspot.com/1664803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Allow enablement and titles to be set from DatePicker (issue1702804)

2012-05-13 Thread branflake2267

On 2012/05/12 15:09:03, Patrick Tucker wrote:

Nice work!

http://gwt-code-reviews.appspot.com/1702804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


GWT Designer and Widget States

2010-11-06 Thread branflake2267
I'd like to suggest the widget Designer add a way to design widget
states. Right now you design in one state. If you like at the flash
development, it can control the widget or app in different states
according to time and/or events. This would be a fantastic feature(s)
to add to GWT Designer.

I like the GWT Designer and look forward to seeing it grow,
Brandon Donnelson

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



Example GWT application

2010-09-27 Thread branflake2267
I made this to complain to the FCC about Android bloatware:
http://tellthefcc.appspot.com/

http://gwt-examples.googlecode.com

Thanks for looking,
Brandon

-- 
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: blobstore not allowing access to a file 1 mb with one api call + zip files

2010-09-06 Thread branflake2267
You'll need to start a task to do the job, but tasks are limited to
30s. In this case you use the mapreduce api, to read the entire blob
you upload and do what you need.

Here is my Demo GWT project for Blobstore upload: 
http://demofileuploadgae.appspot.com/
Here is code for the demo:
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/DemoUpload/src/org/gonevertical/upload/server/mapreduce

This doesn't have the exact code you need, but has the frame you'll
need to get going with the api. It works fantastic for reading blobs.

Hope that helps,
Brandon Donnelson

On Aug 20, 10:46 am, GKotta guruko...@gmail.com wrote:
 Hi,

 I have my users upload a zip file full of images (all of which are
 less than 1 mb, so theoretically, I should be able to access each
 image with one api call.) The problem is that this doesn't work in
 practice. I want to use theblobstoreto upload the zip file then put
 each individual image in the datastore. Below is my code. The method
 getNextEntry() reads the next ZIP file entry and positions the stream
 at the beginning of the entry data.

 MapString, BlobKey blobs = blobstoreService.getUploadedBlobs(req);
                 BlobKey blobKey = blobs.get(uploadFormElement);
                 ZipInputStream zipper = new ZipInputStream(new
 BlobstoreInputStream(blobKey));
                 ZipEntry entry = zipper.getNextEntry();
                 int read;
                 int start = 0;
                 byte[] buffer = new byte[1048576];

                 while ((read = zipper.read(buffer, start, buffer.length)) !=
 -1)
                         start +=
 read;

                 byte[] imageBytes = new byte[start];

                 System.arraycopy(buffer, 0, imageBytes, 0, start);

                 Blob imageBlob = new Blob(imageBytes);

 The exception that I get is Caused by:
 com.google.apphosting.api.ApiProxy$ApplicationException:
 ApplicationError: 6: Blob fetch size too large. on the line ZipEntry
 entry = zipper.getNextEntry();

 Does anyone know how to solve this?

 Thanks!

-- 
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: AccessControlExeption: Access Denied

2010-09-06 Thread branflake2267
Here is what I did to upload: http://demofileuploadgae.appspot.com/ -
demo
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/DemoUpload/src/org/gonevertical/upload/server%3Fstate%3Dclosed
- Code

On Aug 2, 5:07 pm, GKotta guruko...@gmail.com wrote:
 Hi Tom,

 thanks for your answer. I tried using your code and I got the
 following error. I imported the BlobstoreInputStream, and it compiles,
 but I get a ClassNotFoundError. I am using eclipse with the gwt plugin

 Code:

 import com.google.appengine.api.blobstore.BlobstoreInputStream;

 BufferedReader reader = new BufferedReader((new InputStreamReader(new
                                         BlobstoreInputStream(new
 BlobKey(filename);

 Error:

 java.lang.NoClassDefFoundError: com/google/appengine/api/blobstore/
 BlobstoreInputStream
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown
 Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:
 153)
         at
 org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:
 428)
         at
 org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:
 339)
         at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
 487)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1166)
         at
 com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi 
 lter.java:
 51)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
 actionCleanupFilter.java:
 43)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile 
 Filter.java:
 122)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
 388)
         at
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
 216)
         at
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
 182)
         at
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
 765)
         at
 org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 418)
         at
 com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn 
 gineWebAppContext.java:
 70)
         at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
         at
 com.google.appengine.tools.development.JettyContainerService
 $ApiProxyHandler.handle(JettyContainerService.java:349)
         at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at
 org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
 542)
         at org.mortbay.jetty.HttpConnection
 $RequestHandler.content(HttpConnection.java:938)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:
 218)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
 404)
         at
 org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
 409)
         at org.mortbay.thread.QueuedThreadPool
 $PoolThread.run(QueuedThreadPool.java:582)
 Caused by: java.lang.ClassNotFoundException:
 com.google.appengine.api.blobstore.BlobstoreInputStream
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at
 com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(Iso 
 latedAppClassLoader.java:
 151)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         ... 33 more

 Can you help?

 I should also mention that I import the following classes and they
 work:
 import com.google.appengine.api.blobstore.BlobKey;
 import com.google.appengine.api.blobstore.BlobstoreService;
 import com.google.appengine.api.blobstore.BlobstoreServiceFactory;

 thanks

-- 
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: I need help custom querying blobs. Can anybody get JDO BlobInfo query to to work?

2010-08-30 Thread branflake2267
Here is what I came up with so far. This works, but not sure if it is
the best way yet. I can now return the blobinfo entities.

http://code.google.com/p/gwt-examples/source/browse/trunk/DemoUpload/src/org/gonevertical/upload/server/BlobInfoJdo.java
- see the source
public class BlobInfoJdo {

  private PersistenceManager pm = PMF.get().getPersistenceManager();

  public BlobData[] getBlobs(BlobDataFilter filter) {

Entity[] entities = null;
try {
  DatastoreService datastore =
DatastoreServiceFactory.getDatastoreService();
  PreparedQuery pq = datastore.prepare(new Query(__BlobInfo__));
  ListEntity entList =
pq.asList(FetchOptions.Builder.withLimit((int)
filter.getRangeFinish()).offset((int) filter.getRangeStart()));

  entities = new Entity[entList.size()];
  entList.toArray(entities);

} finally {
  pm.close();
}

BlobData[] blobData = convert(entities);

return blobData;
  }

  private BlobData[] convert(Entity[] es) {
if (es == null || es.length == 0) {
  return null;
}

BlobData[] b = new BlobData[es.length];
for (int i=0; i  es.length; i++) {

  MapString, Object p = es[i].getProperties();

  long id = es[i].getKey().getId();
  Key key = es[i].getKey();
  String ct = (String) es[i].getProperty(content_type);
  String fn = (String) es[i].getProperty(filename);
  Long size = (Long) es[i].getProperty(size);
  Date creation = (Date) es[i].getProperty(creation);

  b[i] = new BlobData();
  b[i].setKey(key.getName());
  b[i].setContentType(ct);
  b[i].setFilename(fn);
  b[i].setSize(size);
  b[i].setCreation(creation);

}

return b;
  }

}

Also worth noting how to count the blobinfo entities.
  private void test() {

DatastoreService datastore =
DatastoreServiceFactory.getDatastoreService();
PreparedQuery pq = datastore.prepare(new Query(__BlobInfo__));
int ce = pq.countEntities();

System.out.println(countEntities:  + ce);
  }


On Aug 29, 4:08 pm, branflake2267 branflake2...@gmail.com wrote:
 Can anybody get a custom BlobInfo JDO query to work?

 I can't figure out how to do a custom query on the 
 Blobs?http://code.google.com/p/gwt-examples/source/browse/trunk/DemoUpload/...

 This GQL works to query blobs: SELECT * FROM 
 __BlobInfo__http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
 - api reference to custom querying

 Reference:http://demofileuploadgae.appspot.com/- This is my demo where someone
 can test uploading a file to the 
 blobstore.http://gwt-examples.googlecode.com- my gwt examples

 Thanks for looking,
 Brandon

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



I need help custom querying blobs. Can anybody get JDO BlobInfo query to to work?

2010-08-29 Thread branflake2267
Can anybody get a custom BlobInfo JDO query to work?

I can't figure out how to do a custom query on the Blobs?
http://code.google.com/p/gwt-examples/source/browse/trunk/DemoUpload/src/org/gonevertical/upload/server/BlobInfoJdo.java

This GQL works to query blobs: SELECT * FROM __BlobInfo__
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobInfoFactory.html
- api reference to custom querying

Reference:
http://demofileuploadgae.appspot.com/ - This is my demo where someone
can test uploading a file to the blobstore.
http://gwt-examples.googlecode.com - my gwt examples


Thanks for looking,
Brandon

-- 
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: Event chaining

2010-08-29 Thread branflake2267
With out seeing your code I'm not entirely sure, but I would suggest
checking to see if you have added a click handler to the widget you
want to observe clicks on.

I have some source to look at if your interested:

My click handlers are here: http://gwtexample.appspot.com/ and source
for it: 
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/gwt_handler_example/src/com/gawkat/gwt/example_handler/client

Brandon Donnelson
http://gwt-examples.googlecode.com

On Aug 27, 6:59 am, john nash rajasing...@gmail.com wrote:
 Hi ,

 I am facing a problem related to firing of the events .
 Let me elaborate :
 When I change a value in a textBox and click on a button directly
 (without clicking elsewhere) , only onChange event is fired . But I
 expect that onClick event should also be fired followed by onChange
 event .

 I am not actually being able to make this event chaining happen .
 I would like to know the way I should acheive this .

 Thanks

-- 
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: War takes more space

2010-08-29 Thread branflake2267
Hi,

I would suggest replacing all the files every time, at least thats
what I do. GWT sdk will automatically build you a war, unless your
using the eclipse plugin, you'll need to zip up the war directory
contents and rename the war to the path you like. The things that do
need to be replaced in particular are in the classes folder, and any
HTML/javascript files compiled with the module name. If your using
tomcat manager, or tomcat, all you then need to do is set the war into
the webapps directory, and it will deploy or upload it with the
manager.

Not sure this will help, but I have some tomcat notes here:
http://code.google.com/p/gwt-examples/wiki/gwtTomcat

Brandon Donnelson
http://gwt-examples.googlecode.com

On Aug 26, 5:12 am, sathya ayyanar sathyaayyanar1...@gmail.com
wrote:
 I am using GWT.
 In this, WAR folder takes more memory. When i reduce my source file
 also it doesn't get reduced. What are all files/folder must be needed
 in WAR? Please give suggestion about needs of each file and folder?
 Some of folders are images, smartG, Web-INF, sc, LS, js, pieces(In
 this, Sc and Web-INF takes more space).

 I attached the folder details in the following 
 URLhttp://rapidshare.com/files/415235782/War_folder.bmp

 In my test system I am already having War folder. In Each and every
 time of testing What are all folders/files to be replaced?

 Thanks in advance.

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



Demo GWT Datetime converter hosted on GAE

2010-05-04 Thread branflake2267
I created a new GWT Datetime convert hosted on Google app engine. You
can test Javascript and Unix time stamps.

http://demogwtdatetimegae.appspot.com/

I used two projects and a third is on its way to build the gadget.
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/DemoGwtDateTime_Source
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/DemoGwtDateTime_GAE

My site:
http://gwt-examples.googlecode.com

-- 
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: Insert javascript in GWT

2010-05-04 Thread branflake2267
If you need to call it as soon as the app loads, I would include it in
the project.gwt.xml file. Otherwise you can include it in the header
of the page, but you'll have to wait for it to load to call the
functions.

Like this:
http://code.google.com/p/gwt-examples/source/browse/trunk/DemoGadgetMathFlashCard/src/com/gawkat/flashcard/FlashCard.gwt.xml

Hope that helps,
Brandon

On May 4, 6:36 pm, zinkronz network zinkr...@gmail.com wrote:
 hello hai,

 i got javascript

 script type='text/javascript' nuffnang_bid =
 'ad8bbad67c3d4d242ebba049ce4c1c
 5e';  /script  script type='text/javascript' 
 src='http://synad2.nuffnang.com.my/k.js'/script

 this is like google addsense advertise program. i put this script in the gwt
 java

 HTML test = new HTML(script type='text/javascript' nuffnang_bid =
 'ad8bbad67c3d4d242ebba049ce4c1c5e';  /script  script type='text/
 javascript' src='http://synad2.nuffnang.com.my/k.js'/script');

 and put it in the horizontalpanel to project to the page.

 the problem is.. this advetising banner is jump to another page. its clear
 all my website and just show this banner.

 if i just put at the html pages... like main.html , the banner is work well

 help me

 buzz

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



My First GWT IGoogle Gadget, What do you think?

2010-04-25 Thread branflake2267
I finally figured out how to build my first GWT Gadget. I found it
wasn't as difficult as I once thought. I'm really excited about the
this potential. I looked at the GWT Gadget API source and there
putting some time into new development, which excites me.

I built a basic and more complex gadgets which are demoed here.
More Info here: 
http://code.google.com/p/gwt-examples/wiki/project_Gadget?ts=1272247716updated=project_Gadget

Basic Gadget is released here:
IGoogle Directory:
http://www.google.com/ig/directory?url=demogadgetmathflashcard.appspot.com/flashcard/com.gawkat.flashcard.client.FlashCard.gadget.xml

What do you think?

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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: super-source with Eclipse

2010-04-25 Thread branflake2267
HI David,

It appears that your source isn't in the translatable directories that
would translate to javascript. Anything in project.client.* should
translate into javascript. There should be two packages
tld.domain.client.* and tld.domain.server. You can use the
webApCreator to setup a project and import it into eclipse. I'd
suggest following the project setup done by webap creator to save time
in getting your code emulated, translated into javascript.

Brandon Donnelson
http://gwt-examples.googlecode.com

On Apr 25, 3:43 pm, David Given d...@cowlark.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I'm trying to add some classes to the JRE emulation used by my app.

 Right now I have a module in .../src/emu/Emulation.gwt.xml that uses
 super-source and my classes in .../src/emu/java/io/Foo.java.

 This works fine. However, Eclipse doesn't like it because it considers
 these classes to be in the wrong place, insisting on marking them all
 with error flags and warning me every time I launch that my project
 contains errors. And of course hosted mode doesn't use them.

 Is there any way to let me have the emulated classes in the root of my
 project? i.e. in .../src/java/io/Foo.java?

 I've tried the obvious things such as super-source path=../ but
 naturally this doesn't work. Plus, I'd need some way to ensure that the
 servlet can't see them, only my client code. Is this possible?

 - --
 ┌─── dg@cowlark.com ─http://www.cowlark.com─
 │
 │ I love the way Microsoft follows standards. In much the same manner
 │ that fish follow migrating caribou. --- Paul Tomblin
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/

 iD8DBQFL1MWEf9E0noFvlzgRAnoUAJkBayevNozj5nmH6lohiChJGZYmxACeL53U
 2LEa90nkQMMq0B8iyVbSjNM=
 =xHrg
 -END PGP SIGNATURE-

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



Re: GWT MVP architecture redirect link page with URL parameters passing

2010-04-25 Thread branflake2267
Hi Mahmoud,

Yes, this is very possible to do. Have any widget add a history
handler, and watch for any history change event, and then fire the
widget state accordingly as you see fit. I like doing it this way. You
can pass any number of parameters in to change the widgets/app state.

domain.tld#historyToken?[?params1=aparams2=b]
I do this in my core project I am building.
http://code.google.com/p/gwt-examples/source/browse/trunk/Core/src/org/gonevertical/core/client/global/QueryString.java

Here is how I manage the default History Observations:
http://code.google.com/p/gwt-examples/source/browse/trunk/DemoCoreEngine/src/com/gawkat/demo/client/DemoCoreEngine.java
private void initHistory() {
String historyToken = History.getToken();

if (historyToken.length() == 0) {
  History.newItem(account_Things);
}
  }

This will watch/observe the the querystring events (url):
History.addValueChangeHandler(this);

Hope that helps,
Brandon Donnelson
http://gwt-examples.googlecode.com


On Apr 23, 8:38 pm, Mahmoud mahmoud.abounas...@gmail.com wrote:
 Hello,
 I have followed the MVP structure while developing my project.
 Once I hit the site URL, the History Manager loads the module by
 inserting the default token to the history stack and then from there
 the user can redirect himself to any part of the application by
 changing the History token, which is basically the bit that comes
 after the pound symbol (#) in the URL

 My problem is: I'm unable to redirect a user to a specific token
 without having to go through the default token and from there to
 anywhere I want.

 In other words, the URLs history usual follows this:http://domain#defaultToken
 and from there I can go tohttp://domain#page1orhttp://domain#page2
 without any problem.

 But if i want to go directly tohttp://domain#page1i will be
 redirected to the default token which ishttp://domain#defaultToken...
 mainly due to this snippet of code:

                 this.container = container;

                 if (.equals(History.getToken())) {
                         History.newItem(defaultToken);
                 } else {
                         History.fireCurrentHistoryState();
                 }

 So my question is: Is it possible to redirect a user to any part of
 the application without having to start from the defaultToken page?
 And can we pass in parameters using the URL only (i.e: how can the
 user hit the following link without 
 errors?:http://domain#page3?param1=aparam2=b)
 ? How those it work?

 To concertize the problem, I'm trying to implement an activation
 link that if once the user clicks on it he will activate his account
 given the userID and a encrypted code 
 (i.e:http://domain#activate?userID=12code=ht2oj34j2k5j6pk3
 )

 Any advice will do,
 Cheers,
 Mahmoud

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



Re: Free, open, and decentralized social networking.. in GWT !

2010-04-25 Thread branflake2267
Very cool and impressive project. I can see you spent some time on
that project good job.

Brandon Donnelson
http://gwt-examples.googlecode.com

On Apr 23, 8:28 am, @eschnou laurent.eschena...@gmail.com wrote:
 Hi everyone,

 Just a short post to let you know that we have just released the web
 client forhttp://onesocialweb.org, an open source (Apache 2) project
 building an open and decentralized social network using XMPP and
 Activitystrea.ms.

 Our web client is entirely written in GWT and does not require any web
 backend. In our opinion, it pushes GWT quite far and demonstrate that
 you cab build realy powerfull realtime web applications entirely on
 top of GWT and XMPP. We used the Emite library for the BOSH part and I
 highly recommend it.

 Code is hosted on github, all details here:http://onesocialweb.org/code.html
 Screenshot:http://onesocialweb.org/images/osw-main-big.png

 If you are into GWT, XMPP. etc... it is really worth a look ! And we
 are of course looking for enthusiastic developers to join the party !

 Ho.. if anyone knows how to get invited by Google to showcase this in
 the sandbox... ping me :-)

 Laurent

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



Re: GWT Developer plugin for Chrome on OS X (mac)

2010-04-25 Thread branflake2267
I vote for a MacOSX Chrome Plugin too, this would be so nice to have!

Brandon Donnelson
http://gwt-examples.googlecode.com

On Apr 23, 8:15 am, Jim Adkins ade...@gmail.com wrote:
 Is there anyone out there who can give the development community a
 status update as to when we might see a GWT Developer plugin for
 Chrome on OS X?

 I'm aware of and use the Safari plugin, but need to test in Chrome.

 Thanks

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



Re: GWT + app engine: how do I avoid double-work?

2010-04-25 Thread branflake2267

I have used JDO data storage with GAE and also stored that to MySql.
Although changing the GAE libraries out for Mysql JDO Libraries takes
a little bit of effort.

Here are some of my JDO classes, which I convert into DataObjects to
pass to GWT client side. Its not to hard to write JDO into data
objects you can pass to GWT client side, but does take a little bit of
work. Once you get the hang of it, it goes pretty fast.

http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/Core/src/org/gonevertical/core/server/jdo/data
- some of my JDO source

Brandon Donnelson
http://gwt-examples.googlecode.com


On Apr 23, 4:18 am, jbdhl jbirksd...@gmail.com wrote:
 I use app engine's datastore with JDO, which is able to store classes
 if they are @PersistenceCapable. But annotations like
 @PersistenceCapable is, as far as I understand, not available in GWT
 (the client side), forcing me to re-implement the model classes
 without the @Persistent-annotations for the client side. Is that
 correct? Are there any short cuts I could take on that?

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



Re: Defining a global function in JSNI?

2010-04-22 Thread branflake2267
This is what I did to register a JSNI function.

http://code.google.com/p/gwt-examples/wiki/project_JSNI

http://demogwtjsni.appspot.com/ - demo of it

public static native void registerJsni(ToolTipWidget ttw) /*-{

$wnd.showTooltip_id = function(elementId, html) {
 
t...@org.gonevertical.demo.client.tooltipwidget::showTooltip(Ljava/
lang/String;Ljava/lang/String;)(elementId, html);
}

$wnd.showTooltip_xy = function(x, y, html) {
 
t...@org.gonevertical.demo.client.tooltipwidget::showTooltip(IILjava/
lang/String;)(x, y, html);
}

$wnd.showTooltip = function(html) {
 
t...@org.gonevertical.demo.client.tooltipwidget::showTooltip(Ljava/
lang/String;)(html);
}

$wnd.hideTooltip = function() {
 
t...@org.gonevertical.demo.client.tooltipwidget::hideTooltip()();
}

}-*/;

hope that helps,
Brandon

On Apr 21, 10:55 pm, markww mar...@gmail.com wrote:
 Hi,

 I'm using the youtube player api. The youtube player object lets you
 add an event listener callback function, by name. I'm running into a
 problem with this because I don't think I'm defining a global function
 correctly or GWT is mangling the name or something along those lines.
 Example:

   private static native void register() /*-{

     $wnd.myGlobalCallback = function(state) {
         alert(hi!);
     }

     var ytplayer = getElementById(youtubeplayer);
     player.addEventListener(onStateChange, myGlobalCallback);

     alert(all done!);
  }-*/;

 so all other aspects of the player work fine from GWT. The call:

   player.addEventListener(...);

 seems to just somehow kill the rest of the script from running,
 without throwing any sort of errors. It just gets 'stuck' there. The
 alert() below it will never get called. The page continues operating
 as normal.

 Since I need to supply a string literal (the name of the callback
 function), how would I do that in GWT?

 Thanks

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



Re: History.newItem() -- Documentation Suggestion

2010-04-22 Thread branflake2267
History.newItem(x) changes the querystring #[anchor] parameter.

I use a change handler and then I fire and event.

private void fireChange() {
NativeEvent nativeEvent = Document.get().createChangeEvent();
ChangeEvent.fireNativeEvent(nativeEvent, this);
  }

http://code.google.com/p/gwt-examples/source/browse/trunk/gwt_handler_example/src/com/gawkat/gwt/example_handler/client/BoxLeft.java
- example of use

http://gwtexample.appspot.com/ - demo

Hope that helps,
Brandon

On Apr 21, 6:23 am, euzuro euz...@gmail.com wrote:
 Hi Team,

 Just ran into a quirk today with the History class.

 I was assuming that calling

 History.newItem(x)
 or
 History.newItem(x, true)

 would *force* a com.google.gwt.event.logical.shared.ValueChangeEvent
 to be fired.

 As it turns out, though, if you pass the same token as the current
 history token, the event does *not* get fired.

 So I'm not suggesting changing behavior, but maybe it would be good to
 add a note to the documentation?

 Erik

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



Re: Floating label

2010-04-22 Thread branflake2267
I use an absolute panel. Set it to the body,
Rootpanel.get().add(absolultePanel); then set its visibility false.
When you need it set its x and y and set visilbity to true and to the
position you need it at. You can get the position by referencing the
parent element that creates the event.

I do something similar here - http://demogwtjsni.appspot.com/
http://code.google.com/p/gwt-examples/wiki/project_JSNI - more info, I
also use this funciton in my core project.

I also have Loading widgets that do this in my MySqlConn example. Not
sure if that was what your looking for.
http://code.google.com/p/gwt-examples/source/browse/trunk/DemoMySqlConn/src/org/gonevertical/demo/client/LoadingWidget.java

Hope that helps,
Brandon Donnelson



On Apr 21, 4:37 am, Yogesh yogeshrn...@gmail.com wrote:
 Hi,
 I want to display a message Loading.. Please wait... when user
 clicks on any button.
 I have a label at the top-center of the page. But, when user scolls
 down on the page, that label is not displayed Hence, I want to
 implement a floating label that will be displayed at the top of the
 page irrespective of whether user has scrolled down or is at the top
 of the page.

 any ideas?

 Thanks.

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



Re: GWT Module not loaded on app engine

2010-04-22 Thread branflake2267

If this is what the debugger starts as:
http://127.0.0.1:/DemoJSNI.html?gwt.codesvr=127.0.0.1:9997
then
http://127.0.0.1:/MyPage.jsp is the location of it. you don't need
the gwt.cod... to get it to run.

You can change the start page in web.xml

Hope that helps, Brandon

On Apr 21, 9:32 pm, Vik vik@gmail.com wrote:
 Hie

 In my app i have two modules.

 Module one shows a login popup and module 2 shows a admindashboard build
 using GWT and embedded into AdminDashBoard.jsp using div.

 After sucessful login it navigates to module to
 using: Window.Location.replace(/ui/page/AdminDashBoard.jsp);

 When i run it from eclipse obviously it loads a blank page and on appending
  ?gwt.codesvr=127.0.0.1:9997 and reloading url gives me the gwt built page.

 But on hosted mode this is not happening. I dont see any error in admin
 logs. I just see a blank page after login .

 Any advise please

 Thankx and Regards

 Vik
 Founderwww.sakshum.comwww.sakshum.blogspot.com

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



In Need of Everett, WA, GWT Coder

2009-08-26 Thread branflake2267

Hi GWT folks,

I am looking for someone to hire that has gwt, java, mysql experience
for the company I work at in Everett, WA.

We are a contracting company that work for large corporations.

If anybody is interested please get in touch with me.

Brandon Donnelson
branflake2...@gmail.com
--~--~-~--~~~---~--~~
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: Add external java project to GWT project in Eclipse

2009-07-28 Thread branflake2267

Hi Martin,

On including more than one project source into your gwt project, can
you tell me what you did to get two projects to work together in GWT.
I have been trying over and over to combine two projects up for some
time, and have not been able to do it.

Thanks,
Brandon

On Jul 21, 3:16 am, martinhansen martin.hanse...@googlemail.com
wrote:
 Hello Jason,

 that did the trick! Thank you very much, it works fine now. Great!

 On 20 Jul., 23:43, Jason Parekh jasonpar...@gmail.com wrote:



  Hi Martin,
  For the Linked folder location, ensure you have the trailing src
  included.

  jason

  On Mon, Jul 20, 2009 at 4:35 PM, martinhansen 

  martin.hanse...@googlemail.com wrote:

   Now I tried the link source function without Google App Engine. At
   first, it seems to work, and the project is added to my main project.
   The only problem is: The package declarations produce errors. Eclipse
   shows an error message:

   The declared package com.company.data does not match the expected
   package src.com.company.data

   What to do?

   On 20 Jul., 22:29, martinhansen martin.hanse...@googlemail.com
   wrote:
Hello Donald,

I already tried the Google App Engine approach, but it didn't work for
me. And GAE adds a lot of stuff I don't need to my project. I really
don't want to mess around with it, since I managed to kill my GWT
app's configuration several times and I had to create a new project.

Meanwhile, I tried the output folder approach. I tried to change the
default output folder of DataProject, but I
didn't manage successfully. Eclipse says: Path '/GwtApp/src' must
denote location inside project 'DataProject'. Am I heading the wrong
way there?

On 20 Jul., 22:21, Donald W. Long donald.w.l...@gmail.com wrote:

 I looked at the linked source method and you have to have the linked
 source fully qualified.  Thats nice if you always have your source in
 the same place.  You could try using the linked variables but then
 thats also work.  Do not see this as a real option forprojectsthat
 will be worked on by many developers at the same time.

 If I am wrong please let me know.

 Thanks

 Donald W. Long (donald.w.l...@thelongsfamily.com)

 On Jul 20, 1:34 pm, Jason Parekh jasonpar...@gmail.com wrote:

  Hi Martin,
  You may try using the link source option, as suggested by the thread
   athttp://groups.google.com/group/google-appengine-java/browse_thread/th..
   ..
   If that doesn't work, you could set the output directory of your
  dependencies to be the GWT output folder.

  jason

  On Mon, Jul 20, 2009 at 12:14 PM, martinhansen 

  martin.hanse...@googlemail.com wrote:

   Hello Sean,

   thank you very much. I've thought of that solution too, but it is
   not
   appropriate for my GWT project. I have to add 4 externalprojects
   to
   my GWT project, and all of these 4projectsare subject to change
   every day. It would be too much work to export them to a jar file
   every day. Is there some way to automatically add the external
   project
   sources to the GWT output folder?

   On 20 Jul., 18:03, Sean slough...@gmail.com wrote:
You can export the non-GWT java files into a jar and drop those
   in the
WEB-INF/lib folder. That's what I do.

On Jul 20, 11:44 am, martinhansen 
   martin.hanse...@googlemail.com
wrote:

 Hello,

 my GWT server-side code needs an external java project. I have
   added
 the project under Configure build path /Projects. It works
   fine in
 hosted mode. But when I deploy my application on a server, I
   get lots
 of ClassNotFoundExceptions. Obviously, GWT cannot find the
   external
 java code. When I look at the war\WEB-INF\classes folder, I 
 see
   that
 the external java classes have not been included.

 How can I get GWT to include the external classes?- Hide 
 quoted
   text -

  - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267

1.6 gadget api must be different. How is the gadget.xml file get setup
or the manifest defined?

Gadget:
http://code.google.com/p/gwt-examples/source/browse/trunk/FlashCard/src/com/gawkat/flashcard/client/gadget/FlashCard_Gadget.java

Compiling module com.gawkat.flashcard.FlashCard
   Compiling 5 permutations
  Permutation compile succeeded
   Linking into war
  Invoking Linker Google Gadget
 [ERROR] No gadget manifest found in ArtifactSet.
 [ERROR] Failed to link
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
at com.google.gwt.gadgets.linker.GadgetLinker.link(GadgetLinker.java:
58)
at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLink
(StandardLinkerContext.java:328)
at com.google.gwt.dev.Link.doLink(Link.java:175)
at com.google.gwt.dev.Link.link(Link.java:133)
at com.google.gwt.dev.Compiler.run(Compiler.java:183)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:124)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
84)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:78)
at com.google.gwt.dev.Compiler.main(Compiler.java:131)

Any thoughts?
--~--~-~--~~~---~--~~
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: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267


It seems compiling can work if I added FlashCard.gadget.xml - but I am
still not able to run hosted mode.

Trying things :)
http://code.google.com/p/gwt-examples/source/browse/trunk/FlashCard/src/com/gawkat/flashcard/FlashCard.gadget.xml
--~--~-~--~~~---~--~~
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: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267

That did work, I could compile the gadget by adding
FlashCard.gadget.xml, but hosted mode still looking for the artifact
gadget.xml. 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: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267

this is a tmp link while trying to debug.
http://8.latest.mathflashcard.appspot.com/flashcard/com.gawkat.flashcard.client.gadget.FlashCard_Gadget.gadget.xml
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Simple Example using event handlers, Google App Engine, Integrated Google Analytics

2009-05-17 Thread branflake2267

This is a simple GWT application using addClickHandler,
addChangeHandler and Integrated Google Analytics.

Demo - http://gwtexample.appspot.com/ - This application demo is
deployed on the Google App Engine.
SVN Source -
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/gwt_handler_example/src/com/gawkat/gwt/example_handler/client%3Fstate%3Dclosed

Notes: (check out the svn source for more code)

I really like the new event system. This simple example only uses a
small potential of the event system. Its much easier to observe
events. It was harder to understand at first, but its much easier to
understand once learned. Its well worth the change from listeners!

Something to note if you want to fire a change event.
 private void fireChange() {
NativeEvent nativeEvent = Document.get().createChangeEvent();
ChangeEvent.fireNativeEvent(nativeEvent, this);
  }

Instead of adding listeners you register handlers.
  /**
   * when firing a change event, this handler is used
   */
  public HandlerRegistration addChangeHandler(ChangeHandler handler) {
return addDomHandler(handler, ChangeEvent.getType());
  }

  /**
   * allows for observing click events on the entire widget
   */
  public HandlerRegistration addClickHandler(ClickHandler handler) {
return addDomHandler(handler, ClickEvent.getType());
  }



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



Social Collaboration Through Application State Reference

2009-05-17 Thread branflake2267


My beginning thoughts about Collaboration through links:
http://codintips.blogspot.com/2009/05/social-collaboration-through.html

The question is, whats the best way to reference the entire
applications current state through a link? Of course, putting all the
parameters into the link is the answer, but is that really the best
way? An application has so many widgets and widgets that have widgets
with different parameters that make the view of entire application,
which wouldn't be pragmatic to set every parameter into a the link.
I'd like to think there is a better way to link into the applications
current state.

Why do I ask this. Because, I like to send a link of the current
applications state/view, to someone else so we can start from that
point and collaborate on what we are seeing.

I thought I would mention this to create conversation on this topic. I
haven't actually thought to deeply into how I would implement this
over an entire application. I will have to get adjusted into the new
event system before I approach this.

Something to chew on.
Brandon

http://gwt-examples.googlecode.com
--~--~-~--~~~---~--~~
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 can I combine 2 projects into one with gwt 1.6+?

2009-04-06 Thread branflake2267

Yea, I want to reuse the submodules as most as possible,  but I don't
want to compile them into jars every time I make a change.  I am
trying to figure out how to configure the compiler to use the other
projects as if it where one big project.

Thanks for your help.
Brandon

On Mar 26, 2:00 pm, Sumit Chandel sumitchan...@google.com wrote:
 Hi Brandon,

 I'm not clear why you would need to compile the sub modules independently
 from the main module. The GWT compiler performs a monolithic compilation for
 each module it compiles, therefore the submodules would be completely
 independent from the main module if they were compiled separately. It seems
 like if you want to reuse those submodules, the best way would be to
 reference them from your main project (linking source in Eclipse, for
 example), and adding the submodules to your main GWT compilation target as
 shown in the ant snippet.

 If you have server-side classes that you want to compile separately and
 include in the main project, you should probably set up a build target that
 will javac those classes and copy them over to the main GWT project
 directory. The gwtc target would then be dependent on that step before being
 able to perform its own GWT compilation.

 Putting into context of your next goals, 3. would be solved by what was
 described in the last paragraph. 1. and 2. might not need to be explicit
 goals since compiling separately probably won't be of much value for what I
 think you're trying to do. Although I may have misundertstood the purposes
 for goals 1  2.

 Hope that helps,
 -Sumit Chandel

 On Sun, Mar 22, 2009 at 4:01 PM, branflake2267 branflake2...@gmail.comwrote:



  Hi Sumit Chandel,

  Thanks for taking the time to answer my questions!

  The Ant setup is heading in the right direction for me. I haven't
  figured out how to include other modules in ant. I have figured out
  how to include them in the debug configurations, and libraries in
  eclipse. I would prefer to use the jar, but I am building both modules
  actively, and compiling into a jar and including it would take longer
  to develop the project.

 http://code.google.com/p/gwt-examples/wiki/module_inherit- my docs so
  far in including gwt source modules/projects.

  Here are my projects I am experimenting on, and must figure out how to
  include them so I can move on.

 http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/Naviga...main 
 project

 http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/gwt-Sy...
  - common widgets

  My Goals:
  1. configure ant to compile gwt like hosted mode - compile both the
  main module and the sub modules
  2. copy the module to the main project
  3. copy the compiled classes of the other project to the main module

  You guys are doing an excelent job with GWT!!!
  Thanks,
  Brandon

  On Mar 5, 1:34 am, Sumit Chandel sumitchan...@google.com wrote:
   Hi Brandon,
   I think the typical way to reuse an existing GWT module in another is to
   package that module into a JAR file (source included) and then refer to
  the
   module from main project in its module XML file, as you did above. You
  would
   then add that JAR to any launch or compilation scripts so that all
   references would be resolved while running hosted mode or the GWT
  compiler.
   In the same way, you would refer to this JAR in your ant build.xml file
  for
   gwtc or hosted mode startup targets.

   You could also refer to the GWT module's source folder and classpath
   directly, as you did in your Eclipse configurations. This should also
  work
   in Ant by defining the appropriate path element. Something like the
   snippet below should do the trick:

   path id=apple.class.path
       fileset dir=../Apple/src/com/gawkat/gwt/apple/client
         include name=**/*.java/
       /fileset
     /path

   target name=gwtc depends=javac description=GWT compile to
  JavaScript
       java failonerror=true fork=true
   classname=com.google.gwt.dev.Compiler
         classpath
           pathelement location=src/
           path refid=apple.class.path/
           pathelement location=${gwt.home}/${gwt.dev.jar}/
         /classpath
         jvmarg value=-Xmx256M/
         arg value=com.gawkat.gwt.Test/
       /java
     /target

   This would be in addition to other path elements you would need to define
  to
   build your project.

   Hope that helps,
   -Sumit Chandel

   On Wed, Mar 4, 2009 at 8:23 AM, branflake2267 branflake2...@gmail.com
  wrote:

How do I include the classpath for another module so ant will build?

- My main module com.gawkat.gwt.Test
- In Text.gwt.xml file I include inherits
name='com.gawkat.gwt.Apple'/
- I have added Apple projects classpath and src folder to Test Debug
Configurations classpath and hosted mode will build the projects.

So How can I get Ant to Compile it?

 Run As  Build.xml in com.gawkat.gwt.Test :

Buildfile: /home/branflake2267/workspace2/Test/build.xml
libs

Re: Best Practices for managing GWT 1.6 based Applications, Projects and Modules?

2009-03-22 Thread branflake2267

Hi,

I like what I see with the improvements of 1.6! I am building a
enterprise application at a major telecom company which is getting
used, in which I am fully utilizing gwt. I also have built
GoneVertical.com application.

This is a great question. I have been experimenting with including my
modules like this. Although I haven't had all the items come together
like I want I have gotten close. I haven't been able to build included
projects with my current war builder. I really like the new system,
but haven't got Ant figured out to include other modules, and then get
the other module classes included into the war.

This is my goal for my project builds. I have successfully testing
including modules in 1.6 like this, but building them I have not.
 Navigational Core Module - entry point resides here, directs the applications 
 rendering
   Login Module - login widgets and class
   Common Module - common widgets and classes
   Options for more included modules
   Project Module - current working project

I am a GWT promoter!
Brandon


On Mar 20, 6:47 pm, Lance Weber weber.la...@gmail.com wrote:
 With the arrival of the new project structure in 1.6 I'm looking for
 recommendations/experiences on organizing complex applications
 containing several major functional areas.

 For purposes of this discussion, I'm envisioning
 -Application A
 --Functional Area A1
 --Functional Area A2
 --Functional Area A3

 Assuming each functional area shares  50% common entities, business
 logic and gui components, it isn't clear to me what approaches to
 organizing the codebase will scale with the eventual size of the
 application. Here are some of the options as I understand them:

 1) Monolith Option. One project with one module, possibly supporting
 multple entry points.

 2) One project, multiple modules. Maintain one project, but create
 multiple modules to organize common classes and functional areas. (How
 do you accomplish this in 1.6? It's not clear to me)

 3) Multiple projects, one module per project. Create one project for
 each module, resulting in a commons project and a project for each
 functional area.

 Any thoughts/comments on this would be welcome...
 Advantages/Disadvantages?
 Options I'm missing?
 Good/Bad experiences with these approaches?
--~--~-~--~~~---~--~~
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 can I combine 2 projects into one with gwt 1.6+?

2009-03-22 Thread branflake2267

Hi Sumit Chandel,

Thanks for taking the time to answer my questions!

The Ant setup is heading in the right direction for me. I haven't
figured out how to include other modules in ant. I have figured out
how to include them in the debug configurations, and libraries in
eclipse. I would prefer to use the jar, but I am building both modules
actively, and compiling into a jar and including it would take longer
to develop the project.

http://code.google.com/p/gwt-examples/wiki/module_inherit - my docs so
far in including gwt source modules/projects.

Here are my projects I am experimenting on, and must figure out how to
include them so I can move on.
 http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/Navigation - 
 main project
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/gwt-System
- common widgets


My Goals:
1. configure ant to compile gwt like hosted mode - compile both the
main module and the sub modules
2. copy the module to the main project
3. copy the compiled classes of the other project to the main module


You guys are doing an excelent job with GWT!!!
Thanks,
Brandon


On Mar 5, 1:34 am, Sumit Chandel sumitchan...@google.com wrote:
 Hi Brandon,
 I think the typical way to reuse an existing GWT module in another is to
 package that module into a JAR file (source included) and then refer to the
 module from main project in its module XML file, as you did above. You would
 then add that JAR to any launch or compilation scripts so that all
 references would be resolved while running hosted mode or the GWT compiler.
 In the same way, you would refer to this JAR in your ant build.xml file for
 gwtc or hosted mode startup targets.

 You could also refer to the GWT module's source folder and classpath
 directly, as you did in your Eclipse configurations. This should also work
 in Ant by defining the appropriate path element. Something like the
 snippet below should do the trick:

 path id=apple.class.path
     fileset dir=../Apple/src/com/gawkat/gwt/apple/client
       include name=**/*.java/
     /fileset
   /path

 target name=gwtc depends=javac description=GWT compile to JavaScript
     java failonerror=true fork=true
 classname=com.google.gwt.dev.Compiler
       classpath
         pathelement location=src/
         path refid=apple.class.path/
         pathelement location=${gwt.home}/${gwt.dev.jar}/
       /classpath
       jvmarg value=-Xmx256M/
       arg value=com.gawkat.gwt.Test/
     /java
   /target

 This would be in addition to other path elements you would need to define to
 build your project.

 Hope that helps,
 -Sumit Chandel

 On Wed, Mar 4, 2009 at 8:23 AM, branflake2267 branflake2...@gmail.comwrote:



  How do I include the classpath for another module so ant will build?

  - My main module com.gawkat.gwt.Test
  - In Text.gwt.xml file I include inherits
  name='com.gawkat.gwt.Apple'/
  - I have added Apple projects classpath and src folder to Test Debug
  Configurations classpath and hosted mode will build the projects.

  So How can I get Ant to Compile it?

   Run As  Build.xml in com.gawkat.gwt.Test :

  Buildfile: /home/branflake2267/workspace2/Test/build.xml
  libs:
  javac:
  gwtc:
      [java] Loading module 'com.gawkat.gwt.Test'
      [java]    Loading inherited module 'com.gawkat.gwt.Apple'
      [java]       [ERROR] Unable to find 'com/gawkat/gwt/
  Apple.gwt.xml' on your classpath; could be a typo, or maybe you forgot
  to include a classpath entry for source?
      [java]    [ERROR] Line 15: Unexpected exception while processing
  element 'inherits'
      [java] com.google.gwt.core.ext.UnableToCompleteException: (see
  previous log entries)
     
--~--~-~--~~~---~--~~
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 can I combine 2 projects into one with gwt 1.6+?

2009-03-04 Thread branflake2267

How do I include the classpath for another module so ant will build?

- My main module com.gawkat.gwt.Test
- In Text.gwt.xml file I include inherits
name='com.gawkat.gwt.Apple'/
- I have added Apple projects classpath and src folder to Test Debug
Configurations classpath and hosted mode will build the projects.

So How can I get Ant to Compile it?

 Run As  Build.xml in com.gawkat.gwt.Test :

Buildfile: /home/branflake2267/workspace2/Test/build.xml
libs:
javac:
gwtc:
 [java] Loading module 'com.gawkat.gwt.Test'
 [java]Loading inherited module 'com.gawkat.gwt.Apple'
 [java]   [ERROR] Unable to find 'com/gawkat/gwt/
Apple.gwt.xml' on your classpath; could be a typo, or maybe you forgot
to include a classpath entry for source?
 [java][ERROR] Line 15: Unexpected exception while processing
element 'inherits'
 [java] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)

--~--~-~--~~~---~--~~
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 can I combine 2 projects into one with gwt 1.6+?

2009-03-03 Thread branflake2267

Could anybody help me figure out how to combine 2 project into one
with gwt 1.6+ and build them in the War folder using the ant system
that is already configured?

1. I figured out how to add the included project into the class path
in ecplise to work in hosted mode.
   - Buildpath  classpath (tab)  User Entries (menu)  Advanced 
add project and add project src folder
  - The project will build and run perfectly in Hosted mode

How can I use the external tools, Ant, to build two gwt 1.6+ projects
to build so I can use that war elsewhere?


Any help would be much appreciated!
Thanks,
Brandon Donnelson
http://gwt-examples.googlecode.com - I post all my finds and helps
here.
--~--~-~--~~~---~--~~
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 1.6 M1 - webAppCreator - having creation problems?

2009-02-25 Thread branflake2267

Run the external tools, ant to compile the project to get it to work.

 right click on build.xml  run ant external tool

On Feb 22, 11:44 am, branflake2267 branflake2...@gmail.com wrote:
 I found running webAppCreator like this creates the proper directory
 structure:
 ./webAppCreator -out /home/branflake2267/workspace2/Sandbox
 com.gawkat.gwt.test.Sandbox

 although, I can't seem to get the application to run yet.
 brandon

 On Feb 22, 11:11 am, branflake2267 branflake2...@gmail.com wrote:

  Issue 
  created:http://code.google.com/p/google-web-toolkit/issues/detail?id=3380can=4

  On Feb 22, 10:53 am, branflake2267 branflake2...@gmail.com wrote:

   I get this error after trying to run TestApp.

   2009-02-22 10:53:09.727::INFO:  Logging to STDERR via
   org.mortbay.log.StdErrLog
   2009-02-22 10:53:09.776::INFO:  jetty-6.1.x
   2009-02-22 10:53:09.927::WARN:  failed echoServlet
   java.lang.NoClassDefFoundError: com/google/gwt/user/client/rpc/
   RemoteService
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
           at 
   java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
   124)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
           at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
           at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
   (WebAppClassLoader.java:366)
           at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
   (WebAppClassLoader.java:337)
           at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
           at 
   java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
   124)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
           at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
           at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
   (WebAppClassLoader.java:366)
           at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
   (WebAppClassLoader.java:337)
           at org.mortbay.util.Loader.loadClass(Loader.java:91)
           at org.mortbay.util.Loader.loadClass(Loader.java:71)
           at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
           at 
   org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
   233)
           at org.mortbay.component.AbstractLifeCycle.start
   (AbstractLifeCycle.java:39)
           at org.mortbay.jetty.servlet.ServletHandler.initialize
   (ServletHandler.java:616)
           at 
   org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
           at org.mortbay.jetty.webapp.WebAppContext.startContext
   (WebAppContext.java:1220)
           at org.mortbay.jetty.handler.ContextHandler.doStart
   (ContextHandler.java:513)
           at 
   org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
   448)
           at com.google.gwt.dev.shell.jetty.JettyLauncher
   $WebAppContextWithReload.doStart(JettyLauncher.java:236)
           at org.mortbay.component.AbstractLifeCycle.start
   (AbstractLifeCycle.java:39)
           at org.mortbay.jetty.handler.HandlerWrapper.doStart
   (HandlerWrapper.java:130)
           at org.mortbay.jetty.Server.doStart(Server.java:222)
           at org.mortbay.component.AbstractLifeCycle.start
   (AbstractLifeCycle.java:39)
           at com.google.gwt.dev.shell.jetty.JettyLauncher.start
   (JettyLauncher.java:283)
           at 
   com.google.gwt.dev.HostedMode.doStartUpServer(HostedMode.java:368)
           at 
   com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:587)
           at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:394)
           at com.google.gwt.dev.HostedMode.main(HostedMode.java:231)
   Caused by: java.lang.ClassNotFoundException
           at com.google.gwt.dev.shell.jetty.JettyLauncher
   $WebAppContextWithReload$1.findClass(JettyLauncher.java:217)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
           at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
   (WebAppClassLoader.java:375)
           at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
   (WebAppClassLoader.java:337)
           at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
           ... 41 more
   2009-02-22 10:53:09.031::WARN:  failed

Application Navigation and Interaction Visualization

2008-12-27 Thread branflake2267

I have made up a image for visualization of the gwt application event
interaction and navigation.

This helped me better understand event interaction and url navigation
so I could create core navigation strategy for my gwt applications.

http://code.google.com/p/gwt-examples/wiki/Navigation

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



MySQL RPC Example

2008-09-07 Thread branflake2267

Thought I would post my MySQL example.

http://gawkat.com/MySQLConn/ - GWT MySQL demo getting data
http://code.google.com/p/gwt-examples/wiki/project_MySQLConn - MySQL
code snippets

Download the Eclipse project via the SVN.

I made an example widget in which a widget grabs MySQL data from the
server and display it to screen. I use an object array to transport
the data from the server to the client and often back to the server.
Check out the demo and code snippets for more information on how I do
it. I show the object array at the bottom of my gwt-examples.

Hope the MySQL RPC example helps, have fun dissecting it.

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