so how can  i resolve this probmlem i have seen this code in gadget
tutorials

On Mon, Nov 17, 2008 at 6:42 AM, Benjamin [API Guru] <
[EMAIL PROTECTED]> wrote:

>
> The error is that there is no gadgets object, no gadgets.io etc. Where
> did you get these objects and calls. These are no Google Desktop API
> calls.
>
> Benjamin
>
> On Nov 17, 12:47 pm, Dr evil <[EMAIL PROTECTED]> wrote:
> > Hy i am newbie to google gadgets i am having serious trouble using
> > this api I just want to send a request to server and then parse the
> > xml contents returned by server ... but my application gives an error.
> > my code is given below
> >
> > Main.xml..
> > <view height="150" width="250">
> >   <img src="background.png"/>
> >   <label enabled="true" hitTest="htclient" name="mylabel" pinX="125"
> >     pinY="8" width="250" x="125" y="70" onclick="request() ;"
> >     align="center" font="" size="15">&HELLO_WORLD1;
> >   </label>
> >   <script src="main.js" />
> > </view>
> >
> > Main.js
> > var productsUrl="http://localhost:8080/TestGadget//servlet/
> > TestServlet";
> >
> > function request() {
> >           alert("I am an alert box");
> >          var params = {};
> >            params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> > gadgets.io.ContentType.TEXT;
> >           gadgets.io.makeRequest(url, response, params);
> >      }
> >     function response(obj) {           }
> >
> > my request method is called successfully but it gives an error stating
> > gadgets are not defined someone please help me i need urgent help..
> > thanks in advance.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" 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-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to