Do you need GWT instructor

2009-10-08 Thread venki

Hi,

This is venkat from India,A.P. I am working as a Sofware Engineer in
Dimdim(www.dimdim.com). You can visit my application which is done in
GWT (http://analytics.dimdim.com/analyticsui).

Teaching is my passion.I can teach you through my company product only
(web conferencing tool).  It will provide class room facilities. we
have white board, Desktop sharing and document sharing etc. So nothing
to worry regarding classes. I will take care. You need only internet
and one head set.

Thanks and regards
Venkat
--~--~-~--~~~---~--~~
You received 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: Integrating GWT with JSP

2009-10-08 Thread venki

You have to use JSNI(Java Script Native Interface) which is provided
by GWT. Using this you can able to access java script code of your jsp
page. If you wish to send any data from your jsp to GWT module then
export that variable in java script of your jsp page. In your module
write one JSNI method and write your stuff to take the data from your
java script code of jsp page.

On Oct 9, 12:19 am, Sudeep S sudee...@gmail.com wrote:
 Hi,

 I have a requirement wherein my application loads an external gwt
 application as a widget in its iframe.

 The application's UI is developed using JSP.

 Can someone suggest me the best practices followed in communicating
 with external GWT applications (passing

 data back and forth).

 Thanks
 Sudeep
--~--~-~--~~~---~--~~
You received 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: Opentip GWT integration

2009-10-02 Thread venki

I think it is not possible to use it..

I don't know about opentip but you are saying that it is a .js file
right??

How can you specify those into your java code.

It is better to search for any GWT related projects for adding tootip
text to widgets...

Try to use the following class to display tool tip.. I am using this
class to display a image whenever mouse is over to widget...

Have a good day


Usage:-

your widget.addMouseListener(new TooltipListener(jasonObject.get
(image)
.isString().stringValue(), 5000, 
yourcssclass));






class TooltipListener extends MouseListenerAdapter {
private static final String DEFAULT_TOOLTIP_STYLE = TooltipPopup;
private static final int DEFAULT_OFFSET_X = 10;
private static final int DEFAULT_OFFSET_Y = 35;

private static class Tooltip extends PopupPanel {
private int delay;

public Tooltip(Widget sender, int offsetX, int offsetY,
final String text, final int delay, final 
String styleName) {
super(true);

this.delay = delay;

// HTML contents = new HTML(text);
Image contents = new Image(text);
add(contents);

int left = sender.getAbsoluteLeft() + offsetX;
int top = sender.getAbsoluteTop() + offsetY;

setPopupPosition(left, top);
setStyleName(styleName);
}

public void show() {
super.show();

Timer t = new Timer() {

public void run() {
Tooltip.this.hide();
}

};
t.schedule(delay);
}
}

private Tooltip tooltip;
private String text;
private String styleName;
private int delay;
private int offsetX = DEFAULT_OFFSET_X;
private int offsetY = DEFAULT_OFFSET_Y;

public TooltipListener(String text, int delay) {
this(text, delay, DEFAULT_TOOLTIP_STYLE);
}

public TooltipListener(String text, int delay, String styleName) {
this.text = text;
this.delay = delay;
this.styleName = styleName;
}

public void onMouseEnter(Widget sender) {
if (tooltip != null) {
tooltip.hide();
}
tooltip = new Tooltip(sender, offsetX, offsetY, text, delay,
styleName);
tooltip.show();
}

public void onMouseLeave(Widget sender) {
if (tooltip != null) {
tooltip.hide();
}
}

public String getStyleName() {
return styleName;
}

public void setStyleName(String styleName) {
this.styleName = styleName;
}

public int getOffsetX() {
return offsetX;
}

public void setOffsetX(int offsetX) {
this.offsetX = offsetX;
}

public int getOffsetY() {
return offsetY;
}

public void setOffsetY(int offsetY) {
this.offsetY = offsetY;
}
}




On Oct 2, 4:10 pm, ledzgio giorgiomarci...@gmail.com wrote:
 Hi all,

 i'm trying to use the library opentip (www.opentip.org) within GWT,
 this is a .js file library, but i am unable to invoke the right method
 to add a tooltip to a widget..how can i do it?

 could you please help me? thanks a lot
--~--~-~--~~~---~--~~
You received 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: Reading a file on the server

2009-09-12 Thread venki

U can do it in two ways.

First approach
1) You can keep that string as an entry in I18N mechanism. I hope you
know hw to use I18N in GWT. There you can find properties file.
But you should remember that if you place that entry in this
properties file. If you change the entry values then you have to
compile GWT project ..

