Re: Ant Junit GwtTest

2008-09-19 Thread pfiction

Hi,

I applied all you suggestiones and it works !!.

Thank you very much.

Best regards.

On 18 Wrz, 17:06, Charlie Collins [EMAIL PROTECTED] wrote:
 GWTTestCase based tests (and GWTTestSuite, which is a great time
 saver) can be run by ant, yes.  Ant, after all, can run the test
 runner the same way the junitcreator generated shell script does.
 Your issue is probably related to the source path or classpath.

 Make sure you either put your test classes in your client package,
 or modify the module source-path so the SOURCE (even of the tests)
 can be compiled by GWT.  (Remember, the default GWT source path is the
 client package for your module.)

 Also, make sure the source itself, even the test source, is on the
 classpath.

 On Sep 18, 9:12 am, pfiction [EMAIL PROTECTED] wrote:

  Hi,

  Is there a possibility to run Gwt Tests in ant by junit ?

  I am trying to do this but following exception stops me:

  The test class 'xxx.xxx.xxx.UserCommandExecutorTest' was not found in
  module 'xxx.xxx.xxx.MainModule'; no compilation unit for that type was
  seen

  It will be great if someone can help me.

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



RPC host mode fine --- RPC deployed web mode fails

2008-09-19 Thread Barry

Hi ...

I have a (relatively) simple project that demonstrates an RPC failure
that I don't know how to fix. There are two remote calls. SimpleCall
returns an integer and succeeds both in host mode and in deployed web
mode. ClassReturnCall returns a class instance and succeeds in host
mode but _fails_ in deployed web mode.

The failure message is: Class Return Call Failure:
com.google.gwt.user.client.rpc.StatusCodeException: The call failed on
the server; see server log for details.

I built this project from scratch to show this, and haven't used or
done anything exotic. I created the SimpleService and
ClassReturnService using the wizards, created the .WAR file using a
menu item, and deployed with a straight copy into Tomcat 5.5's
application directory.

The return class is defined in its own class file, is a simple bean,
and implements IsSerializable.

Can someone take a look at this and give some suggestions/reasons?? I
don't know what to do from here. Could this be some sort of security
manager problem???

Below are the log details, but the project (as simple as it is) is too
much to post, so I have put it on the web: 
http://www.tpsoft.com/RemoteServiceTest.zip

The server log says:

Sep 19, 2008 6:15:31 AM org.apache.catalina.core.ApplicationContext
log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
[org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:
News / Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param
name: paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
Sep 19, 2008 6:16:11 AM org.apache.catalina.core.ApplicationContext
log
SEVERE: Exception while dispatching incoming RPC call
java.security.AccessControlException: access denied
(java.lang.reflect.ReflectPermission suppressAccessChecks)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323)
at
java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at
java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
107)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:
619)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:
655)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
582)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
105)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
$ValueWriter$8.write(ServerSerializationStreamWriter.java:146)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
520)
at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:573)
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
441)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
529)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
163)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:
85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:
162)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
262)
at org.apache.catalina.core.ApplicationFilterChain.access
$0(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain
$1.run(ApplicationFilterChain.java:171)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
167)
at

History

2008-09-19 Thread Riyaz Mansoor


Confusion confusion

onHistoryChanged is deprecated - but HistoryListener whose only method
is onHistoryChanged is not deprecated. Even the History class javadoc
is using onHistoryChanged method !!!

Anyways my question is how can I recieve browser history events (Back/
Forward) without using onHistoryChanged (since it is deperecated) ?

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



Re: RichTextToolbar

2008-09-19 Thread Riyaz Mansoor


totally agree

On Sep 19, 7:52 am, Michael Neale [EMAIL PROTECTED] wrote:
 Is there any reason why RichTextToolbar is not including as part of
 GWT but is only as a sample ? (in the Showcase project)?

 Shouldn't this really be part of GWT itself, I mean the text area is
 not terribly helpful without it, and it seems a bit odd to create it
 each time (it is a bit tedious).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: NullPointerException compiling Gadget

2008-09-19 Thread joseanquiles

Hi Eric,
I am a beginner in GWT-gadget.
My company (Telefonica, Spain) wants to use GWT, and we are very
interested in Google Gadgets. But I am not able to build a simple
sample Gadget to demonstrate to managers.

I don't know what is @FeatureName.
Please, could you send me a sample Gadget with @FeatureName?

The issue you mention (164) says that gwt-gadget version 1.0 solves
the bug. I am using version 1.0

Thank you in advance.

Jose Antonio

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



Re: OnFailure getting executed even though server code does not return any errors

2008-09-19 Thread Ryan


Ok finally I found the error.
I overrode doUnexpectedFailure method of remoteserviceservlet to find
the source of the error.

@Override
protected void doUnexpectedFailure(final Throwable error) {
   super.doUnexpectedFailure(error);
   error.printStackTrace();
}

The error it displayed me was
Type was not included in the set of types which can be serialized by
this SerializationPolicy or its Class object could not be loaded. For
security purposes, this type will not be serialized.

What could be the cause of the error??


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



Re: OnFailure getting executed even though server code does not return any errors

2008-09-19 Thread Lothar Kimmeringer

Ryan schrieb:
 
 The error it displayed me was
 Type was not included in the set of types which can be serialized by
 this SerializationPolicy or its Class object could not be loaded. For
 security purposes, this type will not be serialized.
 
 What could be the cause of the error??

Have you deleted the files ending with gwt.rpc when deploying
your project to the server? These files are needed for exactly
that kind of thing.


Regards, Lothar

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



Earn$500-$1000perday

2008-09-19 Thread [EMAIL PROTECTED]

Earn$500-$1000perday
Without experiance needed
No over time
***
http://www.Awsurveys.com/home main.cfm?
http://www.Awsurveys.com/home main.cfm?
http://www.Awsurveys.com/home main.cfm?
***

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



see this link for jobs

2008-09-19 Thread revathi

http://www.365jobs4u.com/idevaffiliate/pages/1566.php

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



Re: Reporting tool and GWT

2008-09-19 Thread Chris Marshall

We have found BIRT to be very easy to integrate as a service that is
invoked by a GWT RPC call.
The resultant report (we standardise on PDF) is stored on the server
and may be viewed in the browser and then printed, emailed etc.
BIRT also has a jsp based report viewer that may be used independently
of your GWT app, although we do not use it.
BIRT report design files are stored on the server and the RPC call
carries the parameter(s) that may be needed to configure the report.
You may also need an if (GWT.isScript()) condition to set up the
path to these files when in hosted mode.
Regards Chris


On Sep 16, 2:10 pm, Manik [EMAIL PROTECTED] wrote:
 Hi,
 I need any reporting tool which can be used with GWT.
 Is there any toolkit or gwt api for this purpose?

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



free Visual editor for gwt

2008-09-19 Thread sumit

hi all,
i m new to gwt but experienced in java. well gwt is a client side
language. well there are lot of plugins for it in java IDEs like
googleclipse for eclipse and gwt4nb for netbeans.
but none of them allow u to do things using drag n drop. using hard
core programming will make things bit difficult isnt it.
so are there any free visual editors for ny IDE's 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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT application and Google AppEngine

2008-09-19 Thread sri

hi,

I am starting of a new GWT application which has to run on GAE.

Can anybody tell me how to communicate between my GWT UI and GAE.

I have come across many posts in which they talk about JSON and other
RPC's for communication b/n GWT and GAE. But, anybody can give me
concrete example of How exactly to go about writing a GWT application
which can be deployed on GAE.

I am starting by storing some info using gdata. And I know that google
supports only python for doing this. I need to pass this data back to
GWT UI.

I know RPC is means of doing that. So, please give me some example/
code to demonstrate how it can be acheived.


regards,
Sri

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



leveraging an organization's current IT assets. Particularly specialised in ERP and Telecom.

2008-09-19 Thread [EMAIL PROTECTED]

##
http://www.freewebs.com/computerlangu

1129 members, Messages per month: 4392
usajobsuite
I provide solutions for a dynamic environment where business and
technology strategies converge. Our approach focuses on new ways of
business combining IT innovation and adoption while also leveraging an
organization's current IT assets. Particularly specialised in ERP and
Telecom.
Language: English (UK)
1045 members, Messages per month: 4268
Oracle_HRMS_Jobs
Oracle HRMS Jobs Payroll, Time , Salary, Work Location will be in USA,
UK, Kuwait, india LathaHR, Africa, , Dubai, Oracle HRMS 11i, 10g, 9i ,
8i Apps, Oracle HRMS HR
Language: English (UK)
1034 members, Messages per month: 3842
Deedeejang Forward Mail

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



Close button

2008-09-19 Thread Yongzhi

I put a close button in a PopupPanel(which I made it a singleton),
when i close the popup then reopen it, the button stays in the
active state. how to fix this?thx~

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



Download Maps from Google Earth

2008-09-19 Thread ElshayalSmart

Download Maps from Google Earth
Trace  save GPS route
View and Rectify Raster Images gif, jpg, bmp
Make and Edit shape files

by

Elshayal Smart GIS Map Editor 3.6.1


http://www.smartwebonline.com/

   or in Direct Download

http://www.cadmagazine.com/downloads/download.php?id=143

Thank you and best regards
Mohamed Elshayal
The First Arabian GIS Software
http://www.smartwebonline.com/


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



CRUD

2008-09-19 Thread satish

hi
am new to this GWT
is there any ready to  run examples on CRUD in this gwt using derby as
backend
if yes please provide me
any suggestions would be helpful for me

thankhs

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



upload function

2008-09-19 Thread gaurav

hi,
i wanat to implement upload function, but how i can get the upload
location???

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



ListBox width dynamic resizing

2008-09-19 Thread Perceval

Hey everyone. I'm new to GWT and thus, to these forums :)  I'm
currently using the GWT Designer Eclipse plugin to build my user
interfaces and so far, I'm not sure what to think of it because I'm
not an HTML expert. I've been mostly back-end.

Anyway, I'm currently trying to find a way to define the initial width
for some dropdown lists, that is narrower than the length of their
longest element. However, if i click on a dropdown, is there a way to
automatically resize its width to match the with its longest element?
Thanks in advance for any reply!

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



Computer Internet

2008-09-19 Thread vennila venunath
to click hear below to earn more

http://www.freewebs.com/digitalimag/
=
The Internet is a global system of interconnected computer networks that
interchange data by packet switching using the standardized Internet
Protocol
Prior to the widespread inter-networking that led to the Internet, most
communication networks were limited by their nature to only allow
communications ...
Internet.com – the internet resource for up-to-date news, reviews, forums,
videos and tutorials covering IT, Development, Personal technology, ...
---
http://www.freewebs.com/digitalimag/
---
General guide to the Internet, includes sections
covering the history of the Web, email, Usenet and other topics.
A general internet resource for Medieval Studies, and a good starting point
for anyone seeking information on Medieval poets and poetry.
TPG Internet, providing Australia with low cost, high   quality Internet
solutions for years. Sign up your account today and experience the many
benefits
=
http://www.freewebs.com/digitalimag/
=

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



Problem with com.google.gwt.core.ext.typeinfo classes.

2008-09-19 Thread Ice13ill

Hello,

I have the following problem: when I try to use any class from the
package com.google.gwt.core.ext.typeinfo it does not work and I get
something like this:
[ERROR] Line 76: No source code is available for type
com.google.gwt.core.ext.typeinfo.TypeOracle; did you forget to inherit
a required module?
I did not find any module.xml related to typeinfo classes to inherit.

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



Load Testing of GWT applications (RPC)

2008-09-19 Thread Konstantin Shaposhnikov

Hello,

I need to load test my GWT application. In order to do that I want to
simulate user behavior by making RPC calls to the main service of the
application.

Unfortunately I haven't found any java API that enables to encode
client requests and decode server responses. As I understant this part
of GWT RPC protocol is available only in javascript.

I ended up reverse engineering part of the protocol and writing an
application specific python script that emulates RPC client. Is there
any better approach?

It would be really good if client side part of the protocol was
implemented in java.

Regards,
Konstantin

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



GWT from Java

2008-09-19 Thread md

hi,

Am a new GWT user and need a favour from experienced users.

I access search engine through non-JavaScript environment(Java) via
Standard URL Base address and Standard URL arguments.My URL is http://
ajax.googleapis.com/ajax/services/search/web?
v=1.0rsz=largestart=0q=Paris%20Hilton

However the reponse JSONObject (as below) always get 8 pages with 8
results each. Hence I get only 64 results. Any arguments or options to
provide required number of hits and results on each page?

