Re: doing ajax request to an external server (rails)

2009-11-04 Thread samsus
at least we can use the hosted mode :) thanks for the tip On Nov 4, 11:09 am, samsus wrote: > Iam missing something or, this way instead of simply pressing > "refresh" to see my changes, i actually need to compile and copy the > files to my server? sounds like a great waste o

Re: doing ajax request to an external server (rails)

2009-11-04 Thread samsus
Iam missing something or, this way instead of simply pressing "refresh" to see my changes, i actually need to compile and copy the files to my server? sounds like a great waste of time On Nov 4, 11:02 am, Thomas Broyer wrote: > On 4 nov, 10:53, samsus wrote: > > > Hello,

doing ajax request to an external server (rails)

2009-11-04 Thread samsus
Hello, Im tyring to do ajax requests to my rails server from the hosted browser, its not working because of cross domain scripting protection. In the past i have done he same thing using apache/php by disabling the security in IE6 (and thus allowing the hosted browser to do these requests). Howev

"GetElementsByClass" in gwt?

2009-09-11 Thread samsus
Hello, Im trying to create a function in gwt like "GetElementsByClass" where it would return a list (or iterator) of html elements that contain a certain class , does GWT has such a function? --~--~-~--~~~---~--~~ You received this message because you are subscribe

calling java function from an eval

2009-08-26 Thread samsus
Hello Everyone Im trying to call a Java function from an eval, so far no luck, any ideas on how this could be done? this is the code: public native void runj() /*-{ $wnd.eval("new MyAjaxClass($('#myDiv'),{onSubmit : function (file, ext){th...@com.site.myclass::myOnSubmit(Ljava/lang/Strin

MVC in forms in gwt? gwt forms best pratices?

2009-08-26 Thread samsus
Hi Everyone, This past week i have been working on a project where the project is in php, it has diferent php pages, and im using gwt as a javascript/ jquery substitute, specially for forms. The problem im getting with gwt-created forms is that, the designer doesnt seem to have control over it.

How to implement GWT java interfaces in javascript [JSNI]

2009-06-16 Thread samsus
Hi All, Im trying to use jsni to implement a interface (a callback) and use it as an argument in a function. here is what i have: - package com.mypackage; public interface MyCallback { public void onResponseReceived(String text); } -

How to implement GWT interfaces in javascript

2009-06-13 Thread samsus
Hi All, Im trying to use jsni to implement a interface (a callback) and use it as an argument in a function. here is what i have: - package com.mypackage; public interface MyCallback { public void onResponseReceived(String text);

how to include a package outside /src//client

2009-06-06 Thread samsus
Hi All, Im trying to use classes from a package inside /src but outside the / src//client folder. Until now i didnt had much sucess, i get the following error: "No source code is available for type test.Test; did you forget to inherit a required module?" This is what i did: created the folder "

Re: dynamically load css?

2008-11-07 Thread samsus
what are you talking about? On Nov 7, 4:04 pm, walden <[EMAIL PROTECTED]> wrote: > Are you reinventing the browser? > > Why don't you put a link on your page and let the user click it. > Maybe you can style the link to look like a button. > > On Nov 7, 10:13 am, sam

dynamically load css?

2008-11-07 Thread samsus
Hello everyone, Im trying to do an app where the user can dynamically load a html and its respective stylesheet. (after ,say, clicking a button). How can this be done? im using RequestBuilder to load the html, however when i used to load the css, the stylesheet is not apllied, i also tryed: priv

Re: How to Dynamically resize RichTextArea

2008-10-13 Thread samsus
Morris <[EMAIL PROTECTED]> > > > > > > > samsus wrote: > > > Hello, > > > > Is there a way i can dynamically resize the RichTextArea Height?, that > > > is, it starts with 50px height, and if the content inside the > > > RichTextArea passes tha

Re: How to Dynamically resize RichTextArea

2008-10-13 Thread samsus
IE with no sucess, this kind of thing has to be possible since many sites do it. any ideas? On Oct 13, 9:24 am, Jason Morris <[EMAIL PROTECTED]> wrote: > samsus wrote: > > Hello, > > > Is there a way i can dynamically resize the RichTextArea Height?, that > > is

How to Dynamically resize RichTextArea

2008-10-13 Thread samsus
Hello, Is there a way i can dynamically resize the RichTextArea Height?, that is, it starts with 50px height, and if the content inside the RichTextArea passes that limit, the height is increased. Any ideas? --~--~-~--~~~---~--~~ You received this message because

how to use RichTextToolbar

2008-10-09 Thread samsus
Hello everyone, in the demo at http://gwt.google.com/samples/Showcase/Showcase.html#CwRichText there is the class RichTextToolbar , however this class doesnt exist, so what can i do? do i have to implement my own RichTextToolbar? and in that case how, is there an example? --~--~-~--~~