Second approach
2)Write your own properties file and place it in your webapp classes
folder. Write one jsp which includes your GWT module. In that jsp read
that string from file using java. And place that variable in your java
script. As a result refer that java script variable in GWT via JSNI.

Hope you have understand it...






On Sep 11, 11:58 pm, Benjamin bsaut...@gmail.com wrote:
 Hey guys - this has been driving me nuts all day.  Should be simple.
 My GWT project works with data on a SQL server and I use the MS SQL
 jdbc drivers.  I want to keep my connection string in a configuration
 file instead of hardcoded in the java. (in my old .net days i would
 use the web.config)

 1 - what's the best place to keep this data? (I wouldn't just want an
 xml file in the path that could be downloaded).

 2 - when i have the right place in the project to keep this info, how
 do i retrieve it in *.server code?

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



Any GWT projects required

2009-09-12 Thread venki

Hi all,

I have been working on GWT for last 8 months. I am aware of several
GWT open source projects. If you have any projects to be done in GWT.
Let me know i will do it and i will give the appropriate war to you on
charge.


--~--~-~--~~~---~--~~
You received 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: Can it possible.. I need your ideas...

2009-09-09 Thread venki

Ok..

But in that case every image will come to browser as individual only.
It poses multiple requests for all images. That is the problem i am
facing..

Any way.. Say i have all images of all users at compile time only. I
mean i will take the users images information in advance or from
another site like that... After having i will create their
corresponding image bundle. As a result i will be having all image
bundles(one big image of all uploaded images of a particular user) of
all users.



My question is.. GWT compiler is creating one image bundle at compile
time and it is fetching individual images from it right...
Here can i specify to GWT compiler to use already existing image
bundle rather than creating image bundle at the compile time.

Thank you for sharing your idea






On Sep 8, 4:34 pm, Sri sripathikrish...@gmail.com wrote:
 Image Bundle is not going to help you in this case. ImageBundle
 requires all images to be available at compile time. In your case, the
 userscanupload the images at run time, so you need a different
 solution.

 You should just write a servlet which returns the appropriate image
 for the logged in user, and give the url for your servlet to an Image
 Widget.

 On Sep 7, 11:37 am, venki pola.ve...@gmail.com wrote:

  We are able to image bundle localization. So based on locale the
  corresponding image bundle will be loaded right??

  My question is..

  Say i am having 1000 users to my site. At the time of registration i
  am allowing the users to upload their interested images to be shown
  after logged in. So here i have to create 1000 image bundles according
  to each users images.

  My question:-canwe make itpossibleusing image bundle. So based on
  some user information i have to point to its corresponding image
  bundle.

  Great thanks in advance

  I will wait for your ideas...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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
-~--~~~~--~~--~--~---



Can it possible.. I need your ideas...

2009-09-07 Thread venki

We are able to image bundle localization. So based on locale the
corresponding image bundle will be loaded right??

My question is..

Say i am having 1000 users to my site. At the time of registration i
am allowing the users to upload their interested images to be shown
after logged in. So here i have to create 1000 image bundles according
to each users images.

My question:- can we make it possible using image bundle. So based on
some user information i have to point to its corresponding image
bundle.

Great thanks in advance

I will wait for your ideas...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: ImageBundles and Image Path

2009-09-06 Thread venki

./images/your image name

On Sep 6, 8:51 am, picosam pico...@gmail.com wrote:
 Hello,

 I have a folder named images in the same level as my WEB-INF folder
 in my project. What should I put in the @Resource tag in the
 ImageBudle method? It doesn't seem to find my image at all.

 Thank you,
 Sammy
--~--~-~--~~~---~--~~
You received 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: the Table screenshot in Widget Gallery...?

2009-09-06 Thread venki

that widget is HTMLTable. you can use flex table. nthing to worry

