Re: Problem with custom serialization in GWT 2.0

2010-01-06 Thread David
Hi,

I noticed the same problem. I was first assuming that it was the app
server (which I migrated at the same time) and they fact that we put
our gwt-servlet.jar at ear level. But I was thinking last night that
custom serializers might just be completely broken in this release.

http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/e6c2f25322b83955/7267b66bab5de8fa#7267b66bab5de8fa

The reason why it fails is that they use the wrong classloader to
check for custom field serializers.

There are possible (temporary) solutions:
1) make sure that you modify the gwt-servlet.jar manifest to include
your jar that contains the custom field serializers)
2) update the gwt-servlet.jar to contain your custom field serializers
3) Make a small change to
com.google.gwt.user.server.rpc.impl.SerializabilityUtil
The method computeHasCustomFieldSerializer must use  ClassLoader
classLoader = Thread.currentThread().getContextClassLoader(); instead
of Serializability.class.getClassLoader()

David

On Jan 5, 6:11 pm, evgeniy kim.euge...@gmail.com wrote:
 Hello.
 I used GWT 1.6.4 and custom field serializers for transmitting
 entities retrieved with help of hibernate. It was done for handling
 Hibernate collections. For example:

 public class Category_CustomFieldSerializer {

     public static void serialize(SerializationStreamWriter writer,
 Category instance) throws SerializationException {
         writer.writeString(instance.getName());
         writer.writeObject(instance.getOperation());
         writer.writeObject(new LinkedListCategoryValue
 (instance.getCategoryValues()));
     }

     public static void deserialize(SerializationStreamReader reader,
 Category instance) throws SerializationException {
         instance.setName(reader.readString());
         instance.setOperation((OperationType) reader.readObject());
         instance.setCategoryValues((ListCategoryValue)
 reader.readObject());
     }

 }

 It was perfectly working. Recently I decided to try GWT 2.0. And
 suddenly I started to receive
 com.google.gwt.user.client.rpc.SerializationException: Type
 'org.hibernate.collection.PersistentBag' I tried to print debug
 info from custom serializer and seems it never called.
 Does support for custom serializers ended in GWT 2.0? Is there some
 mechanism to solve this problem, except separate data transfer
 objects?
 Best regards, Evgeniy.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: RPC vs HTTP requests

2010-01-06 Thread Jeff Schnitzer
I normally try to stay out of religious wars, so I'm going to skip
over everything everyone else has said in this thread (most of which I
disagree with) and address the original poster directly:

Since you're asking this question, I presume you are a novice with
GWT.  In this case, your path is clear - use GWT-RPC.  While REST/JSON
has its uses, GWT-RPC is far easier to learn and far easier to use.
It's also much more robust in a fast-changing codebase; the client and
server use the same interfaces so the compiler keeps them in sync.

It's not an all-or-nothing choice; my app provides JAX-RS REST
services to iPhone clients but all the GWT-server communication is
GWT-RPC because it's 10X faster to iterate.

If you're even remotely wondering whether you should use the GWT-RPC
system or roll your own REST APIs, you should be using GWT-RPC.  It's
pretty much that simple.

Jeff

On Sat, Jan 2, 2010 at 3:46 PM, Pion onlee2...@gmail.com wrote:
 Communicate with a Server -
 http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls
 - article mentions about RPC and HTTP techniques.

 I am wondering what the pros and cons using RPC vs HTTP (doGet(),
 doPost()) requests?

 Most of the GWT samples are based on RPC. Is RPC technique a better/
 recommended way?

 Thanks in advance for your help.

 --

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



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




Re: Re: GWT Intigration with existing project .... Hosted mode issues.

2010-01-06 Thread girishrathod
Further .. I tried to implement your suggession, the class-path entry  
was the missing part which was leading to the previous error in CASE II  
described below.


-src
--main
---java
com
-gwtAppl
(MyApplication.gwt.xml)
--client
--server

I added the source entry of 'client' in gwt.xml.

The Things moved ahead but it gave a different error which I'm not able to  
resolve.


[DEBUG] Loading an instance of module 'myapplication'
[DEBUG] Refreshing module from source
[DEBUG] Validating newly compiled units
[TRACE] Removing units with errors
[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/GreetingService.java'
[ERROR] Line 1: The declared package com.gwtAppl.client does not match  
the expected package client
[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/GreetingServiceAsync.java'
[ERROR] Line 1: The declared package com.gwtAppl.client does not match  
the expected package client
[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/MyApplication.java',
[ERROR] Line 1: The declared package com.gwtAppl.client does not match  
the expected package client


Please suggest.

Thanks a lot,
Girish


On 06-Jan-2010 10:07am, Girish Rathod girishrat...@gmail.com wrote:

Thanks for your reply Jason,
But this is exactly what I did in CASE II where it was not able to find  
the .gwt.xml itself. Here is the extract of my previous mail 





=== CASE II 




Keeping all the above configuration same, when I move  
MyApplication.gwt.xml as below ..





-src



--main



---java



com



-gwtAppl



(MyApplication.gwt.xml)



--client



--server





The the host mode error is as follows ...





[INFO] Starting HTTP on port 8081



[TRACE] Starting URL: http://localhost:8081/MyApplication



[TRACE] Request 0: http://localhost:8081/MyApplication



[TRACE] Loading module 'MyApplication'



[ERROR] Unable to find 'MyApplication.gwt.xml' on your classpath;



could be a typo, or maybe you forgot to include a classpath entry for



source?



[TRACE] Request 1: http://localhost:8081/MyApplication/



[TRACE] Loading module 'MyApplication'



[ERROR] Unable to find 'MyApplication.gwt.xml' on your classpath;



could be a typo, or maybe you forgot to include a classpath entry for



source?


[TRACE] The development shell servlet received a request to generate a  
host page for module 'MyApplication'



[TRACE] Loading module 'MyApplication'



[ERROR] Unable to find 'MyApplication.gwt.xml' on your classpath;



could be a typo, or maybe you forgot to include a classpath entry for



source?





in this I guess it's not able to find the gwt.xml itself. In this



case , inside the 'run configuration' under GWT tab, it shows the this



file and the path where it is placed.









Please suggest 




Thanks,
Girish



On Tue, Jan 5, 2010 at 9:17 PM, Jason Essington  
jas...@greenrivercomputing.com wrote:



if the location of your gwt.xml file isn't at the same level as your  
client package then you need to add a tag to tell it where the client  
directory is. That's the likely reason it can't find your entry point  
class.




so probably the simplest thing to do would be to move the gwt.xml file to  
src/main/java/com/gwtAppl/MyApplication.gwt.xml





-jason














On Jan 5, 2010, at 5:19 AM, girishrat...@gmail.com wrote:








Hello Friends 






I don't understand why it should be so difficult to integrate the GWT  
with the current application, I have been struggling for few weeks now (  
not full time , of course)



Definitely ... there should be some help available which I'm not able to  
find, I'm currently like beating around the bushes to make progress.



If anyone knows , please forward me any articles where there is some  
guideline regarding integrating GWT with the existing project.









Currently I'm desperately stuck at a place where the hosted mode is not  
able to find .gwt.xml(CASE I below ) or the entry point classes (CASE II  
below )... don't know why.






I'm using eclipse 3.5 (Galileo) 'Run configuration' to build my  
application which uses GWT 1.7






I'm sorry to be so descriptive but I really want you to understand what  
I'm doing and to get some help.










Following is my folder structure 










Current existing Project :-







-src




--main




---java




com




-




--










New GWT folders in the same above existing project :-







-src




--main




---java




(MyApplication.gwt.xml)




com




-gwtAppl




--client




--server










Build ( Output Folders )







-build




--classes




---com




.









My eclipse's 'Run configuration' class-path contains all the gwt-xxx.jars  
and according to above folder structure, the entries like ...




Re: RPC vs HTTP requests

2010-01-06 Thread Thomas Broyer

On Jan 6, 7:48 am, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:
 Hi Jeff,

 I didn't try it yet, but a subclass of JavaScriptOject should
 be instantiated by 'GWT.create(Report.class)'. Gin resolves these
 dependencies automatically without any configuration (the same with
 Constants for i18n, ImageBundles, etc.). You can additionally try
 'bind(Report.class).in(Singleton.class)' (I had problems using Singleton
 annotations in the past).

It won't work. I mean, GWT.create(someJSO.class) won't work. You just
cannot instantiate a JSO, though you can eventually cast() a
JavaScriptObject.createObject() or JavaScriptObject.createArray().

 I think, it should work, but even a Factory class that does the
 instantiation an returns a singleton object might be better than using
 native JavaScript to bind it to $wnd object, since it's important to hold
 everything in the GWT 'sandbox'.

Yes, a Provider would be the way to go.

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




Re: Standards mode requirement for GWT 2.0

2010-01-06 Thread Thomas Broyer


On Jan 6, 2:48 am, N G nistar...@gmail.com wrote:
 Does DockLayoutPanel and SplitLayoutPanel require the page to be in
 standards mode? Does this also apply to the RootLayoutPanel?

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




Re: TabLayoutPanel with default styles not working on IE.

2010-01-06 Thread Alejandro D. Garin
Hi,

Check this issue:

http://code.google.com/p/google-web-toolkit/issues/detail?id=4447

On Wed, Jan 6, 2010 at 8:40 AM, mariyan nenchev
nenchev.mari...@gmail.comwrote:

 Hi,

 I am really frustrated from this TabLayoutPanel.
 It is even not displayed with its default style(which is none) in IE.

 If some one has woring TabLayoutPanel on IE, please send me some example.
 I attached my.

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


-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



What's a good graph/chart library

2010-01-06 Thread darkling
I'm looking to build charts for my current application. These charts
aren't incredibly complex but they do have 2 Y axises and require me
to do a mix of bar and line graphs on a single chart. Basically the
left Y axis should represent the line graph while the right y axis
should present the bar graph. CAn anyone recommend a good library or
subsytem that will do this for GWT?
Thanks
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Storing Google Map Markers

2010-01-06 Thread sam
Previously, I stored Google Map points (lat, long) and other info at a
certain location in mysql table from GWT via RPC.

Now, I want to make it independent of external stuff like mysql. What
is the best way to store the data in GWT? Can anyone guide me to the
procedure and means?

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




Re: Twitter Emulation Using GWT

2010-01-06 Thread Prashant
Awesome! I'll be grateful to have the code!! :)

Also, your interface is reading from Twitter. I was looking at reading
from a database on the server side and sending it to the client. How
can I go about that?

On Dec 27 2009, 4:27 pm, Nicolas Wetzel wetz...@gmail.com wrote:
 go on thewww.awdio.com, I've done this if you want the code i can give you
 it

 On Fri, Dec 25, 2009 at 3:54 PM, Prashant kv.prs...@gmail.com wrote:
  Hey all,

  I read this wonderful article on Nettuts called Twitter Emulation
  Using MooTools 1.2 and PHP. I love Mootools and am comfortable with
  PHP. I wanted to know how to emulate Twitter as done using PHP and
  Mootools. The scenario is the same.

  A text box is provided for input and a button to submit the text.
  There are click and key handlers provided. Now my query is how can one
  go about adding the text in display. What element could be used? I
  thought of a list box but it doesn't give the Twitter list effect. I
  thought of using HTML and adding any text dynamically but this is
  where everything is coming to a halt. Unable to understand how to go
  about this.

  Any help will be greatly appreciated.

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




Re: TabLayoutPanel with default styles not working on IE.

2010-01-06 Thread mariyan nenchev
Hi,

I saw, this, but i can't even make the TabLayoutPanel to be visible. For
unknown reason one of the divs has overflow:hidden and the tap is not
displayed.
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Should DecoratorPanel implement ProvidesResize?

2010-01-06 Thread Matt Moriarity
Perhaps we need an equivalent DecoratorLayoutPanel. Only LayoutPanels
seem to implement ProvidesResize.

On Jan 5, 12:13 pm, huherto humbe...@itbrain.com.mx wrote:
 I am trying to find a solution for 
 this.http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

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




Re: GWT 2.0 w/ IntelliJ IDEA 7.0.5

2010-01-06 Thread Matt Moriarity
If you really want decent IntelliJ GWT support, you should probably
upgrade to IDEA 9.0, which added explicit support for GWT 2.0 and GWT
1.7.

On Jan 5, 4:17 am, Steve Sinai ssi...@yahoo.com wrote:
 Up until now I've used Eclipse for writing occasional GWT apps, but
 I'm not an Eclipse expert and am much more comfortable using Intellij
 for development. I thought I'd see how well IntelliJ 7.0.5 works for
 developing some toy GWT 1.7 apps, and except for a few warning
 messages, it seems to works fine.

 Then I gave GWT 2.0 a try with IntelliJ 7.0.5 to see what happens, and
 got the error messages posted below when building a little, default
 Hello World! program that had worked using GWT 1.7.  In trying to
 figure out the problem, I came across an old post somewhere that
 suggested older versions of IntelliJ wouldn't work with later versions
 of GWT, but it wasn't clear which versions numbers they were talking
 about, or even if this was true. The errors below look to be XML
 Parser-related, but I don't know if there's a way I can point to a
 different parser, or if the problem is actually something else.

 So my question is...is it possible to develop with GWT 2 using
 IntelliJ 7.0.5? I'd rather not spend time on something that ultimately
 turns out to be futile, and when I asked the question over on the
 IntelliJ forum, I didn't get a response. Thanks.

 Information:Compilation completed with 42 errors and 0 warnings
 Information:42 errors
 Information:0 warnings
 Error:[ERROR] Line 23: Unexpected element 'define-configuration-
 property'
 Error:Failure while parsing XML
 Error:at com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedElement
 (DefaultSchema.java:80)
 Error:at com.google.gwt.dev.util.xml.Schema.onUnexpectedElement
 (Schema.java:93)
 Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement
 (ReflectiveParser.java:186)
 Error:at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
 (AbstractSAXParser.java:501)
 Error:at
 com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement
 (AbstractXMLDocumentParser.java:179)
 Error:at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement
 (XMLDocumentFragmentScannerImpl.java:1339)
 Error:at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
 $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
 Error:at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
 (XMLDocumentScannerImpl.java:648)
 Error:at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
 (XMLDocumentFragmentScannerImpl.java:510)
 Error:at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
 (XML11Configuration.java:807)
 Error:at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
 (XML11Configuration.java:737)
 Error:at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
 (XMLParser.java:107)
 Error:at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
 (AbstractSAXParser.java:1205)
 Error:at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
 $JAXPSAXParser.parse(SAXParserImpl.java:522)
 Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
 (ReflectiveParser.java:314)
 Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100
 (ReflectiveParser.java:48)
 Error:at com.google.gwt.dev.util.xml.ReflectiveParser.parse
 (ReflectiveParser.java:385)
 Error:at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
 (ModuleDefLoader.java:243)
 Error:at com.google.gwt.dev.cfg.ModuleDefSchema
 $BodySchema.__inherits_begin(ModuleDefSchema.java:212)
 Error:at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 Error:at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.java:39)
 Error:at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)
 Error:at java.lang.reflect.Method.invoke(Method.java:597)
 Error:at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
 (HandlerMethod.java:223)
 Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement
 (ReflectiveParser.java:257)
 Error:at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
 (ModuleDefLoader.java:155)
 Error:at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
 (ModuleDefLoader.java:269)
 Error:at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
 (ModuleDefLoader.java:127)
 Error:at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:148)
 Error:at com.google.gwt.dev.GWTCompiler$1.run(GWTCompiler.java:119)
 Error:at com.google.gwt.dev.CompileTaskRunner.doRun
 (CompileTaskRunner.java:88)
 Error:at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
 (CompileTaskRunner.java:82)
 Error:at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:126)
 Error:[ERROR] Line 24: Unexpected exception while processing element
 'inherits'
 Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
 

UiBinder MenuBar

