Re: Drawing text in GWTCanvas

2008-09-25 Thread joseanquiles

OK.
But, I need to draw text in the canvas.
I don't find any method in GWTCanvas to draw 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to add web page into panel?

2008-09-25 Thread alex.d

Take a look at Frame.

On 25 Sep., 02:04, snakyjake [EMAIL PROTECTED] wrote:
 How can I add a panel that will display the contents of a webpage?

 Thanks,

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



gwt-maps API - Custom Projection boolean error

2008-09-25 Thread Tim White

Hi -

 When defining a custom Projection using GWT 1.5.2 and gwt-maps-1.0
RC1, I can't seem to get around this:

 com.google.gwt.dev.shell.HostedModeException: Expected primitive type
boolean; actual value was undefined
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:51)
at
com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.java:
57)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:
119)
at
com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:
155)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:
294)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:
194)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:
117)
at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
at org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:
64)
at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:
493)
at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:
417)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.java:
67)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvoke(ModuleSpaceIE6.java:
152)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
447)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:
248)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:
107)
at
com.google.gwt.maps.client.impl.__MapImplImpl.checkResize(transient
source for com.google.gwt.maps.client.impl.__MapImplImpl)
at com.google.gwt.maps.client.MapWidget.checkResize(MapWidget.java:
729)
at com.google.gwt.maps.client.MapWidget.onAttach(MapWidget.java:1507)
at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:231)
at com.google.gwt.user.client.ui.Panel.adopt(Panel.java:119)
at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:
86)
at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:
80)
at
com.cyface.northmoor.map.client.NorthmoorMap.onModuleLoad(NorthmoorMap.java:
64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:320)
at
com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:
329)
at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access
$300(BrowserWidgetIE6.java:37)
at
com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad(BrowserWidgetIE6.java:
76)
at
com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke(BrowserWidgetIE6.java:
139)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:
294)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:
194)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:
117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

My projection class:

public class NorthmoorMapProjection extends Projection {
int imageDimension = 65536;
int maxZoom = 5;
int tileSize = 256;
Point[] pixelOrigin = new Point[maxZoom];
int[] pixelsPerLonDegree = new int[maxZoom];
int[] tileBounds = new int[maxZoom];
boolean isWrapped = false;

public NorthmoorMapProjection() {
int currentTileSize = this.tileSize;
int currentTileBounds = 1;
for (int zoomLevel = 0; zoomLevel  this.maxZoom; zoomLevel++) {
int tileCenter = currentTileSize / 2;
this.pixelsPerLonDegree[zoomLevel] = currentTileSize / 
360;
this.pixelOrigin[zoomLevel] = 
Point.newInstance(tileCenter,
tileCenter);
this.tileBounds[zoomLevel] = currentTileBounds;
currentTileSize *= 2;
currentTileBounds *= 2;
}
}

@Override
public Point fromLatLngToPixel(LatLng latLng, int zoomLevel) {
Point pixelOrigin = this.pixelOrigin[zoomLevel];
int pixelOriginX = pixelOrigin.getX();
   

Re: How to Browse a Folder by using GWT

2008-09-25 Thread Lothar Kimmeringer

ship schrieb:
 hi, i've a problem that how to browse for folder in a dialog box in
 GWT. I want to select a folder not a file. In GWT FileUpload is for
 browsing a file but i could not find for folder. Pl tell me how can i
 solve this problem.

I don't think, you can. What do you want with that?


Regards, Lothar

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



Best practices

2008-09-25 Thread Stefan

Hi,

Does anyone know any good resources for Best practices when writing
GWT apps? Questions I would like to have answered:

* How to I write high-performing apps? I know that the compiler helps
out, but how do I write code that helps the compiler to minify/
optimize my app?
* How does static and final assignments affect the performance of
apps?

Thanks in advance!
Stefan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Best practices

2008-09-25 Thread Lothar Kimmeringer

Stefan schrieb:

 Does anyone know any good resources for Best practices when writing
 GWT apps? Questions I would like to have answered:
 
 * How to I write high-performing apps? I know that the compiler helps
 out, but how do I write code that helps the compiler to minify/
 optimize my app?
 * How does static and final assignments affect the performance of
 apps?

A GWT-app consists of the client- and server-side part. For
the server-side you can use the rules for Java, on the
client-side others might be able to say more.


Regards, Lothar

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



Re: Newbie - Trying to access Documentation

2008-09-25 Thread Thomas Broyer



On 25 sep, 00:10, Khader [EMAIL PROTECTED] wrote:
 Nope. Can't access that one either. A bit of ..ahem.. googling,
 suggests that I could be facing Google Doc Reader issues. But most of
 those users fixed their problem by clearing their cache and other
 browser data. But that did not help me. Any suggestions?

Mapping a Google Doc Reader URL to a Google Code Hosting's Wiki page
URL is easy:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=google-web-toolkit-doc-1-5
becomes:
http://code.google.com/p/google-web-toolkit-doc-1-5/ (because
t=project name)
When t is not the project name, it becomes (example where
t=GettingStarted):
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStarted

You can read more on Google Doc Reader's URLs at:
http://code.google.com/p/google-documentation-reader/wiki/UrlFormat
(which can be seen in Doc Reader at the following URL:
http://code.google.com/docreader/#p=google-documentation-readert=UrlFormat
)

 On Sep 24, 5:55 pm, Jeremiah Elliott [EMAIL PROTECTED] wrote:

  can you get 
  here?http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...

  On Wed, Sep 24, 2008 at 3:52 PM, Khader [EMAIL PROTECTED] wrote:

   Hi,

   I am trying to use GWT for the first time and was looking for some
   documentation on Google's side. I can get to this page,
  http://code.google.com/webtoolkit/overview.htmlbutall the
   documentation sites (listed below) return me a blank page.

  http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4

  http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5

  http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...

   Am I missing something?

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



Re: possible emulation bug: sinh

2008-09-25 Thread Thomas Broyer



On 25 sep, 06:53, rjcarr [EMAIL PROTECTED] wrote:
 Looking at GWT Math.java, I see:

 public static native double sinh(double x) /*-{
   return Math.sinh(x);

 }-*/;

 But according to the mozilla javascript reference (which I'm sure is
 the same for any reference you find):

 http://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_...

 There is no sinh() function available.  So that makes me pretty sure
 this is an emulation bug.

Right, it should probably read (with a potential loss in precision):

public static double sinh(double x) {
   return (exp(x) - exp(-x)) / 2;
}


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



Re: GWT 1.5 demo - proxy issue

2008-09-25 Thread Nicolas

Maybe we should post a bug. Is there a place for that ?

On 26 août, 02:33, Gabriel Krupa [EMAIL PROTECTED] wrote:
 The firewall software in my compamy seems to modify the Left shift 
   operators.

 in the generated Java Script there ist following line:
 function Eob(a){if(a=30){return 1a}else{return Eob(30)*Eob(a-30)}}

 and the Java Script received through firewall looks like this:
 function Eob(a){if(a=30){return 1lt;a}else{return
 Eob(30)*Eob(a-30)}}

 I have shorty investigated the generated JavaScript Code differences
 between GWT 1.4 and GWT 1.5 and GWT 1.4 does not use Left Shift
 operators as extensive as GWT 1.5.

 The question is: Who should change the code. GWT Team or firewall
 producer?  GWT 1.4 is OK GWT 1.5 is not working.

 Regards,
 Gabriel

 On 25 Jul., 13:08, dendie [EMAIL PROTECTED] wrote:

  I hav the same problem. I can openhttp://gwt-ext.com/demo-ux/andthe
  old 
  showcase2-apphttp://gwt-ext.com/showcase2/www/com.gwtext.sample.showcase2.Showcase...
  but the newhttp://gwt-ext.com/demo/doesn'twork since they released
  gwt 1.5 RC 1.
  At home there is no issue

  That's the reason, why I can't develop with gwt 1.5 RC 1 im my company.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: problem_with_download_of_GWT

2008-09-25 Thread Nathan Jeffery

no error message the download just finishes and then when i check
the file it is not the correct size and it also doesn't open.

i have tried downloading a different version and experienced the same
problem.

regards

nathan jeffery

http://uranium.co.za
http://uraniumstudio.co.za
http://myecommerce.co.za
http://kalie.biz
http://arms.org.za
http://leadingskills.co.za
http://southcapefolowers.co.za


Nathan Jeffery
Director

Uranium Studio CC

Registration Number: 2007/197787/23

Cellular:   +27 82 454 1019
Facsimile:  +27 82 829 9043
E-mail: [EMAIL PROTECTED]
Website:http://www.uranium.co.za

Important Notice:

Important restrictions, qualifications and disclaimers (the
Disclaimer) apply to this email. To read this click on the following
address or copy into your Internet browser: 
http://www.uranium.co.za/legal/disclaimer.html

The Disclaimer forms part of the content of this email in terms of
section 11 of the Electronic Communications and Transactions Act, 25
of 2002. If you are unable to access the Disclaimer, send a blank e-
mail to [EMAIL PROTECTED] and we will send you a copy of the
Disclaimer.


On Sep 24, 12:08 am, Xavier Mathews [EMAIL PROTECTED] wrote:
 Did you get an error message?

 Xavier A. Mathews
 Student/Developer/Web-Master
 Google Group Client Based Tech Support
 Hazel Crest Illinois
 [EMAIL PROTECTED]
 Fear of a name, only increases fear of the thing itself.

 On Mon, Sep 22, 2008 at 6:00 AM, Nathan Jeffery [EMAIL PROTECTED]wrote:



  Hi there,

  i am having difficulty in downloading the app.

  i have tried quite a few times and have even tried using different
  browsers, but the download always seems to stop and about 4Mb...

  any suggestions?

  thanks.

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



Re: About RPC

2008-09-25 Thread Sumit Chandel

Hi Sunny,

I can't say for sure what's going wrong in step 3), but to help figure
it out I wanted to suggest a couple of things to narrow it down.

Before that, a quick note about the size of the data you're sending
over - it doesn't seem like the size of the objects you're sending
back would be sufficient to stall the response, but could you try with
a smaller data set just to see how the RPC call responds? That would
clue us in as to whether the data you're sending is causing the
problem. If you could also track the size of the payload being sent
over the wire, that would also be helpful.