{cursor:{moreResultsUrl:http:\/\/www.google.com\/search?
oe=utf8ie=utf8source=udsstart=0hl=enq=Paris+Hilton,pages:
[{start:0,label:1},{start:8,label:2},{start:16,label:
3},{start:24,label:4},{start:32,label:5},
{start:40,label:6},{start:48,label:7},
{start:56,label:8}],

Regards

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



SerializationException error

2008-09-19 Thread flavio

Hi,
I have been developing a client application with GWT to consume
services(EJB) to another application.
The client applications has a dependency with EJB app but when occurs
the RPC call i get the SerializationException error

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
'br.gov.trt.regiao1.basico.modelo.uf.dominio.UFDTO' was not included
in the set of types which can be serialized by this
SerializationPolicy. For security purposes, this type will not be
serialized.


Where br.gov.trt.regiao1.basico.modelo.uf.dominio.UFDTO is an object
in the EJB app.


Is it possible to develop GWT applications with this architecture?

Thanks
Flávio

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



Computer Internet

2008-09-19 Thread vennila venunath
to click hear below to earn more

http://www.freewebs.com/digitalimag/
=
The Internet is a global system of interconnected computer networks that
interchange data by packet switching using the standardized Internet
Protocol
Prior to the widespread inter-networking that led to the Internet, most
communication networks were limited by their nature to only allow
communications ...
Internet.com – the internet resource for up-to-date news, reviews, forums,
videos and tutorials covering IT, Development, Personal technology, ...
---
http://www.freewebs.com/digitalimag/
---
General guide to the Internet, includes sections
covering the history of the Web, email, Usenet and other topics.
A general internet resource for Medieval Studies, and a good starting point
for anyone seeking information on Medieval poets and poetry.
TPG Internet, providing Australia with low cost, high   quality Internet
solutions for years. Sign up your account today and experience the many
benefits
=
http://www.freewebs.com/digitalimag/
=

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



GWT Application on Google App Engine

2008-09-19 Thread Ajay Jetti

hi

Im starting to write a application on GWT using python as Backend
which is used to communicate with GAE.
I already have some python code . Now i want to write GWT in a manner
that it communicates to python which inturn talks to GAE.

I have read lot of posts talking about JSON and rpc'c as a means of
communiation , but problem is i m not familiar to these things. I saw
somthing about PGR, but that confuses me more

Can anybody give a clear precise way of Writing GWT and getting it to
talk to python/GAE.
Please give example/source if possible.

Thanks and Regards
Life is too short i feel

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



EARN US DOLLAR

2008-09-19 Thread MALLI

INTERNET BUSINESS (TRUE)
It's not cheating.
Careful Unemployee: This is the best way to earn money. This is the
True  Best Internet Business. No need to go to other job.
If you don't interest to do this business, it sure defiantly you loss
the one easiest way to earn money. Daily 1 hour enough to do this
business. More hours gives much more money.
You go to spend your Browsing money only.
If you spend Browsing Money maximum Rs.20 / Hour, you go to earn more
than Rs..1000 / Hour.
Your Job: Advertising the SFI Company.
More details refer topic: Actually what you going to do this Business.
Want to earn more money easily  freely  simply  quickly?
Without investment. No need credit card. Believe me.
4$ (Rs.160) per one fulfilled Application.
Otherwise minimum 1$.
(Freely  Easily  Quickly  Simply)
More than Rs.20, 000 per month.
If your extraordinary person you can earn more than Rs.1000 per hour.
Only 3 steps taken 1 minute only.
Feel Free to do this, then you known.
[ 1) Go to this link.
http://www.quickinfo247.com/9495211/CB
2) Fill up the application fully and follow the website commands.
3) Confirm your personal details.
(Verification: 1) Go to My Account
2) Go to the third topic My Account Information.
3) If your personal details wrong change manually, otherwise come to
back. Go to Change Account Info. Then Change your personal details.
And submit your details.
4) And also confirm your Commission Payment options.
a) Select the first option 1) Check mailed to you
2) Give your name
to make checks payable to. And Click Update.
Once you had given correct details then no need to confirm again. The
check goes to that address correctly.
That's all.) ]
Condition:
· If you didn't fulfill the application fully you are
rejected.
If you didn't interest to do this business
1.  You lost more money earn business freely  easily  simply 
quickly.
2.  Defiantly you are looser. Because it's an easiest way to earn
money. Why you are very busy man? If you can't spend at least 1minute
for to known how to earn money? If you keep on doing this business
correctly I sure no need you go to other job. Because it gives more
than your expectation money. It's TRUE. Hey unemployee do first then
you known.. Click this link
http://www.quickinfo247.com/9495211/CB
When you are eligible:

 * After you submit the application you will received SFI mail
immediately in your email (which good email id you given in that
application). That mail contains a conformation link. You must enter
that link. One application form is shown. That application form asks
your details.. Which details you given is it your future check
receiving details. So fill up the application correctly.
·After completion of these steps fully you are eligible to
receive check.
Business Suggestion:
1.  Use separates (New one) Email-ID for this Business. Because
unexpected number of mails comes to daily which mail id you given.
This email id (New one) use to do this business. Which good email id
you given in your application that email id used to communicate sfimg
business and you (Continuously receiving mail from sfimg and you send
your enquiry to sfimg.). So use two separate email id. Now you go to
fill up the application no need new one email id. When you going to do
this business that time only you need another one email id.
Why: Our job spread the link to world
(Example link: http://www.quickinfo247.com/(YOUR NUMBER)/CB).
Otherwise refer topic: Actually what you going to do this Business:
If any email id ok to spread the link except which email id given to
application. Because unexpected number of mails comes to daily which
mail id you to do this business. To avoiding this problem we going to
do this method. Which email id is not a problem but which link is
important. You can use number of email id for spread the link.
Finally:
!--[if !supportLists]--1.  !--[endif]--Original email id used
to communicate with sfimg company.
!--[if !supportLists]--2.  !--[endif]--Other email ids used to
spread the link.
2.  Use www.groups.yahoo.com  or www.groups.sify.com 
www.connexions.rediff.com
or www.orkut.com  to send mails. Because this website gives to send
our message to number of mails at one time (Group mail).
How to do you earn Money:
Ø  The SFI Company teaches you how easily, quickly and freely how
to earn money.
Ø  This is your business entering website www.sfimg.com .
Ø  The SFI ID is a number (example: 9**). Refer that number in
your first SFI received mail.
Ø  Thus website contains what details you want.
Actually what you going to do this Business:
Ø  Go to www.sfimg.com .
Ø  Give your SFI ID and Password. The SFI ID is a number (example:
9**). Refer that number in your first SFI received mail.
Ø  Click MY ACCOUNT.
Ø  Click My SFI Gateways.
Ø  Click SFI Opportunity Gateways.
Ø  See http://www.quickinfo247.com/(YOUR NUMBER)/CB

Re: GWT Maps API fails on host mode

2008-09-19 Thread Niko

Hi

Same problem here : identical stack trace and warning messages.

I was working on several little testing projects in gwt/gwt-ext/
gwtmaps a month ago.
Now I'm unable to launch any of them using gwtmaps in the host mode.
The platform environment (OS/eclipse/jars)  didn't change - same PC,
none used it.

Thus, if I compile and deploy these projects under my Tomcat, all is
working fine.

One hour ago, I tried to launch the HelloMaps from the 290 release,
with the inner launch-scripts.
Same results : the shell command aborts with Einstein's trace, the
compiledeploy test is OK

Any kind of idea would be appreciated :o)

ps : I've check that my IE network/proxy settings were still good

On 18 sep, 02:16, Eric Ayers [EMAIL PROTECTED] wrote:
 I didn't use eclipse at all.  I ran HelloMaps-shell from the command line.

 On Wed, Sep 17, 2008 at 5:23 PM, Einstein0970 [EMAIL PROTECTED] wrote:

  What version of eclipse did you use?

  On Sep 17, 2:20 pm, Eric Ayers [EMAIL PROTECTED] wrote:
   I just loaded gwt 1.5.2 and gwt-maps milestone r290 onto a machine whose
   /etc/issue reports Ubuntu 8.04.1 (64 bit)

   JVM is: /usr/lib/jvm/ia32-java-6-sun/jre/bin/java

   I ran the stock HelloMaps demo without a problem.

   Again, you might try the 'wireshark' tool to make sure that requests from
   hosted mode are actually making it off the machine.

   On Wed, Sep 17, 2008 at 2:03 PM, Einstein0970 [EMAIL PROTECTED] wrote:

Yeah it gets tohttp://maps.google.com/maps?gwt=1file=apiv=2.x
from my machine using firefox 3. No proxies in my way either.

On Sep 17, 1:58 pm, Eric Ayers [EMAIL PROTECTED] wrote:
 Could it be that you have some sort of proxy setup to get to the
Internet?
 If so, the hosted mode browser probably isn't aware of it.

 John T. on the GWT team suggested you try 'wireshark' to see if the
requests
 to fetch the Google Maps API were getting off of the machine.

 -Eric.

 On Wed, Sep 17, 2008 at 1:24 PM, Eric Ayers [EMAIL PROTECTED]
  wrote:
  I'm wondering if it is some sort of network issue - the Maps API
  has to
  load from a server at google.

  Also, even though you shouldn't need a key, you could go to
 http://code.google.com/apis/mapsandgetone for localhost.  IIRC,
  some
  parts of the API (Geocoding maybe?) do need a key, even if its
localhost.

  On Wed, Sep 17, 2008 at 1:17 PM, Einstein0970 [EMAIL PROTECTED]
wrote:

  Hi Eric,

  I have installed the latest and greatest JVM32bit and still fails
  on
  the same error.
  Any other ideas?

  - Erick

  On Sep 15, 8:46 pm, Eric Ayers [EMAIL PROTECTED] wrote:
   We have had reports of GWT being used sucessfully on Ubuntu 8
  and 9.
   One
   more thing - I think you must be using the 32 bit JVM or you
probably
   wouldn't even see hosted mode, but just to be certain, are you
  using
a
  32
   bit JVM?   We've had reports of a bad version of the 1.6 JVM
  causing
   problems in one distro.  Can you try upgrading or changing your
  JVM
   version?  Any 32 bit 1.5.x or 1.6.x should work.

   All these things aside, it still looks to me like the Maps API
script is
  not
   loading. I can't tell you why it would all of a sudden start to
fail.

   On Mon, Sep 15, 2008 at 8:35 PM, Eric Ayers [EMAIL PROTECTED]
wrote:
What happens when you try to compile and run in web mode?

On Mon, Sep 15, 2008 at 7:31 PM, Einstein0970 
  [EMAIL PROTECTED]
  wrote:

Ran the HelloMaps demo and works great when deployed on my
localhost
tomcat but same error when ran from the Eclipse IDE
  host-mode.
BTW,
the same app ran well in GWT1.4, Ubuntu 7 and Eclipse 3.3...
Can you guys reproduce my errors using HelloMaps in Ubuntu
  8.04?

On 15 sep, 16:33, Eric Ayers [EMAIL PROTECTED] wrote:
 When you ran the tutorial, did the application in the
  tutorial
work
  for
you
 (the world's largest ball of twine)?

 Can you show a small segment of code that reproduces the
problem?

 On Mon, Sep 15, 2008 at 4:26 PM, Einstein0970 
[EMAIL PROTECTED]
  wrote:

  I use: gwt-maps.jar (0.0.290) from (
 http://code.google.com/p/gwt-
  google-apis/wiki/Downloads
   http://code.google.com/p/gwt-google-apis/wiki/Downloads
  )

  On Sep 15, 3:50 pm, Eric Ayers [EMAIL PROTECTED]
  wrote:
   When you say you are using the latest gwt-maps.jar
  file,
can
  you
tell me
   what version you downloaded?

   On Mon, Sep 15, 2008 at 3:46 PM, Einstein0970 
  [EMAIL PROTECTED]
wrote:

Still fails:

Here's my gwt.xml file: (followed the tut:

 http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted)

module

 inherits name=com.google.gwt.maps.GoogleMaps/
  

computer

2008-09-19 Thread baby

Computer - Wikipedia, the free encyclopedia
The first devices that resemble modern computers date to the mid-20th
century (around 1940 - 1945), although the computer concept and
various machines ...


==
http://www.freewebs.com/mechanven/
==

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



Problem with java.lang.ClassNotFoundException only when deployed

2008-09-19 Thread Keith

Hi all,

First off, I am a new user and have built a very simple application.
It works fine under hosted mode.  It compiles with no errors.  When I
deploy it to the web server and point a browser at it, it throws a
ClassNotFoundException.  I suspect this is a really simple problem
(probably caused by a really stupid error).  This is driving me crazy
and I would really appreciate ANY help or suggestions anyone could
throw my way.

I have included a lot of error logs, copies of web.xml, directory
structures etc. below.

Trying to work through this is a learning experience, but I am
stumped.  The fact that the server is able to sort out the URL sent
from the client enough to know the name of the object is
ca.KeithFuller.server.CorpusServiceImpl suggests to me that the server
is finding the web.xml file, which suggests that it should be able to
find the object since I believe that WEB-INF/classes is always on the
search path.  The file CorpusServiceImpl.class is in WEB-INF/classes,
and the corresponding java file starts with:

package ca.KeithFuller.server;

import java.util.*;  // for Scanner
import java.io.*;// for println

import ca.KeithFuller.client.CorpusSearchReturns;
import ca.KeithFuller.client.CorpusSearchService;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class CorpusServiceImpl extends RemoteServiceServlet
implements CorpusSearchService
{
...

A whole pile of details follow:

I use GWT 1.4.61

I use Eclipse 3.2.2

My webserver uses Linux, Tomcat and Apache.

I use FireFox 3.0.1 and the URL is 
http://www.keithfuller.ca:9108/CorpusSearch/CorpusSearch.html

The client code contains:
...
// Create the proxy object
final CorpusSearchServiceAsync serviceProxy =
(CorpusSearchServiceAsync) 
GWT.create(CorpusSearchService.class);

// Cast the proxy object to ServiceDefTarget
String serviceUrl = GWT.getModuleBaseURL() + corpus-search;
//  if (GWT.isScript()){
//  serviceUrl = /corpus-search;
//  }

((ServiceDefTarget)serviceProxy).setServiceEntryPoint(serviceUrl);
...



The localhost.2008-09-18.log file contains:
Sep 18, 2008 10:21:04 AM org.apache.catalina.core.ApplicationContext
log
INFO: Marking servlet corpus-search as unavailable
Sep 18, 2008 10:21:04 AM org.apache.catalina.core.ApplicationContext
log
SEVERE: Error loading WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
-- Parent Classloader:
[EMAIL PROTECTED]
 ca.KeithFuller.server.CorpusServiceImpl
java.lang.ClassNotFoundException:
ca.KeithFuller.server.CorpusServiceImpl
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1362)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1208)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1068)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
791)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
127)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
874)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
81)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Sep 18, 2008 10:21:04 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Allocate exception for servlet corpus-search
java.lang.ClassNotFoundException:
ca.KeithFuller.server.CorpusServiceImpl
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1362)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1208)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1068)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
791)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
127)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
174)
 

Re: OnFailure getting executed even though server code does not return any errors

2008-09-19 Thread Daniel Kurka


set the loglevel of your tomcat in embedded mode to a lower level an you 
will be seeing the exception

regards
daniel

Ryan schrieb:
 danke lothar,

 I am running this application in the hosted modeand  not on Tomcat.
 And I dont see any logs being generated for the application in the
 hosted mode.

 regards,
 Cherian




 
   


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