2010-01-06 Thread rmuller
Is there a way the set the Command property of the MenuItem when the
menu is declared by UiBinder?
Of cause i can declare a UiField for every MenuItem. But that is not
what I want.

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




Re: What's a good graph/chart library

2010-01-06 Thread Chris Ramsdale
There are several out there. You might want to check out:

http://code.google.com/p/gwt-chronoscope/


On Wed, Jan 6, 2010 at 8:30 AM, darkling darkling...@aol.com wrote:

 I'm looking to build charts for my current application. These charts
 aren't incredibly complex but they do have 2 Y axises and require me
 to do a mix of bar and line graphs on a single chart. Basically the
 left Y axis should represent the line graph while the right y axis
 should present the bar graph. CAn anyone recommend a good library or
 subsytem that will do this for GWT?
 Thanks

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




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Storing Google Map Markers

2010-01-06 Thread Deanna Bonds
Because of the number of significant digits in a lat,lng -  I
converted the array of map markers to JSON in the client and kept it a
string all the way to the database.  That way I never lost any
precision, which I did if I tried to parse the JSON to native data
types in any layer.

On Jan 6, 7:33 am, sam sabir...@gmail.com wrote:
 Previously, I stored Google Map points (lat, long) and other info at a
 certain location in mysql table from GWT via RPC.

 Now, I want to make it independent of external stuff like mysql. What
 is the best way to store the data in GWT? Can anyone guide me to the
 procedure and means?

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




Re: RPC vs HTTP requests

2010-01-06 Thread Jeff Chimene
On Wed, Jan 6, 2010 at 4:33 AM, Thomas Broyer t.bro...@gmail.com wrote:


 On Jan 6, 7:48 am, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:
  Hi Jeff,
 
  I didn't try it yet, but a subclass of JavaScriptOject should
  be instantiated by 'GWT.create(Report.class)'. Gin resolves these
  dependencies automatically without any configuration (the same with
  Constants for i18n, ImageBundles, etc.). You can additionally try
  'bind(Report.class).in(Singleton.class)' (I had problems using Singleton
  annotations in the past).

 It won't work. I mean, GWT.create(someJSO.class) won't work. You just
 cannot instantiate a JSO, though you can eventually cast() a
 JavaScriptObject.createObject() or JavaScriptObject.createArray().

  I think, it should work, but even a Factory class that does the
  instantiation an returns a singleton object might be better than using
  native JavaScript to bind it to $wnd object, since it's important to hold
  everything in the GWT 'sandbox'.

 Yes, a Provider would be the way to go.


Hi Thomas,

Yes, we've had this discussion in the past. Providers are a good solution.

I understand that

Report report = obj.getJavaScriptObject().cast();

followed by

report.getName()

is sufficient.

I have gotten Providers to work in the past.

However, I want any  JSO to work reliably and with the same pattern. I found
I needed a $wnd object to achieve such consistency. For that reason, the
Provider seems redundant (since I'm already creating a static (via GWT
$wnd, not the Java storage qualifier) object and static get()/set() methods
on that object). Note that field references (name, address, c) are not
static;just the getter/setter on the base object.

Note also that I implement a MockReader and MockWriter w/ such objects. The
underlying JSO does not change, only the routine that supplies/retrieves
data using such objects. That was another reason to select this technique. I
found thst writing the object in a MockWriter and reading it in a MockReader
was impossible w/o $wnd esp. when mocking XHR methods.





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




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: test folder not included in the Java Build Path Source

2010-01-06 Thread Chris Ramsdale
You're not doing anything wrong, this should work in a more automated
fashion. Would you mind entering an issue?

http://code.google.com/p/google-web-toolkit/issues/list

- Chris

On Tue, Jan 5, 2010 at 6:19 PM, Pion onlee2...@gmail.com wrote:

 I am using GWT 2.0 plugins on Eclipse Galileo.

 After invoking the New Application Project and follow its
 instructions, it created standard src, test, war, etc folders.

 One thing I notice (even in GWT 1.x), the test folder is not included
 in the Java Build Path Source.

 I have to do the following:

 o Right-click on my project name - Build Path - Configure Build
 Path. Java Build Path dialog box shows up.
 o Click on the Java Build Path on the left panel
 o It only shows MyProjectName/src
 o Click Add Folder ... button
 o Select test folder

 Is this supposed to be like this? Is it a bug? Is my environment
 wrong? Am I doing something wrong?

 Thanks in advance for your help.

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




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What's a good graph/chart library

2010-01-06 Thread darkling
I've examined quite a few but I was curious if any are gaining
widespread acceptance for best at what I need. I've been
experimenting with gchart but I'm finding it awkward to use in some
cases.
Any advice would be great
Thanks

On Jan 6, 10:03 am, Chris Ramsdale cramsd...@google.com wrote:
 There are several out there. You might want to check out:

 http://code.google.com/p/gwt-chronoscope/



 On Wed, Jan 6, 2010 at 8:30 AM, darkling darkling...@aol.com wrote:
  I'm looking to build charts for my current application. These charts
  aren't incredibly complex but they do have 2 Y axises and require me
  to do a mix of bar and line graphs on a single chart. Basically the
  left Y axis should represent the line graph while the right y axis
  should present the bar graph. CAn anyone recommend a good library or
  subsytem that will do this for GWT?
  Thanks

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubs­cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.- 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0: Debug with Firefox and Eclipse

2010-01-06 Thread Rogério Valente
Check if the message below is on console output.

[WARN] The class com.google.gwt.dev.HostedMode is deprecated and will
be removed --
use com.google.gwt.dev.DevMode instead.

If the message is present on your console, change your main class from
com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
And if the problem persist, check the Compile  Debug tips in this
url : 
http://code.google.com/intl/pt-BR/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideDevMode

I did make the upgrade to 2.0 version and the debug is working
fine. :-)

Cheers.


On 6 jan, 11:32, Ashar Lohmar asharloh...@gmail.com wrote:
 do you have the ?gwt.codesvr=localhost:9997 added to your urls?!
 usually that's the problem ... if you do have the parameter and still
 no debuging ... then i don't know

 On Jan 6, 3:52 am, y y...@cs.washington.edu wrote:

  Anyone managed to debug with GWT 2.0? I don't get a prompt to install
  the developer plugin. Even when I installed it manually, nothing
  happens. Breakpoints just don't halt the running.

  Mac 10.6 (updated to the latest), Eclipse 3.5.1, Java 1.6.0
  Tried with the latest stable Firefox and Chrome

  On Jan 5, 10:45 am, y y...@cs.washington.edu wrote:

   When GWT was working with its internal browser, debugging from Eclipse
   was simple. I just marked the breakpoints and ran as debug. However,
   it doesn't seem to work with GWT 2.0 and Firefox. Any idea what am I
   missing?

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




Upgraded to GWT 2, tests now time out

2010-01-06 Thread Jon Vaughan
Hi,

I recently upgraded to GWT 2 from 1.5.x.  My tests, for some reason,
are now failing when I run them from Ant:

run-gwt-tests:
[junit] WARNING: multiple versions of ant detected in path for
junit
[junit]  jar:file:/C:/Program%20Files/eclipse/plugins/
org.apache.ant_1.7.1.v20090120-1145/lib/ant.jar!/org/apache/tools/ant/
Project.class
[junit]  and jar:file:/C:/_code/bionicbooks/lib/build-Windows/
gwt-dev-2.0.0.jar!/org/apache/tools/ant/Project.class
[junit] Running
com.monksvaughan.accounts.test.ui.JUnitDropDownControls
[junit]  - 1 client(s) haven't responded back to JUnitShell since
the start of the test.
[junit]  Actual time elapsed: 60.035 seconds.
[junit] )

BUILD FAILED

When I run the same test using the GWT eclipse plugin, it works
without a problem.  My Junit task is very simple:

target name=run-gwt-tests
mkdir dir=${build}/testresults /
junit printsummary=yes haltonfailure=yes fork=true
classpath refid=test.class.path /
formatter type=xml/
batchtest todir=${build}/testresults
fileset dir=${test}
include name=**/ui/JUnit*.java/
/fileset
/batchtest
jvmarg value=-Xmx512m /
/junit
/target

So presumably this is a classpath problem.  The testing doc (http://
code.google.com/webtoolkit/doc/latest/DevGuideTesting.html) says it
should include:

Your project's src directory
Your project's bin directory
The gwt-user.jar library
The gwt-dev.jar library
The junit.jar library

Which my test.class.path includes (I have double checked with -v)

Anybody have any ideas or seen something similar?  It's not the 2 Ant
versions is it?  I am currently using Junit 3.8.1 rather than JUnit 4,
but presumably that isn't the issue either.  Thoughts gratefully
received.

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




Re: Slowdown of GWT while loading

2010-01-06 Thread George Georgovassilis
Hi Raul,

If you can't modify the server.xml then you have still two ways to
compress the html.

1. Use a filter. You can specify a filter in your web.xml and compress
all static content on the fly. Bad for server side performance, but it
will do the trick.
2. gzip the .cache.html files on the disk and put a filter in web.xml
that will just set the correct headers.

On Jan 6, 3:20 pm, Raul raahoo...@gmail.com wrote:
 Thank you Sripathi Krishnan, aditya and Fazeel Kazi

 Yeah you are right.. I had pretty Compilation so why all
 my .cache.html files were large in volume.
 after compiling with OBS, the size gets reduced much.
 Later I tried Tomcat Compressing option,, by modifying the Server.xml
 file and put the following options to Catellina tag:

 compression=on
 compressionMinSize=2048
 noCompressionUserAgents=gozilla, traviata
 compressableMimeType=text/html, text/xml, text/javascript,
 application/javascript

 The performance is much better now, But I am not sure whether I will
 get permission to modify the Tomcat Server.xml file, when I go to
 deply it in Web.

 I have not tried the code-splitting methodology yet as I am using
 GWT1.7
 But I shall work on it, as I would towards code finalizing.

 Thanks for your Kind Co operation
 Raul

 On Jan 4, 11:57 pm, aditya ch adityac1...@gmail.com wrote:

  First of all, ensure you have enabled 'obfuscated' flag while doing
  the GWT compilation which would hopefully reduce the size of the
  '.cache.html' files that gets generated.
  And if you are using latest version of GWT i.e. 2.0, try code
  splitting and load the code only when it's required.
  Please revert back if you still couldn't see much variations.

  On Jan 5, 5:27 am, Raul raahoo...@gmail.com wrote:

   Hello all,

   I am developing a Database application using GWT. From very initial
   stage I was having slow loading problem in my app and now, as the
   volume and number of files gradually increasing, it is becoming
   worsened in terms of loading. Now my application is taking more than a
   minute, sometimes even more than 2 minutes to load the application in
   client.

   I have modified my coding style by best possible way I can, but it is
   not helping me out any ways to reduce the loading time.

   I have 6 .cache.html file in my application_name folder [which are
   generated by GWT compiler] each having average 7.5 MB in size.

   Please help me out in this issue, otherwise choosing GWT for building
   my application will turns out to be a wrong decision.

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




Re: test folder not included in the Java Build Path Source

2010-01-06 Thread Thomas Broyer


On Jan 6, 4:15 pm, Chris Ramsdale cramsd...@google.com wrote:
 You're not doing anything wrong, this should work in a more automated
 fashion.

On the other hand, it shouldn't be included in the build path when you
hit compile or run web application because you usually:
 - put tests in the same package as the class under test
 - you generally don't inherit name=com.google.gwt.junit.JUnit /
because it's done automatically when running the tests
So having the tests including in the compile and run build path
would lead to loads of warnings about GWTTestCase's source code not
being available.

Is there a way for an Eclipse plug-in to mark a folder as a tests
source folder? (to distinguish it from a normal source folder; so
it could be easy to remove such folders from build path during compile/
run while still making it possible to customize your project layout
(vs. having test being hard-coded as an exclusion in compile/run)).

For instance, we do have 2 such test folders, one for plain java
tests and the other for GWTTestCase tests. They're in the build path
and we just don't use the plug-in builtin's compile and run
facilities (well, we do use run as web application and run as GWT
JUnit kind of launches but we tweaked the classpath to remove the
offending folders)
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Should DecoratorPanel implement ProvidesResize?

2010-01-06 Thread huherto
On Jan 6, 7:32 am, Matt Moriarity matt.moriar...@gmail.com wrote:
 Perhaps we need an equivalent DecoratorLayoutPanel. Only LayoutPanels
 seem to implement ProvidesResize.

Thanks Matt.  May be we do. Also DecoratorPanel is implemented using
tables. Perhaps such DecoratorLayoutPanel should be implemented using
divs.  tables seem to have some special quirks.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: test folder not included in the Java Build Path Source

2010-01-06 Thread Miguel Méndez
On Wed, Jan 6, 2010 at 11:11 AM, Thomas Broyer t.bro...@gmail.com wrote:



 On Jan 6, 4:15 pm, Chris Ramsdale cramsd...@google.com wrote:
  You're not doing anything wrong, this should work in a more automated
  fashion.

 On the other hand, it shouldn't be included in the build path when you
 hit compile or run web application because you usually:
  - put tests in the same package as the class under test
  - you generally don't inherit name=com.google.gwt.junit.JUnit /
 because it's done automatically when running the tests
 So having the tests including in the compile and run build path
 would lead to loads of warnings about GWTTestCase's source code not
 being available.


This was the main motivation for not including the test source in the
Run/Debug As Web App launch configurations.


 Is there a way for an Eclipse plug-in to mark a folder as a tests
 source folder? (to distinguish it from a normal source folder; so
 it could be easy to remove such folders from build path during compile/
 run while still making it possible to customize your project layout
 (vs. having test being hard-coded as an exclusion in compile/run)).

 For instance, we do have 2 such test folders, one for plain java
 tests and the other for GWTTestCase tests. They're in the build path
 and we just don't use the plug-in builtin's compile and run
 facilities (well, we do use run as web application and run as GWT
 JUnit kind of launches but we tweaked the classpath to remove the
 offending folders)


We have discussed adding the capability to mark folders as source or tests,
etc., but have not added it yet.  I don't recall if there is an issue in the
public issue tracker for this yet.


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






-- 
Miguel
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Use smartgwt or not

2010-01-06 Thread huherto
I will be taking a look at QxWT. I still think there is a need for a
good widget library. I've been looking for alternatives. I used mygwt
but stop using it when they did the bait and switch lat year. I lost
several months of work and I'm still pissed. Also, I don't like that
they try to redo the GWT layouts and they changed JFace model just to
do the bait and switch.

Right, now I am using plain GWT widgets. But it is harder to make them
look good if you are not a designer.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
i have a presentation tomorrow and every thing works great i am using
gwt 2.0 but when i compile and run from the compiled version all of
the http request does not work
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: pls help !!!!!!!!!!

2010-01-06 Thread olivier nouguier
You should use firebug to learn more !

On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com wrote:

 i have a presentation tomorrow and every thing works great i am using
 gwt 2.0 but when i compile and run from the compiled version all of
 the http request does not work

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






-- 
A coward is incapable of exhibiting love; it is the prerogative of the
brave.
--
Mohandas Gandhi
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
i use it and no errors there also i am accessing php pages threw http
request the php works ok and when i use it in hosted mode every thing
is great but when i use it in compile nothing works

On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
wrote:
 You should use firebug to learn more !



 On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com wrote:
  i have a presentation tomorrow and every thing works great i am using
  gwt 2.0 but when i compile and run from the compiled version all of
  the http request does not work

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

 --
 A coward is incapable of exhibiting love; it is the prerogative of the
 brave.
 --
 Mohandas Gandhi
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: pls help !!!!!!!!!!