Now more troubleshooting suggestions:

1) Could you try debugging through your server-side code, up until the
point it returns the response back up to the hosted mode browser? As
you mentioned the method itself runs and returns fast enough, but I
would to make sure there isn't some RemoteServiceServlet boiler-plate
code where the response is getting trapped and taking longer. Since
your application seems to work fine in web mode, this is probably
unlikely but worth checking out.

2) Could you try running hosted mode with the -noserver option, using
your production server instead of the embedded Tomcat instance? This
would help isolate the problem to either the embedded Tomcat instance
or the hosted mode code dispatching and running the asynchronous
callback.

Hope that helps,
-Sumit Chandel

On Tue, Sep 23, 2008 at 7:07 AM, sunny_zhou [EMAIL PROTECTED] wrote:

 Hi Sumit,

 Thanks for your reply!

 I'm a beginner at GWT, so try to be patient with me, i will try my
 best.

 Could you be a bit more specific about how much stuff is crammed into
 the POJO that is being sent through RPC? It's certainly not hosted
 mode's normal behaviour to take ten seconds to send an object through
 RPC, unless this is a really heavy duty object.

 the POJO is a list of 16 objects, the list size is 30~50. One of the
 objects is a list of 3~5 objects, the list size is about 10. BTW, i am
 using GWT 1.5.

 Also, is this happening in -noserver mode or using hosted mode's
 embedded Tomcat instance? With some more info, we should be able to
 get to the bottom of this.

 this is happening in hosted mode's embedded Tomcat instance.

 the observed behavior is:
 1. RPC call is made
 2. server side method runs and returns (quickly!)
 3. ... huge delay with no CPU activity ...
 4. finally client side onSuccess() RPC callback runs

 What could be happening on step 3 ?

 Best wishes!
 -sunny zhou



 


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



Re: GWT

2008-09-25 Thread Shi

You edited the file  -compile.cmd with the addition of path that are
missing?

Keepeek-Force-1 wrote:
 Hi,
 i had the same problem.
 I added output path in StockWatcher-shell.cmd and everything is now
 ok.
 It looks like that :
 @java -Xmx256M -cp %~dp0\src;%~dp0\bin;C:/Developpement/gwt-
 windows-1.5.2/gwt-user.jar;C:/Developpement/gwt-windows-1.5.2/gwt-dev-
 windows.jar;C:/Developpement/gwt-windows-1.5.2/StockWatcher/out/
 production/StockWatcher com.google.gwt.dev.GWTShell -out %~dp0\www
 %* com.google.gwt.sample.stockwatcher.StockWatcher/StockWatcher.html

 I hope that s help
 kf1

 On 5 sep, 22:28, Daniel [EMAIL PROTECTED] wrote:
  Hi all,
 
  GWT is great!
 
  I'm following through the tutorial, but I've gotten stuck on the RPC
  stuff. �When I run it I get this error:
 
  -
 
  [ERROR] Unable to instantiate
  'com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl'
  java.lang.ClassNotFoundException:
  com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl
  � � � � at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  � � � � at java.security.AccessController.doPrivileged(Native Method)
  � � � � at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  � � � � at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  � � � � at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
  � � � � at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  � � � � at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  � � � � at java.lang.Class.forName0(Native Method)
  � � � � at java.lang.Class.forName(Class.java:169)
  � � � � at
  com.google.gwt.dev.shell.GWTShellServlet.tryGetOrLoadServlet(GWTShellServlet.java:
  952)
  � � � � at
  com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:
  278)
  � � � � at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  � � � � at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
  237)
  � � � � at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
  157)
  � � � � at
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
  214)
  � � � � at
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
  104)
  � � � � at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
  520)
  � � � � at
  org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:
  198)
  � � � � at
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
  152)
  � � � � at
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
  104)
  � � � � at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
  520)
  � � � � at
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
  137)
  � � � � at
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
  104)
  � � � � at
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
  118)
  � � � � at
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
  102)
  � � � � at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
  520)
  � � � � at
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
  109)
  � � � � at
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
  104)
  � � � � at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
  520)
  � � � � at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
  929)
  � � � � at 
  org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:
  160)
  � � � � at
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
  799)
  � � � � at org.apache.coyote.http11.Http11Protocol
  $Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
  � � � � at
  org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
  577)
  � � � � at org.apache.tomcat.util.threads.ThreadPool
  $ControlRunnable.run(ThreadPool.java:683)
  � � � � at java.lang.Thread.run(Thread.java:619)
 
  followed by:
 
  [ERROR] Unable to dispatch request
 
  -
 
  I'm guessing that gwt doesn't compile the server side stuff
  automatically for debugging?
 
  If so, would I just create a directory called stockPrices in www/
  com.google.gwt.sample.stockwatcher.StockWatcher, and compile the
  servlet there, and if so, would I still need to create entries in a
  WEB-INF/whatever.xml file?
 
  Just a little confused because the tutorial made it seem like gwt
  handled the servlets automatically.
 
  Thanks for the help in advance. �:)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this 

How to Browse a Folder by using GWT

2008-09-25 Thread ship

hi, i've a problem that how to browse for folder in a dialog box in
GWT. I want to select a folder not a file. In GWT FileUpload is for
browsing a file but i could not find for folder. Pl tell me how can i
solve this problem.

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



Re: problem_with_download_of_GWT

2008-09-25 Thread xavierunited

hmmm...well if it is not the right size then that means that the
whole thing is not dowoloading the right way. Have you tried to
uninstall it and download it to a diffrent location be  sure not to
disrupt the installation process and the downloading process.

Also if it does not open from the download but click on locate file
and  open it from there.

On 9/25/08, Nathan Jeffery [EMAIL PROTECTED] wrote:

 no error message the download just finishes and then when i check
 the file it is not the correct size and it also doesn't open.

 i have tried downloading a different version and experienced the same
 problem.

 regards

 nathan jeffery

 http://uranium.co.za
 http://uraniumstudio.co.za
 http://myecommerce.co.za
 http://kalie.biz
 http://arms.org.za
 http://leadingskills.co.za
 http://southcapefolowers.co.za


 Nathan Jeffery
 Director

 Uranium Studio CC

 Registration Number: 2007/197787/23

 Cellular: +27 82 454 1019
 Facsimile:+27 82 829 9043
 E-mail:   [EMAIL PROTECTED]
 Website:  http://www.uranium.co.za

 Important Notice:

 Important restrictions, qualifications and disclaimers (the
 Disclaimer) apply to this email. To read this click on the following
 address or copy into your Internet browser:
 http://www.uranium.co.za/legal/disclaimer.html

 The Disclaimer forms part of the content of this email in terms of
 section 11 of the Electronic Communications and Transactions Act, 25
 of 2002. If you are unable to access the Disclaimer, send a blank e-
 mail to [EMAIL PROTECTED] and we will send you a copy of the
 Disclaimer.


 On Sep 24, 12:08 am, Xavier Mathews [EMAIL PROTECTED] wrote:
 Did you get an error message?

 Xavier A. Mathews
 Student/Developer/Web-Master
 Google Group Client Based Tech Support
 Hazel Crest Illinois
 [EMAIL PROTECTED]
 Fear of a name, only increases fear of the thing itself.

 On Mon, Sep 22, 2008 at 6:00 AM, Nathan Jeffery
 [EMAIL PROTECTED]wrote:



  Hi there,

  i am having difficulty in downloading the app.

  i have tried quite a few times and have even tried using different
  browsers, but the download always seems to stop and about 4Mb...

  any suggestions?

  thanks.

  nathan
 



-- 
Xavier A. Mathews
Student/Developer/Web-Master
Client Based Tech Support
Hazel Crest Illinois
[EMAIL PROTECTED]
Fear of a name, only increases fear of the thing itself.

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



Re: How to Browse a Folder by using GWT

2008-09-25 Thread Lothar Kimmeringer

ship schrieb:

 Sir,

You have to say yes, master ;-)

 in GWT, i have a FileUpload class for browsing a file but i don't
 have a functionallity for browsing a folder.

That's because GWT is just HTML with Javascript. In HTML
and Javascript there is nothing like that because of
security-restrictions (there is simply no practical
use of a folder-select-panel for a web-application).

 We had searched for this but could not find a good solution. Is this
 possible that we can use java API in GWT because in java we can use
 JFileChooser for browsing a folder?

You can access a Java-Applet via Javascript, that means
that you can access an Applet from GWT. This is no
functionality already shipped with GWT but using the
JSNI-feature of GWT you can easily implement that
for yourself.

To be able to start a JFileChooser in an Applet you need
to sign it, otherwise your attempt to access the file-
system will be blocked by the SecurityManager.


Regards, Lothar

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



Number of event ButtonListener

2008-09-25 Thread Shi

HI!
I have a question from you:
You can insert into a single method onClick of a ButtonListenerAdapter
more than one function that interacts with the database, relied on
interface Service?
My problem is that the first function returns a value (id) I retrieved
from the database and who I uses as a parameter for the second
function, but when I click on the button the first time, it seems that
the first callback does not retain the value of id that I gained from
the database. Instead the second click on the button I get what I
want.

--
Login.java

long id_programmer = 0;
Button regConfirmButton = new Button(Confirm);

regConfirmButton.addListener(new ButtonListenerAdapter(){
public void onClick(Button button, EventObject e){

loginService.getIdProgrammer(fName.getValueAsString(),
fLastName.getValueAsString(), email.getValueAsString(), callback1 );

loginService.createUser(userNew.getValueAsString(),passwNew.getValueAsString(),
id_programmer, callback2);
if( id_programmer  0){
MessageBox.alert(Registration was 
successful);
}else
MessageBox.alert(Programmer not found 
in database);
}
});



final AsyncCallback callback1 = new AsyncCallback(){
public void onSuccess(Object result) {
long ok = Long.valueOf(result.toString()).longValue();
id_programmer = ok;
   //String s
=Long.valueOf(id_programmer).toString();
//Label lab = new Label(s);
//panelHoriz.add(lab);
}
public void onFailure(Throwable arg0) {
}
};



LoginServiceImpl.java

