as for me, I took both, gwtquery and jquery in my app, because I
wanted to use gwtquery's API in my javacode for some effects, but I
could not get some jquery plugins to work, so for those I just took
jQuery and written a small wrapper for the plugin to initilize from
java
On 13 Okt., 16:53, Falco
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 @RemoteService
SOLVED.
see issue
On 2 Sep., 11:56, cokol wrote:
> hello, I'm using TO of kind:
>
> Action {
> String a,b;
> ArrayList list;}
>
> class Contianer implements IsSerializable {
> Integer i;
> MySerializableClass c;
>
> }
>
> and service:
> interfa
hello, I'm using TO of kind:
Action {
String a,b;
ArrayList 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 fill the lis
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, impossib
you can either use js browser detection script and work with it over
JSNI in GWT ( like http://javascript.about.com/library/blbrsdet.htm )
or a serverside solution ( like http://wurfl.sourceforge.net/ ) which
helps you to handle clients capabilities
gwt claims to work on every browser :) hence the
>
>
> On Sat, Aug 14, 2010 at 6:17 AM, Sree ... wrote:
> > okey... thanks alot guys
> > i ll try to make those changes and will update here
>
> > also thx for so quick responses.. am loving it
>
> > On Sat, Aug 14, 2010 at 2:31 AM, cokol wrote:
>
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
applicati
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
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 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 subscribed to the Go
the elements
> within the panel (i.e. I want to put a box around Center).
>
> On Aug 13, 6:08 am, cokol wrote:
>
>
>
> > wrap you panel into DecoratorPanel then you can use 9box round corners
>
> > On 12 Aug., 20:50, Greg Dougherty wrote:
>
> > > With
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 wrote:
> Cokol,
>
> Thanks for the response, that's exactly what
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 wrote:
> On 08/11/2010 06:12 PM, nokostar wrote:
>
> > What is the best way o
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 wrote:
> On 12 août, 15:40, cokol wrote:
>
> > and if you really want to check for ascii why dont u just check for
> > the ascii code?
>
> Such as "
wrap you panel into DecoratorPanel then you can use 9box round corners
On 12 Aug., 20:50, Greg Dougherty 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 archives of this group for
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
executing AFTER 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 wrote:
>
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 wrote:
> Hello,
>
> I still have the problem. I tried to load other
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
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 wrote:
> as you probably k
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 t
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 wrote:
> hmmm... you could use IFRAME to load the page, some JSNI to get the
> HTML from the IFRAME (you migh
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.
s' javascript combined with
> dynamic load from 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 wrote:
>
>
>
> > m
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
function loadJS(url){
var loaderNode = document.createElement("script");
loaderNode.setAttribute("id","ffxep");
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 wrote:
> Could someone answer me please?
>
> On Wed, Aug
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 wrote:
> Hello!
>
> I am using GWT
lol, maybe OpenLayer detects and kills Google Maps :-)
On 12 Aug., 09:57, Vincent COROLLEUR 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 wrote:
>
>
>
> >
not modify the fields, he
> will see the readonly form (just for view purposes)
>
> Everything just by annotate UI components with @Secured annotation
>
> Peter
>
> On 12. Aug, 09:17 h., cokol wrote:
>
>
>
> > its a way it works, like Greg said - a dumb client shoul
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 wrote:
> Den 11. aug. 2010 kl. 15
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 w
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 wrote:
> My users want my app to be able to read data
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 cl
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 alw
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 wrote:
> uncheck the app engine option when creating the project...so simple
hi, you can use the 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 provide another
cl
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 issu
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 eve
please post your gwt.xml module descriptor
On 11 Aug., 18:03, ben fenster wrote:
> ?
>
> On 11 אוגוסט, 15:21, ben fenster wrote:
>
>
>
> > can anyone tell me why when i compile without compile report flag the
> > compilation finishes ok and when i use the flag the compilation gets
> > st
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
wrote:
> I had made a masked text box and since rolling up to GWT 2.1 MS2 backspace
>
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" 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 gwt objects?
as soon as google finalises the transition :)
On 11 Aug., 14:54, markomina 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 Groups
"Google Web T
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 wrote:
> Hi,
> this is the BUG which i see when i work with this module ..
> please can any one help me to fix thi
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 wrote:
> Pls help me with the below exception..
>
> ---
> --
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
wrote:
> I don't see anything about the encryption used in the RPC call to the
> userservice... so it's just a fancy 3rd
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
wrote:
> Hi All,
>
> Is it possible to put something in the application scope of the server
> where the gwt app is deployed?
>
> The app uses rpc.
>
why dont you try :D
but yes, it will...
regards,
On 11 Aug., 11:38, Santosh kumar 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 Sachdeva wrote
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 wrote:
> hi folks,
>
> i am
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
"Goog
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 fram
hi.its fairly easy to do.just google for a gwt module howto
On Jul 23, 6:14 pm, nacho 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 subscribed to the Google Gro
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, 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
you want to map the element to the GWT-Button widget,
right? - start using UiBinder :-)
if you want to handle it absolutely
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 2
why do u want to do that?if a user pastes text via context menu u
would not get it anyway. I would go for this:let paste the text and in
ur onchange handler u would trigger a scan for inserted text and
simulate the keyevents for each charachter entered.but again please
tell us ur idea :)
On Jul 22
t taking your lead, I have
> created a horizontal panel, added left or right justified cells and
> within the cell added a label.
>
> So far so good, but how did they achieve the 3d box effect around
> their label?
>
> On Jul 22, 10:48 am, cokol wrote:
>
> > isnt it sim
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 wrote:
> Hi Everybody,
>
> I am learning GWT just and am really stuck on a problem.
>
> I have cre
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" wrote:
> I'm using GWT 2.0.3 and have encountered a problem during async rpc.
>
> I have a serializable class contain
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 wrote:
> I'm looking for something exactly like the Ext GWT toolbar status:
>
> http://
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 wrote:
> Actually if com.google.gwt.user.client.Rand
you dont need to target a blank window, since anyway its a new one by
default, so just skip the second parameter to $wnd.open() or if you
still want to then do like
$wnd.open(url,'_blank');
br,
On 22 Jul., 13:30, Paul Grenyer wrote:
> Hi
>
> On Thu, Jul 22, 2010 at 11:
hi, try it as follows:
private static native void getURL(String url)
/*-{
$wnd.open('' + url,'target=_blank')
}-*/;
On 22 Jul., 11:21, Paul Grenyer wrote:
> Hi All
>
> I've got a bit of a problem opening new tabs. I found the following link:
>
> http://brainreaders.blogspot.com/2
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 wrote:
> Newbie here -- struggling to get my HTML text and button to be
> vertically centered within my HTMLPanel. I am using UI binder and
> tried applying a s
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 k
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 wrote:
> T
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 f
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"
wrote:
> Hi,
>
> Actually our application d
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 WEB-
...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 wrote:
> Could you get the same effect by preventing user input during your
> server request, either by finding all of the controls/links and
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
if you just tried to get the example working, maybe you mistyped
something?
On 21 Jul., 02:09, VM wrote:
> Hello GWT Users,
>
> I just wanted to check if anybody had success with Cross domain
> communication.
>
> I followed Google documentation:
>
> http://code.google.com/webtoolkit/doc/latest/tu
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.
I
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 (by
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 use
ok, got it - using the tag in the gwt descriptor does
do the trick
On 21 Jul., 12:14, cokol wrote:
> 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,
yeah, use the com.google.gwt.xhr.client.XMLHttpRequest class
br
On 20 Jul., 18:51, mk 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 subscribed to the Google
you have to provide full qualified url, so in your case it should be:
tableLeft.setWidget(index, 0, new HTML("text"));
br,
On 21 Jul., 12:42, Thomas Broyer wrote:
> On 21 juil, 03:55, Lu wrote:
>
> > Hi,
>
> > After getting a bunch of urls from the sever side, I want to dispay
> > them in the
hi, please see documentnation on RequestBuilder class, there is a good
sample
On 20 Jul., 20:20, bhargava 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 there any tutor
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
for...
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
btw: here a sample
XMLHttpRequest r = XMLHttpRequest.create();
r.setOnReadyStateChange(new ReadyStateChangeHandler() {
@Override
public void onReadyStateChange(XMLHttpRequest xhr) {
Window.alert("GET go
82 matches
Mail list logo