2010-01-06 Thread olivier nouguier
euh your backend is full php ? If true I have no knowlegde :(

On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com wrote:

 i use it and no errors there also i am accessing php pages threw http
 request the php works ok and when i use it in hosted mode every thing
 is great but when i use it in compile nothing works

 On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
 wrote:
  You should use firebug to learn more !
 
 
 
  On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com
 wrote:
   i have a presentation tomorrow and every thing works great i am using
   gwt 2.0 but when i compile and run from the compiled version all of
   the http request does not work
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  A coward is incapable of exhibiting love; it is the prerogative of the
  brave.
  --
  Mohandas Gandhi

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






-- 
A coward is incapable of exhibiting love; it is the prerogative of the
brave.
--
Mohandas Gandhi
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: test folder not included in the Java Build Path Source

2010-01-06 Thread Pion
I just filed it as issue 4454

http://code.google.com/p/google-web-toolkit/issues/detail?id=4454

On Jan 6, 7:15 am, Chris Ramsdale cramsd...@google.com wrote:
 You're not doing anything wrong, this should work in a more automated
 fashion. Would you mind entering an issue?

 http://code.google.com/p/google-web-toolkit/issues/list

 - Chris

 On Tue, Jan 5, 2010 at 6:19 PM, Pion onlee2...@gmail.com wrote:
  I am using GWT 2.0 plugins on Eclipse Galileo.

  After invoking the New Application Project and follow its
  instructions, it created standard src, test, war, etc folders.

  One thing I notice (even in GWT 1.x), the test folder is not included
  in the Java Build Path Source.

  I have to do the following:

  o Right-click on my project name - Build Path - Configure Build
  Path. Java Build Path dialog box shows up.
  o Click on the Java Build Path on the left panel
  o It only shows MyProjectName/src
  o Click Add Folder ... button
  o Select test folder

  Is this supposed to be like this? Is it a bug? Is my environment
  wrong? Am I doing something wrong?

  Thanks in advance for your help.

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




Re: pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
i am also using smart gwt could this be the reason for  my problems?

On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
wrote:
 euh your backend is full php ? If true I have no knowlegde :(



 On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com wrote:
  i use it and no errors there also i am accessing php pages threw http
  request the php works ok and when i use it in hosted mode every thing
  is great but when i use it in compile nothing works

  On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
  wrote:
   You should use firebug to learn more !

   On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com
  wrote:
i have a presentation tomorrow and every thing works great i am using
gwt 2.0 but when i compile and run from the compiled version all of
the http request does not work

--
You received this message because you are subscribed to the Google
  Groups
Google Web Toolkit group.
To post to this group, send email to
  google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.

   --
   A coward is incapable of exhibiting love; it is the prerogative of the
   brave.
   --
   Mohandas Gandhi

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

 --
 A coward is incapable of exhibiting love; it is the prerogative of the
 brave.
 --
 Mohandas Gandhi
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




How to exclude server-side jar file from GWT compile / validation

2010-01-06 Thread Rob Wood
In my GWT app my RemoteService implementation executes code from
abc.jar that has server-side only Java code.  I have included abc.jar
in my project's class path, but it does not belong to any module
inherited by this project's module.  When I run this app in Hosted
Mode I get tons of Error messages in the console for classes in
abc.jar, such as: Validating newly compiled units ... No source code
is available for type ...; did you forget to inherit a required
module?

Since these classes are server-side only the GWT compiler should not
be considering them at all.  What is curious is that on the server
side also I'm using some Spring jar files and GWT does not complain
about these.  The application runs in spite of these errors, but
writing them to the console really slows down debugging.
My environment: GWT 2.0, Eclipse 3.5 (SpringSource Tool Suite), JDK
1.5

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




Re: Use smartgwt or not

2010-01-06 Thread Open eSignForms
The list of widget libraries is exhausting mostly because it seems so retro.

If the desktop windowing world were this fragmented for GUIs, life would
have been harder.

And if developers had to worry about licensing issues to write GUIs, life
would have been harder.  Widget libraries needs to be standardized and
royalty free to win real mindshare.

Now we're back at that stage for Browser GUIs once again since plain HTML
markup is falling by the waysidecycling through trying to figure out
what GUI libraries too choose, with no clear market leaders that are
destined to be the winners.

So whatever you choose, it won't matter for long as the likelihood your
choice will be that winner is low.

With those grumbles in place, QxWT, like SmartGWT, is nice in that it at
least fits in the GWT world, but sadly they are not based on GWT's widgets
and panels and so development is impeded if you want to be firmly in the
Java/GWT camp and don't want to deal with changes, enhancements, etc. in
Javascript should you want different behaviors.

So what is best widget library that is purely in the GWT world?  That is
tricky indeed as I've found working through it all.  It's quite a task just
to analyze them all and determine which are pure GWT and which are GWT
wrappers around JS libraries or perhaps use entirely different schemes like
Vaadin that I'm not sure what exactly they do yet.

We still have not heard back from Ext GWT on their commercial licensing
terms, with the last word being that Ext reserves the right to define what a
developer means, though we've never heard of a license that does not
define such a basic term considering they license on a per developer
basis.  It is unnerving that they cannot just be clear, suggesting that
perhaps they'll just change their license terms in the future in unexpected
ways that could mean you are stuck using an old version of their library or
deal with the new terms whatever they may morph into.
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: MVP example on Wiki, completing the thought.

2010-01-06 Thread Chris Ramsdale
I went round and round about this one myself, but ultimately came to the
conclusion that you ether want a generalized representation of the model
that you pass to the view, or have the the presenter pass in an interface to
the view that is used when the view is ready to populate some widget with
data. If I understand him correctly, the generalized model is similar to
what Jocke pointed out. The callback interface, on the other hand,
simplifies the view, but it tends to lead to cases where the presenter has
intrinsic knowledge of how the view is laying out data, and to some extent
what controls are being used.

You can add layers of abstraction to solve the problem, but at some point
you have to realize that you *may* be making things harder to maintain.


On Tue, Jan 5, 2010 at 4:43 AM, jocke eriksson jock...@gmail.com wrote:

 I think a better solution would be setModel(TableModel model) where
 TableModel is an iterface, like the Swing TableModel. This way you will have
 a table that can display all sorts of domain objects.

 2010/1/5 Benju b...@fastcastmedia.com

 On the GWT wiki there is a new article (http://code.google.com/
 webtoolkit/doc/latest/tutorial/mvp-architecture.htmlhttp://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html)
 with good
 example of how MVP code should work.  I found the following quote
 interesting...

 Method setData() is a simple way of getting model data into the view
 without the view having intrinsic knowledge of the model itself

 In the example there is only one column of date in the contacts table/
 list which meant the view can draw itself based on a ListString.
 What if the view was meant to display multiple columns a ListString
 as seen in ContactsPresenter.fetchContactDetails would not work.

 I see three options...

 Change this to ListContactDetails but then the view references the
 model

 Create a new class like ContactDetailsRowData that is essential
 ContactDetails minus any non-viewed fields (ie: primary key).

 Break down each row in the table into it's own widget, this tends to
 get very messy though and seems hackish.

 I am currently leaning towards setting the view's data as a
 ListContactDetails and just making sure that the view only uses
 model data to display the user interface, it doesn't try to fire
 events like SelectionEventContactDetails but rather sticks to
 ClickHandlers and providing methods like getSelectedIndex().

 Any ideas?

 --

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



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

-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: TabLayoutPanel with default styles not working on IE.

2010-01-06 Thread Alejandro D. Garin
Are you using standard mode?

On Wed, Jan 6, 2010 at 11:17 AM, mariyan nenchev
nenchev.mari...@gmail.comwrote:

 Hi,

 I saw, this, but i can't even make the TabLayoutPanel to be visible. For
 unknown reason one of the divs has overflow:hidden and the tap is not
 displayed.

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


-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: TabLayoutPanel with default styles not working on IE.

2010-01-06 Thread mariyan nenchev
I don't know. How to check, how to change?
On Wed, Jan 6, 2010 at 7:39 PM, Alejandro D. Garin aga...@gmail.com wrote:

 Are you using standard mode?

 On Wed, Jan 6, 2010 at 11:17 AM, mariyan nenchev 
 nenchev.mari...@gmail.com wrote:

 Hi,

 I saw, this, but i can't even make the TabLayoutPanel to be visible. For
 unknown reason one of the divs has overflow:hidden and the tap is not
 displayed.

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



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


-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
how can it be that something runs great in hosted from the browser  it
self but dont work in compile ???

On Jan 6, 7:21 pm, ben fenster fenster@gmail.com wrote:
 i am also using smart gwt could this be the reason for  my problems?

 On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
 wrote:

  euh your backend is full php ? If true I have no knowlegde :(

  On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com wrote:
   i use it and no errors there also i am accessing php pages threw http
   request the php works ok and when i use it in hosted mode every thing
   is great but when i use it in compile nothing works

   On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
   wrote:
You should use firebug to learn more !

On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com
   wrote:
 i have a presentation tomorrow and every thing works great i am using
 gwt 2.0 but when i compile and run from the compiled version all of
 the http request does not work

 --
 You received this message because you are subscribed to the Google
   Groups
 Google Web Toolkit group.
 To post to this group, send email to
   google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

 .
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.

--
A coward is incapable of exhibiting love; it is the prerogative of the
brave.
--
Mohandas Gandhi

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

  --
  A coward is incapable of exhibiting love; it is the prerogative of the
  brave.
  --
  Mohandas Gandhi
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: pls help !!!!!!!!!!

2010-01-06 Thread mariyan nenchev
What do you mean by  all of the http request does not work

On Wed, Jan 6, 2010 at 7:49 PM, ben fenster fenster@gmail.com wrote:

 how can it be that something runs great in hosted from the browser  it
 self but dont work in compile ???

 On Jan 6, 7:21 pm, ben fenster fenster@gmail.com wrote:
  i am also using smart gwt could this be the reason for  my problems?
 
  On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
  wrote:
 
   euh your backend is full php ? If true I have no knowlegde :(
 
   On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com
 wrote:
i use it and no errors there also i am accessing php pages threw http
request the php works ok and when i use it in hosted mode every thing
is great but when i use it in compile nothing works
 
On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
wrote:
 You should use firebug to learn more !
 
 On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com
 
wrote:
  i have a presentation tomorrow and every thing works great i am
 using
  gwt 2.0 but when i compile and run from the compiled version all
 of
  the http request does not work
 
  --
  You received this message because you are subscribed to the
 Google
Groups
  Google Web Toolkit group.
  To post to this group, send email to
google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 
 
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 --
 A coward is incapable of exhibiting love; it is the prerogative of
 the
 brave.
 --
 Mohandas Gandhi
 
--
You received this message because you are subscribed to the Google
 Groups
Google Web Toolkit group.
To post to this group, send email to
 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.
 
   --
   A coward is incapable of exhibiting love; it is the prerogative of the
   brave.
   --
   Mohandas Gandhi

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




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What's a good graph/chart library

2010-01-06 Thread Alexander De Leon
gflot [1] is a GWT wrapper around the Flot javascript library. It is not as 
rich as gchart [2], but it is quite easy to use. 

Alex

[1] http://code.google.com/p/gflot/ 
[2] http://code.google.com/p/gchart/

On 06/01/2010, at 16:21, darkling wrote:

 I've examined quite a few but I was curious if any are gaining
 widespread acceptance for best at what I need. I've been
 experimenting with gchart but I'm finding it awkward to use in some
 cases.
 Any advice would be great
 Thanks
 
 On Jan 6, 10:03 am, Chris Ramsdale cramsd...@google.com wrote:
 There are several out there. You might want to check out:
 
 http://code.google.com/p/gwt-chronoscope/
 
 
 
 On Wed, Jan 6, 2010 at 8:30 AM, darkling darkling...@aol.com wrote:
 I'm looking to build charts for my current application. These charts
 aren't incredibly complex but they do have 2 Y axises and require me
 to do a mix of bar and line graphs on a single chart. Basically the
 left Y axis should represent the line graph while the right y axis
 should present the bar graph. CAn anyone recommend a good library or
 subsytem that will do this for GWT?
 Thanks
 
 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
 cr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.- 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 

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




Re: What's a good graph/chart library

2010-01-06 Thread Niklas Derouche
I would suggest using JFreeChart serverside. It's pretty straight forward
and as far
as I know there is no JS-based charting component that has the same range of
capabilities. But then again, if you are only looking to do dual y axis and
multiple
types then there might be something out there that does exactly that.

n.

On Wed, Jan 6, 2010 at 2:30 PM, darkling darkling...@aol.com wrote:

 I'm looking to build charts for my current application. These charts
 aren't incredibly complex but they do have 2 Y axises and require me
 to do a mix of bar and line graphs on a single chart. Basically the
 left Y axis should represent the line graph while the right y axis
 should present the bar graph. CAn anyone recommend a good library or
 subsytem that will do this for GWT?
 Thanks

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






-- 
---
Ave bossa nova, similis bossa seneca
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.0: Debug with Firefox and Eclipse

2010-01-06 Thread y
I opened a new project and it works fine. I am still trying to migrate
existing project. Any idea what I may be missing? I already switched
the SDK to 2.0

On Jan 6, 7:25 am, Rogério Valente rogerio.vale...@gmail.com wrote:
 Check if the message below is on console output.

 [WARN] The class com.google.gwt.dev.HostedMode is deprecated and will
 be removed --
 use com.google.gwt.dev.DevMode instead.

 If the message is present on your console, change your main class from
 com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
 And if the problem persist, check the Compile  Debug tips in this
 url :http://code.google.com/intl/pt-BR/webtoolkit/doc/latest/DevGuideCompi...

 I did make the upgrade to 2.0 version and the debug is working
 fine. :-)

 Cheers.

 On 6 jan, 11:32, Ashar Lohmar asharloh...@gmail.com wrote:

  do you have the ?gwt.codesvr=localhost:9997 added to your urls?!
  usually that's the problem ... if you do have the parameter and still
  no debuging ... then i don't know

  On Jan 6, 3:52 am, y y...@cs.washington.edu wrote:

   Anyone managed to debug with GWT 2.0? I don't get a prompt to install
   the developer plugin. Even when I installed it manually, nothing
   happens. Breakpoints just don't halt the running.

   Mac 10.6 (updated to the latest), Eclipse 3.5.1, Java 1.6.0
   Tried with the latest stable Firefox and Chrome

   On Jan 5, 10:45 am, y y...@cs.washington.edu wrote:

When GWT was working with its internal browser, debugging from Eclipse
was simple. I just marked the breakpoints and ran as debug. However,
it doesn't seem to work with GWT 2.0 and Firefox. Any idea what am I
missing?

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




Re: TabLayoutPanel with default styles not working on IE.

2010-01-06 Thread Alejandro D. Garin
use this doctype declaration at the top of your html

!doctype html

On Wed, Jan 6, 2010 at 2:46 PM, mariyan nenchev
nenchev.mari...@gmail.comwrote:


 I don't know. How to check, how to change?

 On Wed, Jan 6, 2010 at 7:39 PM, Alejandro D. Garin aga...@gmail.comwrote:

 Are you using standard mode?

 On Wed, Jan 6, 2010 at 11:17 AM, mariyan nenchev 
 nenchev.mari...@gmail.com wrote:

 Hi,

 I saw, this, but i can't even make the TabLayoutPanel to be visible. For
 unknown reason one of the divs has overflow:hidden and the tap is not
 displayed.

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



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



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


-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
i send them they work ok in hosted but in compiled when i get to check
status  i get exception the site is www.vzooo.com  if anyone can check
it out and see i will apreceate it

it is relly strange  i noticed that the gwt compile only compiles 5
out of 6 permutations but it says compiled ok  is ther a way to get
more detailed compile log

On Jan 6, 7:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote:
 What do you mean by  all of the http request does not work

 On Wed, Jan 6, 2010 at 7:49 PM, ben fenster fenster@gmail.com wrote:
  how can it be that something runs great in hosted from the browser  it
  self but dont work in compile ???

  On Jan 6, 7:21 pm, ben fenster fenster@gmail.com wrote:
   i am also using smart gwt could this be the reason for  my problems?

   On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
   wrote:

euh your backend is full php ? If true I have no knowlegde :(

On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com
  wrote:
 i use it and no errors there also i am accessing php pages threw http
 request the php works ok and when i use it in hosted mode every thing
 is great but when i use it in compile nothing works

 On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
 wrote:
  You should use firebug to learn more !

  On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com

 wrote:
   i have a presentation tomorrow and every thing works great i am
  using
   gwt 2.0 but when i compile and run from the compiled version all
  of
   the http request does not work

   --
   You received this message because you are subscribed to the
  Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
  google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com

   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  A coward is incapable of exhibiting love; it is the prerogative of
  the
  brave.
  --
  Mohandas Gandhi

 --
 You received this message because you are subscribed to the Google
  Groups
 Google Web Toolkit group.
 To post to this group, send email to
  google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

 .
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.

--
A coward is incapable of exhibiting love; it is the prerogative of the
brave.
--
Mohandas Gandhi

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




Re: How to exclude server-side jar file from GWT compile / validation

2010-01-06 Thread Rohit Bansal
Hi

I think there are client packages in your abc.jar. And GWT is giving
you warning about these client packages as on server there should not
be client packages.

Regards

Rohit

On Jan 6, 9:23 am, Rob Wood rob.a.w...@gmail.com wrote:
 In my GWT app my RemoteService implementation executes code from
 abc.jar that has server-side only Java code.  I have included abc.jar
 in my project's class path, but it does not belong to any module
 inherited by this project's module.  When I run this app in Hosted
 Mode I get tons of Error messages in the console for classes in
 abc.jar, such as: Validating newly compiled units ... No source code
 is available for type ...; did you forget to inherit a required
 module?

 Since these classes are server-side only the GWT compiler should not
 be considering them at all.  What is curious is that on the server
 side also I'm using some Spring jar files and GWT does not complain
 about these.  The application runs in spite of these errors, but
 writing them to the console really slows down debugging.
 My environment: GWT 2.0, Eclipse 3.5 (SpringSource Tool Suite), JDK
 1.5

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




Re: GWT 2.0: Debug with Firefox and Eclipse

2010-01-06 Thread y
OK. I got it fixed. Had to clean some stuff in the app's XML and class
path. Was a bit messy, but now it's working. Thank you all

On Jan 6, 7:25 am, Rogério Valente rogerio.vale...@gmail.com wrote:
 Check if the message below is on console output.

 [WARN] The class com.google.gwt.dev.HostedMode is deprecated and will
 be removed --
 use com.google.gwt.dev.DevMode instead.

 If the message is present on your console, change your main class from
 com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
 And if the problem persist, check the Compile  Debug tips in this
 url :http://code.google.com/intl/pt-BR/webtoolkit/doc/latest/DevGuideCompi...

 I did make the upgrade to 2.0 version and the debug is working
 fine. :-)

 Cheers.

 On 6 jan, 11:32, Ashar Lohmar asharloh...@gmail.com wrote:

  do you have the ?gwt.codesvr=localhost:9997 added to your urls?!
  usually that's the problem ... if you do have the parameter and still
  no debuging ... then i don't know

  On Jan 6, 3:52 am, y y...@cs.washington.edu wrote:

   Anyone managed to debug with GWT 2.0? I don't get a prompt to install
   the developer plugin. Even when I installed it manually, nothing
   happens. Breakpoints just don't halt the running.

   Mac 10.6 (updated to the latest), Eclipse 3.5.1, Java 1.6.0
   Tried with the latest stable Firefox and Chrome

   On Jan 5, 10:45 am, y y...@cs.washington.edu wrote:

When GWT was working with its internal browser, debugging from Eclipse
was simple. I just marked the breakpoints and ran as debug. However,
it doesn't seem to work with GWT 2.0 and Firefox. Any idea what am I
missing?

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




CustomHeader Widget for DisclosurePanel

2010-01-06 Thread Charan
I am trying to put in a custom widget for the header of
DisclosurePanel. How can I use the images (disclosurePanelOpen,
disclosurePanelClosed) that come with the SDK in the custom widget
class?

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




Re: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-06 Thread Bert
I'm experiencing the same problem.

On Dec 8 2009, 6:24 pm, Luis Fernando Planella Gonzalez
lfpg@gmail.com wrote:
 Hi.
 We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
 evaluate GWT.runAsync().

 However, now as I compile the app, I get warning for deprecations in
 all RPC methods which return collections. I guess it's because the
 result is declared as java.util.Collection, and the deprecated
 com.google.gwt.user.client.ui.*ListenerCollection classes extends
 ArrayList, making even the alternative to change the result of RPC
 methods to ArrayList instead of Collection don't work.

 The log is something like this, multiple times:
             [WARN] Warnings in 'generated://
 8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
 images/UserImageRemoteService_TypeSerializer.java'
                [WARN] Line 50: Referencing deprecated class
 'com.google.gwt.user.client.ui.ChangeListenerCollection'
                [WARN] Line 55: Referencing deprecated class
 'com.google.gwt.user.client.ui.ClickListenerCollection'
                [WARN] Line 60: Referencing deprecated class
 'com.google.gwt.user.client.ui.FocusListenerCollection'
                [WARN] Line 65: Referencing deprecated class
 'com.google.gwt.user.client.ui.FormHandlerCollection'
                [WARN] Line 70: Referencing deprecated class
 'com.google.gwt.user.client.ui.KeyboardListenerCollection'
                [WARN] Line 75: Referencing deprecated class
 'com.google.gwt.user.client.ui.LoadListenerCollection'
                [WARN] Line 80: Referencing deprecated class
 'com.google.gwt.user.client.ui.MouseListenerCollection'
                [WARN] Line 85: Referencing deprecated class
 'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
                [WARN] Line 90: Referencing deprecated class
 'com.google.gwt.user.client.ui.PopupListenerCollection'
                [WARN] Line 95: Referencing deprecated class
 'com.google.gwt.user.client.ui.ScrollListenerCollection'
                [WARN] Line 100: Referencing deprecated class
 'com.google.gwt.user.client.ui.TabListenerCollection'
                [WARN] Line 105: Referencing deprecated class
 'com.google.gwt.user.client.ui.TableListenerCollection'
                [WARN] Line 110: Referencing deprecated class
 'com.google.gwt.user.client.ui.TreeListenerCollection'
                See snapshot: /tmp/
 UserImageRemoteService_TypeSerializer2951604978153994580.java

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




Re: GWT 2.0: Debug with Firefox and Eclipse

2010-01-06 Thread Igor Ganapolsky
Did you try relaunching your application and Firefox after you
installed the plugin?

On Jan 5, 8:52 pm, y y...@cs.washington.edu wrote:
 Anyone managed to debug with GWT 2.0? I don't get a prompt to install
 the developer plugin. Even when I installed it manually, nothing
 happens. Breakpoints just don't halt the running.

 Mac 10.6 (updated to the latest), Eclipse 3.5.1, Java 1.6.0
 Tried with the latest stable Firefox and Chrome

 On Jan 5, 10:45 am, y y...@cs.washington.edu wrote:



  When GWT was working with its internal browser, debugging from Eclipse
  was simple. I just marked the breakpoints and ran as debug. However,
  it doesn't seem to work with GWT 2.0 and Firefox. Any idea what am I
  missing?

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




Eclipse + Windows 7 + GWT Debug As... doesn't work

2010-01-06 Thread itgch...@googlemail.com
Hello, i'm new in GWT Developping. So i installed on my Windows 7
Computer the Eclipse GWT plugin. All Works, can create Project's usw.
But then, when i want to Debug or run the Development Server i'm
always getting this error: Could not connect to remote UI listening at
localhost:49409. Using default UI instead. (or other ports) Then a UI
opened and there i can start a browser or can copy the link to my app:
http://localhost:/StockWatcher.html?
gwt.codesvr=10.33.229.113:9997 but this doesn't work.
I know that i make something wrong, but what is it?!
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Issue on JSORestrictionsChecker

2010-01-06 Thread Felipe Toledo
Hi all,

I am using JSO types as my model entities supertype. It was working
fine, until I add a new one. Apparently there is no reason to give me
this error. The stack trace is:


com.google.gwt.dev.jjs.InternalCompilerException: Already seen an
implementing JSO subtype (JsTask) for interface (IEntity) while
examining newly-added type (JsTestAssertive). This is a bug in
JSORestrictionsChecker.
at
com.google.gwt.core.ext.typeinfo.TypeOracle.computeSingleJsoImplData
(TypeOracle.java:702)
at com.google.gwt.core.ext.typeinfo.TypeOracle.finish
(TypeOracle.java:362)
at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
(TypeOracleMediator.java:359)
at com.google.gwt.dev.javac.CompilationState.assimilateUnits
(CompilationState.java:135)
at com.google.gwt.dev.javac.CompilationState.init
(CompilationState.java:79)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
(CompilationStateBuilder.java:284)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
(CompilationStateBuilder.java:181)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
(ModuleDef.java:280)
at com.google.gwt.dev.DevModeBase
$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:97)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule
(OophmSessionHandler.java:180)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
(BrowserChannelServer.java:380)
at com.google.gwt.dev.shell.BrowserChannelServer.run
(BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:619)


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




Re: DockLayoutPanel inside custom DecoratorPanel

2010-01-06 Thread serveez
try
g:DockLayoutPanel height=100%

in firefox or chrome


On 2009年12月6日, 上午11时08分, Will wil...@gmail.com wrote:
 I am trying to create a custom DecoratorPanel that will work with
 DockLayoutPanel as the child widget.  I tried a normal DecoratorPanel
 and found that only Widgets in the North section of the
 DockLayoutPanel actually render.  I used FireBug to determine that the
 rest of the widgets are added to the DOM but are simply not rendering
 on the screen.
 I have also tried extending DecoratorPanel and implementing
 RequiresResize, ProvidesResize but that didn't help.  When I
 implemented the two interfaces my onResize was as follows:
 public void onResize() {
 if(getWidget() instanceof RequiresResize){
 ((RequiresResize)getWidget()).onResize();
 }
 }
 The if logic executes (I verified with a System.out.println) however
 the North section is still the only part that renders.  The
 DecoratorPanel is added to the DOM with:
 RootLayoutPanel.get().add(myPanel);
 I am going to test with other LayoutPanels and see if this problem is
 unique to DockLayoutPanel but I was curious if anyone else has
 encountered this or has any suggestions for how I might resolve the
 dilemma.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Problem: certain types of J2EE authentication with GWT 2.0 and Eclipse 3.5 plugin no longer work

2010-01-06 Thread Ian.G
Hi Folks - my first post on the discussion group so big thanks to
everyone involved in this great project.

We've recently moved up to GWT 2.0 from GWT 1.7 and everything has
gone quite smoothly so far.

One of the issues I have with the application I'm developing is that
it needs to be secured by J2EE security and correctly manage session
timeout etc.

I know there are lots of hazy bits of information about how/how not to
do this along with potential problems the developer faces with the GWT-
RPC interface calls from the client after the session has expired etc.
- but I think in GWT 1.7 we had a 99% working solution to this that
wasn't anything whacky like using client-side timers to keep the
session alive - I just need to continue on and complete it now we've
moved over to GWT 2.0

I'll describe the problem and to take away the need to understand
anything specific to my app so this can all be re-produced from a std
wizard-generated GWT project in ecliipse 3.5 (i.e. the Greeting sample
that gets built when you start a new project).  This sample wont
gracefully manage session expiry with GWT-RPC – but it will show a
problem that I think I've found with the GWT 2.0 eclipse plugin and
J2EE authentication.

This is the start of how I previously made GWT (before version 2.0)
use J2EE security - and get realm-based security working in the
Eclipse DEV environment (and thus whatever container we deploy into
for production systems from the app's .war file).

in the applications WEB-INF directory I have a jetty-web.xml that
contains the following:

?xml version=1.0?
!DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN
http://jetty.mortbay.org/configure.dtd;
Configure class=org.mortbay.jetty.webapp.WebAppContext
Get name=SecurityHandler
Call name=setUserRealm
Arg
!--  Hash File-based Security Realm --
New class=org.mortbay.jetty.security.HashUserRealm
Set name=nameSecurityTestRealm/Set
Set name=configSystemProperty 
name=jetty.home
default=.//WEB-INF/etc/realm.properties/Set
Set name=RefreshInterval5/Set
/New
/Arg
/Call
/Get
/Configure

This is obviously used to inject a security realm into the JeTTY
instance that runs within the Eclipse plugin for GWT.  This has always
worked perfectly on GWT 1.7 (using the old external hosted mode
runtime).

Then down in WEB-INF/etc/realm.properties we just add our users, and
role mappings as per the JeTTY documentation - for example:

username: password,testrole

At this point when I start the application I know the embedded JeTTY
server within the GWT plugin for eclipse is picking up the jetty-
web.xml file as it complains if the realm file can't be found if I
don't create it etc.

Obviously the next thing that needs to be done is plug in all the J2EE
security and session management stuff in the applications main
web.xml.  So based upon a wizard generated project you would end up
with something like:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
descriptionA sample GWT Application that makes use of J2EE security
and sessions/description

!-- Servlets --

servlet
servlet-namegreetServlet/servlet-name
servlet-
classuk.co.somecompany.securitytest.server.GreetingServiceImpl/
servlet-class
/servlet

servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/securitytest/greet/url-pattern
/servlet-mapping

!--Session Management --

session-config
session-timeout10/session-timeout
/session-config

!-- Default page to serve --

welcome-file-list
welcome-fileSecurityTest.html/welcome-file
/welcome-file-list

!--  Application Security --

security-constraint
display-nameSecurity/display-name
web-resource-collection
web-resource-nameSecurity/web-resource-name
descriptionThis Constraint works across the 
website/description
url-pattern/securitytest/*/url-pattern
url-pattern/SecurityTest.html/url-pattern
url-pattern/SecurityTest.css/url-pattern
/web-resource-collection
auth-constraint
role-nametestrole/role-name
/auth-constraint
/security-constraint

!-- This application uses FORM authentication --

login-config
auth-methodFORM/auth-method
realm-nameSecurityTestRealm/realm-name
form-login-config
   

deRPC issues

2010-01-06 Thread MikeN
Hi,

I think I've found two issues in the new deRPC code, but I would like
some confirmation before spamming the issuetracker. I'm using the GWT
2.0 release codebase, on various platforms.

The first issue is in RpcServlet. By default the code can't find the
*.gwt.rpc files (in production mode) if the webapp is not deployed at
the root of the server. When determining the path to the ModuleBase,
in getRequestModuleBasePath(), the code simply gets a client-side
header and strips the host and port part (isn't this a security issue
anyway?). Problem is, webapps/servlets don't have to be deployed to
the root of the server. When deployed at an other path, for instance /
webapps/myWebapp/, the client will send this in de ModuleBase header,
but it shouldn't be included in the getServletContext
().getResourceAsStream(resourcePath) call as the resourcePath. I
'fixed' this by overriding findClientOracleDate(), but that shouldn't
be necessary...

The next issue took me somewhat longer to debug. When using a custom
object, containing a bool, and sending that to the client and then
back to the server, deserialization at the serverside fails with a
ClassCastException (can't cast from Double to Boolean) (only in
production mode). This is because the bool gets send over as a double
(I see D1 in the request, instead of Z1). I'm not quite sure where the
problem is, probably somewhere in
CommandClientSerializationStreamWriter. I fixed it by using a Boolean
instead of a bool in my object.

Has anyone seen these bugs before, or is anyone able to reproduce
them?

Regards,

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




JsonpRequestBuilder only works across domains?

2010-01-06 Thread Ryan
Hi All,

I've been experimenting with the a href=http://google-web-
toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/
JsonpRequestBuilder.htmlJsonpRequestBuilder/a that comes with GWT
2.0 and it works fine when I connect to the Google calendar service
shown in docs but I'm having trouble with the response timing out when
I try to connect to a service running locally in the same gwt
application. Just as an experiment I stripped down the example to the
bare minimum, removing the JavaScript overlay class and came up with
this:

String url = http://www.google.com/calendar/feeds/developer-
calen...@google.com/public/full?alt=json-in-script;

JsonpRequestBuilder jsonp = new JsonpRequestBuilder();
jsonp.requestObject(url, new AsyncCallback() {
   public void onFailure(Throwable throwable) {
  Window.alert(Failed!  + throwable.toString());
   }

   public void onSuccess(Object feed) {
  Window.alert(Success!  + feed);
   }
});

The above works fine but when I change to url to:

http://localhost:/myapp/myapp?something;

I get the client side timeout even though the service is being
connected to is returning a result.

I should note that I'm able to contact the same service running
locally using the a href=http://google-web-toolkit.googlecode.com/
svn/javadoc/2.0/com/google/gwt/http/client/
RequestBuilder.htmlRequestBuilder/a.

Does the JsonpRequestBuilder only work when the service is located on
a different domain?

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0: Debug with Firefox and Eclipse

2010-01-06 Thread Igor Ganapolsky
Actually, I just relaunched the debugger and switched to debug mode,
and am now able to hit the breakpoints.

On Jan 5, 1:45 pm, y y...@cs.washington.edu wrote:
 When GWT was working with its internal browser, debugging from Eclipse
 was simple. I just marked the breakpoints and ran as debug. However,
 it doesn't seem to work with GWT 2.0 and Firefox. Any idea what am I
 missing?

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




JBoss Seam and GWT

2010-01-06 Thread Johnathan James
Hello..

I am looking for a good example of running a seam-gen application, and
adding a GWT view.

If you have one, or have been able to manipulate the
org.jboss.seam.example.remoting.gwt example from the Seam project, I
would appreciate your help.

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




Working in development mode in GWT with php

2010-01-06 Thread Skeezix
Hi,
  I've recently started on the Client-Server Communication part of
the tutorial of GWT.I've done everything that is said in the JSON
and JSON - PHP part of the tutorial, yet im unable to get the JSON
data from the php script.My setup uses XAMPP and the Stockwatcher
project is located at C:\xampp\htdocs\...so that makes the host page
at C:\xampp\htdocs\StockWatcher\war\ so is the stockPrices.php. When I
run the app in dev mode the stock changes wont show and I get an
exception..it says

16:53:00.079 [ERROR] [stockwatcher] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException:
(NS_ERROR_NOT_AVAILABLE): Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText]
 QueryInterface: function QueryInterface() {
[native code]
}
 result: 2147746065
 filename: http://localhost:
 lineNumber: 48
 columnNumber: 0
 inner: null
 data: null
 initialize: function initialize() {
[native code]
}
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
(BrowserChannelServer.java:195)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
(ModuleSpaceOOPHM.java:120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative
(ModuleSpace.java:507)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
(ModuleSpace.java:264)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
at sun.reflect.GeneratedMethodAccessor14.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.MethodDispatch.invoke
(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke
(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessages
(BrowserChannel.java:1668)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
(BrowserChannelServer.java:401)
at com.google.gwt.dev.shell.BrowserChannelServer.run
(BrowserChannelServer.java:222)
at java.lang.Thread.run(Unknown Source)

btw the JSON_URL that I used is http://localhost:8080/StockWatcher/
war/stockPrices.php?q=, since this is how I accessed the php script.
Hope someone can help.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0: Debug with Firefox and Eclipse

2010-01-06 Thread Igor Ganapolsky
It doesn't seem to hit breakpoints for me either.  Is it supposed to
debug with an external Firefox browser?


On Jan 5, 1:45 pm, y y...@cs.washington.edu wrote:
 When GWT was working with its internal browser, debugging from Eclipse
 was simple. I just marked the breakpoints and ran as debug. However,
 it doesn't seem to work with GWT 2.0 and Firefox. Any idea what am I
 missing?

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




Re: Issue on JSORestrictionsChecker

2010-01-06 Thread Felipe Toledo
interface IEntity {
int getX();
}

class A extends JavaScriptObject implements IEntity {
public int getX() { return Y(); }

public final native int Y() /*-{
return this.y;
}-*/;

}

class A extends JavaScriptObject implements IEntity {

public int getX() { return Z(); }

public final native int Z() /*-{
return this.z;
}-*/;
}

On Tue, Jan 5, 2010 at 2:53 PM, Felipe Toledo felipetgolive...@gmail.comwrote:

 Hi all,

 I am using JSO types as my model entities supertype. It was working
 fine, until I add a new one. Apparently there is no reason to give me
 this error. The stack trace is:


 com.google.gwt.dev.jjs.InternalCompilerException: Already seen an
 implementing JSO subtype (JsTask) for interface (IEntity) while
 examining newly-added type (JsTestAssertive). This is a bug in
 JSORestrictionsChecker.
at
 com.google.gwt.core.ext.typeinfo.TypeOracle.computeSingleJsoImplData
 (TypeOracle.java:702)
at com.google.gwt.core.ext.typeinfo.TypeOracle.finish
 (TypeOracle.java:362)
at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
 (TypeOracleMediator.java:359)
at com.google.gwt.dev.javac.CompilationState.assimilateUnits
 (CompilationState.java:135)
at com.google.gwt.dev.javac.CompilationState.init
 (CompilationState.java:79)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
 (CompilationStateBuilder.java:284)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
 (CompilationStateBuilder.java:181)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
 (ModuleDef.java:280)
at com.google.gwt.dev.DevModeBase
 $UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:97)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule
 (OophmSessionHandler.java:180)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
 (BrowserChannelServer.java:380)
at com.google.gwt.dev.shell.BrowserChannelServer.run
 (BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:619)


 Could anyone please help me?
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt and seam

2010-01-06 Thread Johnathan James
Yes, it gets compiled, but as a GWT project, not a Seam project.

Does anybody have any references for adding a GWT form with widgets,
and event handling, to a Seam-Gen created project? Would it be too
much to ask for that doc to use JBoss as the app server? Source code?

*crossing fingers*

On Dec 21 2009, 2:19 am, amicool shantanu.kulkarn...@gmail.com
wrote:
 Hi,

 If you are using eclipse then you shud create the web project by
 installing gwt plug in. Then add the pojo as per your requirement.
 After gwt plugin installed at eclipse you will find the GWT compiler
 icon left hand top corner.

 the project will get compiled.

 On Dec 20, 6:52 pm, zizou84 arous.ri...@gmail.com wrote:

  hi
  i would like to start an application withseamand GWT(POJO in my
  business code and GWT instead of JSF in the web part)
  i usedseam2.2.0 and GWT 2.0 and eclipse (with GWT plugin)
  i start by creating theseamapplication and when i would like to see
  if i can compile it to a GWT application i couldn't
  ( MyGwtSeamis not a GWT project)
  i don't know how to start
  what should i do?
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Where is the Widget Gallery

2010-01-06 Thread ojm
Hello, I'm BRAND SPANKIN' NEW to GWT. I've just installed Eclipse and
GWT and am working through the Getting Started tutorial. In one of
the steps, the tutorial says something like First, look at the Widget
Gallery and select the GWT widget for each UI element.  Since I'm
brand new to this stuff, I'm thinking to myselft WHERE THE HE*^%$ IS
THE Widget Gallery! I'm not seeing anything of the sort anywhere.

Help?

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




Shortcuts.java missing code

2010-01-06 Thread Igor Ganapolsky
I am following the GWT Getting Started guide at:
http://code.google.com/webtoolkit/doc/1.6/gettingstarted.html#Install
It states about Shortcuts.java:
Line 54 of the file is the line that constructs the Mail tab.
add(images, new Mailboxes(images), images.mailgroup(), Mail);

However, Shortcuts.java doesn't have this code.  In fact, here is the
entire class definition:
public class Shortcuts extends ResizeComposite {
  interface Binder extends UiBinderStackLayoutPanel, Shortcuts { }
  private static final Binder binder = GWT.create(Binder.class);
  @UiField Mailboxes mailboxes;
  @UiField Tasks tasks;
  @UiField Contacts contacts;
  /**
   * Constructs a new shortcuts widget using the specified images.
   *
   * @param images a bundle that provides the images for this widget
   */
  public Shortcuts() {
initWidget(binder.createAndBindUi(this));
  }
}

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




Google eclipse plugin terms question

2010-01-06 Thread Fred
Hi,

if (and it's a big if) I were about to create a m2eclipse project
configurator for Google Eclipse Plugin, it seems I'd have to ask
google first (http://code.google.com/eclipse/terms.html §9.1).
Do you know if accessing the plugin source code would be possible?

regards,

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




Re: HostedMode requires plugin for internal browser

2010-01-06 Thread gerryh
I had this same problem, and tried all the options described here (I
had even re-installed eclipse, plugin, etc. etc.).
I tried deleting hosted.html, cleaning and compiling, but I was still
getting the missing plugin message.
Finally, I went to IE and cleared the cache. This worked. Beware if
you feel like trying out GWT 2.0 SDK and need to return to 1.7.1!


On Dec 18 2009, 11:26 am, lazins...@gmail.com lazins...@gmail.com
wrote:
 sorry for broken link

 the right 
 one:https://groups.google.com/group/google-web-toolkit/browse_thread/thre...

 On 18 Gru, 17:25, lazins...@gmail.com lazins...@gmail.com wrote:



  Hi

  I found this 
  thread:https://groups.google.com/group/google-web-toolkit/browse_thread/thre...

  but for me just removing hosted.html file did not work, I copied
  hosted.html file from project in conf a) and it works, then just for
  sure I removed whole compiled module from war dir and recompiled it.
  Right know the problem is solved

  On 18 Gru, 15:23, lazins...@gmail.com lazins...@gmail.com wrote:

   Hi

   I have 3 different eclipse catalogs
   a) 3.3 with gwt eclipse plugin 1.1.2v200910130758 and gwt 1.7.1 SDK ,
   b) 3.4 with gwt eclipse plugin 1.1.2v200910130758 and gwt 1.7.1 SDK,
   c) 3.4 with gwt eclipse plugin 1.2.0v200912070510 and gwt2.0 SDK

   Right now I can not run hosted mode on conf b). I have massege that
   plugin is missing (like browser in gwt try to use IE engine and need
   plugin for development mode). When I install plugin for IE I have
   message that it cannot connect to code server but it is gwt 1.7.1 so
   this server does not exists.

   Can anybody know haw to fix this problem ? I need to have working conf
   b) and c). What is curious about this, conf a) works fine without any
   messages aboutmissing plugin.

   Another question

   I could just create another copy of pure eclipse 3.4 and install
   eclipse plugin but couldn't find site for older versions of eclipse
   plugin. Where it can be found ? (for update or download)
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




