Re: Sever Degradation in peformance from pre-2.0

2010-02-23 Thread Bob Rozelle
After some digging, I found I had some lazy coding when working with
JSON objects, I was just getting the value inside a try...catch.  with
the catch supplying a default on a failed try.  This was very fast in
GWT 1.7.1, but slow in GWT 2.0 (very slow).  Recoded to do explicit
checking rather than the try...catch and performance is back up to
pre-2.0 (might be better).


On Feb 21, 11:50 pm, Bob Rozelle broze...@eatlocalfood.com wrote:
 I am seeing a sever degradation in performance after moving to GWT
 2.02 from pre-2.0.  This is happening both in development and compiled
 mode.  I am running on Ubuntu 9.10 64-bit.  Pre 2.0 compiled code will
 run and bring up my first page in about 3 seconds.  In 2.02 it takes
 over 20 seconds with no code change.

 Any ideas on how to move forward on recovering this lost performance
 would be appreciated.

 Regards

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



Sever Degradation in peformance from pre-2.0

2010-02-21 Thread Bob Rozelle
I am seeing a sever degradation in performance after moving to GWT
2.02 from pre-2.0.  This is happening both in development and compiled
mode.  I am running on Ubuntu 9.10 64-bit.  Pre 2.0 compiled code will
run and bring up my first page in about 3 seconds.  In 2.02 it takes
over 20 seconds with no code change.

Any ideas on how to move forward on recovering this lost performance
would be appreciated.

Regards

-- 
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: Issues using Eclipse and GWT Plugin in Ubuntu Karmic (9.10)

2009-11-03 Thread Bob Rozelle

Jason,

Thanks for looking into this.  When I get time I'm going to report the
search problem on Build id: 20090920-1017 to Ubuntu and Eclipse.  Just
a little busy right now.  I found that search is working if I hit
return while in the search box, but not when I press the search
button.

On Nov 2, 2:15 pm, Jason Parekh jasonpar...@gmail.com wrote:
 Hey guys,

 Typically when this happens, the flavor of Eclipse (e.g. Eclipse for Java)
 does not have the necessary update sites bundled to get the missing
 dependencies (in this case, WST).  I'll try verifying this tonight on a
 Karmic machine.

 jason

 2009/11/1 ddawster zhang ddaws...@gmail.com



  On 11月1日, 下午7时10分, Bob Rozelle broze...@eatlocalfood.com wrote:
   Upgraded to Ubuntu Karmic and now I'm having issues:

   I've got my own copy of Eclipse Gallileo (Build id: 20090920-1017),
   everything worked fine before the upgrade, but now the search
   mechanisms are broken (in file and through the search tab). Click the
   Search Button and nothing happens.

   So I thought, let me check out the official Ubuntu version of
   eclipse (Version: 3.5.1
   Build id: M20090917-0800).  I started that up and attempted to install
   the GWT Plugin and got the following error:

   one or more required items could not be found.
 Software being installed: Google Plugin for Eclipse 3.5
   1.1.2.v200910131704
   (com.google.gdt.eclipse.suite.e35.feature.feature.group
   1.1.2.v200910131704)
 Missing requirement: Google Plugin for Eclipse 3.5
   1.1.2.v200910131704
   (com.google.gdt.eclipse.suite.e35.feature.feature.group
   1.1.2.v200910131704) requires 'org.eclipse.wst.sse.ui 0.0.0' but it
   could not be found

   Any thoughts?

   Bob

  me too

  The problem if you had solved.Please send a email to  me. my email is
  ddaws...@gmail.com  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-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
-~--~~~~--~~--~--~---



Issues using Eclipse and GWT Plugin in Ubuntu Karmic (9.10)

2009-11-01 Thread Bob Rozelle

Upgraded to Ubuntu Karmic and now I'm having issues:

I've got my own copy of Eclipse Gallileo (Build id: 20090920-1017),
everything worked fine before the upgrade, but now the search
mechanisms are broken (in file and through the search tab). Click the
Search Button and nothing happens.

So I thought, let me check out the official Ubuntu version of
eclipse (Version: 3.5.1
Build id: M20090917-0800).  I started that up and attempted to install
the GWT Plugin and got the following error:

one or more required items could not be found.
  Software being installed: Google Plugin for Eclipse 3.5
1.1.2.v200910131704
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.1.2.v200910131704)
  Missing requirement: Google Plugin for Eclipse 3.5
1.1.2.v200910131704
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.1.2.v200910131704) requires 'org.eclipse.wst.sse.ui 0.0.0' but it
could not be found

Any thoughts?

Bob
--~--~-~--~~~---~--~~
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: Repeating http requests