Q A type lessons

2008-09-19 Thread delhi institute of management services

Delhi Institute of Management  Services

Dear friends,
We are extremely happy to welcome you to the world of Management... We
are in the process of preparing some 5 minutes revision Q  A type
lessons for management students. They are in no way, a replacement for
the classroom lectures, textbooks or any other study guides. If you
wish to go through these lessons.

Please visit today's BLOGS:
Executive Development in Human Resource Management
Learn about Human Relations Development


We want you to suggest improvements or corrections if any, by Email to
Ms Sheetal varma, (Senior HR Executive).
Email: [EMAIL PROTECTED]
If you are looking for a job or you want to change a job, please send
your resume to Ms Sheetal (Senior HR Executive). She will try to help
you to find a suitable job.
Email: [EMAIL PROTECTED]



CAREER TRAINING

Join University Recognized Courses MBA {BM} MBA {HR}, MBA {MKT}, and
MBA {Fin}, MCA, BCA, MMC, BMC, B.com M.com M.Insurance, B.Fashion

For Career Development and Job Promotions.

CONTACT:

Delhi Institute of Management Services,
Study Centre of NMiMS UNIVERSITY, GURU JAMBHESHWAR UNIVERSITY, JAMIA
HAMDARD UNIVERSITY, ALL INDIA MANAGEMENT ASSOCIATION, PUNJAB TECHNICAL
UNIVERSITY, MUMBAI EDUCATION TRUST .
1108 Akashdeep Building, New Delhi 110001
TEL FAX: 23312187,
TEL: 23316475.

If you do not want to receive such mail in future. Please send mail
Email: [EMAIL PROTECTED]

PLACEMENT FOR ALL
Dear Sir/ Madam,

 Dolphin Placements.com is now on air. You can now log on and
register with us free
 of cost and pick up your user name password for further
updating. We look forward
 to your continuous support to us. Thanks for choosing
 
http://www.dolphinplacements.com
 With best wishes.
 Thanking you.

Yours Sincerely
Office Coordinator
www.dolphinplacements.com



Reference: Mailer 2










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



hot sexy girls sexy picture and live hot movies

2008-09-19 Thread riya

hot sexy girls  sexy picture and live hot movies
sexy live hot girls and hot picture
latest sexy movies
actress hot galary
free hot movies and picture
hollwood picture




http://www.freewebs.com/laptopsint/

http://www.freewebs.com/laptopsint/

http://www.freewebs.com/laptopsint/






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



Re: GWT 1.5 Now Available

2008-09-19 Thread vector


Hi.
I have tried to download latest version for windows. The file is
corrupted. I performed it from several places, but result is always
the same.

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



gift

2008-09-19 Thread thriller

Hi view some of the exclusive videos of micheal
jackson dance movements on by clickin the given
below website.Amazing performance..

***
***

www.freewebs.com/sulfonamide/
seniorfriendfinder.com/p/register.cgi
koreanfriendfinder.com/p/register.cgi

***
***

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



Re: OnFailure getting executed even though server code does not return any errors

2008-09-19 Thread Ryan


hi lothar,

This project has still not been deployed to a tomcat server. I am
still using the hosted mode and getting these errors.

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



Re: hot sexy girls sexy picture and live hot movies

2008-09-19 Thread Schimki86
Ohhh dude... I think some people have too much boredom. Not defiling the
beautiful GWT Group. Create your own uninteresting group!

2008/9/19 riya [EMAIL PROTECTED]


 hot sexy girls  sexy picture and live hot movies
 sexy live hot girls and hot picture
 latest sexy movies
 actress hot galary
 free hot movies and picture
 hollwood picture

 


 http://www.freewebs.com/laptopsint/

 http://www.freewebs.com/laptopsint/

 http://www.freewebs.com/laptopsint/


 



 


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



Nike dunk high shoes wholesale\retail

2008-09-19 Thread lee

Our company mainly deal with the import and export of the brand sports
shoes, clothes, jewelry, bags , glasses, etc . Products such as Nike
Jordan sell well in America , Canada , as well as Europe and other
countries. Our objective is to supply products of first-class quality
and advanced technology. Customers satisfaction is our greatest
pursuit. We thank you for your attention and wish having a long time
business relationship with all buyers from all over the world.

we take PAYPAL as the method of payment!
please kindly visite our website: http://www.cnnshoe.com
msn: [EMAIL PROTECTED]
email: [EMAIL PROTECTED]

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



google-web-toolkit-incubator policy

2008-09-19 Thread Sylvain

I would like to use 2 components included in your incubator toolkit
( FastTree and Tables with cell editors ). Can I have a road map to
know when and if these components will be included in the future GWT
official release?
These 2 components were already in the last incubator 1.4 and were not
included in the new GWT release 1.5.
Could you please give more visiblity to your roadmap on GWT?

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



Nike dunk high shoes wholesale\retai

2008-09-19 Thread lee

Our company mainly deal with the import and export of the brand sports
shoes, clothes, jewelry, bags , glasses, etc . Products such as Nike
Jordan sell well in America , Canada , as well as Europe and other
countries. Our objective is to supply products of first-class quality
and advanced technology. Customers satisfaction is our greatest
pursuit. We thank you for your attention and wish having a long time
business relationship with all buyers from all over the world.

we take PAYPAL as the method of payment!
please kindly visite our website: http://www.ccshoe.com
msn: [EMAIL PROTECTED]
email: [EMAIL PROTECTED]

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



Framework

2008-09-19 Thread Gamecat

Hello all,

I'm just trying to get some very uneducated questions answered. Is
there anyone available to offer a little advice regarding some Java
based framework? This is entry level type questioning... especially
related to Toolkit and if it's what I'm looking for.

Thanks!
Gamecat

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



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

2008-09-19 Thread [EMAIL PROTECTED]

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

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

payment:we supply paypal online
Our company tenet: supply the top quality , competitive and lowest
price , faster shipping and best service.
Minimun quantity order: 3 pairs. You can mix and match products model,
type, size order.
Genuinely hope to hear from you and become to your best supplier.

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



Interesting job

2008-09-19 Thread hasini

http://www.freewebs.com/objectpascl/

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



Re: Annoucement. PureMVC4GWT RC is available

2008-09-19 Thread Thomas Broyer


On 17 sep, 12:34, Luciano Broussal [EMAIL PROTECTED] wrote:
 Hi All,

 I've created a tiny but powerful gwt project

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

I didn't know PureMVC, and I'm not very familiar with MVC either
(well, I know the basics but I'm far from being used to MVC), but
after throwing an eye at the puremvc overview docs and at your code
(loginsample and then some of the framework's classes), it seems like
I was having a similar idea for the next big rewrite of our GWT app:
mainly having a single object to publish/subscribe to (Facade).
However, I was rather thinking about using integers (or maybe a big
Enum, not the best choice as far as SoC is concerned, but easier to
maintain in order to prevent conflicts) rather than strings to
identify notifications (allows switch/case in Java and probably leads
to faster code than String comparisons; as was done with
com.google.gwt.user.client.Event's constants).

All in all, PureMVC seems a little bit over-engineered, bringing too
much overhead to the constrained environment that a web browser is...
Looks like a good and clean pattern, but I'd rather build my own
specific implementation from a template project than use this
generic impl... (for example: why having a Notification class and
INotification interface if you don't ever subclass/implement them? why
not just have onHandleNotification(String name, Object body, String
type) methods all over the place?)

Actually, I didn't spend much more than half an our reading PureMVC
docs and your code, so I probably missed a lot of things (btw, where's
the userguide you talked about? I couldn't find it on puremvc.org, or
is what's called best practices?)


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



Re: questions on Login Security FAQ

2008-09-19 Thread Ed

Like Rob mentioned, always interesting to read Reinier's post :)...

 B) BCrypt (and you should use BCrypt, or you Fail Security. Seriously.
 Don't think about it, you failed the test. Use tools written by the
 experts) - is a better take on a technique called 'salt hashing',

I noticed you mentioned this a few times before in this forum.
The tool I use: http://www.jasypt.org/. I hope this is written by
experts as well :(

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



Re: RichTextToolbar

2008-09-19 Thread Martin Trummer

+1 from me

On Sep 19, 4:52 am, Michael Neale [EMAIL PROTECTED] wrote:
 Is there any reason why RichTextToolbar is not including as part of
 GWT but is only as a sample ? (in the Showcase project)?

 Shouldn't this really be part of GWT itself, I mean the text area is
 not terribly helpful without it, and it seems a bit odd to create it
 each time (it is a bit tedious).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT popup query, a generic one

2008-09-19 Thread Ajay Garg

Thanks Thomas for the reply.

Your approach works on Mozilla and IE7, but behaves weird on IE6. In
my application, I override the PopupPanel.show() method, as follows :

public void show(){
setVisible(false);
super.show();
//following logic copied from Popup.center() to show popups in
center of page
int left = (Window.getClientWidth() - getOffsetWidth()) / 2;
int top = (Window.getClientHeight() - getOffsetHeight()) / 2;
setPopupPosition(Window.getScrollLeft() + left,
Window.getScrollTop() + top);
setVisible(true);
}

As can be seen, it is required that the popup shows roughly at the
centre of viewport. Works perfect in IE7 and Mozilla, but not in IE6.

Any light in this regard ..?

Ajay Garg
On Sep 18, 1:32 pm, Thomas Broyer [EMAIL PROTECTED] wrote:
 On 18 sep, 06:54, Ajay Garg [EMAIL PROTECTED] wrote:





  Hi all.

  I have been going through PopupPanel docs, and there does exist ways
  to set the popup-position, eg. through the PopupPanel.PositionCallback
  and setPopupPosition() methods. But it seems that the position
  parameters, correspond to the entire browser window. That is, let's
  say I set the left and right parameters in setPopupPosition(int
  left, int right) as 0,0. Thus, the popup will be displayed on top
  left.

  Now, consider that my page contains records. With time, the number of
  records increase, and scrollbars then come into play. Now, what is
  needed that upon pressing the Delete button attached to a particular
  record row, the popup should appear. As there are scrollbars, if the
  record happens to be the last one (or thereabout), the popup still
  appears top left of the complete browser page area, wheras ideally
  it should appear on the top left of the effective browser page area
  that is visible to me. (I may repeat that since there are scrollbars,
  the complete browser page area IS NOT EQUAL TO effective page area,
  when I am looking at one of the last records).

  Any ideas/hacks/workarounds, to get this going ..??

  - use Window.getScrollTop() and Window.getScrollLeft() (avec a look
 at the center() method's code)
  - or if you don't care about IE6, use position:fixed in your CSS

 Note that the end result won't be the same: with position:fixed, your
 popup stays fixed to the 0,0 of the viewport while you're scrolling,
 whereas with the first solution, the popup is initially positionned at
 0,0 of the viewport area but then scrolls with the rest of the page
 (unless you add a WindowScrollListener to re-position the popup on
 page scroll)- Hide quoted text -

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



Re: Moderation policy back in effect: new members' messages moderated to prevent spam

2008-09-19 Thread Sumit Chandel

Hello everyone,

I wanted to apologize for a recent bunch of spam messages that made it
to the Groups discussion forum. I was going through the manual process
of moderating the threads and approving new users, and somehow the
Groups moderation panel forgot which messages I was permitting and
which I wasn't, and pressed moderate messages too early.

The spammers who posted these messages have already been banned, so
they won't be back, but unfortunately there is one batch of spam that
made it through to the groups.

Cheers,
-Sumit Chandel

On Thu, Jun 26, 2008 at 1:45 AM, Sumit Chandel [EMAIL PROTECTED] wrote:
 Hi housee,

 The spam preventing moderation policy is still in effect. I moderated a
 bunch of posts earlier this morning, and I believe yours was included in the
 batch and has been posted.

 Sorry for the delay.
 -Sumit Chandel

 On Wed, Jun 25, 2008 at 6:59 AM, housee [EMAIL PROTECTED] wrote:

 Is this spam prevention system still active?
  I can't see my post 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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT

2008-09-19 Thread Shi

In javac must specify the path to the servlet.

In my case I did so:
$ cd /MyApplicationGWT/src/
$ javac -cp .:/usr/gwt-linux-1.5.1/gwt-user.jar:/usr/gwt-linux-1.5.1/
gwt-dev-linux.jar:/usr/gwt-linux-1.5.1/gwt-servlet.jar com/gwt/server/
LoginServiceImpl.java

Run Home-shell (for my example) and work!

Thank you for having helped Daniel by email ;)

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



Re: How to tokenize a string like foo|:bar where |: is the delimiter ?

2008-09-19 Thread Amit Dhingra
I suppose that you need to use \||:
As \| - the pipe you want to split with
  | - OR
  : - the colon you want to split with

Though I am not very sure on this. :)

Cheers,
Amit

On Fri, Sep 19, 2008 at 3:58 PM, Lothar Kimmeringer [EMAIL PROTECTED]wrote:


 guiii schrieb:
  does not work.  I guess the pipe | is seen as an OR (i.e. the
  split() delimiter becomes empty string OR semicolon).
 
  I tried to escape it with a \, but gwt compiler complains:
 
 Invalid escape sequence (valid ones are  \b  \t  \n  \f  \r  \
  \'  \\ )
 
  It seems that not all regexp are supported in the gwt ?

 No it means, that \| is not recognized by the java-compiler.
 The backslash is a special character in Strings and must
 be escaped (as you can see in the list of valid escape-
 sequences being showing above). Use \\ and all will be well ;-)


 Regards, Lothar

 



-- 
Warm Regards,
Amit Dhingra

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



Re: Problem with java.lang.ClassNotFoundException only when deployed

2008-09-19 Thread gregor

Hi Keith,

Looking at your deployment structure:

The web server has the directory structure:
apache-tomcat-5.5.25/webapps
CorpusSearch
... a pile of html, rpc, js, html, css, and...
web.xml
WEB-INF
classes
CorpusSearch.class
CorpusSearchReturns.class
CorpusSearchServiceAsync.class
CorpusSearchData.class
CorpusSearchService.class
CorpusServiceImpl.class
web.xml
lib
gwt-servlet.jar
web.xml

the package structure ca.KeithFuller.server seems to be missing which
would explain why you get a ClassNotFoundException for
ca.KeithFuller.server.CorpusServiceImpl. I think you should copy the
entire directory structure under WEB-INF\classes.

Also I would recommend you take a little time to make an Ant build
script that creates a WAR file for you application and copies it
straight to your Tomcat deployment directory where it will
automatically redeploy. This will kill problems like this (because Ant
doesn't make mistakes) and save you a lot of time in the long run.
There are lots of examples of how to do this in the group - just
search for ant build WAR.

regards
gregor




On Sep 18, 4:40 pm, Keith [EMAIL PROTECTED] wrote:
 Hi all,

 First off, I am a new user and have built a very simple application.
 It works fine under hosted mode.  It compiles with no errors.  When I
 deploy it to the web server and point a browser at it, it throws a
 ClassNotFoundException.  I suspect this is a really simple problem
 (probably caused by a really stupid error).  This is driving me crazy
 and I would really appreciate ANY help or suggestions anyone could
 throw my way.

 I have included a lot of error logs, copies of web.xml, directory
 structures etc. below.

 Trying to work through this is a learning experience, but I am
 stumped.  The fact that the server is able to sort out the URL sent
 from the client enough to know the name of the object is
 ca.KeithFuller.server.CorpusServiceImpl suggests to me that the server
 is finding the web.xml file, which suggests that it should be able to
 find the object since I believe that WEB-INF/classes is always on the
 search path.  The file CorpusServiceImpl.class is in WEB-INF/classes,
 and the corresponding java file starts with:

 package ca.KeithFuller.server;

 import java.util.*;                              // for Scanner
 import java.io.*;                                // for println

 import ca.KeithFuller.client.CorpusSearchReturns;
 import ca.KeithFuller.client.CorpusSearchService;

 import com.google.gwt.user.server.rpc.RemoteServiceServlet;

 public class CorpusServiceImpl extends RemoteServiceServlet
 implements CorpusSearchService
 {
 ...

 A whole pile of details follow:

 I use GWT 1.4.61

 I use Eclipse 3.2.2

 My webserver uses Linux, Tomcat and Apache.

 I use FireFox 3.0.1 and the URL 
 ishttp://www.keithfuller.ca:9108/CorpusSearch/CorpusSearch.html

 The client code contains:
 ...
                 // Create the proxy object
                 final CorpusSearchServiceAsync serviceProxy =
                         (CorpusSearchServiceAsync) 
 GWT.create(CorpusSearchService.class);

                 // Cast the proxy object to ServiceDefTarget
                 String serviceUrl = GWT.getModuleBaseURL() + corpus-search;
 //              if (GWT.isScript()){
 //                      serviceUrl = /corpus-search;
 //              }
                 
 ((ServiceDefTarget)serviceProxy).setServiceEntryPoint(serviceUrl);
 ...

 The localhost.2008-09-18.log file contains:
 Sep 18, 2008 10:21:04 AM org.apache.catalina.core.ApplicationContext
 log
 INFO: Marking servlet corpus-search as unavailable
 Sep 18, 2008 10:21:04 AM org.apache.catalina.core.ApplicationContext
 log
 SEVERE: Error loading WebappClassLoader
   delegate: false
   repositories:
     /WEB-INF/classes/
 -- Parent Classloader:
 [EMAIL PROTECTED]
  ca.KeithFuller.server.CorpusServiceImpl
 java.lang.ClassNotFoundException:
 ca.KeithFuller.server.CorpusServiceImpl
         at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
 1362)
         at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
 1208)
         at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
 1068)
         at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
 791)
         at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
 127)
         at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
 174)
         at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
 127)
         

