Hi Manish,
Your code looks fine to me.
I am new to this so I dont know much in detail, but you could try
this.

Compile the Java code to pretty javascript.
use -style PRETTY argument to compiler.

The use firebug in firefox and debug the javascript.
In the scripts tab, select the xxxxxxxxxx.cache.html file. Your code
will be in this file.
Actually it will be by the end of this file.

Then put a breakpoint in the method that gets invoked on button click.

Then click on th button... and debug the values you are passing and
other things.

Hope you will find the issue.
Let us know when you do.

Thanks,
Jossey

On Nov 25, 11:36 pm, "Manish Kumar" <[EMAIL PROTECTED]> wrote:
> Hi Manuel,
>
> Thanx for response.But I wanna know how do you passing the parameter from
> our website/HTML to gwt component.
> is this by using JSNI.if yes , how do attached your compiled gwt app source
> to your website/html.This point is crucial for me
> since i am not able to connect to gwt from our html in deployment mode( not
> hosted mode ).
>
> please provide the detail about your approach.
>
> Regards
> Manish
>
> ----- Original Message -----
> From: "Manuel Aguilera" <[EMAIL PROTECTED]>
> To: "Google Web Toolkit" <[email protected]>
> Sent: Wednesday, November 26, 2008 1:13 AM
> Subject: Re: How to do cross site implementation in GWT
>
> I was having a similar Issue. I am working on an application that will
> load a short list of headlines from our website via cross-site
> json.The gwt files,  the json feed and the host HTML page reside on
> different domains. On the Module XML format page in the developer
> guide (http://code.google.com/docreader/#p=google-web-toolkit-
> doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideModuleXml) the method
> suggested was including something similar to:
>
> <module>
>   <inherits name="com.google.gwt.core.Core" />
>   <add-linker name="xs" />
> </module>
>
> however after uploading the output files I got a couple of permission
> errors on Firefox, namely:
>
> Permission denied to get property 
> Window.documenthttp://192.168.1.145/com.fbg.headlinesreader.HeadlinesReader/6F72E8AB...
> Line 1
>
> What I did was to remove the <inherits
> name="com.google.gwt.core.Core" /> element from the module xml file.
> Mine looks as follows:
> <module>
> <inherits name='com.google.gwt.user.User'/>
> <inherits name='com.google.gwt.user.theme.standard.Standard'/>
>
> <inherits name="com.google.gwt.json.JSON" />
> <inherits name="com.google.gwt.http.HTTP" />
>
> <entry-point class='com.fbg.headlinesreader.client.HeadlinesReader'/
>
> <stylesheet src='HeadlinesReader.css' />
>
> <add-linker name="xs" />
>
> </module>
>
> I am not sure why but it seems to be working ok now. I Hope this helps
>
> Regards,
> Manuel Aguilera
>
> On Nov 25, 1:25 am, "Manish Kumar" <[EMAIL PROTECTED]> wrote:
> > Hi everybody,
>
> > can anybody plz help me out to get the right path for cross site
> > implementation.
>
> > please go through the mail below and make me aware about my approach.
>
> > Thanx & Regards
> > Manish
>
> > ----- Original Message -----
> > From: "Manish Kumar" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Monday, November 24, 2008 11:12 AM
> > Subject: How to do cross site implementation in GWT
>
> > > Hi everybody,
>
> > > I has working for 2 months on GWT( 1.5.3 ). I have been successful in
> > > implementing various feature in GWT. Finally I am stuck at end for
> > > almost
> > > 20
> > > days in including my GWT project to a set of HTML files with passing a
> > > set
> > > of values to GWT from HTML.
> > > Previously also I put this issue in this forum as i was trying with JSNI
> > > and
> > > xs linker.Now i am running out of time. Time has come for
> > > decision.Thanks
> > > for constant help and co-operation.
>
> > > Now can anybody please confirm my approach? Since still I suspect my
> > > approach.
>
> > > I have a set of HTML files. I have made and GWT project including some
> > > widgets , rpc and a external server( calling using request builder ). I
> > > have
> > > wriiten a JSNI method in GWT component which is called by a GWT method
> > > called inside onModuleLoad.
> > > I have wriiten a js method( on HTML side) which calls JSNI method.
>
> > > I compiled the GWT component using xs linker and added nocache.js in my
> > > HTML(in HEAD part). I am expecting that this will invoke GWT component
> > > as
> > > js
> > > method ( html side ) is called on click of a button displayed in HTML.
>
> > > A couple of months back I had got this but I don't understand why this
> > > is
> > > not working this time.There is a remarkable observation is that
> > > previously
> > > I
> > > had got xs-nocache.js and my JSNI method inside that.This I am not
> > > getting
> > > now.
>
> > > One more thing I would like to know that what is the role of cache.js?
>
> > > Can anybody provide me what is mistake/is this workable or not.
>
> > > Regards
> > > Manish
--~--~---------~--~----~------------~-------~--~----~
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