2009-09-15 Thread Bob Rozelle

I'm curious, what is the use case is that requires a heartbeat from
the client to the server?

On Sep 14, 8:51 am, Ittai etai...@gmail.com wrote:
 I actually did what you suggested but oddly enough it did not work.
 I still had to add a dummy data to fool the IE into thinking it's a
 different URL.
 Anyone has any ideas? Because I would sure love to get rid of this
 ugly hack

 TIA
 Ittai

 On Sep 2, 12:17 am, Thomas Broyer t.bro...@gmail.com wrote:

  On 1 sep, 18:06, Adligo sc...@adligo.com wrote:

   Hi All,

      This is my quick hack that fixes that issue;
  http://yourserver/yourPath?yourCgiParams=yourValuesrequest=1
  http://yourserver/yourPath?yourCgiParams=yourValuesrequest=2
  http://yourserver/yourPath?yourCgiParams=yourValuesrequest=3
   exc

   Also note this can be applied to html and property files (or any
   files)http://yourserver/funky.htmlrequest=1http://yourserver/drummer.prope...

   I have been using a static int counter to accomplish this trick.
   I think GWT should add some caching options to its http api, because
   this is quite hoaky.

  Something like the following? ;-)

  RequestBuilder builder = new RequestBuilder(RequestBuilder.GET,
  yourPath?yourCgiParams=yourValues);
  builder.setHeader(Cache-Control, no-cache);
  ...
--~--~-~--~~~---~--~~
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: Installed GWT Plugin into Eclipse 3.5 Galileo and cannot find wizard

2009-09-15 Thread Bob Rozelle
 in?
   - Switch to the Java perspective and see if anything different happens (I
 doubt it, since you mentioned the Google folder wasn't even there in the New
 project wizard)
 - Check your logs (WORKSPACE_DIRECTORY/.metadata/.log) for any strange
 issues
 - Check your list of installed plugins (Help  About  Installation details
 - Plugins tab, sort by Plug-in ID and look for com.google) to ensure it is
 indeed installed

 Thanks,
 jason

 On Sun, Sep 13, 2009 at 4:18 PM, Bob Rozelle broze...@eatlocalfood.comwrote:



  Google folder wasn't there.

  Changed to Galileo for Java, I was using Galileo for JEE.  This fixed
  the problem.  I can now see Google folder and icons.  It looks like
  there is something wrong with using Subclipse with Eclipse 3.5 for
  JEE.

  On Sep 13, 12:33 pm, Paul Grenyer paul.gren...@gmail.com wrote:
   Hi

I use subclipse all the time w/ GWT plugin. They seem to co-exist.

   Yes, it works for a colleague of mine in the office, but not for me.

Even under the Other  Google  Web Application Project you don't get a
Wizard?

   Will have to try that.

   --
   Thanks
   Paul

   Paul Grenyer
   e: paul.gren...@gmail.com
   b: paulgrenyer.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-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: Disabling SOP in GWTs built-in browser?

2009-09-15 Thread Bob Rozelle

You can also very easily proxy the calls through the Jetty Server.

1. Download or create a proxy servlet, I use http://www.servletsuite.com/
HttpProxy1 servlet.  Its got a restrictive license (non-commercial 
non governement), so just use it for personal development.

2.  Setup your web.xml to redirect to your Apache/php server, for
example:

servlet
  servlet-nameHttpProxy/servlet-name
  servlet-classcom.jsos.httpproxy.HttpProxyServlet/servlet-class
init-param
  param-namehost/param-name
  param-valuehttp://localhost/php/action_component.php/param-
value
/init-param
/servlet
servlet-mapping
  servlet-nameHttpProxy/servlet-name
  url-pattern/php/action_component.php/url-pattern
/servlet-mapping

On Sep 14, 12:42 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On 14 sep, 16:01, ReubenH reuben.har...@gmail.com wrote:





  Hi,

  As far as I can tell, the Single Origin Policy (SOP) cannot presently
  be disabled in GWTs built-in browser... if so, I would like to ask the
  Googlers to reconsider this choice.

  My hosting provider does not let me run java servlets of any kind, so
  for my app I am stuck with using a JSON feed via PHP. During
  development, this feed has to run from a second webserver, since the
  GWT's built-in webserver does not seem to support PHP. I imagine many
  people find themselves in the same boat.

  Unfortunately I find that, while in development mode, my GWT app
  cannot access the second server, thanks to SOP. I have just seen the
  atrocious Javascript callback hack presently needed to work around it,
  but I have no great desire to pollute my pristine Java code with
  something so hideous and misbegotten as that.

  Surely the simple, obvious, and better solution is to allow developers
  to turn off SOP while in development mode? Can we do this? If not, why
  not?

 See:http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.h...
 andhttp://code.google.com/p/google-web-toolkit/issues/detail?id=3131- 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