Re: Framework

2008-09-19 Thread gregor

That's what the group is for, Gamecat. What are your questions?

On Sep 18, 2:08 am, Gamecat [EMAIL PROTECTED] wrote:
 Hello all,

 I'm just trying to get some very uneducated questions answered. Is
 there anyone available to offer a little advice regarding some Java
 based framework? This is entry level type questioning... especially
 related to Toolkit and if it's what I'm looking for.

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



Re: NullPointerException compiling Gadget

2008-09-19 Thread Eric Ayers

Hola Jose,

You are using 1.0.0 which is the 1.0 RC1 release (release candidate
1).  The bug was found after we made the release candidate, and the
fix will be available in the next release candidate or GA release.
Those releases will be named 1.0.1, 1.0.2, ...

-Eric

On Fri, Sep 19, 2008 at 2:45 AM, joseanquiles [EMAIL PROTECTED] wrote:

 Hi Eric,
 I am a beginner in GWT-gadget.
 My company (Telefonica, Spain) wants to use GWT, and we are very
 interested in Google Gadgets. But I am not able to build a simple
 sample Gadget to demonstrate to managers.

 I don't know what is @FeatureName.
 Please, could you send me a sample Gadget with @FeatureName?

 The issue you mention (164) says that gwt-gadget version 1.0 solves
 the bug. I am using version 1.0

 Thank you in advance.

Jose Antonio

 




-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

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



How to span 2 columns in FixedWidthGrid?

2008-09-19 Thread Michał Sędzielewski

Hi,

since PagingScrollTable has FixedWidthGrid as body table, there is
no opportunity to span two columns. Do you have any idea how to solve
this problem?

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



Re: upload function

2008-09-19 Thread walden

Excuse me?  You want someone to tell you what URL to upload your file
to?  How would anyone but you know that?

On Sep 19, 2:11 am, gaurav [EMAIL PROTECTED] wrote:
 hi,
 i wanat to implement upload function, but how i can get the upload
 location???
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with com.google.gwt.core.ext.typeinfo classes.

2008-09-19 Thread Ian Petersen

On Thu, Sep 18, 2008 at 10:06 AM, Ice13ill [EMAIL PROTECTED] wrote:
 I have the following problem: when I try to use any class from the
 package com.google.gwt.core.ext.typeinfo it does not work and I get
 something like this:
 [ERROR] Line 76: No source code is available for type
 com.google.gwt.core.ext.typeinfo.TypeOracle; did you forget to inherit
 a required module?
 I did not find any module.xml related to typeinfo classes to inherit.

Those classes support writing generators and are not available (nor
could they be made available) to client code.  Note that they're not
in a .client package.

Ian

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



Re: No servlet's processed when extending GWTShellServlet (Spring integration)

2008-09-19 Thread Sumit Chandel

Hi Juan,

I'm assuming that you're trying to use the specialized
Spring-supporting subclass in hosted mode?

If that's the case, the reason why this wouldn't work is because the
embedded Tomcat instance that the hosted mode shell uses is not
configured as a Spring container. If you wanted to use hosted mode
with your Spring servlets, you would need to have these servlets
defined on your own web server, say Tomcat, that you could then use in
hosted mode by passing in the -noserver flag.

You can read more about this at the FAQ linked below:

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

Hope that helps,
-Sumit Chandel

On Wed, Sep 17, 2008 at 5:35 PM, Juan [EMAIL PROTECTED] wrote:

 Hi,

 In short, my problem is that GWT is unable to locate the servlet
 annotations in the .gwt.xml descriptor when I intercept the call to
 the GWT development servlet. Except for the servlets on the
 descriptor, all the GWT calls are processed without problems.

 My goal is to catch some petitions to handle them using Spring while
 passing the rest to the GWT development servlet. For this I extend the
 GWTShellServlet as a Spring MVC adapter. As a consequence of this it's
 no longer a servlet. Spring instances class that extends
 GWTShellServlet, gives the ServletContext to it and I overwrite the
 getServletContext() method to return it.

 Here it is in short:

 public class GwtDevelopmentAdapter extends GWTShellServlet implements
 HandlerAdapter, ServletContextAware {

private ServletContext servletContext;

public void setServletContext( ServletContext servletContext )
{
this.servletContext = servletContext;
}

// At one point I catch the Spring method handle and redirect the
 call to the GWTShellServlet

 public ModelAndView handle( HttpServletRequest request,
 HttpServletResponse response, Object handler ) throws Exception
{
processFileRequest( request, response );

return null;
}
 }

 It works without problems except when you define a servlet in
 the .gwt.xml module descriptor. It just doesn't find that servlet.

 The code and idea are largely based on the post
 http://blog.digitalascent.com/2007/11/gwt-rpc-with-spring-2x_12.html

 Any comment, suggestion, different approach would be really welcome.

 Thanks in advance,
 Juan

 


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



Re: Close button

2008-09-19 Thread gregor

You could make the PopupPanel listen to itself so it notifies itself
when it is closed perhaps? Then you can reset its state in the
onPopupClosed(..) method. Check PopupListener in the documentation.

On Sep 18, 2:49 pm, Yongzhi [EMAIL PROTECTED] wrote:
 I put a close button in a PopupPanel(which I made it a singleton),
 when i close the popup then reopen it, the button stays in the
 active state. how to fix this?thx~
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Earn Up to $10,000

2008-09-19 Thread walden

Has something suddenly happened to the list's spam filtering?

On Sep 18, 11:46 pm, mnr [EMAIL PROTECTED] wrote:
 Earn Up to $10,000



  **
 http://homologie.blogspot.com/
 http://germanfriendfinder.com/go/g107-ppc
 http://amigos.com/go/g106-pmem
  **- Hide quoted text -

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



Re: Earn Up to $10,000

2008-09-19 Thread Isaac Truett

Keep reading.

On Fri, Sep 19, 2008 at 8:22 AM, walden [EMAIL PROTECTED] wrote:

 Has something suddenly happened to the list's spam filtering?

 On Sep 18, 11:46 pm, mnr [EMAIL PROTECTED] wrote:
 Earn Up to $10,000



  **
 http://homologie.blogspot.com/
 http://germanfriendfinder.com/go/g107-ppc
 http://amigos.com/go/g106-pmem
  **- Hide quoted text -

 - Show quoted text -
 


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



Re: upload function

2008-09-19 Thread ajay jetti
Yeah
I think he is meaning something different

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



Re: Is it possible to inject module-name-nocache.js on demand?

2008-09-19 Thread julien.lancelot

I am also very interested to inject GWT apps on demand!!!

Thomas, you said : Not that it's not that hard to write such a linker
(and has already
been discussed on this group).

Can you give me the link to the discussion?

Thanks!

On 8 sep, 20:41, Thomas Broyer [EMAIL PROTECTED] wrote:
 On Sep 8, 3:27 pm, Christian Voigt [EMAIL PROTECTED]
 wrote:

  Another google search brought the 
  answer:http://www.pathf.com/blogs/2007/08/bjax-a-quick-ha

  Problem is the use of onload and of document.write in the
  bootstrapping process.
  Haven't found this the first time because I did not look for Using
  GWT with Bookmarklets.
  It would be great if there were a BookmarkletLinker for this use case.
  I would think that I am not the only one who cannot use the onload
  event.

 Not that it's not that hard to write such a linker (and has alreadybeen 
 discussed on this group)

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



Re: GWT application and Google AppEngine

2008-09-19 Thread ajay jetti
Hi Sri
Even im facing the same problem
Please sombody post

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



Re: upload function

2008-09-19 Thread ajay jetti
Hey Walden I have posted a issue by the name GWT app on Google app engine
Pls share some info if u know abou it

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



Re: upload function

2008-09-19 Thread ajay jetti
Hi Gaurav
Check out the Gwt widget librabry/ examples in the GWT site
Im sorry i m not posting the exact link ...
but im sure u ll get it if u search..
Tell me if u dont, ill send u the link
Ajay

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



Re: Moderation policy back in effect: new members' messages moderated to prevent spam

2008-09-19 Thread ajay jetti
Hi
GOsh, there were so many of them at once

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



Re: CRUD

2008-09-19 Thread gregor

Hi Satish,

This question has come up before in various guises. The answer is
basically:

1) GWT is a client side AJAX toolkit - it is back end agnostic and you
do not access e.g. databases directly from GWT client code
2) Instead you use asynchronous calls to your server (using e.g. GWT
RPC) that return Data Transfer Objects representing views of your
database schema.
3) If you use GWT RPC, then you can manage your DB transactions from
your remote RPC servlets server side using e.g. JDBC.

There so many different use case situations that it is unrealistic to
standardize examples of this, but there are plenty of tutorial
resources available on how to use JDBC around.

However in a simple case you might think of it like this:

a) you have a set of database tables representing your domain
entities.
b) you write a DTO class for each of these tables representing one row
of the table (i.e. you basically have a field for each column)
c) you use JDBC to execute SQL query statements in your RemoteServlets
(use PreparedStatement) to instantiate DTO's which you then return to
your GWT client over RPC and you populate your widgets with the values
of these DTO's.
d) on the client side when you need to create/update and save a new/
changed entity instance, you strip vlaues from your UI widgets to
create a new DTO instance for the entity and dispatch this DTO to the
server over RPC for storage
e) you use then JDBC to execute SQL update statements in a remote
servlet using the values from this DTO.

This is of course likely to be an over-simplification, but it is the
basis of a typical approach for connecting a GWT client to a back end
database resource.

regards
gregor



On Sep 18, 10:15 am, satish [EMAIL PROTECTED] wrote:
 hi
 am new to this GWT
 is there any ready to  run examples on CRUD in this gwt using derby as
 backend
 if yes please provide me
 any suggestions would be helpful for me

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



Re: Is it possible to inject module-name-nocache.js on demand?

2008-09-19 Thread Thomas Broyer


On 19 sep, 13:15, julien.lancelot [EMAIL PROTECTED] wrote:
 I am also very interested to inject GWT apps on demand!!!

 Thomas, you said : Not that it's not that hard to write such a linker
 (and has already
 been discussed on this group).

 Can you give me the link to the discussion?

You should have told me you asked on the group before asking me in
private ;-)

Here's the link (for Frank):
http://groups.google.fr/group/Google-Web-Toolkit/msg/1ce34d8fe7227096
(found by a linker onModuleLoad DOMContentLoaded search)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Is it possible to inject module-name-nocache.js on demand?

