Hi Anurag,

What would this key be used for? It seems counter-intuitive to generate a
key on the client-side, since typically keys are used in trust models, and
most trust models begin with the server rather than the client. Could you
elaborate a little more on what you would like to do?

In terms of actually generating a key on the client, you could perform a web
search for JavaScript key generation that would turn up useful results, and
use a suitable key generating schema in GWT using JavaScript Native
Interface methods. You might also find the emulated Random class useful if
you intend on writing your key generation algorithm in GWT code.

Random class:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Random.html

Hope that helps,
-Sumit Chandel

On Fri, Jan 2, 2009 at 8:26 AM, Anurag Tripathi <[email protected]> wrote:

>
> Can we programmatically generate physical keys in GWT ?
>
> Scenario : I want to generate some key on clicking in Button !
>
> If anyone has any idea on this, please let me know -
>
> _Anurag
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to