public long getIdProgrammer(String name, String lastName, String email)
{
long ret = 0;
ListProgrammerTO listprogrTO = new ArrayListProgrammerTO();
ProgrammerDAO progrDAO = new ProgrammerDAO();
listprogrTO = progrDAO.findByLastName(lastName);

IteratorProgrammerTO iter = listprogrTO.iterator();
while(iter.hasNext()){
ProgrammerTO progrItem = iter.next();
if( nome.equals( progrItem.getName() ) 
email.equals( progrItem.getEmail() ) )
ret = progrItem.getId();
}
return ret;

}

public void createUser(String username, String password, Long
id_progr){

RegistrationTO registrTO = new RegistrationTO();
RegistrationDAO registrDAO = new RegistrationDAO();
registrTO.setUsername(username);
registrTO.setPassword(password);
registrTO.setId_programmer(id_progr);

registrDAO.create(registrTO);
}


---
So, with the first function I verify that the person you want to
register as a Programmer, and the second runs the registered with the
login data on the database.
Why after the first click is on the second maintain the value of your
function, but doing tests in callback1 I see that the id_programmer is
set correctly at the right value received from query?



Already thanks for having reached the end of this post!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Number of event ButtonListener

2008-09-25 Thread Lothar Kimmeringer

Shi schrieb:
 loginService.getIdProgrammer(fName.getValueAsString(),
   fLastName.getValueAsString(), email.getValueAsString(), callback1 );
   
 loginService.createUser(userNew.getValueAsString(),passwNew.getValueAsString(),
   id_programmer, callback2);

[...]

 final AsyncCallback callback1 = new AsyncCallback(){
   public void onSuccess(Object result) {
   long ok = Long.valueOf(result.toString()).longValue();
   id_programmer = ok;

RPC-calls are asynchron, so while the first call is still in
progress, the second call will started immediately and does
nothing special because the global variable is still set
to the old value.

After a while the first call returns and the callback is setting
the global variable. A second click lead to the same behavior
but because the global variable contains the retrieved value,
the second call works.

Instead of calling the second method inside the ButtonListener,
call it in callback1. That way you can spare the use of global
variables that are regarded bad style anyway ;-)


Regards, Lothar

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



Problem with mouseListener

2008-09-25 Thread jamer

Hi
I want create a widget whith a mouselistener event, and it is not a
extends to DialogBox or Image
How i can?

Thank you!!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to get the dragged item X,Y position

2008-09-25 Thread ArunDhaJ

Hi,
I'm using gwt-dnd-2.0.7 in gwt-1.4.62
In my onDragEnd() implementation of DragHandler how can we get which
Widget has been dragged and the X, Y position to which that item being
dragged ?

Thanks in Advance !

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



Re: GWT source code checkout error.

2008-09-25 Thread walden

Do you see the could not resolve hostname part?  That means your
local DNS is not able to turn the host name into an ip address.  Who
your local DNS provider is depends on what network you're on.  If you
want to solve that, talk to your internet provider or local office
network admin.

In the meantime, try this URL: http://74.125.47.82/svn/trunk/

Walden

On Sep 25, 12:18 am, OpenKG [EMAIL PROTECTED] wrote:
 Hi,
 when i am trying to checkout source it is giving following error.

 svn checkouthttp://google-web-toolkit.googlecode.com/svn/trunk/trunk
 svn: PROPFIND request failed on '/svn/trunk'
 svn: PROPFIND of '/svn/trunk': Could not resolve hostname `google-web-
 toolkit.googlecode.com': Temporary failure in name resolution (http://
 google-web-toolkit.googlecode.com)

 What can be the problem.

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



Re: Opening and Loading a GWT Module from another module

2008-09-25 Thread walden

Xavier,

That's not a helpful contribution; it's noise.  Please stop using this
forum like this.

Walden

On Sep 24, 1:43 pm, Xavier Mathews [EMAIL PROTECTED] wrote:
 Why not offline mode to be safe?

 Xavier A. Mathews
 Student/Developer/Web-Master
 Google Group Client Based Tech Support
 Hazel Crest Illinois
 [EMAIL PROTECTED]
 Fear of a name, only increases fear of the thing itself.

 On Wed, Sep 24, 2008 at 12:40 PM, walden [EMAIL PROTECTED]wrote:





  I would test it in Web mode with my real server.

  On Sep 24, 7:37 am, [EMAIL PROTECTED] wrote:
   Where would you test it?

   On 9/24/08, walden [EMAIL PROTECTED] wrote:

Hosted Mode, right?  I don't think that's a valid environment to test
this kind of feature.  Are you using -noserver?

On Sep 23, 2:57 pm, Halabe [EMAIL PROTECTED] wrote:
The image upload is successful since I can see the images in the
server folder and when I refresh the page I can also see it on the
client.

IThe error I am getting is:
Resource not found: images/imagePath/Image1.jpg could a file be
missing from the public path or a servlet tag misconfigured in
module

The images folder is in the public folder of the Module that display
the images. I upload images from another module and sometimes from the
same module.

On Sep 23, 8:56 pm, walden [EMAIL PROTECTED] wrote:

 You have a successful image upload, and then the server can't find
 it?  Or is it some other kind of file not found?

 On Sep 23, 9:46 am, Halabe [EMAIL PROTECTED] wrote:

  Hi Walden,

  My purpose is to view an image that is uploaded in the same
  session
  without having to refresh the whole page.

  I was searching for a way to view the image but I could not view
  any
  image that is uploaded in the session that I am trying to view it
  in.

  I am getting the error file not found.

  If you have any idea how I can solve this issue, I will appreciate
  it.

  Thank you.

  On Sep 23, 4:15 pm, walden [EMAIL PROTECTED] wrote:

   GWT is not Java; it doesn't have dynamic class loading.  Maybe
   someday.

   In the interim, is there a way to describe your goal without
  making
   technology assumptions like this?  Maybe there is a way to get
  the
   behavior you want using GWT in its current form, but you'll need
  to
   say more.  Also, the in a new Window is not usually the best
  way
   to
   design with GWT.

   Walden

   On Sep 23, 6:11 am, Halabe [EMAIL PROTECTED] wrote:

Hi All,

Does anyone know how can I open and reload a GWT module from
another
module in a new Window??

Thanks- Hide quoted text -

  - Show quoted text -- Hide quoted text -

- Show quoted text -

   --
   Xavier A. Mathews
   Student/Developer/Web-Master
   Google Group Client Based Tech Support
   Hazel Crest Illinois
   [EMAIL PROTECTED]
   Fear of a name, only increases fear of the thing itself.- Hide quoted
  text -

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



Re: Annoucement. PureMVC4GWT RC is available

2008-09-25 Thread Luciano Broussal

Hello Thomas,

you right.

Regards

On 25 sep, 14:29, Thomas Broyer [EMAIL PROTECTED] wrote:
 On 25 sep, 00:12, marcelo melo [EMAIL PROTECTED] wrote:



  While I understand that it must be done because GWT does not let one
  use reflection, I think that a small change could remove the necessity
  of such Provider.
  If, at  the Controller and MacroCommand classes, instead of receiving
  references to Class? extends ICommand , the parameter becomes an
  instance of ICommand, and when invoking the registerCommand or
  subCommand we pass a new Instance of the desired Command, it could be
  achieved.

  The only difference I see is that there would be always the same
  reference to the Commands, instead of creating a new instance each
  time. I don't know if that would be a problem.

 If you follow the principles of PureMVC that a command must be
 state-less, then it won't be a problem, but it allows you to write
 stateful commands, whereas the pattern used in PureMVC prevents this
 with throwaway instances.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Annoucement. PureMVC4GWT RC is available

2008-09-25 Thread Thomas Broyer


On 25 sep, 00:12, marcelo melo [EMAIL PROTECTED] wrote:

 While I understand that it must be done because GWT does not let one
 use reflection, I think that a small change could remove the necessity
 of such Provider.
 If, at  the Controller and MacroCommand classes, instead of receiving
 references to Class? extends ICommand , the parameter becomes an
 instance of ICommand, and when invoking the registerCommand or
 subCommand we pass a new Instance of the desired Command, it could be
 achieved.

 The only difference I see is that there would be always the same
 reference to the Commands, instead of creating a new instance each
 time. I don't know if that would be a problem.

If you follow the principles of PureMVC that a command must be
state-less, then it won't be a problem, but it allows you to write
stateful commands, whereas the pattern used in PureMVC prevents this
with throwaway instances.

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



How to access to the xxx.gwt.xml file content with a generator ?

2008-09-25 Thread [EMAIL PROTECTED]

Hi all,
I am looking for a way to access to the xxx.gwt.xml file content with
a generator. In fact, I need to know what modules are reported in this
file.
Does Someone know a GWT API to access the contents of the file during
the compilation time ?


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



Re: Any ideas on how to make a popup stay on top?

2008-09-25 Thread Thomas Wrobel

Ok, I tracked down my problem, and I'm noting it here for reference;

It seems when setting the z-depth from within gwt, I have to use
zIndex rather then z-index
Absolutely no idea why this works, as z-index is the correct css as
far as I know, but I noticed this form in other bits of code too
(http://markmail.org/message/ajny4glg33vaiwsb,
http://code.google.com/p/google-web-toolkit/issues/detail?id=1279 )
and it seems to work.

So, in my code this didnt work;
DOM.setStyleAttribute(this.getElement(), z-index, +(1000));
but this did;
DOM.setStyleAttribute(this.getElement(), zIndex, +(1000));

Hope this helps anyone else googling and finding this thread ;)


2008/9/16 Thomas Wrobel [EMAIL PROTECTED]:
 This is odd, I just tried this at my end and it dosnt seem to work.

 Heres a screenshot of what I get:
 http://www.darkflame.co.uk/PopUpOrderingProblem.jpg

 Heres a 7zip of the whole test project:
 http://www.darkflame.co.uk/testproject.7z

 2008/9/12 Thomas Broyer [EMAIL PROTECTED]:



 On 11 sep, 16:14, Thomas Wrobel [EMAIL PROTECTED] wrote:
 Ok,thanks, I upload an example zip of what I'm trying to do here;

 www.darkflame.co.uk/client.zip

 It would have been far better with the appropriate directory structure
 and .gwt.xml (and even TestProject-shell.cmd...)

 Basically, I want it if the user clicks on popup1, then popup2, popup1
 stays ontop.

 I've removed your workaround, added a this.addStyleName(darkflame-
 OverlayPopUp) in the OverlayPopUp constructor, and added the
 following CSS rule in the TestProject.html:

   .darkflame-OverlayPopUp { z-index: 1000; }

 ...and the draggable popup stays on top (tested both in hosted mode –
 IE7– and an IE6 within a Virtual PC).



 




 --
 ~~
 Reviews of anything, by anyone;
 www.rateoholic.co.uk
 Please try out my new site and give feedback :)




-- 
~~
Reviews of anything, by anyone;
www.rateoholic.co.uk
Please try out my new site and give feedback :)

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



Re: possible emulation bug: sinh

2008-09-25 Thread Reinier Zwitserloot

I'd create an issue and toss that one-liner in there too, after
checking that there isn't one already there, of course.

google lucky gwt issue tracker.


On Sep 25, 11:27 am, Thomas Broyer [EMAIL PROTECTED] wrote:
 On 25 sep, 06:53, rjcarr [EMAIL PROTECTED] wrote:

  Looking at GWT Math.java, I see:

  public static native double sinh(double x) /*-{
    return Math.sinh(x);

  }-*/;

  But according to the mozilla javascript reference (which I'm sure is
  the same for any reference you find):

 http://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_...

  There is no sinh() function available.  So that makes me pretty sure
  this is an emulation bug.

 Right, it should probably read (with a potential loss in precision):

 public static double sinh(double x) {
    return (exp(x) - exp(-x)) / 2;

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



Hmmm - new analytics (ga.js) integration?

2008-09-25 Thread Pete

It seems like it should be possible to do something like this (see
below) to integrate the new ga.js analytics api.  However, when i did
it, all i got was trouble - very strange exceptions like

java.lang.RuntimeException: Could not find a native method with the
signature '@com.google.gwt.dom.client.Element::setInnerHTML(Ljava/lang/
String;)'
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.java:
57)

or

203.1/com.google.gwt.user/com/google/gwt/core/client/GWT.java(216):
Failed to create JSNI method with signature
'@com.google.gwt.core.client.GWT::getVersion0()'

Can anyone shed light on why this is happening?

The error arose directly after calling new GoogleAnalytics(id) in my
onModuleLoad() method.   Note, the constructor for the GoogleAnalytics
object appears to succeed - but GWT is not happy after that call.

Am I doing something stupid here?

Thanks

-pete

import com.google.gwt.core.client.JavaScriptObject;

public class GoogleAnalytics
{
JavaScriptObject tracker;

public GoogleAnalytics(String key)
{
tracker = createTracker(key);
}

private static native JavaScriptObject createTracker(String key) /*-{
if(!$wnd._gat)
{
var gaJsHost = ((https: == $doc.location.protocol) ?
https://ssl.; : http://www.;);
var blob = $wnd.unescape(%3Cscript src=' + gaJsHost +
google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E);
$doc.write(blob);
}
return $wnd._gat._getTracker(key);
}-*/;

public void trackPageview()
{
trackPageview(null);
}

public native void trackPageview(String url) /*-{

[EMAIL PROTECTED]::tracker._trackPreview(url);
}-*/;

public void trackEvent(String category, String action)
{
trackEvent(category, action, null, null);
}

public native void trackEvent(String category, String action, String
label, Integer value) /*-{

[EMAIL PROTECTED]::tracker._trackEvent(category,
action, label, value);
}-*/;
}


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



User Level Access Control

2008-09-25 Thread piltrafeta

Hello,

I'm quite new with gwt and i'm implementing a application where i'll
have different types of users and i'll must show diferent parts from
the interface depending on the permissions of the user.
The application it's a kind of project manager so there is not only
role admin nor user... Some users must have permisions to modify some
projects...

Do you know somethig which could i could use to manager this kind of
user autentication?

I was thinking in a kind of filter how knows the permissions of the
conected user and before showing each ui element i pass it to the
filter and it tells me how to visualize it.

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



Re: GWT source code checkout error.

2008-09-25 Thread walden

Woops, that doesn't work, sorry.  Must be some mystical virtual
hosting going on, so you need the domain name and DNS.  See advice
above on that.

Walden

On Sep 25, 8:20 am, walden [EMAIL PROTECTED] wrote:
 Do you see the could not resolve hostname part?  That means your
 local DNS is not able to turn the host name into an ip address.  Who
 your local DNS provider is depends on what network you're on.  If you
 want to solve that, talk to your internet provider or local office
 network admin.

 In the meantime, try this URL:http://74.125.47.82/svn/trunk/

 Walden

 On Sep 25, 12:18 am, OpenKG [EMAIL PROTECTED] wrote:



  Hi,
  when i am trying to checkout source it is giving following error.

  svn checkouthttp://google-web-toolkit.googlecode.com/svn/trunk/trunk
  svn: PROPFIND request failed on '/svn/trunk'
  svn: PROPFIND of '/svn/trunk': Could not resolve hostname `google-web-
  toolkit.googlecode.com': Temporary failure in name resolution (http://
  google-web-toolkit.googlecode.com)

  What can be the problem.

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