2008-09-19 Thread julien.lancelot

Thanks for your response!

And I ask you in private because I didn't see my message in the forum
(I didn't know that my message has to be moderate) when I wrote it...

I gonna try your trick to execute a script on the fly.


On 19 sep, 14:51, Thomas Broyer [EMAIL PROTECTED] wrote:
 On 19 sep, 13:15, julien.lancelot [EMAIL PROTECTED] wrote:

  I am also very interested to inject GWT apps on demand!!!

  Thomas, you said : Not that it's not that hard to write such a linker
  (and has already
  been discussed on this group).

  Can you give me the link to the discussion?

 You should have told me you asked on the group before asking me in
 private ;-)

 Here's the link (for 
 Frank):http://groups.google.fr/group/Google-Web-Toolkit/msg/1ce34d8fe7227096
 (found by a linker onModuleLoad DOMContentLoaded search)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Moderation policy back in effect: new members' messages moderated to prevent spam

2008-09-19 Thread Sumit Chandel

Hey gregor,

Check out the thread four messages back :-P

Basically I had a slip up with Groups this morning while moderating
messages, and accidentally ended up letting a whole batch of spam
through.

Sorry about that!
-Sumit Chandel

On Fri, Sep 19, 2008 at 2:45 PM, gregor [EMAIL PROTECTED] wrote:

 I've noticed that we seem to inundated with spam again. Has the policy
 lapsed?

 regards
 gregor

 On Sep 19, 11:36 am, ajay jetti [EMAIL PROTECTED] wrote:
 Hi
 GOsh, there were so many of them at once
 


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



Re: questions on Login Security FAQ

2008-09-19 Thread JasonG

Reinier,

Thanks for the additional input.  Can I get some more clarification
from you though?

First of all, I don't understand your (A) response.   I said you
don't need to worry so much about passing session IDs since the app
server will pretty much handle that for you... and your response
seems to just reiterate what I said - but you stated it in a manner as
though you were disagreeing with me.  I don't get it.

Secondly, BCrypt is not mentioned in the original author's post at
all, nor does it seem to be mentioned in the linked guide to
security.  I was not intending to write an all encompassing guide here
but perhaps I should have been a little more clear.  I said in
addition to what others have said and regardless of which hash
algorithm.  Put those two together and this was meant to be taken
as:  it doesn't hurt to concatenate the username+password+some-other-
string on hashed passwords stored in the DB, regardless of algorithm.
Why?   Because if you happen to be using a weak algorithm or even a
strong one for which a weakness is later discovered, you are better
off with a concatenated string than just storing the passwords as
is... especially for brute force attacks targeting weak password
strings such as the word password or secret.  So I was stating
that I prefer to do this than to put all my trust just in the
algorithm.  By no means was I advocating to make up your own security
- I said in addition to what others have said... and by that I mean,
if BCrypt is the latest and greatest, then by all means - use it.
Just remember, there was a time when DES was considered the ultimate
encryption algorithm.  A time could come when BCrypt was as well.

I find the best best practices advice described in timeless generic
terms - without specifying the names of algorithms or 3rd party
libraries.  So my question to you is, could you please restate some
useful advice or a best practice in such a manner?

Thanks,

J

On Sep 18, 10:50 am, Reinier Zwitserloot [EMAIL PROTECTED] wrote:
 JasonG: Thanks for being a nice example of the cluelessness of your
 average programmer. You've got it all, totally, 100% backwards. Don't
 feel too insulted, you're like almost everyone else out there.
 However, you should most definitely stop handing out security advice.
 Seriously.

 A) J2EE doesn't magically work without session keys. It just handles
 them for you; they are still stuck in a cookie someplace. HTTP is
 stateless. A session is by necessity involved.

 B) BCrypt (and you should use BCrypt, or you Fail Security. Seriously.
 Don't think about it, you failed the test. Use tools written by the
 experts) - is a better take on a technique called 'salt hashing',
 invented a few decades ago. With salt hashing, two people with the
 same password do not have the same hash in the database. The fact that
 you don't even know the principle of salt hashing means you're a few
 decades behind the times.

 C) You don't check HASH(username+password), because BCrypting 'abc123'
 and BCrypting 'abc123' again does NOT result in the same hash value!
 That's the whole point. You BCrypt('abc123') exactly once, and then
 later, you get the hash from the db and ask BCrypt to verify that
 'abc123' was used to generate that hash. Even if you somehow solved
 this problem (by removing the salting from the equation which is very
 stupid), then there's still the birthday paradox (wikipedia that) to
 ensure that there are actual serious odds of a collision. In case of a
 collision, some random user will log in as someone else, or if you add
 a unique constraint, some user will someday pick/change his password
 and get a persistent server error. Big whoops.

 On Sep 18, 3:48 pm, JasonG [EMAIL PROTECTED] wrote:

  Hi Cresteb,

  I have a couple of things to add to what others have said.

  1 - I presume all of the session talk in this thread is in regards to
  non-Java languages for the server-side.  If you are using a J2EE
  application on the back end you don't need to worry so much about
  passing session IDs since the app server will pretty much handle that
  for you once authentication has been established.  In fact, you are
  encouraged not to.

  2 - When generating a password hash to store in a DB, regardless of
  what hash algorithm is used I will typically hash the (username
  +password) and place that in the password field.  This offers a couple
  of advantages.  a) you get a single ticket by which a user can be
  looked up if both values are known.  b) if your data gets compromised,
  even the passwords of users who stupidly use the same common password
  (i.e. password, secret, etc...) won't show up the same in the
  database.  To make it even better you can add another element to the
  mix (secret+username+password) so that the same username+password in
  different applications shows up differently in the database.

  On Aug 19, 10:11 pm, cresteb [EMAIL PROTECTED] wrote:

   Hello!

   I have some basic questions on the Register + 

Re: SerializationException error

2008-09-19 Thread flavio faria
Thanks Wanden for your attention!
It's look like non-trivial way!

Sorry but I don´t explain the solution completely.

I use only Session Beans to implents bussiness logic and transaction context
and persistence with Hibernate.

In this case the solution is the same?

Do you no about one application with the same architecture?

I was thinking about change my project. May be implements a middleware
broker to communicate with services under XML.

What do you think about this solution?

Have you another idea?

Thanks
Flávio


2008/9/19 walden [EMAIL PROTECTED]


 Yes, but it's not trivial.

 First, you need to construct a gwt module around the ejb classes you
 intent to share with the client.  This involves placing a
 ejbname.gwt.xml file someplace in the folder structure above all
 those classes, and then using the source tags to point to all the
 places where ejb sources live.  This can sometimes force you to
 reorganize folders a little.  None of this will work unless you are on
 GWT-1.5, by the way.

 Next you need to see why the GWT compiler fails to compile your ejb
 sources.  This is about dependencies that go outside your module and
 outside the GWT runtime emulation footprint.  You'll have to rip all
 that out (and figure out how to live without it).

 Finally, you will have to deal with runtime serialization problems
 wherein the JPA has replaced Java collections objects in your entities
 with its own persistence lazy load variants, which are not known to
 GWT and cannot be known to GWT and therefore cannot serialize.

 Walden

 On Sep 18, 5:31 pm, flavio [EMAIL PROTECTED] wrote:
  Hi,
  I have been developing a client application with GWT to consume
  services(EJB) to another application.
  The client applications has a dependency with EJB app but when occurs
  the RPC call i get the SerializationException error
 
  Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
  'br.gov.trt.regiao1.basico.modelo.uf.dominio.UFDTO' was not included
  in the set of types which can be serialized by this
  SerializationPolicy. For security purposes, this type will not be
  serialized.
 
  Where br.gov.trt.regiao1.basico.modelo.uf.dominio.UFDTO is an object
  in the EJB app.
 
  Is it possible to develop GWT applications with this architecture?
 
  Thanks
  Flávio
 


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



gwt help

2008-09-19 Thread [EMAIL PROTECTED]

hey guys
im new to gwt , i have written 2 user interfaces that are actually
login pages for user registration
my backend is in python .
i want to know about rpc's.
how can i write code so that i can authenticate users to login

Thanks in Advance
Stella

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



How GWT handles celleditors for FlexTable

2008-09-19 Thread vinni

HI All,

How should i impliment celleditors for table cells in GWT.

Thanks,
Vinay.Y.

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



Sequence Diagram about RPC mechanism

2008-09-19 Thread Antony87

Hello,

Where can I find a Sequence diagram who explain the RPC mechanism ?

Thank's for all

Antony

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



Recieveing error when adding connection driver for Microsoft SQL Server 2005

2008-09-19 Thread Shoiko

When adding the Microsoft SQL Server 2005 JDBC Driver  ~~ sqljdbc_1.2
I get this error. Any help on adding the driver to my project?

org.eclipse.core.runtime.CoreException: Plug-in
org.eclipse.datatools.enablement.msft.sqlserver.profile was unable to
load class
org.eclipse.datatools.connectivity.ui.PasswordTextPropertyDescriptor.
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:
180)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:
162)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:
788)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:
243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:
51)
at
org.eclipse.datatools.connectivity.internal.ui.DriverInstancePropertySource.getPropertyDescriptors(DriverInstancePropertySource.java:
125)
at
org.eclipse.ui.views.properties.PropertySheetEntry.computeMergedPropertyDescriptors(PropertySheetEntry.java:
167)
at
org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries(PropertySheetEntry.java:
530)
at
org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:
760)
at
org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:
974)
at
org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:
473)
at
org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog.updatePropertyDescriptors(EditDriverDialog.java:
357)
at
org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog.updateJarList(EditDriverDialog.java:
391)
at
org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog.access
$700(EditDriverDialog.java:68)
at
org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog
$4.widgetSelected(EditDriverDialog.java:250)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.datatools.connectivity.internal.ui.dialogs.DriverDefinitionsDialog.editDriver(DriverDefinitionsDialog.java:
565)
at
org.eclipse.datatools.connectivity.internal.ui.dialogs.DriverDefinitionsDialog.access
$800(DriverDefinitionsDialog.java:66)
at
org.eclipse.datatools.connectivity.internal.ui.dialogs.DriverDefinitionsDialog
$3.widgetSelected(DriverDefinitionsDialog.java:253)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.datatools.connectivity.internal.ui.DriverListCombo
$EditButtonSelectionChangedListener.widgetSelected(DriverListCombo.java:
666)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:
226)
at
org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:
272)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.openContainerSelectionDialog(LibrariesWorkbookPage.java:
817)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:
251)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access
$0(LibrariesWorkbookPage.java:238)
at

Re: RPC host mode fine --- RPC deployed web mode fails

2008-09-19 Thread Jason Essington

does your object have public getters and setters?

-jason
On Sep 19, 2008, at 12:27 AM, Barry wrote:


 Hi ...

 I have a (relatively) simple project that demonstrates an RPC failure
 that I don't know how to fix. There are two remote calls. SimpleCall
 returns an integer and succeeds both in host mode and in deployed web
 mode. ClassReturnCall returns a class instance and succeeds in host
 mode but _fails_ in deployed web mode.

 The failure message is: Class Return Call Failure:
 com.google.gwt.user.client.rpc.StatusCodeException: The call failed on
 the server; see server log for details.

 I built this project from scratch to show this, and haven't used or
 done anything exotic. I created the SimpleService and
 ClassReturnService using the wizards, created the .WAR file using a
 menu item, and deployed with a straight copy into Tomcat 5.5's
 application directory.

 The return class is defined in its own class file, is a simple bean,
 and implements IsSerializable.

 Can someone take a look at this and give some suggestions/reasons?? I
 don't know what to do from here. Could this be some sort of security
 manager problem???

 Below are the log details, but the project (as simple as it is) is too
 much to post, so I have put it on the web: 
 http://www.tpsoft.com/RemoteServiceTest.zip

 The server log says:

 Sep 19, 2008 6:15:31 AM org.apache.catalina.core.ApplicationContext
 log
 INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
 [org.apache.webapp.balancer.RuleChain:
 [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:
 News / Redirect URL: http://www.cnn.com],
 [org.apache.webapp.balancer.rules.RequestParameterRule: Target param
 name: paramName / Target param value: paramValue / Redirect URL:
 http://www.yahoo.com],
 [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
 http://jakarta.apache.org]]
 Sep 19, 2008 6:16:11 AM org.apache.catalina.core.ApplicationContext
 log
 SEVERE: Exception while dispatching incoming RPC call
 java.security.AccessControlException: access denied
 (java.lang.reflect.ReflectPermission suppressAccessChecks)
   at
 java
 .security
 .AccessControlContext.checkPermission(AccessControlContext.java:
 323)
   at
 java.security.AccessController.checkPermission(AccessController.java:
 546)
   at java.lang.SecurityManager.checkPermission(SecurityManager.java:
 532)
   at
 java
 .lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
 107)
   at
 com
 .google
 .gwt
 .user
 .server
 .rpc
 .impl
 .ServerSerializationStreamWriter
 .serializeClass(ServerSerializationStreamWriter.java:
 619)
   at
 com
 .google
 .gwt
 .user
 .server
 .rpc
 .impl
 .ServerSerializationStreamWriter
 .serializeImpl(ServerSerializationStreamWriter.java:
 655)
   at
 com
 .google
 .gwt
 .user
 .server
 .rpc
 .impl
 .ServerSerializationStreamWriter
 .serialize(ServerSerializationStreamWriter.java:
 582)
   at
 com
 .google
 .gwt
 .user
 .client
 .rpc
 .impl
 .AbstractSerializationStreamWriter
 .writeObject(AbstractSerializationStreamWriter.java:
 105)
   at  
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
 $ValueWriter$8.write(ServerSerializationStreamWriter.java:146)
   at
 com 
 .google 
 .gwt 
 .user 
 .server 
 .rpc 
 .impl 
 .ServerSerializationStreamWriter 
 .serializeValue(ServerSerializationStreamWriter.java:
 520)
   at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:573)
   at
 com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
 441)
   at
 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
 529)
   at
 com 
 .google 
 .gwt 
 .user 
 .server 
 .rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
 163)
   at
 com 
 .google 
 .gwt 
 .user 
 .server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:
 85)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
 sun 
 .reflect 
 .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
 39)
   at
 sun 
 .reflect 
 .DelegatingMethodAccessorImpl 
 .invoke(DelegatingMethodAccessorImpl.java:
 25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
 244)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
   at
 org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
 276)
   at
 org 
 .apache 
 .catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:
 162)
   at
 org 
 .apache 
 .catalina 
 .core 
 .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
 262)
   at org.apache.catalina.core.ApplicationFilterChain.access
 $0(ApplicationFilterChain.java:192)