how to use CssResource.obfuscationPrefix to have semi-obfuscated css class name

2010-01-06 Thread emerix
Hi,
I found on this page
http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/DevGuideClientBundle.html#Selector_obfuscation
that you can use the property CssResource.obfuscationPrefix to choose
how to obfuscate your css selectors.
However I don't know if it is possible to use it to have a custom
obfuscation.
During the development phase, I'm using firebug to adjust padding,
margin... of my widgets and it became quite difficult with the
obsucated css class names...

What I would like is a way to have  .G1qdtwdtK-MyWidgetName instead
of .G1qdtwdtK for a css class named .MyWidgetName

Is that feasible ?

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




Binding Style Fields with UiBinder

2010-01-06 Thread GAbraham
I am trying to  access an inline Style in a programmatic way. I have
tried following the example in the developer guide.


From .xml file
ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
  xmlns:g='urn:import:com.google.gwt.user.client.ui'

  ui:style type='NotImportant.UserWidgetStyles'
   .test{background-color: red}

  /ui:style


  g:HorizontalPanel ui:field='listValuePanel'
g:Label ui:field='fName' /
g:Label ui:field='lName' /
  /g:HorizontalPanel
/ui:UiBinder


From .java file
interface UserWidgetBinder extends UiBinderWidget,UserWidget {}
  private static UserWidgetBinder uwBinder=GWT.create