Re: Problem with mouseListener

2008-09-25 Thread walden

What kind of widget?

If you want to make a composite, you might use a FocusPanel as the
outer container.  FocusPanel sources click, mouse and mouse wheel
events, so you can add your listeners to that, and events from inner
elements will bubble up.

If you just want to instrument some arbitrary Widget with mouse
events, then extend the Widget, sink the appropriate events when a
listener gets attached (late-bound event sinking is the model to
follow now), and override onBrowserEvent to look for and handle the
new events.

Walden

On Sep 25, 7:54 am, jamer [EMAIL PROTECTED] wrote:
 Hi
 I want create a widget whith a mouselistener event, and it is not a
 extends to DialogBox or Image
 How i can?

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



Re: Annoucement. PureMVC4GWT RC is available

2008-09-25 Thread Matthieu

Hi,

This is the solution we use in pureMvc MultiCore Edition.
But Cliff is not satisfied with it. He doesn't want that users can
manage the life cicle of a command.

We search a solution on the generator side.

Thanks for your interest.

Matthieu

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



Re: Annoucement. PureMVC4GWT RC is available

2008-09-25 Thread Matthieu

I'm agree with you, the pureMvc MultiCore edition use instance instead
of factory.

The probleme is to allow people to write non State-less command.
All the principles will not guarantee that it will not happen.

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



Calling Java Classes in GWT

2008-09-25 Thread Rishi

Hi Folks,

I am very new to using GWT. I have a query. I have two projects in my
eclipse workspace. One say 'Java' is pure Java project and other say
'GWT' is a GWT project.

Now in my GWT project I wish to call some methods of classes in my
Java Project .And every time I try to use any of the Java Project's
methods I get error something like :

[ERROR] Line 30: No source code is available for type
com.project.campaign.Campaign; did you forget to inherit a required
module?

I know that the error message asks me to provide the source code of
the Campaign class which I am trying to use in my GWT project. Can any
one tell how can i get rid of this error.

Basically what I am trying to build is a GWT based application by
which I can test my Java application code to verify it works fine .

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



Sharing objects among modules running in an OSGi platform

2008-09-25 Thread Ricardo Giacomin

Hi there,

I'm writing an OSGi and GWT/GWT-Ext based large application. The
reason I need OSGi is componentization (both client and server sides),
since the application is a product that could probably be extended or
modified by third parties (who could develop additional bundles/
plugins and install in the OSGi platform) . I'm still in PoC phase and
what I have to prove is that an incoming plugin can add UI structure
(for instance, new menu items) and behavior (for instance, menu item
listeners) to the running application.

I approached this having each bundle to encapsulte a new GWT/GWT-Ext
module. Let's say I have two bundles/modules: the main one (B1,
already installed, up and running) and the one adding features to the
application (B2). These are both compiled (by GWT compiler) and
packaged in a jar file (osgi standard). Their public folder (tipically
www) are exposed through a HTTP server, while running in the OSGi
platform.

The test I did showed me that after B2 is installed and loaded, I can
run any of its Javascript functions (see listing below, which I put in
one B1 event handler).

public static native void callHandler(String uri)/*-{
function ensureScriptIsLoaded() {
if (self.fragScript) { // Already exists
alert('fragment script already exists');
return;
}
var head = document.getElementsByTagName(head)[0];
script = document.createElement('script');
script.id = 'fragScript';
script.type = 'text/javascript';
script.src = uri;
head.appendChild(script);
if (self.fragScript) {
alert('fragment script successfully created');
} else {
alert('fragment script was not created');
}
}
ensureScriptIsLoaded();
anyB2ScriptFunction();
}-*/;

The question is: if I have in B2 a menu item or a button with all
their attributes set (iconCls, listeners, and so forth), how can I get
a reference to it to add it to my panel in B1?

I tried to get the reference to the component through Ext.getCmp(id)
(from GWT-Ext, see below). It works if the component is in the same
bundle/module but returns null otherwise.



Has someone else done such a thing: modularization of GWT client-side
based on OSGi bundles mechanism?


Thanks in advance,
Ricardo Giacomin

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



No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module?

2008-09-25 Thread dhanraj

Hi All,

I am a newbie to GWT.

When I try run the GWTShell, the following error occurs

No source code is available for type java.lang.ClassNotFoundException;
did you forget to inherit a required module?

Please note : my module inherits the User module and I am working on
GWT v1.5.2

Please help me find what is going wrong, as  ClassNotFoundException is
part of java.lang package.

Thanks in advance...

Dhanraj

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



Help: Calling a Java Function with String Array parameter from JSNI

2008-09-25 Thread mat

Hi,

I am having trouble calling a static function written in Java with a
String array as the paramter:

In my Java code I have the following:

  public static String[] AppendIndex(String[] names) {
String[] namesWithIndex = new String[names.length];
for(int i = 0; i  names.length; i++) {
  namesWithIndex[i] = Integer.toString(i) + .  + names[i];
}
return namesWithIndex;
  }

I have exported this static function so its accessible via JSNI using
the following code.

