Hi,
The last type of memory leaks is independent of the language you use.
so yes, these leaks will translate from Java to Javascript.
The reason is because your code is faulty since it keeps hard
references to objects that are no longer necessary.
For example you might have a list of listeners
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 wrote:
> Hey Shedokan,
>
> The approach I've used for that is to attach a GWT function to the
> window object ($wnd).
>
> There
Well what exactly you want to do?
Dalla wrote:
> Could you please post some examples will?
> Or maybe send me some code? mnenchevs example was good, but more
> examples never hurt :-)
>
> On 11 Juni, 14:08, Will wrote:
>
>> That's what I use as well. I created an Abstract Class with
>> Has
Evaluating user input on the client side and checking for "
as I interpret this article:
http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications
then you should do 2 things:
store the session-id in a cookie on the client side + include the
session-id in every RPC call (to prevent XSFR)
and if you call a custom servlet from you
on the client side, we simply use a html-editor and only enable simple
functions like bold, italics, list...
however, as already pointed out the user may easily work around this -
and if he does, all tags/attributes that we do not allow will silently
be filtered out on the serverside: we use this:
Good to hear! Thanks very much. Looking forward to the release!
On Jun 11, 10:24 pm, Rajeev Dayal wrote:
> Hi,
>
> We're currently working on this. I don't have a set date for you, but we
> will get it out there as soon as we can.
>
> Thanks,
> Rajeev
>
> On Thu, Jun 11, 2009 at 4:15 PM, Joakim
I really wish I had an answer to this.
On Jun 10, 5:04 pm, Shane wrote:
> Sorry to keep talking to myself here, but I find what other sites are
> doing really interesting, and pertinent to GAE because there doesn't
> seem to be an agreed upon solution.
>
> Facebook uses a form for their logins t
Ah I wish I had known this before I created a native method to handle
it. haha
Thanks for the info. I was just wondering, are there any major
disadvantages with using the latest svn revisions as opposed to the
latest stable release?
-DLH
On Jun 11, 2:54 pm, Sumit Chandel wrote:
> Hi D L H,
>
Hi All,
I got into this funny situation that i can not run my GWT application
in IBM JDK(1.5). It seems GWT is using some sun related classes which
are not available in IBM Java version. Can you please advise how can i
deploy such application with IBM java.
10:20:39,309 ERROR [[/SwSupWebTool]] Ex
hi all,
I hope someone can help to find a solution to the following problem:
I have some complex code that may need data from the server. When I
make a request I get the data asynchronous, so I have to provide a
callback to handle the response. Now all the code that use this
function need a call
On 12 juin, 14:49, ping2ravi wrote:
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream
> (HttpURLConnection.java:943)
> at
> com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getInputStream
> (HttpsURLConnectionOldImpl.java:204)
> at gfin
On 11 juin, 21:34, Benju wrote:
> I did not attend Google I/O but as soon as the video "Google I/O 2009
> - Best Practices for Architecting GWT App" (http://www.youtube.com/
> watch?v=PDuhR18-EdM) was posted I reviewed it and was a bit confused
> by the idea of an EventBus.
For my part, I was p
Hi,
I've read community updates here :
http://googlewebtoolkit.blogspot.com/2009/06/gwt-community-updates.html.
I just wonder why it is talking about SmartGWT but not ExtGWT ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
It was, indeed, a css non-standard that was ignored by Firefox. Thanks
for your answer.
Manolis
On Jun 12, 9:21 am, "alex.d" wrote:
> Wrong path? Some CSS/browser issues? Who knows. Take firebug and check
> your page's styling.
>
> On 11 Jun., 17:15, Manolis Platakis wrote:
>
> > Hello,
>
> >
I'm experiencing the same. So far I'm blaming the problem on the
application not being production ready yet, so it is buggy and
sometimes I see some javascript errors. As these errors go away and
the application stabilizes, I'll take a look at the problem more
closely. But of course, if somebody
Hi!
The problem is that in your function "public void showUsers() {" you
create a entry into FlexTable for each user, including the non-visible
ones.
Some browsers have problems displaying a huge data.
To solve this you have 2 options:
Create some kind of pagination into your flextable, creati
Hi all,
I'm trying to call and get response from a wsdl service. When I
compile the UI layer with maven, it throws this error:
com.google.gwt.user.client.rpc.SerializationException: Type
'javax.xml.ws.WebServiceException' was not included in the set of
types which can be serialized by this Seria
I'm not sure what your question is. Do you have a specific question?
You mentioned problems with HTTPS on GAE, which is probably a topic
more appropriate for the GAE group. As far as GWT is concerned, I
think you've already got the gist: HTTPS is a must-have for sending
passwords over a public ne
I am just not getting the new Event handling. I have went over every
example I can find, but it is not clicking. How do you let composite
widgets subscribe to events from other composite widgets? From reading
it sounds like there is a HandlerManager that you register with by
implementing the Hasx
Which will be lighter size wise if there are too many of them for
laying out components? Suggestions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Go
Hi,
My application will by displaying a country flag depending on a locale
selected form list. All the flags are gathered within LocaleFlag
(extends ImageBundle).
I want to be able to get flag image out of LocaleFlag having only a
locale name string in hand.
List selection -> Locale name string
I'm running Leopard with Eclipse 3.4.2 and GWT 1.6.4. I was able
create the first "Getting Started" app and everything worked fine. I
then started creating the StockMarket app from the tutorial and now
hosted mode won't do anything on either project or a brand new empty
one. There is a crashlog be
Hi!
I just started using the gwt. I followed the instructions in the
getting started tutorial but i cant debug my application in eclipse.
If i click on "Debug - > Stockwatcher" Eclipse doesnt stop at any
Breakpoint. It doesnt even switch into the debug view. The Hosted Mode
Windows and the client
I'm new of GWT.I am doing a project using GWT. The project have two
module namely student and Recruiter. I want to import the file from
recruiter module into file of student module.how to do this.
--~--~-~--~~~---~--~~
You received this message because you are subs
Hello everybody!
I have simple GWT project. In servlet implementation I use class from
another Java project (it is regular class library).
Both of them are eclipse projects. Main project has reference to
library project, I can compile. But when I run it I get
ClassNotFoundException. If I export my
See http://code.google.com/p/google-web-toolkit/issues/detail?id=3724
Let me know if you have other questions.
On Fri, Jun 12, 2009 at 10:54 AM, Max wrote:
>
> Hi!
>
> I just started using the gwt. I followed the instructions in the
> getting started tutorial but i cant debug my application in
Maybe the question got lost in my research.
I'm not from a Web background (C++ + video games), so this may be
painfully obvious, but I want to know how people authenticate over non-
HTTPS connections, specifically using GAE (Java).
My point is that any app that stores any sort of user specific d
Hi,
I am new to GWT & GWT-EXT
I am using GWT and GWT-EXT. I use absolutepanel inside a GWT-EXT
panel. I use drag and drop. My requirement is to get automatic scroll
when I drop the widgets at the edges of absolutepanel. If I do not set
sizes for GWT-EXT panel (rather mention % size) and no size
Daniel,
First thing, With Asynchronous call you should never get the Stack
over flow as Asynchronous calls are running in different thread and
your function retursn back before calls finish.
But i think you have genuine problem of asynchronous call
chains...where writing code become too problemati
Did you've found a sollution for your case?
And, did you already take a look to GWTEventService? :)
On 27 apr, 06:53, "davidst...@gmail.com" wrote:
> I mean this : getThreadLocalRequest().getSession().getId()
> gives me the same id for two different clients that are opened.
> Someone told me th
Wow! Thx for the fast reply! Now debbuging works perfectly!
On 12 Jun., 17:40, Rajeev Dayal wrote:
> Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=3724
>
> Let me know if you have other questions.
>
> On Fri, Jun 12, 2009 at 10:54 AM, Max wrote:
>
> > Hi!
>
> > I just started
Hi readers,
I want to know how can I run a GWT application in Custom browser in
Hosted mode. Here is what exactly I am looking for:
I have an application which interacts with the client machine through
window.external calls. We are using a IE 6 in a custom container for
getting this done. I am w
Thanks for the reply I have some further thoughts...
Looking at the source code for the event handling in GWT 1.6 it seems
the fundamental difference is as follows...
Old way with listeners
"I am adding this event listener to this component, when the listener
is triggered I know the source must
I'm building a proof-of-concept GWT Google Map application that would
utilize an existing Hibernate business model for data retrieval. As
soon as I reference and use a class from the business model into the
application, the AppEngine server complains about not being able to
find the source code fo
I am new to GWT as of 3 weeks. I have a component running in hosted
mode. It is a table. It works in hosted mode, but not when I deploy
it to tomcat. My other components work, but it is not visible. I
tried it in all browsers. I am deploying the compiled javascript. I
see the javascript in
Hi
How about removing the foward slash before "searchService" i.e.
something like this instead:
String moduleRelativeURL = GWT.getModuleBaseURL()
+ "searchService";
Had similar problems sometimes, and that worked for me. According to
the docs, GWT.getModuleBaseURL() "if
Hi Ravi,
thanks for your reply.
You`re right. ts not the async call itself that leads to the
stackoverflow. its because of the callback chain that comes when a
large amount of code depends directly or indirectly on the callback.
supposed i have some simple code like this:
public Value doSometh
http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM
sajil wrote:
> Hi readers,
>
> I want to know how can I run a GWT application in Custom browser in
> Hosted mode. Here is what exactly I am looking for:
>
> I have an application which interacts with the client machine through
> window.e
On 12 juin, 12:36, ciukes wrote:
>
> My application will by displaying a country flag depending on a locale
> selected form list. All the flags are gathered within LocaleFlag
> (extends ImageBundle).
> I want to be able to get flag image out of LocaleFlag having only a
> locale name string in ha
On 12 juin, 17:24, Buzzterrier wrote:
> I am just not getting the new Event handling. I have went over every
> example I can find, but it is not clicking. How do you let composite
> widgets subscribe to events from other composite widgets? From reading
> it sounds like there is a HandlerManage
Ok, so time to look at class structure. In the JS API we have for
example:
com.google.gwt.gdata.client.calendar.CalendarFeed
com.google.gwt.gdata.client.Feed
com.google.gwt.gdata.client.atom.Feed
We won't be able to implement this structure with overlay types
because all methods are final
Ah, I figured out what I was doing wrong. I am using GXT, and my
pojo/bean was being used as a runtime generated class that implemented
gxt's BeanModel. My ignorance on exactly how this worked prevented me
from refactoring correctly. I had been trying to make a genericized
form component, exte
Well, the subject says everything, I would like to know how can I add
a MouseOutHandler to a FlexTable cell. I tried a lot of things but
none of them with success. I tried a wrap class:
private class FlexTableTd extends Widget implements HasMouseOutHandlers,
HasMouseOverHandlers {
Hi Guys
I created an application, it starts and shows the two standard windows
but there are some errors:
No source is available for type
org.timepedia.client.browser.Chronoscope; did you forget to inherit
required module ?
The answer is no - I didn't as my HelloChart.gwt.xml file contains:
I'd try asking your question on the Google Guice group:
http://groups.google.com/group/google-guice?pli=1
--
Arthur Kalmenson
On Wed, Jun 10, 2009 at 2:40 AM, Dariusz wrote:
>
> I'm trying to get the example of guice 2.0 running, but I can't figure
> out why it's not working. I try to do the s
Hi Linda,
The reason why you get the "import javax.xml cannot be resolved" and other
problematic import resolutions is because these are not supported in the GWT
emulated JRE (see doc link below). As the GWT code you right gets
cross-compiled into JavaScript that will run in the browser, there is n
Hello Netty,
In order for classes to be serializable, their source code needs to be
available and should be compiled by the GWT compiler. Since the
Service class is not a white listed class, you'll have to add it to
your source and use the tag in your GWT module to get
it compiled.
See the "Ove
The tag needs to point to the .gwt.xml module file, not a
class file. Looking at the Chronoscope library, it looks like
Chronoscope.gwt.xml is actually in
org.timepedia.chronoscope.Chronoscope so your tag should
look as follows:
Regards,
--
Arthur Kalmenson
On Fri, Jun 12, 2009 at 2:24 PM,
Hi vduong,
The plan for the most used and matured widgets in the incubator is to
eventually have them graduate to GWT proper. In the case of the ScrollTable,
part of that transition should involve bringing it into the new GWT 1.6
event architecture and having it implement some of the handlers that
Thx Thomas I really appreciate this.
That worked, but when I handle the event in DoSomething, I need to
know what button was clicked.
e.g.
public class DoSomething extends Composite implements ClickHandler{
private SimpleWidget simpleWidget;
public DoSomething(
Hi guys. I'm not quite new to GWT, but I've recently faced quite
frustrating problem, that I'm unable to solve alone. I have
requirement to integrate my webapp with single sign on system which is
HTTP based. So whilst starting GWT app I have redirect user to
different URL, check retrieved URL and
Try this instead.
addMouseOverHandler(MouseOverHandler handler) {
return addDomHandler(handler, MouseOverEvent.getType());
}
On Jun 12, 12:52 pm, Eduardo Nunes wrote:
> Well, the subject says everything, I would like to know how can I add
> a MouseOutHandler to a FlexTable c
What JVM is your project using? Can you look at your project properties and
take a look?
On Fri, Jun 12, 2009 at 2:33 AM, skeemer wrote:
>
> I'm running Leopard with Eclipse 3.4.2 and GWT 1.6.4. I was able
> create the first "Getting Started" app and everything worked fine. I
> then started crea
I already tried it, but it didn't work. I found a solution, but a very ugly one:
private class FlexTableTd extends UIObject implements HasMouseOutHandlers,
HasMouseOverHandlers, EventListener {
public FlexTableTd(Element element) {
this.setElement(element);
Hi,
Good question! This is a known issue right now. Check this thread out for a
discussion:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9
Post back here if you have any other questions.
Rajeev
On Fri, Jun 12, 2009 at 9:47 AM, ailinykh wrote:
>
> Hel
What version of GWT are you using? What type of error are you seeing?
On Fri, Jun 12, 2009 at 12:20 PM, Patrick wrote:
>
> I am new to GWT as of 3 weeks. I have a component running in hosted
> mode. It is a table. It works in hosted mode, but not when I deploy
> it to tomcat. My other compon
Hi,
Are you saying that you're referencing a business model class in client
(GWT) code? If you want to do this, then you have to make sure that the
Model class all of the classes referenced by the Model class are GWT-client
compatible, which means they implement Serializable or IsSerializable. If
So tracing the fireEvent method, I found that the source does indeed
reference the button, but in HandlerManager, the source gets changed
to SimpleWidget.
Object oldSource = event.getSource(); //event.getSouce is button
event.setSource(source); //here source is SimpleWidget
Not sure why.
the fu
On 06/11/2009 09:03 PM, Shawn Brown wrote:
>> It's a good question, but it's not really GWT related.
>>
>
> Sure it is.
>
The OP asked: 'I am wondering if anybody has attempted to intercept JS
injection on the server side by "scanning" RPC calls'
My interpretation of the phrase "on th
On 06/12/2009 12:45 AM, tamsler wrote:
> Evaluating user input on the client side and checking for "
On 12 juin, 21:15, Buzzterrier wrote:
> Thx Thomas I really appreciate this.
>
> That worked, but when I handle the event in DoSomething, I need to
> know what button was clicked.
So you actually need to access an HasClickHandlers from the
SimpleWidget, not make SimpleWidget a HasClickHandlers
Hi Eduardo,
Here's your solution:
public class BocaJrsTable extends FlexTable implements
HasMouseOutHandlers {
private HandlerManager manager = new HandlerManager(this);
public BocaJrsTable(){
super();
addDomHandler(new MouseOutHandler() {
Hi,
I'm wondering what options we have when we want a 3rd party to talk to
our server. For example, I'm using GWT RPC as-is. So my clients
(browsers) talk to the server perfectly, works great.
Now I'd like to make an iPhone app (an actual objective-c compiled
app) that also uses my web service.
Hi,
I have a requirement where in I need to add image icons for widgets
like buttons and menu items. I am using a CSS style for this wherein I
specify the background image this way.
.Style1 {
background: url(Image1.gif) no-repeat;
text-align: right;
}
This works fine, but was
Hi,
I am a new bee for GWT. I am using PHP as server. I am posting data
to server using
RequestBuilder requestBuilder = new RequestBuilder
(RequestBuilder.POST, "./php/mylogin.php");
requestBuilder.setHeader("Content-Type", "application/json");
and receiving the respons
I do not understand why you cannot just .setStyleName(Style1) on each
widget to have that image? Why would they need to be different for each
widget?
abhiram wrote:
> Hi,
>
> I have a requirement where in I need to add image icons for widgets
> like buttons and menu items. I am using a CSS st
67 matches
Mail list logo