how to add javascript tag in ui.xml file

2011-07-12 Thread phani varma gokaraju
can anyone help how to add the below javascript tag in ui.xml

 script type=IN/Login data-onAuth=loadData/script

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



unable to integrate linkedin in particular location in gwt app

2011-07-10 Thread phani varma gokaraju
iam working with the example



http://developer.linkedinlabs.com/tutorials/jsapi_login_reg/



for authentication its working fine...when i added the script in basic
html



but i want it in a specific page and i added the script tag
in   ...ui.xml


script type=IN/Loginscript

and the remaining code in basic html ..iam not getting the
linkedIn button...please help ...


thanks in advance...

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



Problem with RequestDispatcher

2011-04-28 Thread Phani
Hi All,

I am trying to implement session timeout in GWT application.

As long as session is alive, every request from GWT is passing thru
the RequestDispatcher servlet. But once the session is expired the
request is not even reaching the Dispatcher servlet on the server
side.

Please suggest me how to handle the request even after the session
expiry.

Thanks in advance.

Phani

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



Re: Problem with GXT not running on Linux machines

2011-04-20 Thread phani kumar
Hi Sri, Can you please be little clear about your problem? Application is
not getting built or its not loading the application? please specify the
module descriptors you are using?

On Wed, Apr 20, 2011 at 12:42 PM, sridevi macherla 
sridevimache...@gmail.com wrote:

 Hi,

 I am facing an issue with GXT no getting executing especially with
 BeanModelFactory, Module itself is failing to load,  Can someone please help
 me in this regard.

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




-- 

Kind Regards,

*Phani Kumar K***

*Senior Software Engineer***
 *
--
*
 *Encora Technologies Pvt. Ltd.  |  M. G. Road |  Bangalore  |  Mob :
+91-9916435979  |  Off (D) : +91-80-6695-3683 ** **| E-Mail :
phani.kakarapar...@encorainc.com
http://www.encorainc.com/**phani.kakarapar...@encorainc.com
*

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



Re: Reusability of GWT UI

2010-07-14 Thread phani kumar
Hii Vik,
May be this is usefull for you..

1. Make an interface ex: SearchService

2. Define a method in the interface ex:handleSearchEvent(search params)

3. Both your screen classes has to implement SearchService interface.

4. Define a method in your Search Panel Util class ex :
setSearchServiceRef(SerachService searchService) {
 this.searchService = searchService;
}

5. When you create the search util class in your screens, call this method
with (this) as parameter.

6. In the button handler of your search util class, call
searchService.handleSearchEvent(search params) ;

7. Since, you will have different implementation of the search function in
your both screens, at run time the functionality will behave as it is
defined in your screen classes.

I think, this is what you are looking for.

Regards,
Phani Kumar K

On Wed, Jul 14, 2010 at 12:26 PM, Vik vik@gmail.com wrote:

 hie

 any help on this please...

 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com


 On Tue, Jul 13, 2010 at 7:32 PM, Vik vik@gmail.com wrote:

 hie

 Thanks but i have following doubt:

 Since i need two different handlers for two search panels then where will
 be the deciding logic ?
 and how exactly i will call this addClickHandler method?


 1. How will i call it

 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com


 On Mon, Jul 12, 2010 at 10:28 PM, Gal Dolber gal.dol...@gmail.comwrote:

 class YourSearchPanel extends Composite *implements HasClickHandlers {*
 *
 *
 *...*
 *public HandlerRegistration addClickHandler(ClickHandler handler) {*
 *yourSearchButton.addClickHandler(handler);*
 *}*
 *
 *
 *}*
 *
 *
 *And move the rpc logic out of your widget
 *
 2010/7/12 Vik vik@gmail.com

  Hie

 I have a UI which shows a search panel having 3 list boxes to select
 from and a search button.

 I have two different pages where this UI has to be exactly same except
 the search button needs to call  different rpc services.

 How should I write the code once and resue it both the places? Please
 advise...

 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com

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




 --
 http://gwtupdates.blogspot.com/

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



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




-- 
Regards,
Phani Kumar,
Senior Software Engineer,
HP GlobalSoft,
Chennai.
Mobile : +91 9962755795
Work : 91-044-39853592

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



Re: Reusability of GWT UI

2010-07-14 Thread phani kumar
Vik,
Let me first clear what i understood about your requirement..

You want to make a UI util class which holds all the elements like
textfilelds or listfields whose data is used as the params for search
functionality. And the same functionality should fetch two different data
from the server. For that you have to use two different rpc calls for the
search functionality. Is this what you exactly want..?

If that is the case, as i mentioned in my previous post, the search button
event will call the method which is implemented by a particular UI class at
the run time. In that method you will be writing all the logic of fetching
and displaying the content in your UI.