public static native void exportStaticMethod() /*-{
  $wnd.AppendIndex= @Utilities::AppendIndex([Ljava/lang/String;);
 }-*/;

In my Javascript I have:

  var names = [Fat,Cat,Bat];
  var namesWithIndex = AppendIndex(names);

However, I get the following error:
  java.lang.ClassCastException
at java.lang.Class.cast(Unknown Source)
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:128)
at
com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.java:
57)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:
119)
at
com.google.gwt.dev.shell.ie.MethodDispatch.invoke(MethodDispatch.java:
97)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:
294)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:
194)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:
117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

Does anyone know what I am doing wrong?

Thanks in advance,

Mat

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



What controll is used to slide content with next and back arrows?

2008-09-25 Thread Junny

On site australianit.news.com.au they have spotlight section on
the top-right corner. There user is able to slide news. What widget
can be used to do this?
Thanx
Alex

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



Wholesale jordan/nike basketball shoe,handbag,sunglasses,coat,jean,hat,watch (http://www.wholejean.cn/)

2008-09-25 Thread [EMAIL PROTECTED]

Please visit The nikefactory trade company website: http://www.wholejean.cn/
Price : please see in our website price list.

(1) Shoes: jordan1-23 series, Shoes/AF1 shoes, AF1 ,AF1 25 years,
max90, 95, TN, Ltd ,R4 ,R5 , NZ , dunk , bape, Shoes, Purses , D/G ,
Shoes , ATO, Supra, Sports, Air Yeeay shoes.
(2) Clothing: hoodies, jean, tshirt, short series: ( Bape, Evisu, BBC,
Lrg, Edhardy, Red monkey, Christan Audigier ,Coogi, Artful dodger,
Lacoste, Polo, Smet, Gino green global ,Armain, True religion , A/F,
Crown Holder, affliction).
(3) Brand handbag: ( Coach, Chanel, Purses, LV, Shoes )
(4) Brand sunglass series ( Shoes, Chanel, Purses, D/G, Versace,
Amini, LV, Okely, Dior, Fendi ,Burberry ).
(5) New era hat and CA hat.

payment:we supply paypal online
Our company tenet: supply the top quality , competitive and lowest
price , faster shipping and best service.
Minimun quantity order: 3 pairs. You can mix and match products model,
type, size order.
Genuinely hope to hear from you and become to your best supplier.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module?

2008-09-25 Thread dmol

On Sep 25, 12:23 pm, dhanraj [EMAIL PROTECTED] wrote:
 Hi All,

 I am a newbie to GWT.

 When I try run the GWTShell, the following error occurs

 No source code is available for type java.lang.ClassNotFoundException;
 did you forget to inherit a required module?

 Please note : my module inherits the User module and I am working on
 GWT v1.5.2

 Please help me find what is going wrong, as  ClassNotFoundException is
 part of java.lang package.


Did you use any external API on client side ? Like Log4j, Apache
common* ?
BTW a few lines of your code would help much.

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



Re: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module?

2008-09-25 Thread Lothar Kimmeringer

dhanraj schrieb:

 No source code is available for type java.lang.ClassNotFoundException;
 did you forget to inherit a required module?

[...]

 Please help me find what is going wrong, as  ClassNotFoundException is
 part of java.lang package.

The GWT-compiler doesn't cover the complete java.lang-classes.
The best way is to create your own Exceptions that are derived
from com.google.gwt.user.client.rpc.SerializableException


Regards, Lothar

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



Re: Calling Java Classes in GWT

2008-09-25 Thread Lothar Kimmeringer

Rishi schrieb:

 Now in my GWT project I wish to call some methods of classes in my
 Java Project .And every time I try to use any of the Java Project's
 methods I get error something like :
 
 [ERROR] Line 30: No source code is available for type
 com.project.campaign.Campaign; did you forget to inherit a required
 module?
 
 I know that the error message asks me to provide the source code of
 the Campaign class which I am trying to use in my GWT project. Can any
 one tell how can i get rid of this error.

You have to add the source-folder of the java-classes to the
classpath of the GWT-project.

In addition to this the java-classes must be in a package that
is defined as source-folder in the gwt.xml-file of your
project.


Regards, Lothar

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



Re: GWT+JEE+jBoss

2008-09-25 Thread mbracken

I'd recommend using Eclipse as your IDE, then using ANT build files to
deploy to your jBoss app server.

On Sep 25, 7:17 am, rov.ciso [EMAIL PROTECTED] wrote:
 Good day. I want to develop my project with GWT. My server-side
 application is jBoss servlet. What can I choose IDE?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: What controll is used to slide content with next and back arrows?

2008-09-25 Thread mbracken

There isn't a GWT Widget that can do that out of the box with the
sliding animation I think you're wanting.   However you could build
your own widget that could show information in a panel controls by
Back/Fwd buttons.   To get the animation you could use
Script.aculo.us, take a look at the Parallel effect specifically.

Here's a link on how to mesh GWT and Script.aculo.us
 http://gwt.components.googlepages.com/script.aculo.usintegration


On Sep 25, 6:29 am, Junny [EMAIL PROTECTED] wrote:
 On site australianit.news.com.au they have spotlight section on
 the top-right corner. There user is able to slide news. What widget
 can be used to do this?
 Thanx
 Alex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: problem_with_download_of_GWT

2008-09-25 Thread Chad

I've had this problem in the past. One solution is to use a download
manager (as opposed to the browser itself) to handle the download.
There are several free ones available. Just google download manager
and you'll find more than you ever wish you knew about. ;) You should
be able to get the entire file that way.

HTH,
Chad

On Sep 25, 5:18 am, Nathan Jeffery [EMAIL PROTECTED] wrote:
 no error message the download just finishes and then when i check
 the file it is not the correct size and it also doesn't open.

 i have tried downloading a different version and experienced the same
 problem.

 regards

 nathan jeffery

 http://uranium.co.zahttp://uraniumstudio.co.zahttp://myecommerce.co.zahttp://kalie.bizhttp://arms.org.zahttp://leadingskills.co.zahttp://southcapefolowers.co.za

 Nathan Jeffery
 Director

 Uranium Studio CC

 Registration Number: 2007/197787/23

 Cellular:               +27 82 454 1019
 Facsimile:      +27 82 829 9043
 E-mail:                 [EMAIL PROTECTED]
 Website:                http://www.uranium.co.za

 Important Notice:

 Important restrictions, qualifications and disclaimers (the
 Disclaimer) apply to this email. To read this click on the following
 address or copy into your Internet 
 browser:http://www.uranium.co.za/legal/disclaimer.html

 The Disclaimer forms part of the content of this email in terms of
 section 11 of the Electronic Communications and Transactions Act, 25
 of 2002. If you are unable to access the Disclaimer, send a blank e-
 mail to [EMAIL PROTECTED] and we will send you a copy of the
 Disclaimer.

 On Sep 24, 12:08 am, Xavier Mathews [EMAIL PROTECTED] wrote:

  Did you get an error message?

  Xavier A. Mathews
  Student/Developer/Web-Master
  Google Group Client Based Tech Support
  Hazel Crest Illinois
  [EMAIL PROTECTED]
  Fear of a name, only increases fear of the thing itself.

  On Mon, Sep 22, 2008 at 6:00 AM, Nathan Jeffery [EMAIL PROTECTED]wrote:

   Hi there,

   i am having difficulty in downloading the app.

   i have tried quite a few times and have even tried using different
   browsers, but the download always seems to stop and about 4Mb...

   any suggestions?

   thanks.

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



Re: parameterized types?

2008-09-25 Thread seven.reeds

On Sep 24, 5:38 pm, Xavier Mathews [EMAIL PROTECTED] wrote:
 Is there a fix?

Thanks to the pointers above, the following took away the Eclipse
messages.  In the code above I had:

Map map = new HashMap();

I changed this to:

MapString, String map = new HashMapString, String();
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Annoucement. PureMVC4GWT RC is available

2008-09-25 Thread Luciano Broussal

Hi Srini,

Here you have a simple sample 
http://code.google.com/p/purevmc4gwt/downloads/list

Login Sample

HTH

On 25 sep, 16:42, Srini Marreddy [EMAIL PROTECTED] wrote:
 Hi Luciano,
 It is good to know that we have a Framework for GWT. I am not
 familiar with Pure MVC framework,but I would like to play with it. A
 simple hello world example on how to use the framework will be very
 helpful for those interested in trying this framework.

 Best Regards,
 Srini

 On Sep 17, 5:34 am, Luciano Broussal [EMAIL PROTECTED]
 wrote:

  Hi All,

  I've created a tiny but powerful gwt project

  The Goal is to provide a MVC framework based on the simple, well
  designed and powerful PureMVC framework.

  This offer an opportunity to have the same design patterns what ever
  you code in Java, .Net, Pythom, PHP ...

  Find all necessary documention on PureMVC on the offcial 
  sitehttp://puremvc.org/

  PureMVC4GWT is hosted on Google Code at

 http://code.google.com/p/purevmc4gwt/

  Feel free to try it and join me to help me to leverage it.

  Regards.

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



Re: Annoucement. PureMVC4GWT RC is available

2008-09-25 Thread Srini Marreddy

I see there is a LoginDemo sample in the project home page downloads
section. I will play with it and  send my feedback.

Best,
Srini

On Sep 25, 9:42 am, Srini Marreddy [EMAIL PROTECTED] wrote:
 Hi Luciano,
         It is good to know that we have a Framework for GWT. I am not
 familiar with Pure MVC framework,but I would like to play with it. A
 simple hello world example on how to use the framework will be very
 helpful for those interested in trying this framework.

 Best Regards,
 Srini

 On Sep 17, 5:34 am, Luciano Broussal [EMAIL PROTECTED]
 wrote:

  Hi All,

  I've created a tiny but powerful gwt project

  The Goal is to provide a MVC framework based on the simple, well
  designed and powerful PureMVC framework.

  This offer an opportunity to have the same design patterns what ever
  you code in Java, .Net, Pythom, PHP ...

  Find all necessary documention on PureMVC on the offcial 
  sitehttp://puremvc.org/

  PureMVC4GWT is hosted on Google Code at

 http://code.google.com/p/purevmc4gwt/

  Feel free to try it and join me to help me to leverage it.

  Regards.

  Luciano Broussal


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



Re: Number of event ButtonListener

2008-09-25 Thread Shi

thanks very much, it works!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Calling Java Classes in GWT

2008-09-25 Thread Isaac Truett

Rishi,

This is a fairly frequent topic on this forum. I'm sure you would turn
up a number of relevant threads by searching for No source code is
available for type. Here is one such thread that might help you:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8777393d88e0a096

In a nutshell, every class you compile to JavaScript has to be
included in a module. There are any number of ways to achieve that
end. Have a read over some of the past discussions, try a few options,
and let us know if you have any further questions.

- Isaac

On Thu, Sep 25, 2008 at 6:38 AM, Rishi [EMAIL PROTECTED] wrote:

 Hi Folks,

 I am very new to using GWT. I have a query. I have two projects in my
 eclipse workspace. One say 'Java' is pure Java project and other say
 'GWT' is a GWT project.

 Now in my GWT project I wish to call some methods of classes in my
 Java Project .And every time I try to use any of the Java Project's
 methods I get error something like :

 [ERROR] Line 30: No source code is available for type
 com.project.campaign.Campaign; did you forget to inherit a required
 module?

 I know that the error message asks me to provide the source code of
 the Campaign class which I am trying to use in my GWT project. Can any
 one tell how can i get rid of this error.

 Basically what I am trying to build is a GWT based application by
 which I can test my Java application code to verify it works fine .

 


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



Multiple Copies of a GWT Module on a Page (in a portal)

2008-09-25 Thread Tim White

Hi -

 We have a GWT app that works with Google Maps using the gwt-maps
'official' API.

 This app is running in WebLogic Portal.  We have a requirement to run
several copies of the map app, each as a portlet running on the same
WLP page.

WLP gives each portlet instance on the page a unique identifier.  The
trick is how to get that id into the app, so that you can keep the
portlet instances separated in terms up updating the map, and doing
the normal GWT stuff.

Setting a .js var is unreliable, since you can't really control when a
given piece of .js will run...it might run twice, setting the portlet
ID to the 2nd portlet ID before GWT even gets fired up enough to see
it.

Likewise, anything I do at the .jsp level still has to get translated
into JavaScript before GWT can see it.

My thought was to add a param to the end of the GWT .js include
itself, e.g.  nocache.html?id=0890983 .  I can also tag the div that
GWT takes over with that ID via the .jsp.

But I've not discovered a good way to read that ID off of the include
URL.

Any thoughts on how best to accomplish this?

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



Re: Sharing objects among modules running in an OSGi platform

2008-09-25 Thread olivier nouguier
hi,
http://gwtnow.com/2008/07/21/gwt-is-going-non-monolithic-runasync/
hih


On Thu, Sep 25, 2008 at 4:05 PM, Ricardo Giacomin [EMAIL PROTECTED]wrote:


 Hi there,

 I'm writing an OSGi and GWT/GWT-Ext based large application. The
 reason I need OSGi is componentization (both client and server sides),
 since the application is a product that could probably be extended or
 modified by third parties (who could develop additional bundles/
 plugins and install in the OSGi platform) . I'm still in PoC phase and
 what I have to prove is that an incoming plugin can add UI structure
 (for instance, new menu items) and behavior (for instance, menu item
 listeners) to the running application.

 I approached this having each bundle to encapsulte a new GWT/GWT-Ext
 module. Let's say I have two bundles/modules: the main one (B1,
 already installed, up and running) and the one adding features to the
 application (B2). These are both compiled (by GWT compiler) and
 packaged in a jar file (osgi standard). Their public folder (tipically
 www) are exposed through a HTTP server, while running in the OSGi
 platform.

 The test I did showed me that after B2 is installed and loaded, I can
 run any of its Javascript functions (see listing below, which I put in
 one B1 event handler).