On Sep 5, 8:04 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
 What widget is on the screenshot 
 please?http://code.google.com/webtoolkit/doc/1.6/images/Table.png
 (shown herehttp://code.google.com/webtoolkit/doc/1.6/RefWidgetGallery.html)

 Is it CSS-tuned Grid or FlexTable or something complete 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Manual Compiling of Eclipse Project

2009-09-06 Thread venki

@java -Xms512M -Xmx512M -cp %~dp0\src;E:\codebase\DimDimCodeBase
\v5.0\ThirdPartyPackages\gwt17\gwt-user.jar;E:\codebase\DimDimCodeBase
\v5.0\ThirdPartyPackages\gwt17\gwt-dev-windows.jar
com.google.gwt.dev.Compiler  module name


On Sep 5, 10:37 pm, Charlie codeboo...@gmail.com wrote:
 Hello
 I have an ecplise gwt project and I want to be able to take my source
 files and compile it manually using the ant command in the command
 line but I can't manage to understand how to do it.
 Can anyone 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: ImageBundles and Image Path

2009-09-06 Thread venki


or simply place  images in your modules public path. For more details
go through the following link

http://code.google.com/p/google-web-toolkit/wiki/ImageBundleDesign



On Sep 6, 8:51 am, picosam pico...@gmail.com wrote:
 Hello,

 I have a folder named images in the same level as my WEB-INF folder
 in my project. What should I put in the @Resource tag in the
 ImageBudle method? It doesn't seem to find my image at all.

 Thank you,
 Sammy
--~--~-~--~~~---~--~~
You received 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
-~--~~~~--~~--~--~---



Image Bundle

2009-09-04 Thread venki

Hi all,

I want customizable image bundle. First let me explain my question.

-- We have image bundle in gwt right.. what i want is..

In my project. There are are so many members registered. In user
preferences i am putting the option to have his/her own images to be
displayed after the user logged in. So let us suppose there are 2
users

user 1 selects the following pictures(in user preferences)
a1.jpeg, b1.jpeg ...etc(more than 10 icons)

user 2 selects the following pictures
a2.jpeg,b2.jpeg...etc(more than 10 icons)

So my requirement is to display their corresponding images after they
logged-in using image bundle in GWT. So how can i tell to GWT module
to use specific image bundle. I don't whether we can achieve it or
not. Let me know your ideas of approaching.

I hope all of you understand my requirement.
--~--~-~--~~~---~--~~
You received 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: permission issue?

2009-09-04 Thread venki

You said that.. you put GWT stuff in site A and you are using those
links from site B right??

I guess you are trying to do cross domain communication. Then browsers
won't allow it. Probably this might be the reason.

On Sep 4, 1:47 pm, Prashant Gupta nextprash...@gmail.com wrote:
 Hi,

 I have two sites, say A  B and a GWT app. I want to use same app in both
 sites without duplicating source files between A  B. So, I uploaded gwt
 files with site A and used links to same files (site A) in site B. Now the
 problem is that the app is working fine in A but not working at all in B. I
 tried following code (simplest one I could try) :

 RootPanel.get(gwt-content).add(new Label(Hello World));

 Internet explorer gives some Permission Denied kind of error.

 Please help me out.

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



Re: Hide pannel

2009-08-23 Thread venki

I too require the solution for this question. But i used
HorizantleSplit panel in order to achieve some what...

On Aug 22, 10:23 am, rasp roman.peregonc...@gmail.com wrote:
 Hi all!
 How can I create some hide-panel, like 
 this:http://code.google.com/docreader/#p=google-web-toolkit-incubators=go...
 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Career suggestion needed

2009-08-23 Thread venki

Hi all..

I have been working on GWT for last 6 months. Any way i hope i am
doing well . I am aware of Gwt related projects such as
SmartGwt,GwtIncubator, GWT-widgets library like that. I got confidence
on my self that i can deserve GWT.I will keep update GWT knowledge.In
order to build my career path for long time i need your suggestions.

GWT is client side so i am in confused state whether i have to focus
on only client side technologies or server side technologies also. Any
way let me know your suggestions.

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



Re: No source code is available for ...

2009-08-22 Thread venki

There you are using Generator class in ur module right?? Go to API to
find it's corresponding module XML file name. So that you can find
it's module name and then inherit that module in ur module xml
descriptor file.

On Aug 5, 4:46 am, ent...@googlemail.com ent...@googlemail.com
wrote:
 I am abit tied of this error messages . I understand that i need
 something inherit :) . but how to understand what should i inherit
 what xml file and where can i find this info ? for example for

 [ERROR] Line 6: No source code is available for type
 com.google.gwt.core.ext.Generator; did you forget to inherit a
 required module?

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



Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-21 Thread venki