Re: Recieveing error when adding connection driver for Microsoft SQL Server 2005

2008-09-19 Thread Isaac Truett

Perhaps you're looking for an Eclipse Data Tools Platform support forum?

http://www.eclipse.org/datatools/



On Fri, Sep 19, 2008 at 10:57 AM, Shoiko [EMAIL PROTECTED] wrote:

 When adding the Microsoft SQL Server 2005 JDBC Driver  ~~ sqljdbc_1.2
 I get this error. Any help on adding the driver to my project?

 org.eclipse.core.runtime.CoreException: Plug-in
 org.eclipse.datatools.enablement.msft.sqlserver.profile was unable to
 load class
 org.eclipse.datatools.connectivity.ui.PasswordTextPropertyDescriptor.
at
 org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:
 180)
at
 org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:
 162)
at
 org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:
 788)
at
 org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:
 243)
at
 org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:
 51)
at
 org.eclipse.datatools.connectivity.internal.ui.DriverInstancePropertySource.getPropertyDescriptors(DriverInstancePropertySource.java:
 125)
at
 org.eclipse.ui.views.properties.PropertySheetEntry.computeMergedPropertyDescriptors(PropertySheetEntry.java:
 167)
at
 org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries(PropertySheetEntry.java:
 530)
at
 org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:
 760)
at
 org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:
 974)
at
 org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:
 473)
at
 org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog.updatePropertyDescriptors(EditDriverDialog.java:
 357)
at
 org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog.updateJarList(EditDriverDialog.java:
 391)
at
 org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog.access
 $700(EditDriverDialog.java:68)
at
 org.eclipse.datatools.connectivity.internal.ui.dialogs.EditDriverDialog
 $4.widgetSelected(EditDriverDialog.java:250)
at
 org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
 227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
 org.eclipse.datatools.connectivity.internal.ui.dialogs.DriverDefinitionsDialog.editDriver(DriverDefinitionsDialog.java:
 565)
at
 org.eclipse.datatools.connectivity.internal.ui.dialogs.DriverDefinitionsDialog.access
 $800(DriverDefinitionsDialog.java:66)
at
 org.eclipse.datatools.connectivity.internal.ui.dialogs.DriverDefinitionsDialog
 $3.widgetSelected(DriverDefinitionsDialog.java:253)
at
 org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
 227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.datatools.connectivity.internal.ui.DriverListCombo
 $EditButtonSelectionChangedListener.widgetSelected(DriverListCombo.java:
 666)
at
 org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
 227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
 org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:
 226)
at
 org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:
 272)
at
 org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.openContainerSelectionDialog(LibrariesWorkbookPage.java:
 817)
at
 

Re: gwt functionality to jsp page

2008-09-19 Thread walden

I agree that hijacking JSP pages and wrapping elements with GWT
widgets is not the best long-term approach.

As an alternative to using JSNI to hijack the drop-downs, you could
make the host JSP page simply contain empty placeholder div elements
with known id values, insert your GWT ListBox instances in them using
RootPanel.  You could populate the list options with server data
gotten via separate request (GWT RPC?).  While it's true that this is
an extra round-trip, you have to look at it in the overall context of
developing a rich client, in which case you may already have need to
fetch data from the server, and you could piggyback this request onto
that.  This approach has the added benefit that if the list box
contents are at all dynamic, you now have the means to refresh them.

Walden

On Sep 19, 9:36 am, obesga [EMAIL PROTECTED] wrote:
 I think you don't have the rihgth approach to GWT, but if this is what
 you really want, there's a way to do it

 Make a GWT module and implement your desired behaviour of the listbox
 in one ListBox class
 Implemet a method , by JSNI,  that assigns the desired textbox to the
 class - using public static ListBox wrap(Element element)
 Load into the jsp page the generated script
 script type=text/javascript language=javascript
 src=neeraj.MyProject.nocache.js

 But you must learn a little to make it well

 Oskar

 On 18 sep, 09:34, neeraj [EMAIL PROTECTED] wrote:



  HI
  I m new to GWT. suppose if I want to add gwt functionality to two
  dropdowns on mi jsp page.how could i achieve that.- Hide quoted text -

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



Re: SerializationException error

2008-09-19 Thread walden

Flavio,

The solution is essentially the same.  I had assumed the classes you
want to serialize are EntityBeans, but it sounds like they are
Hibernate POJOs, but it's almost the same thing.  The classes need to
be moduled up and put on the GWT compiler classpath, they have to be
clean with respect to JRE emulation, and since they are Hibernate
objects, you will still have the lazy load proxy objects in there to
contend with.

I think rolling your own XML serialization of these objects is a
nightmare, don't do that.

Walden

On Sep 19, 10:03 am, flavio faria [EMAIL PROTECTED]
wrote:
 Thanks Wanden for your attention!
 It's look like non-trivial way!

 Sorry but I don´t explain the solution completely.

 I use only Session Beans to implents bussiness logic and transaction context
 and persistence with Hibernate.

 In this case the solution is the same?

 Do you no about one application with the same architecture?

 I was thinking about change my project. May be implements a middleware
 broker to communicate with services under XML.

 What do you think about this solution?

 Have you another idea?

 Thanks
 Flávio

 2008/9/19 walden [EMAIL PROTECTED]





  Yes, but it's not trivial.

  First, you need to construct a gwt module around the ejb classes you
  intent to share with the client.  This involves placing a
  ejbname.gwt.xml file someplace in the folder structure above all
  those classes, and then using the source tags to point to all the
  places where ejb sources live.  This can sometimes force you to
  reorganize folders a little.  None of this will work unless you are on
  GWT-1.5, by the way.

  Next you need to see why the GWT compiler fails to compile your ejb
  sources.  This is about dependencies that go outside your module and
  outside the GWT runtime emulation footprint.  You'll have to rip all
  that out (and figure out how to live without it).

  Finally, you will have to deal with runtime serialization problems
  wherein the JPA has replaced Java collections objects in your entities
  with its own persistence lazy load variants, which are not known to
  GWT and cannot be known to GWT and therefore cannot serialize.

  Walden

  On Sep 18, 5:31 pm, flavio [EMAIL PROTECTED] wrote:
   Hi,
   I have been developing a client application with GWT to consume
   services(EJB) to another application.
   The client applications has a dependency with EJB app but when occurs
   the RPC call i get the SerializationException error

   Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
   'br.gov.trt.regiao1.basico.modelo.uf.dominio.UFDTO' was not included
   in the set of types which can be serialized by this
   SerializationPolicy. For security purposes, this type will not be
   serialized.

   Where br.gov.trt.regiao1.basico.modelo.uf.dominio.UFDTO is an object
   in the EJB app.

   Is it possible to develop GWT applications with this architecture?

   Thanks
   Flávio- Hide quoted text -

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



Re: Problem with java.lang.ClassNotFoundException only when deployed

2008-09-19 Thread Keith Fuller

Hi Gregor,

Yup, that fixed it.  Stupid newbie error - fortunately the sort of
error that only gets made once.  Now I can start putting back in the
server functionality that I took out to debug it.

Thank you very much for your help,

Keith

On Fri, Sep 19, 2008 at 7:45 AM, gregor [EMAIL PROTECTED] wrote:

 Hi Keith,

 Looking at your deployment structure:

 The web server has the directory structure:
 apache-tomcat-5.5.25/webapps
CorpusSearch
... a pile of html, rpc, js, html, css, and...
web.xml
WEB-INF
classes
CorpusSearch.class
CorpusSearchReturns.class
CorpusSearchServiceAsync.class
CorpusSearchData.class
CorpusSearchService.class
CorpusServiceImpl.class
web.xml
lib
gwt-servlet.jar
web.xml

 the package structure ca.KeithFuller.server seems to be missing which
 would explain why you get a ClassNotFoundException for
 ca.KeithFuller.server.CorpusServiceImpl. I think you should copy the
 entire directory structure under WEB-INF\classes.

 Also I would recommend you take a little time to make an Ant build
 script that creates a WAR file for you application and copies it
 straight to your Tomcat deployment directory where it will
 automatically redeploy. This will kill problems like this (because Ant
 doesn't make mistakes) and save you a lot of time in the long run.
 There are lots of examples of how to do this in the group - just
 search for ant build WAR.

 regards
 gregor




 On Sep 18, 4:40 pm, Keith [EMAIL PROTECTED] wrote:
 Hi all,

 First off, I am a new user and have built a very simple application.
 It works fine under hosted mode.  It compiles with no errors.  When I
 deploy it to the web server and point a browser at it, it throws a
 ClassNotFoundException.  I suspect this is a really simple problem
 (probably caused by a really stupid error).  This is driving me crazy
 and I would really appreciate ANY help or suggestions anyone could
 throw my way.

 I have included a lot of error logs, copies of web.xml, directory
 structures etc. below.

 Trying to work through this is a learning experience, but I am
 stumped.  The fact that the server is able to sort out the URL sent
 from the client enough to know the name of the object is
 ca.KeithFuller.server.CorpusServiceImpl suggests to me that the server
 is finding the web.xml file, which suggests that it should be able to
 find the object since I believe that WEB-INF/classes is always on the
 search path.  The file CorpusServiceImpl.class is in WEB-INF/classes,
 and the corresponding java file starts with:

 package ca.KeithFuller.server;

 import java.util.*;  // for Scanner
 import java.io.*;// for println

 import ca.KeithFuller.client.CorpusSearchReturns;
 import ca.KeithFuller.client.CorpusSearchService;

 import com.google.gwt.user.server.rpc.RemoteServiceServlet;

 public class CorpusServiceImpl extends RemoteServiceServlet
 implements CorpusSearchService
 {
 ...

 A whole pile of details follow:

 I use GWT 1.4.61

 I use Eclipse 3.2.2

 My webserver uses Linux, Tomcat and Apache.

 I use FireFox 3.0.1 and the URL 
 ishttp://www.keithfuller.ca:9108/CorpusSearch/CorpusSearch.html

 The client code contains:
 ...
 // Create the proxy object
 final CorpusSearchServiceAsync serviceProxy =
 (CorpusSearchServiceAsync) 
 GWT.create(CorpusSearchService.class);

 // Cast the proxy object to ServiceDefTarget
 String serviceUrl = GWT.getModuleBaseURL() + corpus-search;
 //  if (GWT.isScript()){
 //  serviceUrl = /corpus-search;
 //  }
 
 ((ServiceDefTarget)serviceProxy).setServiceEntryPoint(serviceUrl);
 ...

 The localhost.2008-09-18.log file contains:
 Sep 18, 2008 10:21:04 AM org.apache.catalina.core.ApplicationContext
 log
 INFO: Marking servlet corpus-search as unavailable
 Sep 18, 2008 10:21:04 AM org.apache.catalina.core.ApplicationContext
 log
 SEVERE: Error loading WebappClassLoader
   delegate: false
   repositories:
 /WEB-INF/classes/
 -- Parent Classloader:
 [EMAIL PROTECTED]
  ca.KeithFuller.server.CorpusServiceImpl
 java.lang.ClassNotFoundException:
 ca.KeithFuller.server.CorpusServiceImpl
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
 1362)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
 1208)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
 1068)
 at
 

Re: PopupListener

2008-09-19 Thread Ian Bambury
The center() method calls hide() which triggers the onPopupClosed.

I had this problem, but since I couldn't believe it hadn't been noticed in
testing before release, I assumed there must be a good reason for it, or
that *not* doing it means I had been following some evil coding practice.
Again.

Ian

http://examples.roughian.com


2008/9/18 Paul [EMAIL PROTECTED]


 I have noticed that the Popup has changed from 1.4 to 1.5

 In 1.4 I could write

 Popup popup = new Popup();
 popup.addPopupListener(new PopupListener()
  {
public void onPopupClosed(PopupPanel sender, boolean autoClosed)
{
   Window.alert(HI);
}
 });
 popup.show();

 and it would work

 In 1.5 if I write it this way the onPopupClosed fires before the popup
 shows. It will fire when I close the popup too late by now.

 Is this now the new rule add the listener after the show or center
 method is called.

 

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



Strange GWT / Prototype interaction on Safari???

2008-09-19 Thread Pete


Greetings,

I'm seeing a strange situation using Prototip (a Prototype based tool-
tip package) with GWT - only on Safari.  Here's the setup:

- both prototype.js and prototip.js included from my .gwt.xml file
- jsni native call to new $win.Tip(...) to create the tooltip

Works swell on Firefox, IE, Chrome - but throws an exception on Safari
that observe is not defined.  I've stuck the following bit of JS
code into my native method to see:

var test = $doc.createElement(div);
$wnd.alert(test + .observe =  + test.observe);

Lo and behold, on FF, IE, Chrome, the alert box comes up saying that
the div element has an observe method defined, but in Safari it says
undefined.  This observe method is a method added as part of the
Protoype bootstrapping.  I've added alerts to the prototype library to
ensure it's bootstrapping and is surely is.

I can't recreate this in hand-coded html - so it seems like some
interaction with GWT?

Can anyone enlighten me on this?

Thanks!

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



Re: Annoucement. PureMVC4GWT RC is available

2008-09-19 Thread Luciano Broussal

Hi,



Here is the documentation 
http://puremvc.org/component/option,com_wrapper/Itemid,174/.
It is available on the PureMVC Home page.

Maybe you don't like but i'm not sure you can do more simple than the
15 classes which compose PureMvc and help the developper to separate
layers and the main design patterns it use :

Proxy
Facade.
Medialor
Commands
View
Controller

