ike
>
> var v = new test.MyClass();
> t.sendRequest();
>
> This should work
>
> Best,
>
> Alain
>
> 2011/8/9 ASlak
>
>
>
> > Hi Alain,
>
> > So I tried using GwtExporter. I edited my *.get.xml to include what
> > they had on their
to
> do.
> Why going through all the pain when somebody allready did it for u.
> Or maybe i m just lazy ? :)
>
> And dont forget this is GWT. You dont use a module it wont end up in the
> generated code. So i dont see the problem by adding it to your project.
>
> 20
of the exporting for you.
>
> 2011/8/9 ASlak
>
>
>
> > Thanks karim! Firebug is a great tool.
>
> > I have learned from it that my method is accessible from the html
> > where I am calling it from and the variable that I want included in
> > the call is
I think I have found the problem. After setting up a breakpoint with
firebug and using the "step into" ability I found a piece of code that
is generating an exception.
in *.cache.html:
_.sendRequest_0 = function sendRequest(id, pw){
$sendRequest(this, id, pw);
}
The problem is that _.sendReque
having to be static
I can try that.
Thanks everyone.
On Aug 9, 5:20 am, karim duran wrote:
> Hi ASlak,
>
> It should work. I already did that.
>
> Don't forget that, finally, all your java code will be translated in
> optimized javascript.
> I haven't enough eleme
yes I call it in onModuleLoad()
it looks like:
MyClass app = this;
exportMethod(app);
On Aug 8, 4:12 pm, Jens wrote:
> Have you called your JSNI method once on app startup? If you do not call it
> once, $wnd.sendRequest won't point to your JSNI method.
>
> -- J.
--
You received this message
I have some code in my host html page that I would like to call one of
my java methods from.
The relevant part of the html looks like:
if(myCondition){
sendRequest(myVar);
}
I have a method in my java code for my gwt project that is called
sendRequest.
I am also using a method that looks like:
So I learned that I can change the z-index. I tried making the index
of my button Label -1, which made it disappear completely from the
screen. My guess was that it happened because it had gone behind the
background image, however when I set the image of the background image
to -2 the Label did n
Thanks for your fast response!
I am very new to gwt, so I may be wrong, but from what I understand
you need to use gwt-ext to change the z index of components. I am
trying to only use standard gwt. If it is in fact possible to change
the z index with standard gwt then I have not been able to find
My goal is to make a button that has transparency, to look nice, and
text on top so the user knows what the button does.
I currently am using a pushbutton for the image part and that works
fine. The issue is how I am adding the text. Right now I have a label
with the text that I want located behin
I am having a problem with requestbuilder.
I am trying to do this:
RequestBuilder requestbuilder = new RequestBuilder("POST", "/blah/
blah");
Eclipse marks it with an error which says "The constructor
RequestBuilder(String, String) is not visible"
Does anyone have any idea why this is happening
11 matches
Mail list logo