(UserWidgetBinder.class);

interface UserWidgetStyles extends CssResource{
  String test();
  }

@UiField Label fName;

@UiField UserWidgetStyles stylegetter;

@UiField HorizontalPanel listValuePanel;

@UiField Label lName;

The error I am getting is:
no ui:field attribute for NotImportant.UserWidget#stylegetter

I believe I have followed the example correctly. Do I need to
explicitly indicate a binding in the xml file  for the stylegetter? If
so how do I do this? If not does anyone see what I am doing wrong?

Thanks for any help you can give.

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




SSL and built-in server

2010-01-06 Thread ZER0
Hi there,

First of all sorry for my english.
I wonder if it's possible setup the SSL in the built-in server of GWT;
or if the only solution is use the -noserver option.

If I'm correct GWT uses jetty, so I presume I have to save the
jetty.xml with the SSL connectors as explained here:

http://docs.codehaus.org/display/JETTY/Ssl+Connector+Guide

But I don't understand where is the right location for this file in
GWT environment.

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




Re: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-06 Thread Chris Ramsdale
Please star the issue and add any relevant data you may have.

- Chris

On Wed, Jan 6, 2010 at 8:14 AM, Bert roexb...@gmail.com wrote:

 I'm experiencing the same problem.

 On Dec 8 2009, 6:24 pm, Luis Fernando Planella Gonzalez
 lfpg@gmail.com wrote:
  Hi.
  We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
  evaluate GWT.runAsync().
 
  However, now as I compile the app, I get warning for deprecations in
  all RPC methods which return collections. I guess it's because the
  result is declared as java.util.Collection, and the deprecated
  com.google.gwt.user.client.ui.*ListenerCollection classes extends
  ArrayList, making even the alternative to change the result of RPC
  methods to ArrayList instead of Collection don't work.
 
  The log is something like this, multiple times:
  [WARN] Warnings in 'generated://
  8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
  images/UserImageRemoteService_TypeSerializer.java'
 [WARN] Line 50: Referencing deprecated class
  'com.google.gwt.user.client.ui.ChangeListenerCollection'
 [WARN] Line 55: Referencing deprecated class
  'com.google.gwt.user.client.ui.ClickListenerCollection'
 [WARN] Line 60: Referencing deprecated class
  'com.google.gwt.user.client.ui.FocusListenerCollection'
 [WARN] Line 65: Referencing deprecated class
  'com.google.gwt.user.client.ui.FormHandlerCollection'
 [WARN] Line 70: Referencing deprecated class
  'com.google.gwt.user.client.ui.KeyboardListenerCollection'
 [WARN] Line 75: Referencing deprecated class
  'com.google.gwt.user.client.ui.LoadListenerCollection'
 [WARN] Line 80: Referencing deprecated class
  'com.google.gwt.user.client.ui.MouseListenerCollection'
 [WARN] Line 85: Referencing deprecated class
  'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
 [WARN] Line 90: Referencing deprecated class
  'com.google.gwt.user.client.ui.PopupListenerCollection'
 [WARN] Line 95: Referencing deprecated class
  'com.google.gwt.user.client.ui.ScrollListenerCollection'
 [WARN] Line 100: Referencing deprecated class
  'com.google.gwt.user.client.ui.TabListenerCollection'
 [WARN] Line 105: Referencing deprecated class
  'com.google.gwt.user.client.ui.TableListenerCollection'
 [WARN] Line 110: Referencing deprecated class
  'com.google.gwt.user.client.ui.TreeListenerCollection'
 See snapshot: /tmp/
  UserImageRemoteService_TypeSerializer2951604978153994580.java
 
  Is there a way to remove those classes from being handled in RPC?

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




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: pls help !!!!!!!!!!

2010-01-06 Thread Sudeep S
use -style PRETTY and -logLevel DEBUG to get detailed messages