public static native void callHandler(String uri)/*-{
function ensureScriptIsLoaded() {
if (self.fragScript) { // Already exists
alert('fragment script already exists');
return;
}
var head = document.getElementsByTagName(head)[0];
script = document.createElement('script');
script.id = 'fragScript';
script.type = 'text/javascript';
script.src = uri;
head.appendChild(script);
if (self.fragScript) {
alert('fragment script successfully created');
} else {
alert('fragment script was not created');
}
}
ensureScriptIsLoaded();
anyB2ScriptFunction();
}-*/;

 The question is: if I have in B2 a menu item or a button with all
 their attributes set (iconCls, listeners, and so forth), how can I get
 a reference to it to add it to my panel in B1?

 I tried to get the reference to the component through Ext.getCmp(id)
 (from GWT-Ext, see below). It works if the component is in the same
 bundle/module but returns null otherwise.



 Has someone else done such a thing: modularization of GWT client-side
 based on OSGi bundles mechanism?


 Thanks in advance,
 Ricardo Giacomin

 



-- 
Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
comestible
 - proverbe indien Cri

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



Re: Newbie - Trying to access Documentation

2008-09-25 Thread Khader

Great!. I can access the wiki. Thanks a lot guys.

Khader

On Sep 25, 5:18 am, Thomas Broyer [EMAIL PROTECTED] wrote:
 On 25 sep, 00:10, Khader [EMAIL PROTECTED] wrote:

  Nope. Can't access that one either. A bit of ..ahem.. googling,
  suggests that I could be facing Google Doc Reader issues. But most of
  those users fixed their problem by clearing their cache and other
  browser data. But that did not help me. Any suggestions?

 Mapping a Google Doc Reader URL to a Google Code Hosting's Wiki page
 URL is 
 easy:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...
 becomes:http://code.google.com/p/google-web-toolkit-doc-1-5/(because
 t=project name)
 When t is not the project name, it becomes (example where
 t=GettingStarted):http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStarted

 You can read more on Google Doc Reader's URLs 
 at:http://code.google.com/p/google-documentation-reader/wiki/UrlFormat
 (which can be seen in Doc Reader at the following 
 URL:http://code.google.com/docreader/#p=google-documentation-readert=Url...
 )

  On Sep 24, 5:55 pm, Jeremiah Elliott [EMAIL PROTECTED] wrote:

   can you get 
   here?http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...

   On Wed, Sep 24, 2008 at 3:52 PM, Khader [EMAIL PROTECTED] wrote:

Hi,

I am trying to use GWT for the first time and was looking for some
documentation on Google's side. I can get to this page,
   http://code.google.com/webtoolkit/overview.htmlbutallthe
documentation sites (listed below) return me a blank page.

   http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4

   http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5

   http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...

Am I missing something?

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



Re: problem_with_download_of_GWT

2008-09-25 Thread Xavier Mathews
But google already has one and it may not support one but i is worth the try
what do you have o lose!

Xavier A. Mathews
Student/Developer/Web-Master
Client Based Tech Support
Hazel Crest Illinois
[EMAIL PROTECTED]
Fear of a name, only increases fear of the thing itself.





On Thu, Sep 25, 2008 at 9:46 AM, Chad [EMAIL PROTECTED] wrote:


 I've had this problem in the past. One solution is to use a download
 manager (as opposed to the browser itself) to handle the download.
 There are several free ones available. Just google download manager
 and you'll find more than you ever wish you knew about. ;) You should
 be able to get the entire file that way.

 HTH,
 Chad

 On Sep 25, 5:18 am, Nathan Jeffery [EMAIL PROTECTED] wrote:
  no error message the download just finishes and then when i check
  the file it is not the correct size and it also doesn't open.
 
  i have tried downloading a different version and experienced the same
  problem.
 
  regards
 
  nathan jeffery
 
  http:/
 /uranium.co.zahttp://uraniumstudio.co.zahttp://myecommerce.co.zahttp://kalie.bizhttp://arms.org.zahttp://leadingskills.co.zahttp://
 southcapefolowers.co.za
 
  Nathan Jeffery
  Director
 
  Uranium Studio CC
 
  Registration Number: 2007/197787/23
 
  Cellular:   +27 82 454 1019
  Facsimile:  +27 82 829 9043
  E-mail: [EMAIL PROTECTED]
  Website:http://www.uranium.co.za
 
  Important Notice:
 
  Important restrictions, qualifications and disclaimers (the
  Disclaimer) apply to this email. To read this click on the following
  address or copy into your Internet browser:
 http://www.uranium.co.za/legal/disclaimer.html
 
  The Disclaimer forms part of the content of this email in terms of
  section 11 of the Electronic Communications and Transactions Act, 25
  of 2002. If you are unable to access the Disclaimer, send a blank e-
  mail to [EMAIL PROTECTED] and we will send you a copy of the
  Disclaimer.
 
  On Sep 24, 12:08 am, Xavier Mathews [EMAIL PROTECTED] wrote:
 
   Did you get an error message?
 
   Xavier A. Mathews
   Student/Developer/Web-Master
   Google Group Client Based Tech Support
   Hazel Crest Illinois
   [EMAIL PROTECTED]
   Fear of a name, only increases fear of the thing itself.
 
   On Mon, Sep 22, 2008 at 6:00 AM, Nathan Jeffery 
 [EMAIL PROTECTED]wrote:
 
Hi there,
 
i am having difficulty in downloading the app.
 
i have tried quite a few times and have even tried using different
browsers, but the download always seems to stop and about 4Mb...
 
any suggestions?
 
thanks.
 
nathan
 


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



Custom Exceptions not working in 1.5, throws IncompatibleRemoteServiceException.

2008-09-25 Thread mbracken

Since upgrading our application from GWT 1.4.60 to 1.5.2 we're running
into issues with our Custom Exceptions that should be getting thrown
across an RPC call.  We have a number of Custom Exceptions that extend
from java.lang.Exception, nothing fancy going on with them, just
business logic exceptions with some String instance variables.

In 1.4 if a Custom Exception was thrown on the Server side during an
RPC call that exception would successfully come back to the client in
onFailure() so we could show the appropriate error message to the user
or handle it.   However, since the 1.5 upgrade, none of our Custom
Exceptions can make it back to the client.  What's happening is that
RequestCallbackAdapter.onResponseReceived() gets the correct Exception
but throws a IncompatibleRemoteServiceException into the onFailure()
method.  Tracing it down it's because a SerializationException is
being thrown in ModuleSpace; it's blowing up during
scrubStackTrace().