-~--~~~~--~~--~--~---



Re: Disabling SOP in GWTs built-in browser?

2009-09-15 Thread Bob Rozelle

Sorry, I didn't read the comments, just the detailed description.

On Sep 15, 10:08 am, Thomas Broyer t.bro...@gmail.com wrote:
 On 15 sep, 15:27, Bob Rozelle broze...@eatlocalfood.com wrote:

  You can also very easily proxy the calls through the Jetty Server.

  1. Download or create a proxy servlet, I usehttp://www.servletsuite.com/
  HttpProxy1 servlet.  Its got a restrictive license (non-commercial 
  non governement), so just use it for personal development.

  2.  Setup your web.xml to redirect to your Apache/php server, for
  example:

 That's exactly what issue #3131 proposes, with several implementations
 of such a proxy servlet to 
 download:http://code.google.com/p/google-web-toolkit/issues/detail?id=3131
--~--~-~--~~~---~--~~
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: Installed GWT Plugin into Eclipse 3.5 Galileo and cannot find wizard

2009-09-15 Thread Bob Rozelle

I went back and followed the successful steps using Eclipse Galileo
JEE and it also worked.  I know at the time that it wasn't working
that I was working with Galileo.  I'm not sure, but I think I created
a conflict with the workspace by opening it in Galileo before I had
installed subclipse.  If I find time, I'll go back and try to recreate
my steps.  Sorry if this lead you down a rabbit hole.