On Wed, Jan 6, 2010 at 11:33 PM, ben fenster fenster@gmail.com wrote:

 i send them they work ok in hosted but in compiled when i get to check
 status  i get exception the site is www.vzooo.com  if anyone can check
 it out and see i will apreceate it

 it is relly strange  i noticed that the gwt compile only compiles 5
 out of 6 permutations but it says compiled ok  is ther a way to get
 more detailed compile log

 On Jan 6, 7:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote:
  What do you mean by  all of the http request does not work
 
   On Wed, Jan 6, 2010 at 7:49 PM, ben fenster fenster@gmail.com
 wrote:
   how can it be that something runs great in hosted from the browser  it
   self but dont work in compile ???
 
   On Jan 6, 7:21 pm, ben fenster fenster@gmail.com wrote:
i am also using smart gwt could this be the reason for  my problems?
 
On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
wrote:
 
 euh your backend is full php ? If true I have no knowlegde :(
 
 On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com
 
   wrote:
  i use it and no errors there also i am accessing php pages threw
 http
  request the php works ok and when i use it in hosted mode every
 thing
  is great but when i use it in compile nothing works
 
  On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
  wrote:
   You should use firebug to learn more !
 
   On Wed, Jan 6, 2010 at 5:55 PM, ben fenster 
 fenster@gmail.com
 
  wrote:
i have a presentation tomorrow and every thing works great i
 am
   using
gwt 2.0 but when i compile and run from the compiled version
 all
   of
the http request does not work
 
--
You received this message because you are subscribed to the
   Google
  Groups
Google Web Toolkit group.
To post to this group, send email to
  google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 
 
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 
   google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 google-web-toolkit%25252bunsubscr...@googlegroups.comgoogle-web-toolkit%2525252bunsubscr...@googlegroups.com
 
  
.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.
 
   --
   A coward is incapable of exhibiting love; it is the prerogative
 of
   the
   brave.
   --
   Mohandas Gandhi
 
  --
  You received this message because you are subscribed to the
 Google
   Groups
  Google Web Toolkit group.
  To post to this group, send email to
   google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 
 
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 --
 A coward is incapable of exhibiting love; it is the prerogative of
 the
 brave.
 --
 Mohandas Gandhi
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 

Re: Page back color

2010-01-06 Thread ALEXEI BARBONI
All right

Itś working now

Thanks

2009/12/30 leslie web...@comcast.net

 Disregard my post.  Mine appears to be working now, having shut down
 everything for the night, restarted, recompiled, reloaded, it's
 working I can see that both the stylesheet and the standard theme are
 in effect.  It must have been a problem with my browser caching or
 something.

 --

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



-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 2.0 Eclipse Plugin Not Working

2010-01-06 Thread Hethcox
Hi,
I'm attempting to get my project working in GWT 2.0 under Eclipse 3.5
on Windows XP. The project was previously running under 1.7.
Everything is working except jetty under Eclipse. (I separately
compile and deploy the app to JBoss and it works fine). When I attempt
to debug the app under Eclipse (Debug As-Web Application) I get
nothing. It just sits there. Sometimes some text appears at startup in
the console, but it disappears immediately. There is no process bound
to the relevant port so I don't think jetty is starting.

I assume I'm supposed to get the same console that appears when you
run DevMode under java. Is that correct? Any thoughts?

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




Re: Where is the Widget Gallery

2010-01-06 Thread Paul Robinson
http://code.google.com/webtoolkit/doc/latest/RefWidgetGallery.html

ojm wrote:
 Hello, I'm BRAND SPANKIN' NEW to GWT. I've just installed Eclipse and
 GWT and am working through the Getting Started tutorial. In one of
 the steps, the tutorial says something like First, look at the Widget
 Gallery and select the GWT widget for each UI element.  Since I'm
 brand new to this stuff, I'm thinking to myselft WHERE THE HE*^%$ IS
 THE Widget Gallery! I'm not seeing anything of the sort anywhere.

 Help?

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




Re: Shortcuts.java missing code

2010-01-06 Thread Trevor Skaife
The problem is your reading a getting started guide for GWT 1.6 but
looking at GWT 2.0 examples.

On Jan 5, 4:18 pm, Igor Ganapolsky eazy...@gmail.com wrote:
 I am following the GWT Getting Started guide 
 at:http://code.google.com/webtoolkit/doc/1.6/gettingstarted.html#Install
 It states about Shortcuts.java:
 Line 54 of the file is the line that constructs the Mail tab.
 add(images, new Mailboxes(images), images.mailgroup(), Mail);

 However, Shortcuts.java doesn't have this code.  In fact, here is the
 entire class definition:
 public class Shortcuts extends ResizeComposite {
   interface Binder extends UiBinderStackLayoutPanel, Shortcuts { }
   private static final Binder binder = GWT.create(Binder.class);
   @UiField Mailboxes mailboxes;
   @UiField Tasks tasks;
   @UiField Contacts contacts;
   /**
    * Constructs a new shortcuts widget using the specified images.
    *
    * @param images a bundle that provides the images for this widget
    */
   public Shortcuts() {
     initWidget(binder.createAndBindUi(this));
   }

 }

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




UiBinder, can't even get to first base

2010-01-06 Thread John
I thought I'd try to figure out UiBinder, but I'm lost.  Played with
various tutorials and examples and finally I have striped things down
to what I believe is the bare minimum.

It started as the standard Eclipse plugin generated application, and I
have discarded virtually everything.

What's left is:

public class TestUi implements EntryPoint {

@UiTemplate(TestUi.ui.xml)
interface TestBinder extends UiBinderVerticalPanel, TestUi { }
private static TestBinder testBinder = GWT.create(TestBinder.class);

public void onModuleLoad() {

VerticalPanel vp = testBinder.createAndBindUi(this);
RootPanel.get().add(vp);
}
}
--
ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
 xmlns:g='urn:import:com.google.gwt.user.client.ui'

ui:style
.pretty { background-color: pink; }
/ui:style

g:VerticalPanel class='{style.pretty}' 
/g:VerticalPanel

/ui:UiBinder
-
?xml version=1.0 encoding=UTF-8?
module rename-to='testui'
  !-- Inherit the core Web Toolkit stuff.--
  inherits name='com.google.gwt.user.User'/

  inherits name='com.google.gwt.user.theme.standard.Standard'/

  !-- Other module inherits  --
  inherits name=com.google.gwt.uibinder.UiBinder /
  !-- Specify the app entry point class. --
  entry-point class='com.axxessible.testui.client.TestUi'/

  !-- Specify the paths for translatable code--
  source path='client'/

/module
-
errors during compile, the lines below are in exactly the sequence shown:
Invoking com.google.gwt.dev.javac.standardgeneratorcont...@45800894
   [ERROR] In g:VerticalPanel class='{style.pretty}',
class VerticalPanel has no appropriate setClass() method
   [ERROR] Errors in
'file:/home/john/workspace/TestUi/src/com/axxessible/testui/client/TestUi.java'
  [ERROR] Line 32:  Failed to resolve
'com.axxessible.testui.client.TestUi.TestBinder' via deferred binding

If I take out the class='' out of the g:VerticalPanel then it
compiles.  But if it's a panel widget, it should be able to set a
background-color, no?
I already know I'm doing something incredibly stupid, so I don't mind
if you skip telling me that part, and just tell me what it is!!
Thanks.

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




Re: pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
how can i work in hosted but not in compiled??

On Jan 6, 9:30 pm, Trevor Skaife tska...@gmail.com wrote:
 I went to your site and I see this error in Chrome Uncaught
 java.util.NoSuchElementException: forgot, if you compile using PRETTY
 you'd be able get a better understanding in your java code where the
 error occurs.

 Trevor

 On Jan 6, 1:10 pm, Sudeep S sudee...@gmail.com wrote:

  use -style PRETTY and -logLevel DEBUG to get detailed messages

  On Wed, Jan 6, 2010 at 11:33 PM, ben fenster fenster@gmail.com wrote:
   i send them they work ok in hosted but in compiled when i get to check
   status  i get exception the site iswww.vzooo.com if anyone can check
   it out and see i will apreceate it

   it is relly strange  i noticed that the gwt compile only compiles 5
   out of 6 permutations but it says compiled ok  is ther a way to get
   more detailed compile log

   On Jan 6, 7:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote:
What do you mean by  all of the http request does not work

     On Wed, Jan 6, 2010 at 7:49 PM, ben fenster fenster@gmail.com
   wrote:
 how can it be that something runs great in hosted from the browser  it
 self but dont work in compile ???

 On Jan 6, 7:21 pm, ben fenster fenster@gmail.com wrote:
  i am also using smart gwt could this be the reason for  my problems?

  On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
  wrote:

   euh your backend is full php ? If true I have no knowlegde :(

   On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com

 wrote:
i use it and no errors there also i am accessing php pages threw
   http
request the php works ok and when i use it in hosted mode every
   thing
is great but when i use it in compile nothing works

On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com
wrote:
 You should use firebug to learn more !

 On Wed, Jan 6, 2010 at 5:55 PM, ben fenster 
   fenster@gmail.com

wrote:
  i have a presentation tomorrow and every thing works great i
   am
 using
  gwt 2.0 but when i compile and run from the compiled version
   all
 of
  the http request does not work

  --
  You received this message because you are subscribed to the
 Google
Groups
  Google Web Toolkit group.
  To post to this group, send email to
google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
   cr...@googlegroups.com
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
nsubscr...@googlegroups.com

 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
  nsubscr...@googlegroups.com
   google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
52bunsubscr...@googlegroups.com

google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
 nsubscr...@googlegroups.com
   google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
52bunsubscr...@googlegroups.com

 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
  52bunsubscr...@googlegroups.com
   google-web-toolkit%25252bunsubscr...@googlegroups.comgoogle-web-toolkit%2
525252bunsubscr...@googlegroups.com

  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 A coward is incapable of exhibiting love; it is the 
 prerogative
   of
 the
 brave.
 --
 Mohandas Gandhi

--
You received this message because you are subscribed to the
   Google
 Groups
Google Web Toolkit group.
To post to this group, send email to
 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
 cr...@googlegroups.com
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
nsubscr...@googlegroups.com

 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
  nsubscr...@googlegroups.com
   google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
52bunsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.

   --
   A coward is incapable of exhibiting love; it is the prerogative of
   the
   brave.
   --
   Mohandas Gandhi

 --
 You received this message because you are subscribed to the Google
   Groups
 Google Web Toolkit group.
 To post to this group, send email to
   google-web-tool...@googlegroups.com.
 To unsubscribe from 

Re: pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
?

On Jan 6, 10:22 pm, ben fenster fenster@gmail.com wrote:
 how can i work in hosted but not in compiled??

 On Jan 6, 9:30 pm, Trevor Skaife tska...@gmail.com wrote:

  I went to your site and I see this error in Chrome Uncaught
  java.util.NoSuchElementException: forgot, if you compile using PRETTY
  you'd be able get a better understanding in your java code where the
  error occurs.

  Trevor

  On Jan 6, 1:10 pm, Sudeep S sudee...@gmail.com wrote:

   use -style PRETTY and -logLevel DEBUG to get detailed messages

   On Wed, Jan 6, 2010 at 11:33 PM, ben fenster fenster@gmail.com 
   wrote:
i send them they work ok in hosted but in compiled when i get to check
status  i get exception the site iswww.vzooo.com if anyone can check
it out and see i will apreceate it

it is relly strange  i noticed that the gwt compile only compiles 5
out of 6 permutations but it says compiled ok  is ther a way to get
more detailed compile log

On Jan 6, 7:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote:
 What do you mean by  all of the http request does not work

  On Wed, Jan 6, 2010 at 7:49 PM, ben fenster fenster@gmail.com
wrote:
  how can it be that something runs great in hosted from the browser  
  it
  self but dont work in compile ???

  On Jan 6, 7:21 pm, ben fenster fenster@gmail.com wrote:
   i am also using smart gwt could this be the reason for  my 
   problems?

   On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
   wrote:

euh your backend is full php ? If true I have no knowlegde :(

On Wed, Jan 6, 2010 at 6:11 PM, ben fenster 
fenster@gmail.com

  wrote:
 i use it and no errors there also i am accessing php pages 
 threw
http
 request the php works ok and when i use it in hosted mode 
 every
thing
 is great but when i use it in compile nothing works

 On Jan 6, 7:03 pm, olivier nouguier 
 olivier.nougu...@gmail.com
 wrote:
  You should use firebug to learn more !

  On Wed, Jan 6, 2010 at 5:55 PM, ben fenster 
fenster@gmail.com

 wrote:
   i have a presentation tomorrow and every thing works 
   great i
am
  using
   gwt 2.0 but when i compile and run from the compiled 
   version
all
  of
   the http request does not work

   --
   You received this message because you are subscribed to 
   the
  Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
cr...@googlegroups.com
google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
 nsubscr...@googlegroups.com

  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
   nsubscr...@googlegroups.com
google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
 52bunsubscr...@googlegroups.com

 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
  nsubscr...@googlegroups.com
google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
 52bunsubscr...@googlegroups.com

  google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
   52bunsubscr...@googlegroups.com
google-web-toolkit%25252bunsubscr...@googlegroups.comgoogle-web-toolkit%2
 525252bunsubscr...@googlegroups.com

   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  A coward is incapable of exhibiting love; it is the 
  prerogative
of
  the
  brave.
  --
  Mohandas Gandhi

 --
 You received this message because you are subscribed to the
Google
  Groups
 Google Web Toolkit group.
 To post to this group, send email to
  google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
  cr...@googlegroups.com
google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
 nsubscr...@googlegroups.com

  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
   nsubscr...@googlegroups.com
google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
 52bunsubscr...@googlegroups.com

 .
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.

--
A coward is incapable of exhibiting love; it is the prerogative 

Re: GWT 2.0 Eclipse Plugin Not Working

2010-01-06 Thread Keith Platfoot
Hi John,

When you try to debug the app in Eclipse, what is the debug process command
line?  You can find this by right-clicking the java process in the Debug
view in the Debug perspective, and selecting Properties.  Also, there might
be something useful in your workspace error log (Eclipse
workspace/.metadata/.log), so if you can send that it may be helpful in
diagnosing the problem.

To answer your last question, no, the Google Eclipse Plugin includes an
embedded Development Mode log view that is used instead of the standard Java
console you'd see if you launched dev mode from the command line.  The
embedded view should appear automatically when you debug a Web App project.
 However, since you mentioned Jetty does not appear to be starting, I
suspect the problem is not with the view.

Let's start by inspecting your debug process args and error log, and go from
there.

Keith

On Wed, Jan 6, 2010 at 3:36 PM, Hethcox heth...@gmail.com wrote:

 FWIW I created a new project with 2.0 and it works fine.

 On Jan 6, 2:16 pm, Hethcox heth...@gmail.com wrote:
  Hi,
  I'm attempting to get my project working in GWT 2.0 under Eclipse 3.5
  on Windows XP. The project was previously running under 1.7.
  Everything is working except jetty under Eclipse. (I separately
  compile and deploy the app to JBoss and it works fine). When I attempt
  to debug the app under Eclipse (Debug As-Web Application) I get
  nothing. It just sits there. Sometimes some text appears at startup in
  the console, but it disappears immediately. There is no process bound
  to the relevant port so I don't think jetty is starting.
 
  I assume I'm supposed to get the same console that appears when you
  run DevMode under java. Is that correct? Any thoughts?
 
  Cheers,
  John

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




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to exclude server-side jar file from GWT compile / validation

2010-01-06 Thread Rob Wood
The abc.jar does not include any client packages as far as I can
tell.

Since the above post I've changed this project so that a few files
from abc.jar now implement IsSerializable so they can be passed to the
client.  As a result, abc is now a GWT module which I import into my
GWT app.  Most of the functionality in abc.jar, however, is strictly
server side.
When I try to GWT compile my GWT app (using mvn gwt:compile) I now get
lots of import errors such as: No source code is available for type
java.io.InputStream; did you forget to inherit a required module?

This problem just became more urgent now as I cannot deploy to Tomcat
to test there.

Any help on this would be greatly appreciated.

On Jan 6, 11:03 am, Rohit Bansal rbansal...@gmail.com wrote:
 Hi

 I think there are client packages in your abc.jar. And GWT is giving
 you warning about these client packages as on server there should not
 be client packages.

 Regards

 Rohit

 On Jan 6, 9:23 am, Rob Wood rob.a.w...@gmail.com wrote:



  In my GWT app my RemoteService implementation executes code from
  abc.jar that has server-side only Java code.  I have included abc.jar
  in my project's class path, but it does not belong to any module
  inherited by this project's module.  When I run this app in Hosted
  Mode I get tons of Error messages in the console for classes in
  abc.jar, such as: Validating newly compiled units ... No source code
  is available for type ...; did you forget to inherit a required
  module?

  Since these classes are server-side only the GWT compiler should not
  be considering them at all.  What is curious is that on the server
  side also I'm using some Spring jar files and GWT does not complain
  about these.  The application runs in spite of these errors, but
  writing them to the console really slows down debugging.
  My environment: GWT 2.0, Eclipse 3.5 (SpringSource Tool Suite), JDK
  1.5

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




NativeEvent Get Type Issue

2010-01-06 Thread Salman Hemani
This is a good one. Totally confused. I am porting over an application
from GWT 1.5 - 1.7 (I still have to upgrade to 2.0 but that will come
at a later stage. The onEventPreview used to block the escape key.
When I ported over to the NativePreviewHandler things ofcourse
changed. Before I even get to checking the escape key I was fiddling
around with the nativeEvent itself and I am running into something
wierd. Here is the code:

public void onPreviewNativeEvent(final NativePreviewEvent
nativePreviewEvent) {

final NativeEvent nativeEvent =
nativePreviewEvent.getNativeEvent();

DeferredCommand.addCommand(new Command() {

public void execute() {

System.out.println(nativeEvent.getType());

}
});

It spits out an error at nativeEvent.getType() which is as follows:


[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Member not
found.

 number: -2147352573
 description: Member not found.

at com.google.gwt.dom.client.DOMImpl.eventGetType(Native Method)
at com.google.gwt.dom.client.NativeEvent$.getType$(NativeEvent.java:
209)
at com.christiedigital.widgets.core.popup.BasePopupPanel$1.execute
(BasePopupPanel.java:83)
at com.google.gwt.user.client.CommandExecutor.doExecuteCommands
(CommandExecutor.java:310)
at com.google.gwt.user.client.CommandExecutor$2.run
(CommandExecutor.java:205)
at com.google.gwt.user.client.Timer.fireImpl(Timer.java:160)
at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:146)
at com.google.gwt.user.client.Timer.fire(Timer.java:138)


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




Re: How to exclude server-side jar file from GWT compile / validation

2010-01-06 Thread Open eSignForms
On Wed, Jan 6, 2010 at 1:10 PM, Rob Wood rob.a.w...@gmail.com wrote:

 The abc.jar does not include any client packages as far as I can
 tell.

 Since the above post I've changed this project so that a few files
 from abc.jar now implement IsSerializable so they can be passed to the
 client.  As a result, abc is now a GWT module which I import into my
 GWT app.  Most of the functionality in abc.jar, however, is strictly
 server side.


If you can pass to the client then it should be in the client package.
All classes referenced by code in the client classes must be available to
the client, and thus must be translated to javascript, etc.  The fact that
you didn't put it in the client package is why it's complaining it can't
find the code.

So I'd recommend putting anything with IsSerializable (or otherwise is
referenced by client code -- even if you just pass the object into a client
constructor and otherwise don't send it directly) in the client package so
it can be compiled.
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: pls help !!!!!!!!!!

2010-01-06 Thread ben fenster
the problem is with the request builder can anyone tell me how can it
run in hosted mode but not in complie mode please someone
i get no error  i found out with plain alerts

On Jan 6, 10:59 pm, ben fenster fenster@gmail.com wrote:
 ?

 On Jan 6, 10:22 pm, ben fenster fenster@gmail.com wrote:

  how can i work in hosted but not in compiled??

  On Jan 6, 9:30 pm, Trevor Skaife tska...@gmail.com wrote:

   I went to your site and I see this error in Chrome Uncaught
   java.util.NoSuchElementException: forgot, if you compile using PRETTY
   you'd be able get a better understanding in your java code where the
   error occurs.

   Trevor

   On Jan 6, 1:10 pm, Sudeep S sudee...@gmail.com wrote:

use -style PRETTY and -logLevel DEBUG to get detailed messages

On Wed, Jan 6, 2010 at 11:33 PM, ben fenster fenster@gmail.com 
wrote:
 i send them they work ok in hosted but in compiled when i get to check
 status  i get exception the site iswww.vzooo.com if anyone can check
 it out and see i will apreceate it

 it is relly strange  i noticed that the gwt compile only compiles 5
 out of 6 permutations but it says compiled ok  is ther a way to get
 more detailed compile log

 On Jan 6, 7:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote:
  What do you mean by  all of the http request does not work

   On Wed, Jan 6, 2010 at 7:49 PM, ben fenster fenster@gmail.com
 wrote:
   how can it be that something runs great in hosted from the 
   browser  it
   self but dont work in compile ???

   On Jan 6, 7:21 pm, ben fenster fenster@gmail.com wrote:
i am also using smart gwt could this be the reason for  my 
problems?

On Jan 6, 7:15 pm, olivier nouguier olivier.nougu...@gmail.com
wrote:

 euh your backend is full php ? If true I have no knowlegde :(

 On Wed, Jan 6, 2010 at 6:11 PM, ben fenster 
 fenster@gmail.com

   wrote:
  i use it and no errors there also i am accessing php pages 
  threw
 http
  request the php works ok and when i use it in hosted mode 
  every
 thing
  is great but when i use it in compile nothing works

  On Jan 6, 7:03 pm, olivier nouguier 
  olivier.nougu...@gmail.com
  wrote:
   You should use firebug to learn more !

   On Wed, Jan 6, 2010 at 5:55 PM, ben fenster 
 fenster@gmail.com

  wrote:
i have a presentation tomorrow and every thing works 
great i
 am
   using
gwt 2.0 but when i compile and run from the compiled 
version
 all
   of
the http request does not work

--
You received this message because you are subscribed to 
the
   Google
  Groups
Google Web Toolkit group.
To post to this group, send email to
  google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
 cr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
  nsubscr...@googlegroups.com

   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
nsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
  52bunsubscr...@googlegroups.com

  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
   nsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
  52bunsubscr...@googlegroups.com

   google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
52bunsubscr...@googlegroups.com
 google-web-toolkit%25252bunsubscr...@googlegroups.comgoogle-web-toolkit%2
  525252bunsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.

   --
   A coward is incapable of exhibiting love; it is the 
   prerogative
 of
   the
   brave.
   --
   Mohandas Gandhi

  --
  You received this message because you are subscribed to the
 Google
   Groups
  Google Web Toolkit group.
  To post to this group, send email to
   google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
   cr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
  nsubscr...@googlegroups.com

   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu

Re: UiBinder, can't even get to first base

2010-01-06 Thread Arthur Kalmenson
If you want to set the class name you need to use styleName or
addStyleNames instead of class.

Hope that helps.
--
Arthur Kalmenson



On Wed, Jan 6, 2010 at 3:04 PM, John nesre...@gmail.com wrote:
 I thought I'd try to figure out UiBinder, but I'm lost.  Played with
 various tutorials and examples and finally I have striped things down
 to what I believe is the bare minimum.

 It started as the standard Eclipse plugin generated application, and I
 have discarded virtually everything.

 What's left is:

 public class TestUi implements EntryPoint {

       �...@uitemplate(TestUi.ui.xml)
        interface TestBinder extends UiBinderVerticalPanel, TestUi { }
        private static TestBinder testBinder = GWT.create(TestBinder.class);

        public void onModuleLoad() {

                VerticalPanel vp = testBinder.createAndBindUi(this);
                RootPanel.get().add(vp);
        }
 }
 --
 ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
             xmlns:g='urn:import:com.google.gwt.user.client.ui'

 ui:style
 .pretty { background-color: pink; }
 /ui:style

 g:VerticalPanel class='{style.pretty}' 
 /g:VerticalPanel

 /ui:UiBinder
 -
 ?xml version=1.0 encoding=UTF-8?
 module rename-to='testui'
  !-- Inherit the core Web Toolkit stuff.                        --
  inherits name='com.google.gwt.user.User'/

  inherits name='com.google.gwt.user.theme.standard.Standard'/

  !-- Other module inherits                                      --
  inherits name=com.google.gwt.uibinder.UiBinder /
  !-- Specify the app entry point class.                         --
  entry-point class='com.axxessible.testui.client.TestUi'/

  !-- Specify the paths for translatable code                    --
  source path='client'/

 /module
 -
 errors during compile, the lines below are in exactly the sequence shown:
 Invoking com.google.gwt.dev.javac.standardgeneratorcont...@45800894
               [ERROR] In g:VerticalPanel class='{style.pretty}',
 class VerticalPanel has no appropriate setClass() method
   [ERROR] Errors in
 'file:/home/john/workspace/TestUi/src/com/axxessible/testui/client/TestUi.java'
      [ERROR] Line 32:  Failed to resolve
 'com.axxessible.testui.client.TestUi.TestBinder' via deferred binding

 If I take out the class='' out of the g:VerticalPanel then it
 compiles.  But if it's a panel widget, it should be able to set a
 background-color, no?
 I already know I'm doing something incredibly stupid, so I don't mind
 if you skip telling me that part, and just tell me what it is!!
 Thanks.

 John

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




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




Re: Where is the Widget Gallery

2010-01-06 Thread Arthur Kalmenson
The Showcase is also useful:
http://gwt.google.com/samples/Showcase/Showcase.html

The GWT download also comes with a bunch of samples (including the showcase).

--
Arthur Kalmenson



On Wed, Jan 6, 2010 at 2:17 PM, Paul Robinson ukcue...@gmail.com wrote:
 http://code.google.com/webtoolkit/doc/latest/RefWidgetGallery.html

 ojm wrote:
 Hello, I'm BRAND SPANKIN' NEW to GWT. I've just installed Eclipse and
 GWT and am working through the Getting Started tutorial. In one of
 the steps, the tutorial says something like First, look at the Widget
 Gallery and select the GWT widget for each UI element.  Since I'm
 brand new to this stuff, I'm thinking to myselft WHERE THE HE*^%$ IS
 THE Widget Gallery! I'm not seeing anything of the sort anywhere.

 Help?

 Thanks,
 Owen


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




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




Re: How to exclude server-side jar file from GWT compile / validation

2010-01-06 Thread Rob Wood
OK, I see I mispoke, causing some confusion.  The classes that are
passed to the client are not in the client package, but in abc's
gwt.xml I use the source tag to tell GWT where to find them.
These classes are passing through to the client just fine when I run
in Hosted Mode.  The problem is when I run gwt:compile to deploy to
Tomcat (running in production, for instance) I get errors due to
external dependencies which are server-side only: dependencies on
java.io.InputStream, and SimpleDateFormat.  How can I get GWT compiler
to ignore these?


On Jan 6, 2:58 pm, Open eSignForms yoz...@gmail.com wrote:
 On Wed, Jan 6, 2010 at 1:10 PM, Rob Wood rob.a.w...@gmail.com wrote:
  The abc.jar does not include any client packages as far as I can
  tell.

  Since the above post I've changed this project so that a few files
  from abc.jar now implement IsSerializable so they can be passed to the
  client.  As a result, abc is now a GWT module which I import into my
  GWT app.  Most of the functionality in abc.jar, however, is strictly
  server side.

 If you can pass to the client then it should be in the client package.
 All classes referenced by code in the client classes must be available to
 the client, and thus must be translated to javascript, etc.  The fact that
 you didn't put it in the client package is why it's complaining it can't
 find the code.

 So I'd recommend putting anything with IsSerializable (or otherwise is
 referenced by client code -- even if you just pass the object into a client
 constructor and otherwise don't send it directly) in the client package so
 it can be compiled.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0 w/ IntelliJ IDEA 7.0.5

2010-01-06 Thread Steve Sinai
Thanks. At the moment, upgrading IntelliJ isn't an option, so it looks
like I get to hop around between two IDEs. Ugh!

On Jan 6, 6:33 am, Matt Moriarity matt.moriar...@gmail.com wrote:
 If you really want decent IntelliJ GWT support, you should probably
 upgrade to IDEA 9.0, which added explicit support for GWT 2.0 and GWT
 1.7.

 On Jan 5, 4:17 am, Steve Sinai ssi...@yahoo.com wrote:

  Up until now I've used Eclipse for writing occasional GWT apps, but
  I'm not an Eclipse expert and am much more comfortable using Intellij
  for development. I thought I'd see how well IntelliJ 7.0.5 works for
  developing some toy GWT 1.7 apps, and except for a few warning
  messages, it seems to works fine.

  Then I gave GWT 2.0 a try with IntelliJ 7.0.5 to see what happens, and
  got the error messages posted below when building a little, default
  Hello World! program that had worked using GWT 1.7.  In trying to
  figure out the problem, I came across an old post somewhere that
  suggested older versions of IntelliJ wouldn't work with later versions
  of GWT, but it wasn't clear which versions numbers they were talking
  about, or even if this was true. The errors below look to be XML
  Parser-related, but I don't know if there's a way I can point to a
  different parser, or if the problem is actually something else.

  So my question is...is it possible to develop with GWT 2 using
  IntelliJ 7.0.5? I'd rather not spend time on something that ultimately
  turns out to be futile, and when I asked the question over on the
  IntelliJ forum, I didn't get a response. Thanks.

  Information:Compilation completed with 42 errors and 0 warnings
  Information:42 errors
  Information:0 warnings
  Error:[ERROR] Line 23: Unexpected element 'define-configuration-
  property'
  Error:Failure while parsing XML
  Error:at com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedElement
  (DefaultSchema.java:80)
  Error:at com.google.gwt.dev.util.xml.Schema.onUnexpectedElement
  (Schema.java:93)
  Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement
  (ReflectiveParser.java:186)
  Error:at
  com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
  (AbstractSAXParser.java:501)
  Error:at
  com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement
  (AbstractXMLDocumentParser.java:179)
  Error:at
  com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement
  (XMLDocumentFragmentScannerImpl.java:1339)
  Error:at
  com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
  $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
  Error:at
  com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
  (XMLDocumentScannerImpl.java:648)
  Error:at
  com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
  (XMLDocumentFragmentScannerImpl.java:510)
  Error:at
  com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
  (XML11Configuration.java:807)
  Error:at
  com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
  (XML11Configuration.java:737)
  Error:at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
  (XMLParser.java:107)
  Error:at
  com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
  (AbstractSAXParser.java:1205)
  Error:at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
  $JAXPSAXParser.parse(SAXParserImpl.java:522)
  Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
  (ReflectiveParser.java:314)
  Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100
  (ReflectiveParser.java:48)
  Error:at com.google.gwt.dev.util.xml.ReflectiveParser.parse
  (ReflectiveParser.java:385)
  Error:at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
  (ModuleDefLoader.java:243)
  Error:at com.google.gwt.dev.cfg.ModuleDefSchema
  $BodySchema.__inherits_begin(ModuleDefSchema.java:212)
  Error:at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  Error:at sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.java:39)
  Error:at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25)
  Error:at java.lang.reflect.Method.invoke(Method.java:597)
  Error:at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
  (HandlerMethod.java:223)
  Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement
  (ReflectiveParser.java:257)
  Error:at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
  (ModuleDefLoader.java:155)
  Error:at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
  (ModuleDefLoader.java:269)
  Error:at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
  (ModuleDefLoader.java:127)
  Error:at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:148)
  Error:at com.google.gwt.dev.GWTCompiler$1.run(GWTCompiler.java:119)
  Error:at com.google.gwt.dev.CompileTaskRunner.doRun
  (CompileTaskRunner.java:88)
  Error:at 

Re: how to use CssResource.obfuscationPrefix to have semi-obfuscated css class name

2010-01-06 Thread fvisticot
Hello,
Did you try this (in your app module):

set-configuration-property name=CssResource.style value=pretty /

On 6 jan, 16:07, emerix rafa...@gmail.com wrote:
 Hi,
 I found on this 
 pagehttp://code.google.com/intl/fr-FR/webtoolkit/doc/latest/DevGuideClien...
 that you can use the property CssResource.obfuscationPrefix to choose
 how to obfuscate your css selectors.
 However I don't know if it is possible to use it to have a custom
 obfuscation.
 During the development phase, I'm using firebug to adjust padding,
 margin... of my widgets and it became quite difficult with the
 obsucated css class names...

 What I would like is a way to have  .G1qdtwdtK-MyWidgetName instead
 of .G1qdtwdtK for a css class named .MyWidgetName

 Is that feasible ?

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




Re: JBoss Seam and GWT

2010-01-06 Thread Johnathan James
In case it helps anybody, there is a currently a bug in Seam which
causes the Seam GWT Remoting example not to work.

https://jira.jboss.org/jira/browse/JBSEAM-4506

If you are getting errors like 'Parameter 0 is of an unknown type:
java.lang.String/2004016611', this is likely your issue. At present,
there is no official fix. I added these lines to GWTService.java at
line 419 in my Seam distribution:

String paramClassName = streamReader.readString();

   /* HACK: See https://jira.jboss.org/jira/browse/JBSEAM-4506
*/
if (paramClassName.equals(java.lang.String/2004016611))
paramClassName = java.lang.String;

You must then recompile Seam. Copy the jboss-seam-remoting.jar that
you just built to ./seam-distribution-dir/lib . Otherwise, you'll
still be building the Seam GWT Remoting project with the un-hacked
jar.

On Jan 5, 2:50 pm, Johnathan James haxw...@gmail.com wrote:
 Hello..

 I am looking for a good example of running a seam-gen application, and
 adding a GWT view.

 If you have one, or have been able to manipulate the
 org.jboss.seam.example.remoting.gwt example from the Seam project, I
 would appreciate your help.

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




How to realize paging in combination with a FlexTable

2010-01-06 Thread ojay
Hi,

I stuck on the problem how I can implement paging in my GWT-App. I
want to show a list of users in a view, therefore I use the FlexTable.
Now it can happen that there are hundreds of users which is a bit too
much for the view, so I want to split it to 20 users on the screen and
let the client user page through this. Something like in Gmail when
you can go through your emails. Actually I do not know how to start??
Can somebody give me an advise how I can solve that?

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




Re: GWT 2.0 Eclipse Plugin Not Working

2010-01-06 Thread Hethcox
Thanks Keith,
Here's the debug command line:

 C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe -
agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:4615 -
Xmx512m -Dfile.encoding=Cp1252 -classpath C:\XCAFE\CDM550Frontend
\src;C:\XCAFE\CDM550Frontend\war\WEB-INF\classes; [skip a bit,
brother] C:\Software Tools\gwt-2.0.0\gwt-dev.jar
com.google.gwt.dev.DevMode -war C:\XCAFE\CDM550Frontend\war -logLevel
INFO -remoteUI 4614:71449176286092 -port 
com.global.xcafe.cdm550.CDM550



On Jan 6, 4:02 pm, Keith Platfoot kplatf...@google.com wrote:
 Hi John,

 When you try to debug the app in Eclipse, what is the debug process command
 line?  You can find this by right-clicking the java process in the Debug
 view in the Debug perspective, and selecting Properties.  Also, there might
 be something useful in your workspace error log (Eclipse
 workspace/.metadata/.log), so if you can send that it may be helpful in
 diagnosing the problem.

 To answer your last question, no, the Google Eclipse Plugin includes an
 embedded Development Mode log view that is used instead of the standard Java
 console you'd see if you launched dev mode from the command line.  The
 embedded view should appear automatically when you debug a Web App project.
  However, since you mentioned Jetty does not appear to be starting, I
 suspect the problem is not with the view.

 Let's start by inspecting your debug process args and error log, and go from
 there.

 Keith

 On Wed, Jan 6, 2010 at 3:36 PM, Hethcox heth...@gmail.com wrote:
  FWIW I created a new project with 2.0 and it works fine.

  On Jan 6, 2:16 pm, Hethcox heth...@gmail.com wrote:
   Hi,
   I'm attempting to get my project working in GWT 2.0 under Eclipse 3.5
   on Windows XP. The project was previously running under 1.7.
   Everything is working except jetty under Eclipse. (I separately
   compile and deploy the app to JBoss and it works fine). When I attempt
   to debug the app under Eclipse (Debug As-Web Application) I get
   nothing. It just sits there. Sometimes some text appears at startup in
   the console, but it disappears immediately. There is no process bound
   to the relevant port so I don't think jetty is starting.

   I assume I'm supposed to get the same console that appears when you
   run DevMode under java. Is that correct? Any thoughts?

   Cheers,
   John

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


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




Re: How to exclude server-side jar file from GWT compile / validation

2010-01-06 Thread Open eSignForms
Without knowing your code, I cannot be sure, but somehow those classes are
being referenced directly or as parameters something in your client
classes.  All references in the client code must be translatable, and most
likely neither InputStream nor SimpleDateFormat are.  So your client classes
must not have any references to them.
-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to exclude server-side jar file from GWT compile / validation

2010-01-06 Thread Rob Wood
I've done some further analysis: I'm only getting errors for server
side classes that have a reference to one of the classes implementing
IsSerializable (either directly or through inheritance).  GWT Compiler
does not complain about the classes implementing IsSerializable (or
their child classes) or classes with no references to a class
implementing IsSerializable.
Meanwhile, I've confirmed that the only classes the the client code
sees are the few classes implementing IsSerializable.  The fact that
this runs successfully in Hosted Mode verifies that as well.

Perhaps there is some kind of compiler configuration that is set too
aggressively.  I'm pretty confident that I was able to GWT compile
this project using GWT 1.7.1 because I successfully deployed to
Tomcat.  Was there a change from GWT 1.7.1 to 2.0 that might explain
this?


On Jan 6, 4:10 pm, Open eSignForms yoz...@gmail.com wrote:
 Without knowing your code, I cannot be sure, but somehow those classes are
 being referenced directly or as parameters something in your client
 classes.  All references in the client code must be translatable, and most
 likely neither InputStream nor SimpleDateFormat are.  So your client classes
 must not have any references to them.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: UiBinder, can't even get to first base

2010-01-06 Thread John
On Wed, Jan 6, 2010 at 5:26 PM, Arthur Kalmenson arthur.k...@gmail.com wrote:
 If you want to set the class name you need to use styleName or
 addStyleNames instead of class.


In the older GWT versions, I know you set the stylename and used a
conventional CSS style sheet with those names.

I thought UIBinder was a whole new thing--I was trying to follow the
tutorials as closely as possible, and they inserted class=, which
is one of the standard ways of marking CSS styles, isn't it?

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




Re: Working in development mode in GWT with php

2010-01-06 Thread Skeezix
also when I compile and deploy the compiled output (inside the war
folder) to the server, it operates properly...hope someone can help me
set this up properly so i can test/debug my app without recompiling
and uploading it to the server

On Jan 6, 4:59 pm, Skeezix skeezix6...@gmail.com wrote:
 Hi,
   I've recently started on the Client-Server Communication part of
 the tutorial of GWT.I've done everything that is said in the JSON
 and JSON - PHP part of the tutorial, yet im unable to get the JSON
 data from the php script.My setup uses XAMPP and the Stockwatcher
 project is located at C:\xampp\htdocs\...so that makes the host page
 at C:\xampp\htdocs\StockWatcher\war\ so is the stockPrices.php. When I
 run the app in dev mode the stock changes wont show and I get an
 exception..it says

 16:53:00.079 [ERROR] [stockwatcher] Uncaught exception escaped
 com.google.gwt.core.client.JavaScriptException:
 (NS_ERROR_NOT_AVAILABLE): Component returned failure code: 0x80040111
 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText]
  QueryInterface: function QueryInterface() {
     [native code]}

  result: 2147746065
  filename:http://localhost:
  lineNumber: 48
  columnNumber: 0
  inner: null
  data: null
  initialize: function initialize() {
     [native code]}

     at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
 (BrowserChannelServer.java:195)
     at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
 (ModuleSpaceOOPHM.java:120)
     at com.google.gwt.dev.shell.ModuleSpace.invokeNative
 (ModuleSpace.java:507)
     at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
 (ModuleSpace.java:264)
     at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
 (JavaScriptHost.java:91)
     at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
     at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
     at sun.reflect.GeneratedMethodAccessor14.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.MethodDispatch.invoke
 (MethodDispatch.java:71)
     at com.google.gwt.dev.shell.OophmSessionHandler.invoke
 (OophmSessionHandler.java:157)
     at com.google.gwt.dev.shell.BrowserChannel.reactToMessages
 (BrowserChannel.java:1668)
     at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
 (BrowserChannelServer.java:401)
     at com.google.gwt.dev.shell.BrowserChannelServer.run
 (BrowserChannelServer.java:222)
     at java.lang.Thread.run(Unknown Source)

 btw the JSON_URL that I used is http://localhost:8080/StockWatcher/
 war/stockPrices.php?q=, since this is how I accessed the php script.
 Hope someone can help.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




[ANN] Webbrowser game made with GWT 2.0: lacesfirst.com

2010-01-06 Thread Fushion
I started playing around with GWT since version 1.3 just fooling
around with the code and trying out some various things.
One thing I did was starting to develop a browser game, so I could see
how things worked out in a real application instead of just mocking up
some fancy gadgets.

Well, one thing led to another and now it is starting to look like an
actual application.
You can find it on http://lacesfirst.com

It is an online football manager game where you can manage a football
team.
You can train players, hire employees, change formations and tactics,
sell/buy players, change the lineup of your team, upgrade your stadium/
shops etc.
The games are simulated every day at specified times and take into
account the tactics and linup of your team (and the opponents' team).
The teams and players are all fictional and randomly generated, as
there is no way I want to get into licencing troubles with the NFL
ofcourse.

One thing to notice is that the entire game (client and server code)
is made of 100% Java (Using EJB3on server side).
This made it possible to have just one servlet containing about 40
lines of code that just calls a SessionBean on the EJB server.
Also the code of the data model is used in both client and server
side, so no extra DTO objects were needed.
All this makes the code very slim and manageble.
It is not exactly a UI that you would find in a typical GWT
application though...

The game is still in beta as there are many things that can be made
better, but it is playable anyway.
Have fun!

Greetz,

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




GWT 2.0 Minor Bug Fix Release

2010-01-06 Thread jonathan.hollo...@gmail.com
Hi all,

is there a minor bug fix release planned for GWT 2.x at all to address
any of the outstanding issues to date, e.g. UiBinder
internationlization etc..

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




Problem with ClientBundle image resources in development mode.

2010-01-06 Thread Arkady
Hello,

I am having the following problem with ClientBundle. Since I am using
external web server (IIS), each time I add new image resources to the
ClientBundle, I recompile using ant build target and copy all
generated md5.cache.png files to the web server. After I added
several image resources with repeatStyle == Horizontal, which are used
in the @sprite definitions inside the css file, when I run the app in
the development mode I don't see the background images because the
composite md5.cache.png image, corresponding to those background
images, fails to load returning error 404. If I copy to the web server
the md5.cache.html files as well and run the application directly
from the web server (production mode) everything works fine. I suspect
that the md5 name for the composite image generated by the gwtc is
different from the name that the development mode puts in the injected
css.

Is this a known issue with development mode in GWT 2.0?

Best regards,

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




Re: UiBinder, can't even get to first base

2010-01-06 Thread Arthur Kalmenson
That's correct, but only for regular HTML Elements, not GWT widgets.
If you want to set CSS class names on GWT widgets using UI binder you
need to use the methods I mentioned.

--
Arthur Kalmenson

On Wednesday, January 6, 2010, John nesre...@gmail.com wrote:
 On Wed, Jan 6, 2010 at 5:26 PM, Arthur Kalmenson arthur.k...@gmail.com 
 wrote:
 If you want to set the class name you need to use styleName or
 addStyleNames instead of class.


 In the older GWT versions, I know you set the stylename and used a
 conventional CSS style sheet with those names.

 I thought UIBinder was a whole new thing--I was trying to follow the
 tutorials as closely as possible, and they inserted class=, which
 is one of the standard ways of marking CSS styles, isn't it?

 John


-- 

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




Compilation error

2010-01-06 Thread Raman
I just upgraded to GWT 2.0.
But when I compile my source code with com.google.gwt.dev.Compiler, I
get a NullPointerException as below. What am I doing wrong?

[ERROR] Unexpected
java.lang.NullPointerException
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBound
s(ResolveTypeSignature.java:229)
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
lveTypeSignature.java:300)
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
lveTypeSignature.java:297)
at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(Res
olveTypeSignature.java:339)
at com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd
(ResolveTyp
eSignature.java:155)
at com.google.gwt.dev.asm.signature.SignatureReader.parseType
(SignatureR
eader.java:188)
at com.google.gwt.dev.asm.signature.SignatureReader.accept
(SignatureRead
er.java:100)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod
(TypeOracleM
ediator.java:972)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
(TypeOracleMe
diator.java:767)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
(TypeOracleMe
diator.java:792)
at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
(TypeOracleMe
diator.java:698)
at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
(TypeOracleMed
iator.java:353)
at com.google.gwt.dev.javac.CompilationState.assimilateUnits
(Compilation
State.java:135)
at com.google.gwt.dev.javac.CompilationState.init
(CompilationState.jav
a:79)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
(Compilat
ionStateBuilder.java:284)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
(Compilatio
nStateBuilder.java:181)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
(ModuleDef.java:2
80)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:
502)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:
414)
at com.google.gwt.dev.Compiler.run(Compiler.java:201)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:87)

