Hello,
How can I name a function like start() and it will not change while
compliling so that other javascript can call it?
thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post
Thanks, I now realize what was that strange comments in GQuery and
that's what JSNI means.
I will check later the GWT exporter.
thanks.
On 11 יוני, 23:41, Alex Rudnick a...@google.com wrote:
Hey Shedokan,
The approach I've used for that is to attach a GWT function to the
window object ($wnd
How can I do in GWT this:
document.body.style.background = red;
I'm trying to change the background color of the body element without
adding a special class to the body or any of that external css.
Thanks.
--
You received this message because you are subscribed to the Google Groups
Google Web
Document is com.google.gwt.dom.client.Document.
Olivier
On 24 mar, 20:48, Shedokan shedok...@gmail.com wrote:
How can I do in GWT this:
document.body.style.background = red;
I'm trying to change the background color of the body element without
adding a special class to the body or any
Hello,
I am looking at GWT's features and can't figure out weather a variable
declared in java as private will stay private once compiled in GWT.
By private I mean unaccessible to anyone except for the constructor or
the construtors functions.
Thanks.
--
You received this message because you
debugger.
When your question is about security, never ever dream about that
anything is secure in your browser code.
Anything you give to a browser is open, at least for a professional.
Stefan Bacherthttp://gwtworld.de
On Jun 16, 11:23 am, Shedokan shedok...@gmail.com wrote:
Hello,
I am
sripathi.krish...@gmail.com
wrote:
I think you missed Thomas' post. You *CAN* keep your variables private, its
just you have to use a different linker. Its just a minor change to your
gwt.xml, and with that your entire script will be private.
-Sri
On 18 June 2010 20:04, Shedokan shedok...@gmail.com
I have this Class:
package com.testproject.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
/**
* Entry point classes define codeonModuleLoad()/code.
*/
public class Test implements EntryPoint {
/**
* This is the entry point
getUserAgent() /*-{
return navigator.userAgent.toLowerCase()
}-*/;
Olivier
On 20 juin, 17:55, Shedokan shedok...@gmail.com wrote:
I have this Class:
package com.testproject.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT
I was just yesterday going after the same thing, untill I did some
testing and found that you can use JSNI to set objects on the window
without having to worry about their name:
package com.testproject.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
code, the object does no more know
about private, protected or public.
(I am NOT referencing Java since the concepts are not so separated in
this language)
Stefan Bacherthttp://gwtworld.de
On Jun 19, 3:34 pm, Shedokan shedok...@gmail.com wrote:
I didn't miss his post I just didn't
://code.google.com/p/gwt-exporter/http://timepedia.blogspot.com/
On Tue, Jun 22, 2010 at 12:41 AM, Shedokan shedok...@gmail.com wrote:
I want to allow people to add javascript extensions to my app using an
API I'll make with GWT, so I don't want them to be able to be able to
access private
You can try to put al your addTreeItems calls inside a function like
onModuleLoad and then once you declare the addTreeItems function in
your GWT function call it and all the addTreeItems calls will be
called after your module loads.
On 25 יוני, 04:25, barbe...@muohio.edu barbe...@muohio.edu
:
On 25 juin, 19:40, Stefan Bachert stefanbach...@yahoo.de wrote:
Hi Shedokan,
I think this approach will fail.
a) you can't give you code away. Because GWT needs the source.
b) to use GWT code as JavaScript-lib fails. GWT compiles only what is
needed. So how could you be sure, that ALL
?
On 21 jun, 16:57, Shedokan shedok...@gmail.com wrote:
I was just yesterday going after the same thing, untill I did some
testing and found that you can use JSNI to set objects on the window
without having to worry about their name:
package com.testproject.client;
import
It's all in the docs:
http://code.google.com/intl/iw/webtoolkit/doc/latest/tutorial/gettingstarted.html
If you'll have further questions after reading that you are free to
ask in these forums.
On 30 יוני, 09:55, kondal rao kondalraotirum...@gmail.com wrote:
please help me out in this issue i m
I have something like this:
package com.project;
public class Events {
static final native void bindEvents() /*-{
$wnd.onresize = th...@com.project.events::resize();
}-*/;
private static final void resize() {
...
}
}
the
Hello, I am developing an app which is mainly based on ajax and has a
backend of GAE Python.
Currently I'm just compiling the App and copying it to the GAE
directory, but it's just too much hassle waiting 20seconds to compile
it each time instead of the live development mode.
Is there any way of
Hello,
I am trying to split my code and load classes by a name I get from the
server.
I tried using Class.forName(com.app.classes.+className) but GWT
doesn't support it.
How can I get a class and then construct it like this:
new (getClass(com.app.classes.+className))(Param1, param2);
Thanks.
--
Maybe try asking the server for a base64 encoded image and then save
the string, and once you need to display your image you can do:
data:image/png;base64,BASE64_ENCODED_IMAGE_HERE
in the src value of an image tag.
On 3 ספטמבר, 16:59, dduck anders.johansen.a...@gmail.com wrote:
On 3 Sep., 14:37,
...
Search in google for GWT Generators
2010/9/3 Shedokan shedok...@gmail.com
Hello,
I am trying to split my code and load classes by a name I get from the
server.
I tried using Class.forName(com.app.classes.+className) but GWT
doesn't support it.
How can I get a class and then construct
Dude, wrong group.
but if you really want an answer try the BlobStore:
http://code.google.com/intl/iw/appengine/docs/python/blobstore/
It allows you to upload files and then serve them, you can upload a
file of a maximum 2gb, but you can only serve files that are less than
1mb
On 3 ספטמבר,
wrote:
Hi Shedokan,
you can do this on the server, not on the client. A few weeks ago,
I ran into the same problem.
Here is my solution:
- send the string with the classname to the srever.
- then do the following:
myClass = Class.forName(className);
Constructor myConstr
Hello,
I am getting tons of spam lately, and I found out spam bots can find
me by a simple google search because these two blogs archive GWT
conversaions and keep full emails intact:
gwtnews.blogspot.com
gwtletter.blogspot.com
So whoever is the owners of these blogs, I would like to kindley ask
Maybe instead try asking the person to login before enabling him the
option to write a message?
On Oct 3, 12:31 pm, Haris harishas...@gmail.com wrote:
Using Users Service, after filling up login and password and press OK,
onModuleLoad is executed. Basically the gwt module is reloaded. I am
I had the same question, when I started using GWT I knew javascript
very good and I was just starting with java.
I found that when writing in java you can have classes and classes
that inherit from other classes which is a must in all modern apps,
this makes your life a whole lot easier. You do
://googlewebtoolkit.blogspot.com
On Sep 29, 7:17 am, Shedokan shedok...@gmail.com wrote:
Hello,
I am getting tons of spam lately, and I found out spam bots can find
me by a simple google search because these two blogs archive GWT
conversaions and keep full emails intact:
gwtnews.blogspot.com
type very long message
and time out.
On Oct 5, 7:56 pm, Shedokan shedok...@gmail.com wrote:
Maybe instead try asking the person to login before enabling him the
option to write a message?
On Oct 3, 12:31 pm,Harisharishas...@gmail.com wrote:
Using Users Service, after filling up login
28 matches
Mail list logo