On Sep 15, 11:40 am, Jason Parekh jasonpar...@gmail.com wrote:
 Thanks Bob.
 Very strange that GPE was indeed installed but not exposing anything.

 One thing thats strange is the buildid for Eclipse in your logs is:
 eclipse.buildId=M20070212-1330
 .  This seems to be 3.2.2, could your OS-packaged Eclipse been launching
 instead of the downloaded Galileo?  Or perhaps that was from before you
 upgraded to Galileo?

 jason

 On Tue, Sep 15, 2009 at 7:58 AM, Bob Rozelle broze...@eatlocalfood.comwrote:



  I'm working off of memory from 2 days ago.

  I had an existing project setup that was hooked to a main SVN branch
  as an editor.
  I installed Eclipse JavaEE and opened the workspace.  I didn't bother
  to check the logs, but I bet there were errors with the project
  wanting to hook up with subclipse and it not being there.  I then
  installed subclipse, thought I had it working and then installed GPE.
  I could not find anything Google in any of the perspectives (I
  switched around, quite a bit). I did find Google stuff in the plugin
  directory and google was present in the in Help-About-Installation
  Details.  I did check the logs and found an error in relation to
  eclipse after I did the original post.  I still had one of the log
  files, I'll put the error at the bottom of my post.  Anyway, a little
  searching on the internet and I found people with complaints about
  Subclipse and Eclipse Java EE.  I decided to reinstall from scratch
  with Eclipse Java.  This time I decided to not open my workspace but
  instead open a dummy workspace until after I had installed Eclipse,
  Subclipse and GPE.  I then opened an original version of my workspace
  that I had backed up.  So in retrospect, it may not have anything to
  do with Eclipse Java EE or it might.

  !ENTRY org.eclipse.search 2 0 2009-08-22 17:43:09.314
  !MESSAGE Problems encountered during text search.
  !SUBENTRY 1 org.eclipse.search 2 2 2009-08-22 17:43:09.314
  !MESSAGE File 'GWTCommerce/war/gwtCommerce/GWTCommerce.css' has been
  skipped, problem while reading: ('Resource is out of sync with the
  file system: /GWTCommerce/war/gwtCommerce/GWTCommerce.css.').
  !STACK 1
  org.eclipse.core.internal.resources.ResourceException: Resource is out
  of sync with the file system: /GWTCommerce/war/gwtCommerce/
  GWTCommerce.css.
         at
  org.eclipse.core.internal.localstore.FileSystemResourceManager.read
  (FileSystemResourceManager.java:606)
         at org.eclipse.core.internal.resources.File.getContents(File.java:
  290)
         at org.eclipse.core.internal.resources.File.getContents(File.java:
  279)
         at org.eclipse.search.internal.core.text.FileCharSequenceProvider
  $FileCharSequence.getInputStream(FileCharSequenceProvider.java:282)
         at org.eclipse.search.internal.core.text.FileCharSequenceProvider
  $FileCharSequence.initializeReader(FileCharSequenceProvider.java:276)
         at org.eclipse.search.internal.core.text.FileCharSequenceProvider
  $FileCharSequence.reset(FileCharSequenceProvider.java:268)
         at

  org.eclipse.search.internal.core.text.FileCharSequenceProvider.newCharSequence
  (FileCharSequenceProvider.java:40)
         at
  org.eclipse.search.internal.core.text.TextSearchVisitor.processFile
  (TextSearchVisitor.java:254)
         at
  org.eclipse.search.internal.core.text.TextSearchVisitor.processFiles
  (TextSearchVisitor.java:189)
         at org.eclipse.search.internal.core.text.TextSearchVisitor.search
  (TextSearchVisitor.java:170)
         at org.eclipse.search.internal.core.text.TextSearchVisitor.search
  (TextSearchVisitor.java:182)
         at org.eclipse.search.core.text.TextSearchEngine$1.search
  (TextSearchEngine.java:54)
         at org.eclipse.search.internal.ui.text.FileSearchQuery.run
  (FileSearchQuery.java:122)
         at org.eclipse.search2.internal.ui.InternalSearchUI
  $InternalSearchJob.run(InternalSearchUI.java:93)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
  !SUBENTRY 2 org.eclipse.core.resources 4 274 2009-08-22 17:43:09.316
  !MESSAGE Resource is out of sync with the file system: /GWTCommerce/
  war/gwtCommerce/GWTCommerce.css.
  !SESSION 2009-08-23 06:13:25.107
  ---
  eclipse.buildId=M20070212-1330
  java.version=1.6.0_14
  java.vendor=Sun Microsystems Inc.
  BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
  Command-line arguments:  -os linux -ws gtk -arch x86_64

  !ENTRY org.eclipse.osgi 2 1 2009-08-23 06:13:27.586
  !MESSAGE NLS missing message: initializer_error

Re: rpc vs RequestBuilder

2009-09-14 Thread Bob Rozelle

In my open source application gwt-commerce 
http://code.google.com/p/gwt-commerce/

I am using RequestBuilder and sending compressed JSON back from the
server.  My server is Apache/PHP and I find the low volume performance
to be quite good for the limited testing that I've done.  I would love
to have the time to rebuild the back-end as Java and then do some load
testing in the Google App Engine environment and see if the cloud
computing they've put in place really scales.

I originally choose this approach for a couple of reasons.

1.  I could run my new front-end next to my old front-end
(osCommerce).
2.  I believe I can economically scale Apache/PHP using shared hosting
services like Go Daddy.

I think the real issue here is not low volume performance or the
transport medium (RPC or compressed JSON), but performance of the
server under load and amount of hardware or cloud that is eaten up
getting acceptable performance at projected maximum load.

I work in a Java house during the day and I have found that JEE (at
least J2EE 1.4) is a bit of a resource hog.  I think one of the
fundamental advantages of an Apache/PHP architecture is that if
written correctly each Request/Response cycle is completely
independent, therefore scaling is linear.  Of course, the elves are
improving JEE everyday, so my issues with JEE may be obsolete.

Regards,
Bob

On Sep 13, 4:37 pm, ben fenster fenster@gmail.com wrote:
  i know that but i just wanted to know if the  performence margin
 considering having efficient serialization algoritem could be big
 enough too be worth the invesment in developing such php server side
 request handler

 i also wanted to know about shear power of request handling per
 second ? , i belive that php combined with apache would prove too be
 much stronger but i would like too hear from someone that checked it
 out
 On Sep 13, 4:16 am, Thomas Broyer t.bro...@gmail.com wrote:

  On 13 sep, 07:50, ben fenster fenster@gmail.com wrote:

   have anyone checked what is the better way to comunicate with server
   performence wize rpc or RequestBuilder(using php)

  It would all depend on your serialization algorithm when not using GWT-
  RPC; so there's no real answer to your question.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Installed GWT Plugin into Eclipse 3.5 Galileo and cannot find wizard

2009-09-13 Thread Bob Rozelle

Hi,

Decided I wanted to see how the new plugin worked so I installed it
into Galileo, followed all the install instructions, restarted
everything, but I cannot find the wizard or the icon

Any suggestions?

Thanks,
Bob
--~--~-~--~~~---~--~~
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: Installed GWT Plugin into Eclipse 3.5 Galileo and cannot find wizard

2009-09-13 Thread Bob Rozelle

Yes.  I am using subclipse.

On Sep 13, 11:26 am, Paul Grenyer paul.gren...@gmail.com wrote:
 Hi

  Decided I wanted to see how the new plugin worked so I installed it
  into Galileo, followed all the install instructions, restarted
  everything, but I cannot find the wizard or the icon

  Any suggestions?

 I've been having a similar problem I still haven't got to the bottom
 off. Have you also got subclipse installed? They don't seem to work
 together very well.

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.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-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: Installed GWT Plugin into Eclipse 3.5 Galileo and cannot find wizard

2009-09-13 Thread Bob Rozelle

Google folder wasn't there.

Changed to Galileo for Java, I was using Galileo for JEE.  This fixed
the problem.  I can now see Google folder and icons.  It looks like
there is something wrong with using Subclipse with Eclipse 3.5 for
JEE.



On Sep 13, 12:33 pm, Paul Grenyer paul.gren...@gmail.com wrote:
 Hi

  I use subclipse all the time w/ GWT plugin. They seem to co-exist.

 Yes, it works for a colleague of mine in the office, but not for me.

  Even under the Other  Google  Web Application Project you don't get a
  Wizard?

 Will have to try that.

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.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-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: DOM.getElementById() vs $doc.getElementById()

2009-09-02 Thread Bob Rozelle

I'm using the approach of wrapping the form in a FormPanel

FormPanel form = FormPanel.wrap(element, false);
Style style = element.getStyle();
style.setProperty(display, block);//Statically set to
display:none
parentPanel.add(form);//Moves the form in the DOM
Element formElement = form.getElement();
NodeListElement inputs = formElement.getElementsByTagName(input);
int ln = inputs.getLength();
for (int i = 0; i  ln; i++)
{
Element element = inputs.getItem(i);
InputElement inelement = (InputElement)element;
String name = inelement.getName();
String value = inelement.getValue();
//Modify values here.
}

I've gotten username/password autofill working in Firefox, Chrome,
Opera, Safari, but not IE; still trying to figure that out.

Bob

--~--~-~--~~~---~--~~
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: DOM.getElementById() vs $doc.getElementById()

2009-09-02 Thread Bob Rozelle



FYI, I'm using UIObject.setVisible(element, true) with the same effect
but a bit more readable IMO ;-)
Thanks, there are a lot of ways to skin a cat, but 1 line for 3 is a
nice trade off.

 I've gotten username/password autofill working in Firefox, Chrome,
 Opera, Safari, but not IE; still trying to figure that out.