Getting the generic IncompatibleRemoteServiceException in onFailure()
makes it impossible to properly handle the issue or display a useful
message to the user.

All other objects work across an RPC call, the problem is only with
Exceptions.  No errors or warning are thrown during compilation, and
all of our Custom Exceptions appear and look good in the *.gwt.rpc and
*.rpc.log files. This problem occurs in both Hosted and Web mode.
There have been numerous clean deploys to the server and the gwt-
servlet.jar is up to date.  Did I miss something obvious during the
upgrade or are other people running into this issue as well?   Maybe
something with how Throwable now implements Serializable.

I've looked through the Forum and Issue Tracker and found some posts
about similiar issues, but nothing with a definitaive solution.
+ (http://groups.google.com/group/Google-Web-Toolkit/browse_thread/
thread/4b08fc1495e023ad/770ffb277364f04b?lnk=gstq=custom
+exceptions#770ffb277364f04b)
+ (http://groups.google.com/group/Google-Web-Toolkit/browse_thread/
thread/d73014cb612419e4/6739b73a03baeabb?
lnk=gstq=IncompatibleRemoteServiceException#6739b73a03baeabb)


Sample Code:
==

public class CustomException extends Exception implements
Serializable{
private String userMsg, techMsg;

public CustomException(){}
public CustomException(String userMsg, String techMsg){...}

get/Set User/TechMsg(){}
public String toString(){...}
}

public class SomeBizLogicException extends CustomException{
public SomeBizLogicException(){super();}
public SomeBizLogicException(String userMsg, String techMsg)
{super(..);}
}



public interface XService extends RemoteService{
public ListString getSomething() throws CustomException;
}

public class XServiceImpl extends RemoteServiceServlet implements
XService{
public ListString getSomething() throws CustomException {
/* Some biz logic goes wrong ! */
throw new SomeBizLogicException(a, b);
}
}


Sample Stack Trace:
===

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
This application is out of date, please click the refresh button on
your browser.
at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
204)
at
com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:
254)
at
com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:
226)
at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:
126)
at
com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:
155)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:
294)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:
194)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:
117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, 

Re: Opening and Loading a GWT Module from another module

2008-09-25 Thread Ian Bambury

 Man i have had it with you and your disrespect shut the hell up no one
 asked you if it was helpful.


Xavier,

The reason you are not getting the respect you feel you deserve is that you
come across (as I see it) as a schoolkid making newbie comments to industry
professionals and expecting to get thanked for your deep insights.

For example:


 hmmm...well if it is not the right size then that means that the
 whole thing is not dowoloading the right way.


This comes under the category of 'specialised subject: the bleedin' obvious'

We all know that. From your comments, I would guess that almost everyone
here has more experience than you do. I doubt many people here other than
you would have a hard time understanding PHP. Some of us were probably
writing programs before you were born.

What people are looking for is answers to their questions and not comments
like Well i just tried it and i dont think you can

Take it easy. Sit back and watch the group working for a while, then, if you
can provide someone with a solution then fine, but don't ask questions like
What error message do you get? when someone asks for help with a layout
problem, or So as you use it the memory is slowly going away? when someone
asks about a memory leak, or clog up the list with a new thread telling
everyone on a GWT list that they should use the latest release of PHP (which
isn't necessarily true, anyway).

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



Re: Opening and Loading a GWT Module from another module

2008-09-25 Thread Xavier Mathews

Ok yea you are right i am very new at this idk y areprofessior had to
put us in this group when he knows that i am a Browse add-on etc and
c++ specialist. But i hav to do my hour on this group to get my
credits. I dont really kno all that much abt PHP i have seven books
infornt of me. (As if it really helps) But i will take your advice and
thanks for being honest with me.

Also i am working from my Sony PSP most of the time so i may not read
the message right. I had to set my web pages up differently last
night!

And When i ask WHAT ERROR MESSAGE DID YOU GET That is because when i
am working over at the GCG Google Chrome Group That is the first
question that i ask to help other and clients etc so it is a
habit...So far over there i could own the damn group because now
everyone e-mails me to get answersjust last night i have
a.well who is now a Client give me thanks for helping her with
something no one else could. So i see that this is your profession and
Browsers etc web pages are mine. (NOT PROGRAMING) I barley past my
TEST in C++.

So from now on i will just watch you guys while i learn and hopefuly i
can be ready to jump in within months (I'm kidding myself it will take
longer)

Good Day

Xavier

On 9/25/08, Ian Bambury [EMAIL PROTECTED] wrote:

 Man i have had it with you and your disrespect shut the hell up no one
 asked you if it was helpful.


 Xavier,

 The reason you are not getting the respect you feel you deserve is that you
 come across (as I see it) as a schoolkid making newbie comments to industry
 professionals and expecting to get thanked for your deep insights.

 For example:


 hmmm...well if it is not the right size then that means that the
 whole thing is not dowoloading the right way.


 This comes under the category of 'specialised subject: the bleedin' obvious'

 We all know that. From your comments, I would guess that almost everyone
 here has more experience than you do. I doubt many people here other than
 you would have a hard time understanding PHP. Some of us were probably
 writing programs before you were born.

 What people are looking for is answers to their questions and not comments
 like Well i just tried it and i dont think you can

 Take it easy. Sit back and watch the group working for a while, then, if you
 can provide someone with a solution then fine, but don't ask questions like
 What error message do you get? when someone asks for help with a layout
 problem, or So as you use it the memory is slowly going away? when someone
 asks about a memory leak, or clog up the list with a new thread telling
 everyone on a GWT list that they should use the latest release of PHP (which
 isn't necessarily true, anyway).

 Ian
 http://examples.roughian.com

 



-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support
Hazel Crest Illinois
[EMAIL PROTECTED]
Fear of a name, only increases fear of the thing itself.

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



Re: Opening and Loading a GWT Module from another module

2008-09-25 Thread Xavier Mathews
This is harder then API at least over there i know what they are talking
about lol!

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support
Hazel Crest Illinois
[EMAIL PROTECTED]
Fear of a name, only increases fear of the thing itself.





On Thu, Sep 25, 2008 at 12:07 PM, Xavier Mathews [EMAIL PROTECTED]wrote:

 Ok yea you are right i am very new at this idk y areprofessior had to
 put us in this group when he knows that i am a Browse add-on etc and
 c++ specialist. But i hav to do my hour on this group to get my
 credits. I dont really kno all that much abt PHP i have seven books
 infornt of me. (As if it really helps) But i will take your advice and
 thanks for being honest with me.

 Also i am working from my Sony PSP most of the time so i may not read
 the message right. I had to set my web pages up differently last
 night!

 And When i ask WHAT ERROR MESSAGE DID YOU GET That is because when i
 am working over at the GCG Google Chrome Group That is the first
 question that i ask to help other and clients etc so it is a
 habit...So far over there i could own the damn group because now
 everyone e-mails me to get answersjust last night i have
 a.well who is now a Client give me thanks for helping her with
 something no one else could. So i see that this is your profession and
 Browsers etc web pages are mine. (NOT PROGRAMING) I barley past my
 TEST in C++.

 So from now on i will just watch you guys while i learn and hopefuly i
 can be ready to jump in within months (I'm kidding myself it will take
 longer)

 Good Day

 Xavier

 On 9/25/08, Ian Bambury [EMAIL PROTECTED] wrote:
 
  Man i have had it with you and your disrespect shut the hell up no one
  asked you if it was helpful.
 
 
  Xavier,
 
  The reason you are not getting the respect you feel you deserve is that
 you
  come across (as I see it) as a schoolkid making newbie comments to
 industry
  professionals and expecting to get thanked for your deep insights.
 
  For example:
 
 
  hmmm...well if it is not the right size then that means that the
  whole thing is not dowoloading the right way.
 
 
  This comes under the category of 'specialised subject: the bleedin'
 obvious'
 
  We all know that. From your comments, I would guess that almost everyone
  here has more experience than you do. I doubt many people here other than
  you would have a hard time understanding PHP. Some of us were probably
  writing programs before you were born.
 
  What people are looking for is answers to their questions and not
 comments
  like Well i just tried it and i dont think you can
 
  Take it easy. Sit back and watch the group working for a while, then, if
 you
  can provide someone with a solution then fine, but don't ask questions
 like
  What error message do you get? when someone asks for help with a layout
  problem, or So as you use it the memory is slowly going away? when
 someone
  asks about a memory leak, or clog up the list with a new thread telling
  everyone on a GWT list that they should use the latest release of PHP
 (which
  isn't necessarily true, anyway).
 
  Ian
  http://examples.roughian.com
 
   
 


 --
 Xavier A. Mathews
 Student/Developer/Web-Master
 GG Client Based Tech Support
 Hazel Crest Illinois
 [EMAIL PROTECTED]
 Fear of a name, only increases fear of the thing itself.


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



Re: GWT+JEE+jBoss

2008-09-25 Thread rov.ciso

But I think that Eclipse with GWT and JBoss is very slow develop
solution. For example, compiling time is near 2 min.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: getBoundsZoomLevel using bounds is not working

2008-09-25 Thread Sudhindra HS
Thank you for the suggestion.

But the Google maps performance is very slow while dealing with large amount
of data.

Hence we moved to open layers implementation.


On Wed, Sep 24, 2008 at 11:43 PM, Eric Ayers [EMAIL PROTECTED] wrote:


 0) We released an updated gwt-maps library yesterday.  If you use it,
 your calls to new LatLng() would need to change to
 LatLng.newInstance().
 1) How is zoom not set correctly?  What behavior to you expect and
 what do you see?  You shouldn't expect the polygon to fit exactly
 inside the bounds, because the zoom levels are discrete and not
 dynamically sized.
 2) I looked through the code for setCenter(LatLng, int) and it seems
 to delegate to the Maps API correctly.  Out of curiousity, have you
 tried using a separate mapWidget.setZoomLevel(); call?

 On Sep 23, 9:29 am, neversaydie [EMAIL PROTECTED] wrote:
  Hello,
 
  I have a set of lat longs say 200.
  I construct a polygon out of these points. When i render this polygon
  the, zoom level is not set correctly set for some reasons.
 
  Can anybody help me why this is happeneing?
 
  Here is my code
 
 LatLng[] points = new LatLng[coordinates.size()];
  LatLngBounds bounds = new LatLngBounds();
 
  int index = 0;
  for ( Coordinate coordinate : coordinates ) {
  points[index] = new LatLng( coordinate.getLatitude(),
  coordinate.getLogitude() );
  bounds = bounds.extend( points[index] );
  index++;
  }
  Polygon polygon = new Polygon( points, color, 10, 0.0, color,
  0.7 );
 
  mapWidget.clearOverlays();
  mapWidget.addOverlay( polygon );
 
  mapWidget.setCenter( bounds.getCenter(),mapWidget.getBoundsZoomLevel(
 bounds ));
 


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