Anyway, thank you for had a look to the project.

Regards

FYI a little hello would have been welcome at the beginning of your
post ;)

Luciano

On 19 sep, 12:11, Thomas Broyer [EMAIL PROTECTED] wrote:
 On 17 sep, 12:34, Luciano Broussal [EMAIL PROTECTED] wrote:

  Hi All,

  I've created a tiny but powerful gwt project

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

 I didn't know PureMVC, and I'm not very familiar with MVC either
 (well, I know the basics but I'm far from being used to MVC), but
 after throwing an eye at the puremvc overview docs and at your code
 (loginsample and then some of the framework's classes), it seems like
 I was having a similar idea for the next big rewrite of our GWT app:
 mainly having a single object to publish/subscribe to (Facade).
 However, I was rather thinking about using integers (or maybe a big
 Enum, not the best choice as far as SoC is concerned, but easier to
 maintain in order to prevent conflicts) rather than strings to
 identify notifications (allows switch/case in Java and probably leads
 to faster code than String comparisons; as was done with
 com.google.gwt.user.client.Event's constants).

 All in all, PureMVC seems a little bit over-engineered, bringing too
 much overhead to the constrained environment that a web browser is...
 Looks like a good and clean pattern, but I'd rather build my own
 specific implementation from a template project than use this
 generic impl... (for example: why having a Notification class and
 INotification interface if you don't ever subclass/implement them? why
 not just have onHandleNotification(String name, Object body, String
 type) methods all over the place?)

 Actually, I didn't spend much more than half an our reading PureMVC
 docs and your code, so I probably missed a lot of things (btw, where's
 the userguide you talked about? I couldn't find it on puremvc.org, or
 is what's called best practices?)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problems migrating GWT 1.5 2030 to GWT 1.5 official release

2008-09-19 Thread ZhangJianshe

hello,guys, i encount the same problem,whould you like share your
solutions?

but ,i need you help.

On 8月31日, 下午10时03分, Gabriel Thiesen [EMAIL PROTECTED] wrote:
 Thank you adm.dfs,

  Was exactly this indeed, so thank you very much

 Gabriel Thiesen

 On Aug 30, 8:17 am, adm.dfs [EMAIL PROTECTED] wrote:



  Hello Gabriel,

  Its because Yours RCP implementation is located in same package with
  RCP interfaces.
  GWT propose move implementation to another package 
  (seehttp://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...).-
   隐藏被引用文字 -

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



Communicating between php and GWT using JSON

2008-09-19 Thread Amit Dhingra
Hi All,
I am trying to communicate between php and GWT, for which I have tried and
successfully used JSON, using the following code
if(!HTTPRequest.asyncGet(http://myurl/index.php;, new
JSONResponseTextHandler())) {
Window.alert(Error accessing index1.php);
}
Now I want to transfer data back to php from GWT. What is the right
procedure for this?

Further, is JSON a safe and the industry standard method of communicating???
Or shall I consider XML or something else...

Thanks in advance... :)

-- 
Warm Regards,
Amit Dhingra

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



Re: GWT application and Google AppEngine

2008-09-19 Thread Jeremiah Elliott
have you taken a look at this?
http://code.google.com/p/python-gwt-rpc/


On Fri, Sep 19, 2008 at 5:34 AM, ajay jetti [EMAIL PROTECTED]wrote:

 Hi Sri
 Even im facing the same problem
 Please sombody post

 


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



Re: Communicating between php and GWT using JSON

2008-09-19 Thread Jason Essington
HTTPRequest is deprecated, you should consider using RequestBuilder

JSON is fine for trusted sources, and the parsing (de-serializing) is  
actually pretty instantaneous if you use the JS Overlay techniques  
(direct evaluation) available in GWT 1.5.

Of course, if you are getting JSON from a non-trusted source, you'll  
want to be considerably more cautious about your parsing.

-jason

On Sep 19, 2008, at 12:27 PM, Amit Dhingra wrote:

 Hi All,
 I am trying to communicate between php and GWT, for which I have  
 tried and successfully used JSON, using the following code
 if(!HTTPRequest.asyncGet(http://myurl/index.php;, new  
 JSONResponseTextHandler())) {
 Window.alert(Error accessing index1.php);
 }
 Now I want to transfer data back to php from GWT. What is the right  
 procedure for this?

 Further, is JSON a safe and the industry standard method of  
 communicating??? Or shall I consider XML or something else...

 Thanks in advance... :)

 -- 
 Warm Regards,
 Amit Dhingra

 


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



Re: Problems migrating GWT 1.5 2030 to GWT 1.5 official release

2008-09-19 Thread Gabriel Thiesen

In the path server i created a new package called RPC, like this:

  source path=client /
source path=intl /
source path=server/rpc /

I kept the ServletImpl implementation into the server path and moved
the Servlet and ServletAsync to the package servlet/rpc

This will separate the actual implementation from the code GWT should
take care of

Thanks,
Gabriel Thiesen

On Sep 19, 3:02 pm, ZhangJianshe [EMAIL PROTECTED] wrote:
 hello,guys, i encount the same problem,whould you like share your
 solutions?

 but ,i need you help.

 On 8月31日, 下午10时03分, Gabriel Thiesen [EMAIL PROTECTED] wrote:

  Thank you adm.dfs,

   Was exactly this indeed, so thank you very much

  Gabriel Thiesen

  On Aug 30, 8:17 am, adm.dfs [EMAIL PROTECTED] wrote:

   Hello Gabriel,

   Its because Yours RCP implementation is located in same package with
   RCP interfaces.
   GWT propose move implementation to another package 
   (seehttp://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...隐藏被引用文字
-

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



Re: RPC host mode fine --- RPC deployed web mode fails

2008-09-19 Thread Barry

Good call, Lothar --

I changed my private declarations to public and put an ominous
looking comment next to each of them. Once I did that, the
serialization worked fine ... both on my test case and my much larger
application.

I also tried setting security permissions for the security manager in
Tomcat's policy file. That was a disaster ... I'll have to get with
someone who knows Java Security Manager better.

Thanks!

On Sep 19, 1:44 am, Lothar Kimmeringer [EMAIL PROTECTED] wrote:
 Barry schrieb:

  The failure message is: Class Return Call Failure:
  com.google.gwt.user.client.rpc.StatusCodeException: The call failed on
  the server; see server log for details.

 [...]

  java.security.AccessControlException: access denied
  (java.lang.reflect.ReflectPermission suppressAccessChecks)

 A SecurityManager is denying access to a private member
 of your class.

     at
  java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
  107)
     at
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:
  619)

 You need this for (de)serializing data when the member is
 private. You can try the following things:

  - Use java.io.Serializable instead of IsSerializable
    I don't know the sources of GWT but maybe that is
    enough to let the GWT deserializer use ObjectInputStream.readObject()
    instead of its own deserialization-routine
  - Change the members of your class from private to public
    That's what I have done, because the objects being exchanged
    between client and server are GWT-only anyway, only used there
    and not visible in other parts of the server.
  - Change the settings of the SecurityManager to allow the
    access of private members for ServerSerializationStreamWriter

 Hosted mode works because there is no or a SecurityManager
 with fitting settings being installed.

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



Re: RPC host mode fine --- RPC deployed web mode fails

2008-09-19 Thread Barry

Yes, it does, Jason.

The public getters and setters are there to protect the private member
variables. Since I made the member variables public (see reply to
Lothar above), I'm having no trouble serializing.

Why do you ask about the getters and setters???

Thanks!

On Sep 19, 8:10 am, Jason Essington [EMAIL PROTECTED] wrote:
 does your object have public getters and setters?

 -jason
 On Sep 19, 2008, at 12:27 AM, Barry wrote:



  Hi ...

  I have a (relatively) simple project that demonstrates an RPC failure
  that I don't know how to fix. There are two remote calls. SimpleCall
  returns an integer and succeeds both in host mode and in deployed web
  mode. ClassReturnCall returns a class instance and succeeds in host
  mode but _fails_ in deployed web mode.

  The failure message is: Class Return Call Failure:
  com.google.gwt.user.client.rpc.StatusCodeException: The call failed on
  the server; see server log for details.

  I built this project from scratch to show this, and haven't used or
  done anything exotic. I created the SimpleService and
  ClassReturnService using the wizards, created the .WAR file using a
  menu item, and deployed with a straight copy into Tomcat 5.5's
  application directory.

  The return class is defined in its own class file, is a simple bean,
  and implements IsSerializable.

  Can someone take a look at this and give some suggestions/reasons?? I
  don't know what to do from here. Could this be some sort of security
  manager problem???

  Below are the log details, but the project (as simple as it is) is too
  much to post, so I have put it on the 
  web:http://www.tpsoft.com/RemoteServiceTest.zip

  The server log says:

  Sep 19, 2008 6:15:31 AM org.apache.catalina.core.ApplicationContext
  log
  INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
  [org.apache.webapp.balancer.RuleChain:
  [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:
  News / Redirect URL:http://www.cnn.com],
  [org.apache.webapp.balancer.rules.RequestParameterRule: Target param
  name: paramName / Target param value: paramValue / Redirect URL:
 http://www.yahoo.com],
  [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
 http://jakarta.apache.org]]
  Sep 19, 2008 6:16:11 AM org.apache.catalina.core.ApplicationContext
  log
  SEVERE: Exception while dispatching incoming RPC call
  java.security.AccessControlException: access denied
  (java.lang.reflect.ReflectPermission suppressAccessChecks)
     at
  java
  .security
  .AccessControlContext.checkPermission(AccessControlContext.java:
  323)
     at
  java.security.AccessController.checkPermission(AccessController.java:
  546)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:
  532)
     at
  java
  .lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
  107)
     at
  com
  .google
  .gwt
  .user
  .server
  .rpc
  .impl
  .ServerSerializationStreamWriter
  .serializeClass(ServerSerializationStreamWriter.java:
  619)
     at
  com
  .google
  .gwt
  .user
  .server
  .rpc
  .impl
  .ServerSerializationStreamWriter
  .serializeImpl(ServerSerializationStreamWriter.java:
  655)
     at
  com
  .google
  .gwt
  .user
  .server
  .rpc
  .impl
  .ServerSerializationStreamWriter
  .serialize(ServerSerializationStreamWriter.java:
  582)
     at
  com
  .google
  .gwt
  .user
  .client
  .rpc
  .impl
  .AbstractSerializationStreamWriter
  .writeObject(AbstractSerializationStreamWriter.java:
  105)
     at  
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
  $ValueWriter$8.write(ServerSerializationStreamWriter.java:146)
     at
  com
  .google
  .gwt
  .user
  .server
  .rpc
  .impl
  .ServerSerializationStreamWriter
  .serializeValue(ServerSerializationStreamWriter.java:
  520)
     at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:573)
     at
  com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
  441)
     at
  com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
  529)
     at
  com
  .google
  .gwt
  .user
  .server
  .rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
  163)
     at
  com
  .google
  .gwt
  .user
  .server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:
  85)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
  sun
  .reflect
  .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
  39)
     at
  sun
  .reflect
  .DelegatingMethodAccessorImpl
  .invoke(DelegatingMethodAccessorImpl.java:
  25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
  244)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at
  

Re: RPC host mode fine --- RPC deployed web mode fails

2008-09-19 Thread Jason Essington

I thought there was some talk previously about the serializers using  
the getters/setters rather than directly molesting the fields to get  
around the security policy issues like you were having ... though that  
discussion was quite a while ago, and I don't remember the details now.

-jason

On Sep 19, 2008, at 2:25 PM, Barry wrote:


 Yes, it does, Jason.

 The public getters and setters are there to protect the private member
 variables. Since I made the member variables public (see reply to
 Lothar above), I'm having no trouble serializing.

 Why do you ask about the getters and setters???

 Thanks!

 On Sep 19, 8:10 am, Jason Essington [EMAIL PROTECTED] wrote:
 does your object have public getters and setters?

 -jason
 On Sep 19, 2008, at 12:27 AM, Barry wrote:



 Hi ...

 I have a (relatively) simple project that demonstrates an RPC  
 failure
 that I don't know how to fix. There are two remote calls. SimpleCall
 returns an integer and succeeds both in host mode and in deployed  
 web
 mode. ClassReturnCall returns a class instance and succeeds in host
 mode but _fails_ in deployed web mode.

 The failure message is: Class Return Call Failure:
 com.google.gwt.user.client.rpc.StatusCodeException: The call  
 failed on
 the server; see server log for details.

 I built this project from scratch to show this, and haven't used or
 done anything exotic. I created the SimpleService and
 ClassReturnService using the wizards, created the .WAR file using a
 menu item, and deployed with a straight copy into Tomcat 5.5's
 application directory.

 The return class is defined in its own class file, is a simple bean,
 and implements IsSerializable.

 Can someone take a look at this and give some suggestions/ 
 reasons?? I
 don't know what to do from here. Could this be some sort of security
 manager problem???

 Below are the log details, but the project (as simple as it is) is  
 too
 much to post, so I have put it on the 
 web:http://www.tpsoft.com/RemoteServiceTest.zip

 The server log says:

 Sep 19, 2008 6:15:31 AM org.apache.catalina.core.ApplicationContext
 log
 INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
 [org.apache.webapp.balancer.RuleChain:
 [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:
 News / Redirect URL:http://www.cnn.com],
 [org.apache.webapp.balancer.rules.RequestParameterRule: Target param
 name: paramName / Target param value: paramValue / Redirect URL:
 http://www.yahoo.com],
 [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect  
 URL:
 http://jakarta.apache.org]]
 Sep 19, 2008 6:16:11 AM org.apache.catalina.core.ApplicationContext
 log
 SEVERE: Exception while dispatching incoming RPC call
 java.security.AccessControlException: access denied
 (java.lang.reflect.ReflectPermission suppressAccessChecks)
at
 java
 .security
 .AccessControlContext.checkPermission(AccessControlContext.java:
 323)
at
 java 
 .security.AccessController.checkPermission(AccessController.java:
 546)
at  
 java.lang.SecurityManager.checkPermission(SecurityManager.java:
 532)
at
 java
 .lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
 107)
at
 com
 .google
 .gwt
 .user
 .server
 .rpc
 .impl
 .ServerSerializationStreamWriter
 .serializeClass(ServerSerializationStreamWriter.java:
 619)
at
 com
 .google
 .gwt
 .user
 .server
 .rpc
 .impl
 .ServerSerializationStreamWriter
 .serializeImpl(ServerSerializationStreamWriter.java:
 655)
at
 com
 .google
 .gwt
 .user
 .server
 .rpc
 .impl
 .ServerSerializationStreamWriter
 .serialize(ServerSerializationStreamWriter.java:
 582)
at
 com
 .google
 .gwt
 .user
 .client
 .rpc
 .impl
 .AbstractSerializationStreamWriter
 .writeObject(AbstractSerializationStreamWriter.java:
 105)
at
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
 $ValueWriter$8.write(ServerSerializationStreamWriter.java:146)
at
 com
 .google
 .gwt
 .user
 .server
 .rpc
 .impl
 .ServerSerializationStreamWriter
 .serializeValue(ServerSerializationStreamWriter.java:
 520)
at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java: 
 573)
at
 com 
 .google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
 441)
at
 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
 529)