at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
TaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:159)
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: how to use CssResource.obfuscationPrefix to have semi-obfuscated css class name

2010-01-06 Thread Brendan Kenny
Yeah, I ran into the same problem. If the issue is just exposing the
style names during development (and you're not looking for this
particular solution for an additional reason), I would do as fvisticot
suggests and then just remove that line from your module's xml file
when you're ready for production mode. It's been a while since I
looked at this, but I believe I also just used

@external styleName;

in the ui:style section to prevent particular style names from being
obfuscated. I found the example here a little confusing, but the
concept is simple enough:
http://code.google.com/p/google-web-toolkit/wiki/CssResource#External_and_legacy_scopes

On Jan 6, 9:07 am, emerix rafa...@gmail.com wrote:
 Hi,
 I found on this 
 pagehttp://code.google.com/intl/fr-FR/webtoolkit/doc/latest/DevGuideClien...
 that you can use the property CssResource.obfuscationPrefix to choose
 how to obfuscate your css selectors.
 However I don't know if it is possible to use it to have a custom
 obfuscation.
 During the development phase, I'm using firebug to adjust padding,
 margin... of my widgets and it became quite difficult with the
 obsucated css class names...

 What I would like is a way to have  .G1qdtwdtK-MyWidgetName instead
 of .G1qdtwdtK for a css class named .MyWidgetName

 Is that feasible ?

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




Re: Webbrowser game made with GWT 2.0: lacesfirst.com

2010-01-06 Thread Nian Zhang
When shall i have a try to play the game, too emergy.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




  1   2   >