On Wed, Jul 14, 2010 at 3:17 PM, Vik vik@gmail.com wrote:

 Phani

 How does this maps to the approach suggested earlier in this mail?
 I dont see any match... Please advise...


 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com


 On Wed, Jul 14, 2010 at 2:14 PM, phani kumar phanikuma...@gmail.comwrote:


 Hii Vik,
 May be this is usefull for you..

 1. Make an interface ex: SearchService

 2. Define a method in the interface ex:handleSearchEvent(search params)

 3. Both your screen classes has to implement SearchService interface.

 4. Define a method in your Search Panel Util class ex :
 setSearchServiceRef(SerachService searchService) {
  this.searchService = searchService;
 }

 5. When you create the search util class in your screens, call this method
 with (this) as parameter.

 6. In the button handler of your search util class, call
 searchService.handleSearchEvent(search params) ;

 7. Since, you will have different implementation of the search function in
 your both screens, at run time the functionality will behave as it is
 defined in your screen classes.

 I think, this is what you are looking for.

 Regards,
 Phani Kumar K


 On Wed, Jul 14, 2010 at 12:26 PM, Vik vik@gmail.com wrote:

 hie

 any help on this please...

 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com


 On Tue, Jul 13, 2010 at 7:32 PM, Vik vik@gmail.com wrote:

 hie

 Thanks but i have following doubt:

 Since i need two different handlers for two search panels then where
 will be the deciding logic ?
 and how exactly i will call this addClickHandler method?


 1. How will i call it

 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com


 On Mon, Jul 12, 2010 at 10:28 PM, Gal Dolber gal.dol...@gmail.comwrote:

 class YourSearchPanel extends Composite *implements HasClickHandlers {
 *
 *
 *
 *...*
 *public HandlerRegistration addClickHandler(ClickHandler handler) {*
 *yourSearchButton.addClickHandler(handler);*
 *}*
 *
 *
 *}*
 *
 *
 *And move the rpc logic out of your widget
 *
 2010/7/12 Vik vik@gmail.com

  Hie

 I have a UI which shows a search panel having 3 list boxes to select
 from and a search button.

 I have two different pages where this UI has to be exactly same except
 the search button needs to call  different rpc services.

 How should I write the code once and resue it both the places? Please
 advise...

 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com

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




 --
 http://gwtupdates.blogspot.com/

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



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




 --
 Regards,
 Phani Kumar K,


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

Re: Maps to JPEG

2010-07-13 Thread Phani Kumar K
Hii Eric,
Sorry .. i didn't understood what you are saying. Those static maps
are using URL. But in my case i am using gwt mapwidget in which i am
not using any URL. For your referrence, i am posting a sample code
here..

Code Snippet Starts

LatLng monohaa = LatLng.newInstance(20.36, -156.78);
LatLng latlngXY[] = new LatLng[lat.size()];
// Filling some lat long values in this array here
//

MapWidget map = new MapWidget(latlngXY[0], 3); // just took some
sample positions of the latlong aray
map.setSize(700px, 300px);

add(map);

Code Snippet Ends

Can you please look in to this and tell me what can be done in this
case. Thanks in advance

Regards,
Phani Kumar K

On Jul 12, 8:47 pm, Eric Ayers zun...@google.com wrote:
 You might try the static maps API:

  http://code.google.com/apis/maps/documentation/staticmaps/

 http://code.google.com/apis/maps/documentation/staticmaps/Basically, you
 just create a URL and send it.  You might use GWT's RequestBuilder class for
 calling it from GWT.

 On Fri, Jul 9, 2010 at 10:50 AM, Phani Kumar K phanikuma...@gmail.comwrote:



  Hello all,

  I am new to GWT and I am using gwt-maps api for one of my requirement.
  I am able to populate maps and now my another requirement is to make
  my populated map as a JPEG image. This is an urgent and critical
  requirement for me. Can anyone tell me how can i achieve this. If
  there is no direct solution for achieving this also, kindly share your
  ideas of how can i achieve this. Thanks in advance.

  Regards,
  Phani Kumar K

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

 --
 Eric Z. Ayers
 Google Web Toolkit, Atlanta, GA USA

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



Maps to JPEG

2010-07-12 Thread Phani Kumar K
Hello all,

I am new to GWT and I am using gwt-maps api for one of my requirement.
I am able to populate maps and now my another requirement is to make
my populated map as a JPEG image. This is an urgent and critical
requirement for me. Can anyone tell me how can i achieve this. If
there is no direct solution for achieving this also, kindly share your
ideas of how can i achieve this. Thanks in advance.


Regards,
Phani Kumar K

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



Problem with the import java.security.*;

2008-11-28 Thread Phani

Hi All,

In my application i have to implement a unique number generation i.e
UUID using SecureRandom class of java.security package. Please refer
the below code.
try {
// Create a secure random number generator
SecureRandom sr = SecureRandom.getInstance(SHA1PRNG);
// Get 1024 random bits
byte[] bytes = new byte[1024/8];
sr.nextBytes(bytes);

// Create two secure number generators with the same seed
int seedByteCount = 10;
byte[] seed = sr.generateSeed(seedByteCount);
sr = SecureRandom.getInstance(SHA1PRNG);
sr.setSeed(seed);
SecureRandom sr2 = SecureRandom.getInstance(SHA1PRNG);
sr2.setSeed(seed);
} catch (NoSuchAlgorithmException e) {
}
But i'm facing a problem stating that java.security cannot be resolved
to a type. Please help me.Whether  GWT doesn't support java.security
package?
Thanks in Advance,
Phani.

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