at
 com
 .google
 .gwt
 .user
 .server
 .rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
 163)
at
 com
 .google
 .gwt
 .user
 .server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:
 85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun
 .reflect
 .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
 39)
at
 sun
 .reflect
 .DelegatingMethodAccessorImpl
 .invoke(DelegatingMethodAccessorImpl.java:
 25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 

iPhone toggle switch implementation

2008-09-19 Thread Bear

Can anyone help me implement iPhone style toogleswitch in GWT?  I've
been trying to use the iUi CSS style sheets and I have a question on
how I would implement this in GWT?

 fieldset

 div class=row
 labelShuffle/label
 div class=toggle onclick= toggled=truespan
class=thumb/spanspan class=toggleOnON/spanspan
class=toggleOffOFF/span/div
 /div
fieldset

I assume I can use a HorizontalPanel and setStyleName(row) and then
add a button with style toggle but how do I send the toggled=true
info to the CSS and add the 3 span elements?

Thanks in advance

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



Re: iPhone toggle switch implementation

2008-09-19 Thread Reinier Zwitserloot

That's not how stylesheets work.

You have two options:

A) change the style of a given element. e.g. use add/removeStyleName,
to change the styling info of your widget. for example:

myWidget.setStyleName(someStyleClassThatIsAlwaysApplied);

if ( toggledOn ) {
  myWidget.removeStyleName(toggledOn);
  myWidget.addStyleName(toggledOff);
} else { /* you can guess what goes here */ }

B) Have two widgets, one for each 'toggle', and alternatively hide/
show them. Use the widget's .setVisibility(bool) method to do it.

On Sep 20, 12:10 am, Bear [EMAIL PROTECTED] wrote:
 Can anyone help me implement iPhone style toogleswitch in GWT?  I've
 been trying to use the iUi CSS style sheets and I have a question on
 how I would implement this in GWT?

  fieldset

              div class=row
                  labelShuffle/label
                  div class=toggle onclick= toggled=truespan
 class=thumb/spanspan class=toggleOnON/spanspan
 class=toggleOffOFF/span/div
              /div
 fieldset

 I assume I can use a HorizontalPanel and setStyleName(row) and then
 add a button with style toggle but how do I send the toggled=true
 info to the CSS and add the 3 span elements?

 Thanks in advance

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



Re: GWT 1.5 Now Available

2008-09-19 Thread Reinier Zwitserloot

It's not, there's a known problem with the google download link, for
some people it just screws up. I suggest you try to download it from
another network.

On Sep 18, 12:52 pm, vector [EMAIL PROTECTED] wrote:
 Hi.
 I have tried to download latest version for windows. The file is
 corrupted. I performed it from several places, but result is always
 the same.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: questions on Login Security FAQ

2008-09-19 Thread Reinier Zwitserloot

I don't know jasypt, so I can't make guarantees (actually, nobody can,
but you know what I mean). However, there are two good signs:

1) The API is specifically for password checking. This is a lot better
than using a generic hasher and doing the salting yourself. The
authors of the library had password hashing in mind when they wrote
it. If they did their job right, it should be good for password
hashing.

2) The API call is checkPassword(thePassword, theHash). This is the
'right' form of such a library. Contrast to e.g.
hash(thePassword).equals(theHashFromTheDB), which is the -wrong- form
(because there's no salt in that mix at all), or even hash(saltFromDB
+thePassword).equals(hashFromDB), which is probably okay, but requires
more acts on behalf of the library user, including generating a
cryptographically secure salt somehow.

So, that very shallow review says: It's all good. But no guarantees on
the jasypt author's security chops.

On Sep 19, 12:27 pm, Ed [EMAIL PROTECTED] wrote:
 Like Rob mentioned, always interesting to read Reinier's post :)...

  B) BCrypt (and you should use BCrypt, or you Fail Security. Seriously.
  Don't think about it, you failed the test. Use tools written by the
  experts) - is a better take on a technique called 'salt hashing',

 I noticed you mentioned this a few times before in this forum.
 The tool I use:http://www.jasypt.org/. I hope this is written by
 experts as well :(

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



Re: questions on Login Security FAQ

2008-09-19 Thread Reinier Zwitserloot

Answers inline...

On Sep 19, 3:12 pm, JasonG [EMAIL PROTECTED] wrote:
 First of all, I don't understand your (A) response.   I said you
 don't need to worry so much about passing session IDs since the app
 server will pretty much handle that for you... and your response
 seems to just reiterate what I said - but you stated it in a manner as
 though you were disagreeing with me.  I don't get it.

From a security point of view, which is what this thread is about, who
does the sessionid passing is mostly immaterial. It should also be
noted that the first servlet engine for tomcat started the boneheaded
'sessionid in the URL' security fart, so the userbase size of a j2ee
container is no guarantee that the security is sorted out properly.


 Secondly, BCrypt is not mentioned in the original author's post at
 all, nor does it seem to be mentioned in the linked guide to
 security.

Huh? (j)BCrypt is the first link mentioned on the LoginSecurityFAQ. I
didn't just add that - that's been there since I posted the second
draft, a long long time ago. It wasn't mentioned in the original
author's post, which is exactly why *I* mentioned it. BCrypt is a
fantastic idea. You should be using it when storing passwords in a
database.

  I was not intending to write an all encompassing guide here
 but perhaps I should have been a little more clear.  I said in
 addition to what others have said and regardless of which hash
 algorithm.  Put those two together and this was meant to be taken
 as:  it doesn't hurt to concatenate the username+password+some-other-
 string on hashed passwords stored in the DB, regardless of algorithm.

No - you don't get it, evidently.

1) You -cant- query the database for HASH(username+password), because
if that worked, you by definition have really bad saltless hashing. So
what's the point, then? Why store the username as well? You're just
making it harder to rename usernames (bad), and...

2) You risk collisions. Assuming that the idea is that this username
+password combo is somehow a unique key, collisions can happen, and
that's no good.

But mostly:

3) my advice is: Use BCrypt. Your advice is: hash on username+password
instead of just password, which is much worse than listening to me.
Your point is basically: If you forget to listen to any (good) advice,
then listen to MY advice. This makes no sense; the premise was
already: Programmer did not listen to ANY advice. We've got three
options here:

A) Programmer doesn't listen to advice. Okay. We can chat here until
the end of days, but he's not listening. Shame, but, we can't stop
him.

B) Programmer listens to the only advice that mattered: He uses
BCrypt. Peachy. Your advice is now irrelevant and in fact slightly
bad: He just lost the ability to rename his username and needs the
username in his check routine which clutters his parameter lists.

C) Programmer wanted to listen to advice but the chatter is starting
to confuse him, and he turns into #A: He stops reading and just goes
his own way, most likely doing it very wrong. This is important, as
java tends to suffer a lot form this principle: Don't overwhelm people
with 15 answers. Just give the best answer, and if that particular
answer doesn't fit the asker's needs, let him get back to you about
that. Don't throw half a book at him, especially if most of the advice
in it is pretty much irrelevant or useless. That's another very good
reason why you shouldn't mention your username+password hashing
scheme. It doesn't add anything useful to the discussion: Either the
user is doing his salt/hashing correctly, and your scheme doesn't add
anything, or he's not doing it correctly, and your scheme adds very
very little.

 Why?   Because if you happen to be using a weak algorithm or even a
 strong one for which a weakness is later discovered, you are better
 off

Just to set you straight on this one: If BCrypt's salt/hash concept is
somehow broken, then a username+password hash is equally or even worse
broken; BCrypt already uses different source material for the same
passwords by different users. This is like screwing a highschool
locker padlock on a $10,000 dollar safe door. If someone is going to
get access to the safe's contents, you can be certain the padlock
didn't stop the criminal for even a second. He either bypassed the
lock entirely, or he got the code from someone, or he actually can
pick locks; and if he can pick a safe, he can open that padlock in an
instant.

In the mean time, the padlock, which has added absolutely no value to
your security setup, IS annoying you everytime you want access to the
safe. Hence, just get rid of the bloody thing, it's making it harder
for you in operation, and its making it harder for a security analyst
because it obscures the true protection measures with irrelevancy.

 A time could come when BCrypt was as well.

Again, your scheme adds nothing. Stop confusing people with
fearmongering talk about BCrypt someday failing. DES never failed;
it's just 

Re: questions on Login Security FAQ

2008-09-19 Thread Ian Bambury

  -- Reinier gently nudging the casual reader back onto the straight
 and narrow with a velvet touch Zwitserloot


I think the 'people person' quote was closer :-)

Ian

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



Re: iPhone toggle switch implementation

2008-09-19 Thread Arthur Coleman

Reinier,

Thanks for the help.  I've been also thinking of creating my own  
images and then just using ToglleButton.

Bear

On Sep 19, 2008, at 4:50 PM, Reinier Zwitserloot wrote:


 That's not how stylesheets work.

 You have two options:

 A) change the style of a given element. e.g. use add/removeStyleName,
 to change the styling info of your widget. for example:

 myWidget.setStyleName(someStyleClassThatIsAlwaysApplied);

 if ( toggledOn ) {
  myWidget.removeStyleName(toggledOn);
  myWidget.addStyleName(toggledOff);
 } else { /* you can guess what goes here */ }

 B) Have two widgets, one for each 'toggle', and alternatively hide/
 show them. Use the widget's .setVisibility(bool) method to do it.

 On Sep 20, 12:10 am, Bear [EMAIL PROTECTED] wrote:
 Can anyone help me implement iPhone style toogleswitch in GWT?  I've
 been trying to use the iUi CSS style sheets and I have a question on
 how I would implement this in GWT?

  fieldset

  div class=row
  labelShuffle/label
  div class=toggle onclick= toggled=truespan
 class=thumb/spanspan class=toggleOnON/spanspan
 class=toggleOffOFF/span/div
  /div
 fieldset

 I assume I can use a HorizontalPanel and setStyleName(row) and then
 add a button with style toggle but how do I send the toggled=true
 info to the CSS and add the 3 span elements?

 Thanks in advance

 Bear
 



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



Exception: This widget's parent does not implement HasWidgets

2008-09-19 Thread Shi

Hi!
I'm trying to make my class MenuHome as a container through the
abstract class com.google.gwt.user.client.ui.Composite.java  but I
have always the same problem:
This widget's parent does not implement HasWidgets.
In the main class I want a panel that could contain all the widget
children (instances of other classes) and then be able to remove any
time a widget you do not have to see, perhaps with a command
vPanel2.clean()

When run my application, when I click on LOGIN shows this exception.
How could solve?

My code simplified:

-MenuHome.java---container

import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.VerticalPanel;


public class MenuHome extends Composite {

 private VerticalPanel vPanel;
 private Login login;
 public VerticalPanel vPanel2;

 public MenuHome() {
 super();
 Command cmd = new Command(){
public void execute(){
vPanel2.clear();
}
 };
Command cmdOpen = new Command(){
public void execute(){
if(vPanel2.getWidgetCount() == 0){
login = new Login();
vPanel2.add(login);
}

}
};

vPanel = new VerticalPanel();
MenuBar menu = new MenuBar();
vPanel2 = new VerticalPanel();

menu.addItem(HOME, cmd);
menu.addItem(LOGIN, cmdOpen);
vPanel.add(menu);

vPanel.add(vPanel2);
initWidget(vPanel);
  }
protected void onAttach() {
super.onAttach();
}
}

--Login.javaclass child

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HasVerticalAlignment;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.gwtext.client.widgets.Button;
public class Login extends Composite{

MenuHome mhome = new MenuHome();
private VerticalPanel panelVert;
private Button loginButton;

public Login(){
panelVert = new VerticalPanel();


panelVert.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);

panelVert.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
loginButton = new Button(Login);
panelVert.add(loginButton);
initWidget(panelVert);
mhome.vPanel2.add(panelVert); //-the error add 
the
panel to the //main container of class MenuHome


}
}



-
Error
[ERROR] Uncaught exception escaped
java.lang.IllegalStateException: This widget's parent does not
implement HasWidgets
at com.google.gwt.user.client.ui.Widget.removeFromParent(Widget.java:
67)
at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:
77)
at com.google.gwt.user.client.ui.VerticalPanel.add(VerticalPanel.java:
53)
at com.gwt.client.Login.init(Login.java:55)
at com.gwt.client.MenuHome$2.execute(MenuHome.java:29)
at
com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:
311)
at com.google.gwt.user.client.CommandExecutor
$2.run(CommandExecutor.java:206)
at com.google.gwt.user.client.Timer.fireImpl(Timer.java:164)
at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:150)
at com.google.gwt.user.client.Timer.fire(Timer.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at
com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:
80)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native
Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:
1428)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at 

Re: GWT application and Google AppEngine

2008-09-19 Thread ajay jetti
Hey Jeremiah

I have gone through the PGR example lot of times . but it doesnt exactly
specify the architecture

Thanks and Regards
Ajay

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



  1   2   >