Ok fine Mike..

Any way i observed that from programmer perspective usage of RPC saves
from lot of burden( i mean data transfer exchange)

Thank you Mike



On Aug 19, 11:57 am, mdwarne mike.wa...@gmail.com wrote:
 Hi venkl,

 We use RPC because it makes things so simple.
 For some of our service calls we pass java objects as parameters to
 the service.

 The response coming back are also java objects. such as lists and
 arrays of data etc.
 Boolean, integers, dates etc are automatically converted, and arrive
 in their native format on either side (client or server).

 RPC will automatically convert the java object, and escape any funny
 characters and send the objects back and forth from client to server
 etc.

 If you don't use RPC, then you as the Programmer,  will be responsible
 for creating your own messages, and parsing them.  You will also need
 to make sure you encode/decode any special HTTP reserved  characters.

 RPC is great if you are comfortable using a Java Servlet on the
 server.

 If  you want to use PHP, or other types of services, then you must use
 JSON, or XML etc to pass your data back an forth, unless the response
 is simple text.

 Mike.

 On Aug 19, 2:43 am, venki pola.ve...@gmail.com wrote:

  Thank you DaveS

  Ok cool instance... One more doubt Dave. I understand your example.
  Let us suppose my service is going to use by GWT client only. So in
  this case i can use either GWT RPC or HTTP. So i can do my application
  with out using RPC  also rather i can use HTTP.Can you please tell me
  an instances why should i opt for GWT RPC mechanism only. I mean i am
  expecting the answers that in what cases we are forced to use RPC
  rather than HTTP. If possible can you please tell me the advantages
  RPC over HTTP.

  Once again thank you very much for your reply..

  Have a good day Dave

  On Aug 19, 1:34 pm, DaveS dave.sell...@gmail.com wrote:

   Our application uses both, depending on quite a few factors. In some
   cases we are putting data into Flash (.swf) components, and need it in
   XML, so we use a 'raw' HTTP request to get the data. In most other
   cases we use GWT RPC to retreive data from the server, or to initiate
   actions in the server. There really is no single answer, it just
   depends on your application.

   We have considered moving away from GWT RPC more than once, thinking
   we might provide an 'open interface' or web-service interface, but so
   far the convenience of RPC has been the overwhelming reason we are
   continuing to use it.

   I guess you could say, if there is no need to make the service
   available to anything other than your GWT client, then use RPC, but if
   you want to open the interface to 3rd parties, other apps or anything
   like that, consider using HTTP.

     Dave.

   On Aug 18, 5:56 pm, venki pola.ve...@gmail.com wrote:

Hi to all,

I am new to GWT. I read GWT communication with server tutorial. It
provides various mechanisms to communicate with the server. Any way i
know how to use GWT RPC and HTTP mechanism to communicate with
server.

I request all of you can you give perfect explanation towhenshould
we use RPC mechanism andwhenshould we use HTTP mechanism. I mean at
what type instances we are forced to use particular mechanism.

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



Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-21 Thread venki

Ok i got the point. Thank you dave

On Aug 20, 2:31 am, DaveS dave.sell...@gmail.com wrote:
 I don't think you're ever *forced* to use RPC, it simply requires
 writing a lot less code than writing a servlet, parsing XML, returning
 XML and parsing that result in the client. GWT makes it very easy to
 use RPC, but doesn't force you to do so.

 In our app we do both, but by far the majority of client/server comms
 is GWT RPC.

   DaveS.

 On Aug 19, 1:43 pm, venki pola.ve...@gmail.com wrote:

  Thank you DaveS

  Ok cool instance... One more doubt Dave. I understand your example.
  Let us suppose my service is going to use by GWT client only. So in
  this case i can use either GWT RPC or HTTP. So i can do my application
  with out using RPC  also rather i can use HTTP.Can you please tell me
  an instances why should i opt for GWT RPC mechanism only. I mean i am
  expecting the answers that in what cases we are forced to use RPC
  rather than HTTP. If possible can you please tell me the advantages
  RPC over HTTP.

  Once again thank you very much for your reply..

  Have a good day Dave

  On Aug 19, 1:34 pm, DaveS dave.sell...@gmail.com wrote:

   Our application uses both, depending on quite a few factors. In some
   cases we are putting data into Flash (.swf) components, and need it in
   XML, so we use a 'raw' HTTP request to get the data. In most other
   cases we use GWT RPC to retreive data from the server, or to initiate
   actions in the server. There really is no single answer, it just
   depends on your application.

   We have considered moving away from GWT RPC more than once, thinking
   we might provide an 'open interface' or web-service interface, but so
   far the convenience of RPC has been the overwhelming reason we are
   continuing to use it.

   I guess you could say, if there is no need to make the service
   available to anything other than your GWT client, then use RPC, but if
   you want to open the interface to 3rd parties, other apps or anything
   like that, consider using HTTP.

     Dave.

   On Aug 18, 5:56 pm, venki pola.ve...@gmail.com wrote:

Hi to all,

I am new to GWT. I read GWT communication with server tutorial. It
provides various mechanisms to communicate with the server. Any way i
know how to use GWT RPC and HTTP mechanism to communicate with
server.

I request all of you can you give perfect explanation towhenshould
we use RPC mechanism andwhenshould we use HTTP mechanism. I mean at
what type instances we are forced to use particular mechanism.

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



Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-19 Thread venki

Thank you DaveS

Ok cool instance... One more doubt Dave. I understand your example.
Let us suppose my service is going to use by GWT client only. So in
this case i can use either GWT RPC or HTTP. So i can do my application
with out using RPC  also rather i can use HTTP.Can you please tell me
an instances why should i opt for GWT RPC mechanism only. I mean i am
expecting the answers that in what cases we are forced to use RPC
rather than HTTP. If possible can you please tell me the advantages
RPC over HTTP.

Once again thank you very much for your reply..

Have a good day Dave

On Aug 19, 1:34 pm, DaveS dave.sell...@gmail.com wrote:
 Our application uses both, depending on quite a few factors. In some
 cases we are putting data into Flash (.swf) components, and need it in
 XML, so we use a 'raw' HTTP request to get the data. In most other
 cases we use GWT RPC to retreive data from the server, or to initiate
 actions in the server. There really is no single answer, it just
 depends on your application.

 We have considered moving away from GWT RPC more than once, thinking
 we might provide an 'open interface' or web-service interface, but so
 far the convenience of RPC has been the overwhelming reason we are
 continuing to use it.

 I guess you could say, if there is no need to make the service
 available to anything other than your GWT client, then use RPC, but if
 you want to open the interface to 3rd parties, other apps or anything
 like that, consider using HTTP.

   Dave.

 On Aug 18, 5:56 pm, venki pola.ve...@gmail.com wrote:

  Hi to all,

  I am new to GWT. I read GWT communication with server tutorial. It
  provides various mechanisms to communicate with the server. Any way i
  know how to use GWT RPC and HTTP mechanism to communicate with
  server.

  I request all of you can you give perfect explanation towhenshould
  we use RPC mechanism andwhenshould we use HTTP mechanism. I mean at
  what type instances we are forced to use particular mechanism.

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



when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-18 Thread venki

Hi to all,

I am new to GWT. I read GWT communication with server tutorial. It
provides various mechanisms to communicate with the server. Any way i
know how to use GWT RPC and HTTP mechanism to communicate with
server.

I request all of you can you give perfect explanation to when should
we use RPC mechanism and when should we use HTTP mechanism. I mean at
what type instances we are forced to use particular mechanism.

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



Removing handlers with out HandlerRegistration

2009-07-30 Thread venki

In my project we are not maintaining corresponding HandlerRegistration
objects to Handlers(i.e at the time of adding handlers).

Can you please help me out how to remove handler from an widget,  I am
having only ClickHandler object rather than HandlerRegistration.

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



Removing handlers

2009-07-30 Thread venki

Hi.. Good After noon all of you..

I have migrated from GWT 1.5 to GWT 1.7. Every thing is fine but at
one situation i am facing the problem is that...


To remove a handler.. you are providing the facility from the
corresponding HandlerRegistration#removeHandler().

My problem is:-

In the project i may be adding Handlers at some where else and we are
not maintaining any HandlerRegistration objects accordingly.  Right
now i am having only ClickHandler object i want to remove that handler
from an Widget. Can you please show me a way how to remove handlers
from an widgets.

What i have in my hand :-  Widget object and One Handler object
Aim:- To remove that handler from that widget with out having
HandlerRegistration Object

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