novembre 2010 01:56, cokol eplisc...@googlemail.com a écrit :
why is com.google.gwt.user.client.ui.Widget.addHandler(H, TypeH)
protected? in case I want to fire a custom event on a widget so that
the widget is not aware of custom event handler, it makes it difficult
to manage.
thanks
why is com.google.gwt.user.client.ui.Widget.addHandler(H, TypeH)
protected? in case I want to fire a custom event on a widget so that
the widget is not aware of custom event handler, it makes it difficult
to manage.
thanks
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Webber j...@google.com wrote:
Specific examples might be helpful here. I can see how this might be useful
in some specific cases, but wrapping every new in a template method sounds
like a horribly contorting way to have to write all one's code.
Le 13 octobre 2010 05:19, cokol eplisc
there is no stupid questions! remember ;)
you either only take the contents of the GWTWAR's directory and place
them into your context root OR, if you want them to keep separately,
you have to adjust the url-pattern for the remoteServiceServlet(s) in
your web.xml accordingly to your
many other developers, including me, would appreciate if you'd use
protected factory methods in non-final classes (even if the class is
not abstract), like:
a no-go:
void func() {
A = new A();
A.doSomething();
}
instead, a better pattern:
---
protected A createA() {
hello, I'm using TO of kind:
Action {
String a,b;
ArrayListContainer list;
}
class Contianer implements IsSerializable {
Integer i;
MySerializableClass c;
}
and service:
interface MyService implements RemoteService {
void call(Action act);
}
which fails with exception (see below) when I
SOLVED.
see issue
On 2 Sep., 11:56, cokol eplisc...@googlemail.com wrote:
hello, I'm using TO of kind:
Action {
String a,b;
ArrayListContainer list;}
class Contianer implements IsSerializable {
Integer i;
MySerializableClass c;
}
and service:
interface MyService implements
hello,
I understand the mean behind the check in RPC::decodeRequest() which
ensures that the implemented interface also has to extend
RemoteService, but what about giving control to the user to decide if
he wants this check to happen or not? i.e. by allowing to extend this
class ( I know,
thx for so quick responses.. am loving it
On Sat, Aug 14, 2010 at 2:31 AM, cokol eplisc...@googlemail.com wrote:
hi the problem is that gwt does not have source of your Employee
class, since you have put it into the server package, you always have
3 packages to handle (as per default
hi, when you put something into WEB-INF/lib folder, the library is
loaded to the classpath of the servlet container regardless if its on
eclipse classpath or not. if you dont want to roll out the library
with the war file or it resides somewhere else than WEB-INF/lib - you
can still add the jar to
cross domain policy does not apply for some certain resources like
javascript or images, so this is not the problem, you have to append
the script element to the HEAD element, not to the BODY
On 13 Aug., 11:56, Vincent COROLLEUR vcoroll...@gmail.com wrote:
Hello,
I still have the problem. I
A.js has been loaded
this is a little bit tricky, since SCRIPT tag does not allow you cross-
browser to hook in to know if code is loaded, but there some
strategies for it we can discuss if your problem really relates to the
async control flow..
On 13 Aug., 12:43, cokol eplisc...@googlemail.com
write a class which can be used like this:
Executor.async(cmd1).async(cmd2).async(cmd3).sync(cmd4)
it gonna start cmd1..cmd3 and when all are finished it gonna start
cmd4
and go for observer pattern
everytime an async call finishes it checks if it was the last one, if
so it triggers cmd4,
being
wrap you panel into DecoratorPanel then you can use 9box round corners
On 12 Aug., 20:50, Greg Dougherty dougherty.greg...@mayo.edu wrote:
With a DockPanel I just create a CSS style, and apply it to the
Panel. I did that with a DockLayoutPanel, and nothing seemed to
happen. I searched the
has the advantage is has not to scan all of the chars,
in case its not ascii but returns after first non-ascii
On 12 Aug., 19:21, Thomas Broyer t.bro...@gmail.com wrote:
On 12 août, 15:40, cokol eplisc...@googlemail.com wrote:
and if you really want to check for ascii why dont u just check
exactly, like
if(caught instanceof RequestTimeoutException){
//timeout
}
but u have explicetely to set timeout to support it, since as per
default the timeout is set to 0 (no timeouts)
On 12 Aug., 17:12, Jeff Chimene jchim...@gmail.com wrote:
On 08/11/2010 06:12 PM, nokostar wrote:
What is
yes, but I forgot to say, that this only applies to JRE emulation set
of classes provided by GWT, so like java.lang.BigInteger and such for
your custom classes it works like expected.
On 12 Aug., 17:40, Evan Ruff evan.r...@gmail.com wrote:
Cokol,
Thanks for the response, that's exactly what
to decorate, it's the elements
within the panel (i.e. I want to put a box around Center).
On Aug 13, 6:08 am, cokol eplisc...@googlemail.com wrote:
wrap you panel into DecoratorPanel then you can use 9box round corners
On 12 Aug., 20:50, Greg Dougherty dougherty.greg...@mayo.edu wrote
maybe u can expose me your eclipse project and I can try to resolve it
locally...? if u dont mind
On 13 Aug., 13:57, Vincent COROLLEUR vcoroll...@gmail.com wrote:
I tried to load the script on a button event and it's the same...
Really annoying
--
You received this message because you are
hi the problem is that gwt does not have source of your Employee
class, since you have put it into the server package, you always have
3 packages to handle (as per default):
client
server
shared
everything under client becomes javascript after compilation and is
not aware of anything contained
to load code asynchronously does not make sence unless not loaded by
demand, as a sample:
if you have login-screen as a first screen, and after login you want
to initialize the application,here you would benefit from splitting
the code, one part to handle login and the other for entire
to invoke a OS process by Java is a part-of Java and its VM not GWT!
so ensure JDK runtimes are on the classpath (as Yingwei said, uncheck
app engine) and remember, GAE does not support it
On 12 Aug., 04:26, Yingwei HU husi...@gmail.com wrote:
uncheck the app engine option when creating the
its a way it works, like Greg said - a dumb client should not worry,
or better said not be too serious about security, everything what
happens on the client is INSECURE, so the only security concern it
should think about is to make the security look good to its user.
the real security should
i would use appropriate API for either maps but control them from
above, from the DOM of the browser, so first I'd create two DIV
containers and bind GMaps or OpenLayers to each, depending on the user
selection you can make the one or another container invisible, BUT you
should not consider to
actually, its the way you look for, you can also make a classic
FileUpload using just HTML forms and write own servlet to save/parse
the contents and to return the results in old-web manner (full page
reload)
On 11 Aug., 23:22, Greg Dougherty dougherty.greg...@mayo.edu wrote:
My users want my
you should not read the images from datastore using HTTP but rather
use the API for that, if you really want first to load a stream from a
HTTP connection and then put its contents into a message, then
consider using URL().open() since GAE does not permit to use fileIO
On 12 Aug., 03:41, GKotta
lol this happens really seldom but is a Java feature maximum
compiled method size is 64k, like Fernando said - you have to split
the method manually or report a BUG to BeanBinder team to make a
split on big methods automatically
On 12 Aug., 09:43, Gard Vaaler g...@dataloy.com wrote:
Den 11. aug.
the readonly form (just for view purposes)
Everything just by annotate UI components with @Secured annotation
Peter
On 12. Aug, 09:17 h., cokol eplisc...@googlemail.com wrote:
its a way it works, like Greg said - a dumb client should not worry,
or better said not be too serious about security
lol, maybe OpenLayer detects and kills Google Maps :-)
On 12 Aug., 09:57, Vincent COROLLEUR vcoroll...@gmail.com wrote:
Hi,
I always tried with JSNI and it's the same... (Unloading module when
scipt is loading)
On Aug 12, 9:35 am, cokol eplisc...@googlemail.com wrote:
i would use
either to can patch it when loading the resoucebundles in the java OR
you can open the GWT JAR file with some package manager (winzip,
winrar or such), modify the file in there and close it then the
changes gonna stay there forever.
On 11 Aug., 19:19, oyepez003 oyepez...@gmail.com wrote:
Hello!
maybe IE just worries about security? and it would help if you add
your url to trusted sites or maybe IE doesnt allow XSS so make sure
the wav file reside on same origin host where the HTML code comes from
On 12 Aug., 10:06, mariyan nenchev nenchev.mari...@gmail.com wrote:
Could someone answer
maybe you make a change to a DOM node what GWT is aware of and
therefore triggers module unload?
try following function (ready to use) define the function inside JSP
script
function loadJS(url){
var loaderNode = document.createElement(script);
GWT. From the javaScript i try to load, there is
other call to scripts, maybe it's a problem... I think there's a
mechanism that i'm not aware.
On Aug 12, 11:18 am, cokol eplisc...@googlemail.com wrote:
maybe you make a change to a DOM node what GWT is aware of and
therefore triggers
you can also store the XML file in the datastore, why do you want to
use versioning control? or do u also want to support diffs? by
sandbox is meant that GAE does not provide more than a servlet
container, even less, as there are some restrictions like JNDI or
FileIO is not permitted.
On 12 Aug.,
nope, thats not possible - u cannot access JS namespace of an iframe,
so serverside is the only way but you can bring up results into the
client though
On 12 Aug., 14:35, Henrique Viecili viec...@gmail.com wrote:
hmmm... you could use IFRAME to load the page, some JSNI to get the
HTML from the
as you probably know, regex is belongs to that cases not fully
compatible between java and javascript, and in dev mode your GWT
engine uses real JDK therefore it works, whereas after compilation
your matches() is performed on the browser with its regex engne and it
fails.
well u have to rewrite
and if you really want to check for ascii why dont u just check for
the ascii code? try java.lang.Character to check or write in JSNI
small for-each testing if decimal value of char is greater than 127 is
faster than a regex evaluation
On 12 Aug., 15:17, cokol eplisc...@googlemail.com wrote
hi,
goods thoughts you had, but dont treat GWT as a framework, Google
doesnt do it either :-) Its just a toolkit or better yet, a JS
compiler with some tooling around. And being just a toolkit is more
powerful than create yet another throw-away ajax framework! There're
plenty wonderful ajax
hi folks,
i am using standard rpc calls but the client fails to deserialize the
response with error could not deserialize - it here a way to debug
that deserialization process on the client from within eclipse?
--
You received this message because you are subscribed to the Google Groups
Google
update: ok, got the reason for that - wrong magic number for the class
type :( I've provided some source which differs from original class by
having dummy API implementation, I dont believe this should make
signature change...?
On 11 Aug., 11:18, cokol eplisc...@googlemail.com wrote:
hi folks
why dont you try :D
but yes, it will...
regards,
On 11 Aug., 11:38, Santosh kumar kopp@gmail.com wrote:
Hi Shakun,
I want to display this date in the flextable as one of the column for the
list of rows.
is your snippet will help me ??
On Wed, Aug 11, 2010 at 1:12 PM, Shakun
why not? do you want to put the whole application scope on wire or
what do you mean why is should interfere?
On 11 Aug., 13:20, Thomas Van Driessche
thomas.van.driessch...@gmail.com wrote:
Hi All,
Is it possible to put something in the application scope of the server
where the gwt app is
there is no reason to secure it, since decryption logic would be in
javascript - thus public accessible, so better to use https ;)
On 11 Aug., 14:04, Luis Daniel Mesa Velasquez
luisdanielm...@gmail.com wrote:
I don't see anything about the encryption used in the RPC call to the
userservice...
do you rpc objects to the client? maybe it cannot find the id of the
object when unmarshalled on the server?
On 11 Aug., 12:50, Shakun Sachdeva s28sw...@gmail.com wrote:
Pls help me with the below exception..
hum, this assertion seems to be wanted, what did u do to cause the
error? i mean seems like there is an event firing which causes this
error isnt it?
On 11 Aug., 14:29, Santosh kumar kopp@gmail.com wrote:
Hi,
this is the BUG which i see when i work with this module ..
please can any one
as soon as google finalises the transition :)
On 11 Aug., 14:54, markomina minam...@hotmail.com wrote:
Instantations had gwt-builder which I evaluated some years ago.
When evaluation/commercial version will be available?
--
You received this message because you are subscribed to the Google
write a Composite with static or dynamic built elements inside, they
just use it as it was a widget
On 11 Aug., 03:07, A/C A/C acro...@gmail.com wrote:
Is there a way to write some html directly. Add this html to an
existing gwt widget as a child and then wrap the html elements so they
become
keypressed is actually an event for writeable characters, like 'a' or
'b' so if you push CTRL button, the keypress is not fired in browser,
so google just made is convenient
On 11 Aug., 17:22, Christian Goudreau goudreau.christ...@gmail.com
wrote:
I had made a masked text box and since rolling
please post your gwt.xml module descriptor
On 11 Aug., 18:03, ben fenster fenster@gmail.com wrote:
?
On 11 אוגוסט, 15:21, ben fenster fenster@gmail.com wrote:
can anyone tell me why when i compile without compile report flag the
compilation finishes ok and when i use the
actually, EventBus is meant by GWT to be enganged with business events
across components reside on the client. What u're looking for is
rather a messaging service, so better focus on GWTEventService - its
better suited. In fact, the real implementation can indeed use
HandlerManager to propagate
hi, u dont the server locally ,dont you I mean the param in the URL
gwt.codesvr should point to 127.0.0.1 ? ;)
otherwise I can only imagine that either the file is not in place (hit
F5 in eclipse on the package to refresh) or the server does not use
the default war folder as context root, this
hi, you can use the super-source/ element in the gwt module
descriptor, please refer to section Overriding one package
implementation with another in this faq
http://code.google.com/intl/de-DE/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html
there are also other ways, like you could also
hi, so what you want is actually NOT that user-written XML directly is
injected into the DOM, rather you're about to create an own UiBinder?
So, if someone writes the code
blab:button name=Run Me evaluate=MyEvaluator//b
you want to map the lab:button/ element to the GWT-Button widget,
right? -
what you mean by page? so you mean not actually an entry point or
screen but rather a usual HTML page? then just write your .jsp , like
adminPage.jsp. Or if you really want to write a panel with much HTML
try using UiBinder.
and remember - there is no page in GWT applications, however, you
can
hi.its fairly easy to do.just google for a gwt module howto
On Jul 23, 6:14 pm, nacho vela.igna...@gmail.com wrote:
Hi, i'm looking some info about how to create and package my own gwt's
lib.
Does anyone know where can i find some tuto?
--
You received this message because you are
make sure the HTMLPanel itself has a maximum extended height of this
parent, so set panels height to 100%
On 22 Jul., 06:01, David Vree david.h.v...@gmail.com wrote:
Newbie here -- struggling to get my HTML text and button to be
vertically centered within my HTMLPanel. I am using UI binder and
hi, try it as follows:
private static native void getURL(String url)
/*-{
$wnd.open('' + url,'target=_blank')
}-*/;
On 22 Jul., 11:21, Paul Grenyer paul.gren...@gmail.com wrote:
Hi All
I've got a bit of a problem opening new tabs. I found the following link:
, cokol eplisc...@googlemail.com wrote:
hi, try it as follows:
private static native void getURL(String url)
/*-{
$wnd.open('' + url,'target=_blank')
}-*/;
Thanks! Unfortunately that didn't work either. Just to see what
happens, I tried:
private static native void
watch out! you cannot make new Random() on GWT's type otherwise your
IDE would pull in Javas implementation, so only Random.getNext() works
make sure your Random is imported from com.google rather than
java.util
On 22 Jul., 12:50, Shawn Brown big.coffee.lo...@gmail.com wrote:
Actually if
isnt it simply a Composite of a panel and a lable? :-)
i mean it would take you half an hour at most to write your own with
some smart API, or better yet, take extGWTs api for it
On 22 Jul., 16:36, David Vree david.h.v...@gmail.com wrote:
I'm looking for something exactly like the Ext GWT
hi.actually impossible.for me it worked out.could u provide more
information on the subclasses. or the fields are marked transient or
such.
On Jul 22, 6:00 pm, Kevin (Yau) Leung kvle...@gmail.com wrote:
I'm using GWT 2.0.3 and have encountered a problem during async rpc.
I have a serializable
hi.from architectonical perspective,the response IS A part of your
wrapping composite therefore ur maininterface should also manage
it.just put the response widget inside
On Jul 22, 6:20 pm, dlynch cra...@crayonbox.co.uk wrote:
Hi Everybody,
I am learning GWT just and am really stuck on a
u just register the keypressedhandler on the body element and when
fired check if control key is pressed and corresponding characters are
pressed.
Actually its always better to scale images in percentage ratgherr than
giving absolute sizes then this job is done by browser automativally
On Jul
btw: here a sample
XMLHttpRequest r = XMLHttpRequest.create();
r.setOnReadyStateChange(new ReadyStateChangeHandler() {
@Override
public void onReadyStateChange(XMLHttpRequest xhr) {
Window.alert(GET
hello folks,
I wanted to use already existings beans transparently on the client.
The issue is, that they have BigInteger members, which cannot be
translated to JS. Now, I did not want to write adapters or TOs but
rather patch the GWT compiler to know how to translate such classes.
In my case I
hi, please see documentnation on RequestBuilder class, there is a good
sample
On 20 Jul., 20:20, bhargava bhargav...@gmail.com wrote:
Hi all,
I need to send a string from my gwt platform on glassfish to a website
running(using php) on apache server.
I know that i need to use JSONP .
Is
you have to provide full qualified url, so in your case it should be:
tableLeft.setWidget(index, 0, new HTML(a href='http://
www.google.com'text/a));
br,
On 21 Jul., 12:42, Thomas Broyer t.bro...@gmail.com wrote:
On 21 juil, 03:55, Lu chenglu.annal...@gmail.com wrote:
Hi,
After getting a
yeah, use the com.google.gwt.xhr.client.XMLHttpRequest class
br
On 20 Jul., 18:51, mk munna.kaka.ch...@gmail.com wrote:
Is there a way to make AJAX async call of type GET ( instead of POST).
(RequestBuilder is ok but still is there a easier way)
--
You received this message because you are
hi!
so if you really need to go for HTTP POST rather than get, then do so,
remove the '?' from post body, these would be required for CGI doing
GET but not in this case.
you dont need to go for JSNI!! SOP cannot be workarounded on the
client solely. You have to write simple gateway service which
btw:
you can of course abuse HTML resource reference tags allowing SOP
( like SCRIPT, IMG, IFRAME ) but they all do only support HTTP GET. If
your service you gonna talk with requires HTTP POST, there is no other
way
you can also patch your DNS but this is for sure not the way you look
ok, got it - using the super-source/ tag in the gwt descriptor does
do the trick
On 21 Jul., 12:14, cokol eplisc...@googlemail.com wrote:
hello folks,
I wanted to use already existings beans transparently on the client.
The issue is, that they have BigInteger members, which cannot
indeed it could be a valid use case; but not without a constraint,
just imagine I wanna close my browser and your sync onunload() request
would take 5 secs to be processed by server - what happens then? its
evil!
imho, if you want to process the response afterwards, like printing it
out to the
I see, i think google just did not want to make a tool which can be
abused resulting in frustrated users :)
but anyway, you can endeed get it simpler than just hacking JSNI from
scratch - extend the XMLHttpRequest class and add a new method open()
which flags the underlying connection as async
stop doing that,
its not your intention to load the entire filestream into the
memory?! :-)
you'd be better off with streaming, so on doPost() in your servlet you
could acquire a stream from the request and forward it to your
outputstream on the file system, so only the internal buffer is used.
if you just tried to get the example working, maybe you mistyped
something?
On 21 Jul., 02:09, VM thinker...@gmail.com wrote:
Hello GWT Users,
I just wanted to check if anybody had success with Cross domain
communication.
I followed Google documentation:
as already states by cause Caused by:
java.security.AccessControlException: access denied
you are not allowed to access the filesystem neither for read nor for
write - I remember there was a workaround for this issue, like putting
the resource into classpath or such, then you can get the stream
...in that case it would be an option to show up a modal dialog asking
the user to get some coffee :-)
@mk
youre welcome!
On 21 Jul., 20:20, Brian Reilly brian.irei...@gmail.com wrote:
Could you get the same effect by preventing user input during your
server request, either by finding all of
hi, as the cause indicates java.lang.NoClassDefFoundError: cryptix/
provider/md/MD5 means that the class could not be found, means is
not in the classpath. I guess you uploaded your application on googles
appengine?
however, make sure, that the .jar file of your crypter library resides
in
hm, seems like you dont have a transparent proxy, intstead your
backend may be breaking the output, please post the doFilter() method
of your proxy filter from the backend which actually handles the
request
br,
On 20 Jul., 18:16, kiss_...@yahoo.com praveenshett...@gmail.com
wrote:
Hi,
hi, you dont need to care for session ids, unless cookies are
disabled, since almost every servlet container (tomcat, appengine,etc)
creates a new sessionid for every request it does not recognize and
this sessionid is sent back with a cookie. from now on, the browser
automatically sends a cookie
hi actually, this is a question to googles appengine forum, appengine
implies many restriction, such as those, you cannot access the
filesystem, put the excel file into classpath and access the stream
via getResourceAsStream(foo.xls) from your classloader
br,
On 21 Jul., 16:26, Eric
as lineman already written, you first have to add the label widget to
the DOM ,you could do it just after setting label to hidden. Then
you also have to give the widget the property position: absolute
in your case you could also use tooltips over widgets, they are better
fitted since they know
82 matches
Mail list logo