How can choose IDE

2008-09-25 Thread rov.ciso

Good day. I develop my project with GWT and JBoss application server.
What IDE(Eclipse, NetBeans and etc.) can better choose? I want fully
support GWT compiling and JBoss application in one project. 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module?

2008-09-25 Thread Dudeman

If you are including external source code (such as in the form of a
Jar file), you will need to include that jar file in your Java
CLASS_PATH and you will also need to edit your .gwt.xml file to
inherit information from the included jar.

The best way to do this is to add $APPDIR/externalcode.jar in the -cp
option in the YourProject-shell and YourProject-compile scripts.
After this, edit YourProject.gwt.xml file and add a line like
this...

inherits name='com.thapar.gwt.user.ui.SimpleSortableTable

(this was an example of how to include a SortableTable from
http://psthapar.googlepages.com/simplesortabletable).

On Sep 25, 10:27 am, Lothar Kimmeringer [EMAIL PROTECTED] wrote:
 dhanraj schrieb:

  No source code is available for type java.lang.ClassNotFoundException;
  did you forget to inherit a required module?

 [...]

  Please help me find what is going wrong, as  ClassNotFoundException is
  part of java.lang package.

 The GWT-compiler doesn't cover the complete java.lang-classes.
 The best way is to create your own Exceptions that are derived
 from com.google.gwt.user.client.rpc.SerializableException

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



Re: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module?

2008-09-25 Thread Lothar Kimmeringer

Dudeman schrieb:

 The best way to do this is to add $APPDIR/externalcode.jar in the -cp
 option in the YourProject-shell and YourProject-compile scripts.
 After this, edit YourProject.gwt.xml file and add a line like
 this...
 
 inherits name='com.thapar.gwt.user.ui.SimpleSortableTable
 
 (this was an example of how to include a SortableTable from
 http://psthapar.googlepages.com/simplesortabletable).

This will not help for Exceptions, because GWT tries to
serialize StacktraceElement which will fail. I was serious
when I was speaking of creating your own Exceptions ;-)


Regards, Lothar

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



IE6 ImageBundle + Anchor problem.

2008-09-25 Thread Jean-Lou Dupont

Hi,

 I've got the following custom widget:

code
public class GearsStatus extends Anchor {

Image img = null;

public GearsStatus() {
super();

final WidgetMessages MSG = (WidgetMessages)
GWT.create(WidgetMessages.class);

WidgetImageBundle bundle = (WidgetImageBundle)
GWT.create( WidgetImageBundle.class );

AbstractImagePrototype p = null;

if (isGearsInstalled()) {
p = bundle.gears();
this.setHref(MSG.gears_href_installed());
this.setTitle(MSG.gears_title_installed());

} else {
p = bundle.gears_grey();
this.setHref(MSG.gears_href_not_installed());
this.setTitle(MSG.gears_title_not_installed());
}

img = p.createImage();

this.getElement().appendChild(img.getElement());
}
/code

which works fine on Chrome, FF, Safari but the aimg can not be
clicked on IE6.

Any hint?

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



Re: url parameters

2008-09-25 Thread Greg

oh neat.  Window.Location must be new to 1.5.  no longer have to use
JSNI I guess!

On Sep 23, 11:16 am, Ian Bambury [EMAIL PROTECTED] wrote:
 Or you could use

 String departure = Window.Location.getParameter(departure);

 Ian

 http://examples.roughian.com

 2008/9/23 Greg [EMAIL PROTECTED]





  The GWT widget library (http://gwt-widget.sourceforge.net) provides
  this functionality.  You simply say:

  String departure =
  WindowUtils.getLocation().getParameter(departure);

  If you don't want to use the GWTWL, then you can parse the URL
  yourself.  First create a native method to get access to the page's
  URL and parse out the parameters you need.  Here's an example of a
  native method that can do that for you:

  public static native String getURL() /*-{
     return $wnd.location.href;
  }-*/;

  The just use indexOf() and substring() to do the parsing...

  -Greg

  On Sep 23, 9:36 am, Dirtybit [EMAIL PROTECTED] wrote:
   Hi,
   I am building a gwt web app in which users can ask for a navigation
   route between two points.
   The coordinates of the points are stored in a database so the user
   only has to provide two names.
   The names of the points are also available from a portal that we
   developed and contains information about
   these geopoints
   I was wondering if it is possible to pass the departure and
   destination names as url parameters to my gwt app, so as to show the
   route immediately without having to provide them throught the
   appplication ui.
   How can I read these parameters in gwt?

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



Regarding JNSI/make a call to GWT Widgets on click of HTML Buttons.

2008-09-25 Thread Manish

Hi

Thank all of you for providing continuos help and advice by this
group.

I am new to this group.I have just put my hands on integration of my
existing HTML with GWT.

My very initail requirement is to show a GWT pop-up message box on
click of HTML Button element( This HTML Button component is pre-exist
and made using HTML Tags ).

As I had some idea about JNSI , I tried with it But I don't succeed
due to not having much exposure.

Can anybody please provide pseudo code for JNSI ( if applicable )or
any other way of implementation.

Thank you in advance.

Regards,

Manish

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



Re: 1.5 final compiler warning

2008-09-25 Thread Victor

I've seen that many people solved their problems replacing the gwt-
servlet.jar file with the new one, but I'm pretty sure I no more have
the gwt-servlet-1.5RC1.jar file on my system.

How could I solve the problem ?

The exact message is :

Field 'private final
com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSetjava.lang.String
keys' will not be serialized because it is final

Thank you,

On 5 sep, 19:23, chris.f.jones [EMAIL PROTECTED] wrote:
 Since this error sources from
 com.google.gwt.i18n.client.impl.ConstantMap via
 java.util.Mapjava.lang.String, java.lang.String, shouldn't the
 field:
 private final ConstantMap.OrderedConstantSetjava.lang.String
 be declared as transient?

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



Mid Sr Java/J2EE with GWT Opportunities in Annapolis, MD!!

2008-09-25 Thread Apex

Hello!  Apex Systems, a Top 10 Information Technology recruiting
organization, has 3 openings for Java/J2EE Developers to work in a
Cleared environment and do development with Java, J2EE and GWT.  It's
in the beautiful Annapolis, MD area. The role will involve extensive
new, front-end development, and the current project involves deploying
a business application to track radio data.  If you have any interest
in any Java/J2EE Development opportunities involving the Google Web
Toolkit, please send a Word resume to [EMAIL PROTECTED] with
the best method for me to contact you!

If you are content in your current role, feel free to pass along this
information to any other Java/J2EE Developers you know with a GWT
background.

Thanks!

Role: Sr Java/J2EE Developer (2-3 openings)
Client: technology solutions company delivering technical expertise
and operational support to the Department of Defense, civilian
government agencies and commercial customers
Location: Annapolis, MD
Length: 6 month contract-to-hire (client wants candidates who will
become a permanent employee after 6 months)
Salary Range: 80k (for mid-level) and 100k (for senior level)

Description
Support the full SDLC, including design, development, implementation,
testing, deployment, training, operations, and maintenance, of web-
based applications and Java technologies.  Working with Java, J2EE,
AJAX, GWT, struts, and Apache.

Qualifications
 4 years developing software applications
Experience with Java/J2EE, Object Oriented design and web application
programming required.  Experience with AJAX, the Google Web Toolkit,
Struts, and Apache a plus.
Understanding of and commitment to software development best
practices, including design inspections, code inspections, and
software configuration management
Support for all phases of the system development lifecycle, including
design, development, operations and maintenance
Experience designing web-based User Interfaces
The ability to work well in a team environment
Strong written and oral communication skills

***SECRET Clearance desirable.  Or you must be able to obtain a secret
clearance. Client will process individuals Clearances! ***

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



Yet another GWT based app launched!

2008-09-25 Thread Pete

Greetings GWTlings,

We've recently launched an application totally enabled by GWT loading
into a WordPress managed page and using Quantrix as a calculation
engine on the back end.  Check it out:

http://www.electiontaxes.com

GWT *rocks* for this kind of thing!

Cheers,

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



Re: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module?

2008-09-25 Thread Manish Kumar

Hi Dhanraj,

Can you confirm us whether you have JRE 1.4 or above  insatlled in your 
system or not.Please also check the Java PATH  is set or not.

Regards,
Manish
- Original Message - 
From: dhanraj [EMAIL PROTECTED]
To: Google Web Toolkit Google-Web-Toolkit@googlegroups.com
Sent: Thursday, September 25, 2008 3:53 PM
Subject: No source code is available for type 
java.lang.ClassNotFoundException; did you forget to inherit a required 
module?



 Hi All,

 I am a newbie to GWT.

 When I try run the GWTShell, the following error occurs

 No source code is available for type java.lang.ClassNotFoundException;
 did you forget to inherit a required module?

 Please note : my module inherits the User module and I am working on
 GWT v1.5.2

 Please help me find what is going wrong, as  ClassNotFoundException is
 part of java.lang package.

 Thanks in advance...

 Dhanraj

  


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



Re: Poll: GWT 1.4.62 vs 1.5 -- what are you using? what are your plans?

2008-09-25 Thread reechard


Yes no yes no yes no now.

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



[gwt-contrib] Re: DatePicker DatePickerComponent protected ?

2008-09-25 Thread Ed

Ahhh the famous lock-in reason. Yep, understandable...
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---