That's most probably because of the following line:

 parentPanel.add(form);//Moves the form in the DOM

Try keeping the form where it originally lives in the markup and see
if it changes something (I bet it does!)

I know its because of that line, but I want the form to show up
there.  I guess, if IE requires that, I'll try a Z-axis and position
move to get it sitting over where I want it to be without adding to my
panel.

Regards,
Bob

--~--~-~--~~~---~--~~
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: Pre-Compress GWT compiler output for web server

2009-07-22 Thread Bob Rozelle

A solution for the *.cache.html files is to gzip them
to .cache.html.gz files.

If you are using Apache as your web server you can then modify the
mime.conf file (found at /etc/apache2/mods-enabled/mime.conf) by
uncommenting:

AddEncoding x-gzip .gz .tgz

and commenting:

#AddType application/x-gzip .gz .tgz


This means that my apache server will send the .cache.html.gz files in
replacement for the .cache.html files and also send the response
header: content-encoding=gzip

This can also be done in a .htaccess file (RemoveType and AddEncoding)
placed in the cache folder.


On Jul 22, 7:06 am, martinhansen martin.hanse...@googlemail.com
wrote:
 Hello,

 I am evaluating some approaches to reduce the amount of data being
 transmitted to the client browser. I am using the Apache Tomcat web
 server. I successfully managed to enable GZIP output for the Tomcat
 server by editing the server config file. It works fine. However, this
 way the data is compressed on-the-fly by the web server for every
 request which considerably increases server CPU load. Is this
 assumption correct?

 Is there a way to pre-compress the contents of my GWT app and have
 this pre-compressed content delivered by the web server?

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



GWT Commerce - A rewrite of OSCommerce using GWT and PHP

2009-07-18 Thread Bob Rozelle

Hi,

I've opened a project called GWT Commerce at 
http://code.google.com/p/gwt-commerce/,
my goal is to provide a rewrite of OSCommerce using GWT.  I've made a
lot of progress and was recently contacted by a Software Engineer who
wanted to help, I've agreed and he is going to work on Administrative
use cases.

I think I am at the point that I would like some real community
involvement.  I am looking for help with: Documentation (isn't
everyone), testing, some design, coding and best practice advice.

Code (written so far) is checked in, I still have to get an example
database checked in so that other people can run it.  Also plan on
placing a working demo on a domain I own, hopefully all of this by the
end of the month.

Please contact me if interested.


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