Ajax Call

2011-07-19 Thread sanjay kanwar
Hi there, How can i update an entity in a webpage without refreshing the whole page. using AJAX refresh method of the delegate. Thx in Advance Regards Sam -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: Ajax Call

2011-07-19 Thread ashwin.desi...@gmail.com
register for entitychange events in your delegate and on change of the entity values, update your view. On Tue, Jul 19, 2011 at 12:22 PM, sanjay kanwar sanj.kan...@gmail.comwrote: Hi there, How can i update an entity in a webpage without refreshing the whole page. using AJAX refresh method

Import and compile GWT project

2011-07-19 Thread Ido
Hi, I'm trying to import a project and to compile it as GWT project. I saw that by clicking on the project properties - Google - GWT Compile it should work but I don't have the GWT compile option. Thanks -- You received this message because you are subscribed to the Google Groups Google Web

Re: best architecture for GWT + Spring

2011-07-19 Thread Ernesto Reig
Yes, that´s the key question about gwt + spring. Do you really need Spring MVC? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send

sanjay kanwar wants to chat

2011-07-19 Thread sanjay kanwar
--- sanjay kanwar wants to stay in touch better using some of Google's great new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-dd5deb43a3-969472785f-Si9eWzOI5w3vvoEs2MYPQ2yTa2Q You'll

Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-19 Thread Craig Mitchell
Thanks for the heads up on IE9. Switched from GWT 2.1, to GWT 2.3. http://simplevnc.appspot.com/ now runs great in IE9. Thank you GWT people! :-) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Java 7

2011-07-19 Thread Thomas Broyer
Just stumbled on that: Note: As of GWT 1.5, GWT compiles the Java language syntax that is compatible with J2SE 1.5 or earlier. Versions of GWT prior to GWT 1.5 are limited to Java 1.4 source compatibility. For example, GWT 2.0 supports generics, whereas GWT 1.4 does not. — *Source: *

Re: PermGen space java.lang.OutOfMemoryError: PermGen space

2011-07-19 Thread Jakub Grabowski
You can try -Xmx512m -XX:MaxPermSize=256m in VM options (Arguments-VM arguments in Eclipse). It helps in my case. Regards, Jakub. On Jul 18, 1:47 pm, P.G.Taboada pgtabo...@googlemail.com wrote: Hi, I cannot reload the jetty more than once from the IDE. Jetty is loading a Spring Context,

if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread Elhanan
i'm not sure i asked this before but can i combine calls from Adobe flex/air, desktop clients and so on, to my requestFactory endpoints? the reason i ask this is to my unerstanding using requestFactory RequestContext and company, doesn't just send the object in JSON, but sends only the

Re: 2.4 beta and mobilewebapp sample

2011-07-19 Thread dreamer
1) Please make sure Java is compiling fine - meaning jar is there some where in classpath 2) Then GWT cross compilation - needs sources - these paths are found by GWTC from gwt.xml Typically all of the paths were included in inherits name='com.google.gwt.user.User' / On Jul 18, 4:18 

Re: if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread Thomas Broyer
You're right. RequestFactory is a protocol whose wire-format is based on JSON, just like XML-RPC or SOAP are protocols whose wire-format is based upon XML. That does not mean however that it cannot be used from non-GWT/non-Java clients. BTW, using gwt-exporter you could probably build a JS

hello

2011-07-19 Thread 袁红杰
hello,i sent so much email,i don´t know why and how to quit! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread Elhanan Maayan
what do you mean by open api? btw on a similar note, what's exactly Titanium Appcelerator , seems like a every CTO's wet web dream. On Tue, Jul 19, 2011 at 1:13 PM, Thomas Broyer t.bro...@gmail.com wrote: You're right. RequestFactory is a protocol whose wire-format is based on JSON, just

Re: if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread kim young ill
is there any example how can i call RF from non-gwt or non js client ? eg. can i call it directly from hand-written js ? thanx On Tue, Jul 19, 2011 at 12:18 PM, Elhanan Maayan elh.mailg...@gmail.comwrote: what do you mean by open api? btw on a similar note, what's exactly Titanium

Re: Where is downloadable GWT docs?

2011-07-19 Thread akpraha
Hi Dave, Is there any chance the javadocs for 2.3.0 will be published any time soon? When I check the online docs, it's constantly showing the 2.2.0 version. -AK On Jun 27, 4:29 pm, David Chandler drfibona...@google.com wrote: Hi Eric, We don't publish the GWT docs for offline browsing, but

Re: Broken editor type conversions in GWT trunk r10227

2011-07-19 Thread Nachiket
No response on this?? i am also facing similar problem On May 26, 6:42 pm, Miroslav Genov mge...@gmail.com wrote: Hello, I'm trying to use trunk version of GWT but I'm encountering some conversion issues with the Editor framework. Caused by: java.lang.ClassCastException: java.lang.Integer

RequestFactory issue: proxy must include getter if it is to include setter

2011-07-19 Thread Ryan McFall
I haven't seen this documented anywhere, and I've scrutinized much of the documentation, so I don't think I missed it. From what I can tell, if you have a proxy that contains a reference to another proxy, then you must have a getter in order for the setter to work properly. If the getter is

Re: Broken editor type conversions in GWT trunk r10227

2011-07-19 Thread Aidan O'Kelly
You need to use IntegerBox if you are editing an Integer field, I believe. e:valuebox g:IntegerBox / /e:valuebox On Tue, Jul 19, 2011 at 1:22 PM, Nachiket patel.nachike...@gmail.com wrote: No response on this?? i am also facing similar problem On May 26, 6:42 pm,

Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
nobody? On Wed, Jul 13, 2011 at 7:47 PM, Gal Dolber gal.dol...@gmail.com wrote: Hi, Is this working already? http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties define-property name=mobile.user.agent values=android, iphone, not_mobile / property-provider

Re: aaaarrrgh, them layout panels are driving me bonkers!!

2011-07-19 Thread Eric Clayberg
See the GWT Developer's Guide discussion on *Creating Custom Widgetshttp://code.google.com/webtoolkit/doc/latest/DevGuideUiCustomWidgets.html *. Subclassing Composite is the correct approach. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread Thomas Broyer
On Tuesday, July 19, 2011 12:18:58 PM UTC+2, Elhanan wrote: what do you mean by open api? A web API (similar to Twitter's API, GData API, etc.) that's clearly and entirely specified so you can build upon it in whichever language/environment you want (you just have to implement the specs).

Aw: Re: GWT and Beans

2011-07-19 Thread Jens
Take a look at: http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#calling That way you can export a java method to call it from hand written javascript. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: ConditionalProperties

2011-07-19 Thread Thomas Broyer
It is working. Apache Wave uses it. I believe I successfully used it too. Have a look at the top of the generated symbolMaps files, they'll tell you which deferred binding property leads to a particular permutation, along with its value. -- You received this message because you are subscribed

Re: Re: GWT and Beans

2011-07-19 Thread Bruno Henrique
Almost there!!! I just still didn't understand how to call the method (exportStaticMethod()) in my html file through my javascript code. Can someone give me an example plz? 2011/7/19 Jens jens.nehlme...@gmail.com Take a look at:

gwt-dev class issues

2011-07-19 Thread Vik
Hie I am trying to call some restful api and the code i am using is using import org.apache.http.client.HttpClient; I can see that this class is already in gwt-dev.jar and that is why my code can compile. But at run time the app fails with ClassNotFoundException for this class. Any advise on

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread MChan
Hi, As a matter of fact, I'll have more than two TabLayoutPanel on one page. I'm trying to create a result page, and each result has a Show details link which opens a TabLayoutPanel that displays 2 tabs. I simplified what I'm trying to achieve in a separated project, but I still can't get what

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread ashwin.desi...@gmail.com
the problem is not with your TabLayout panel. what you have there would work fine. The issue is with the Grid. Its best to use LayoutPanels inside other layoutpanels. In your case if all that you are doing is rendering two TabLayoutPanels, you don't have to necessarily use a grid. i would

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread ashwin.desi...@gmail.com
Also, make sure the height of the tabLayoutPanel is set to 100% .gwt-TabLayoutPanel { height : 100%; } ~Ashwin On Tue, Jul 19, 2011 at 8:10 PM, ashwin.desi...@gmail.com ashwin.desi...@gmail.com wrote: the problem is not with your TabLayout panel. what you have there would work fine. The

Re: GWT and Beans

2011-07-19 Thread Bruno Henrique
Would it be like #{myBean.mycalledmethod}; ??? 2011/7/19 pop.ionut84 popionu...@gmail.com For example, you have a redirect method via JSNI: public native static void redirect(String url) /*-{ $wnd.location.replace(url); }-*/; You just call that redirect(url)

CSS right and bottom margins Not showing

2011-07-19 Thread JC
I can't understand this. I am starting a simple dock layout panel. It sits within another dock layout panel (the center section). The left and top margins are showing but not the right and bottom margins. Please help. ui:style .toppanel { background: #FF; color: #fff;

GWT History Chrome encoding problem.

2011-07-19 Thread Lazo Apostolovski
Hello I have an encoding issue with Chrome and history tokens that contains a cyrillic characters. Example: I set browser history as History.newItem(?query=кирилица); this should modify browser url to http://host:8080/#search;q=кирилица; in Mozilla browser works fine but when I use Chrome

Re: CSS right and bottom margins Not showing

2011-07-19 Thread ashwin.desi...@gmail.com
reduce the width of the topPanel. try to inspect the resizelayoutpanel, it would be going out of the frame. If you set overflow : auto, you may mostly see a scroll bar. if you reduce the width to below 100% your right margin's should get set. On Tue, Jul 19, 2011 at 8:30 PM, JC

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread MChan
Hey, Thanks for your quick reply. So, I already had the CSS rule for TabLayoutPanel set to 100%. I can see it in Inspect Element tool of Chrome. I'm not sure if using the SplitLayoutPanel (or DockLayoutPanel) would be okay in my situation, as the their center panel only accept one child

Editor framework, editing a fixed size list.

2011-07-19 Thread Aidan O'Kelly
Is the ListEditor adapter suitable for editing a list that has a fixed size? It's currently adding size + 1 widgets, to allow for additions to the list, is there a way to disable this? Or perhaps a better technique for editing a fixed size list in the Editor Framework? -- You received this

Re: CSS right and bottom margins Not showing

2011-07-19 Thread JC
You are right, thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

How to include a jsp into a div using GWT

2011-07-19 Thread Kady
What are the ways in which I can include/insert a jsp into a page using GWT? What is the best approach amongst them? Thank you. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread ashwin.desi...@gmail.com
are you setting 100% as the height for both the resize layout panels? if yes how will the page render as your total height is 100% and you are assigning to the 1st resisze panel, the second panel would not be able to calculate its layout details. try setting the height to 50% and see the out

Validation java.util fields

2011-07-19 Thread Adolfo Panizo Touzon
Hello, I have a question for the community. I am developing an API that uses Validation. After reading this articlehttp://people.redhat.com/~ebernard/validation/#d0e991 , came to the conclusion that the standard JSR-303 allowsthe validation of fields belonging to the package java.util, but in a

Re: Editor framework, editing a fixed size list.

2011-07-19 Thread Aidan O'Kelly
Aha, ok, thanks for the clarification. On Tue, Jul 19, 2011 at 5:06 PM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, July 19, 2011 5:23:22 PM UTC+2, Aidan OK wrote: Is the ListEditor adapter suitable for editing a list that has a fixed size? Yes It's currently adding size + 1

Aw: Re: Re: GWT and Beans

2011-07-19 Thread Jens
You have to call exportStaticMethod() in your GWT Java class once on app startup (or similar). By calling it, it will install a function pointer into the $wnd object called computeLoanInterest which points back to a GWT Java method in your class. So once you have exported your function you

Re: 2.4 beta and mobilewebapp sample

2011-07-19 Thread Michel Jonker
Hi, Thanks for the reply. Are you suggesting that I fetch the missing DataGrid class from subversion, instead of using the provided jars from the GPE 2.4? Michel On Jul 19, 12:10 pm, dreamer venugopal.vasire...@gmail.com wrote: 1) Please make sure Java is compiling fine - meaning jar is there

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread ashwin.desi...@gmail.com
oh, if you want to render your panels on click of a button, then you don't necessarily need two ResizeLayoutPanels, just render the contents of the appropriate tabLayoutPanel alternatively, you can set the visibility of the panels to true/ false on click. this would also force the height

Re: Validation java.util fields

2011-07-19 Thread Kevin Jordan
You can do a custom constraint. @Constraint(validatedBy = StringCollectionValidatorImpl.class) @Target({ ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.PARAMETER }) @Retention(RetentionPolicy.RUNTIME) public @interface StringCollectionValidator {

Re: Where is downloadable GWT docs?

2011-07-19 Thread 3xM
You can download GWT SDK: http://google-web-toolkit.googlecode.com/files/gwt-2.3.0.zip There is /doc/javadoc/ folder in it. On Jul 19, 2:20 pm, akpraha akpr...@gmail.com wrote: Hi Dave, Is there any chance the javadocs for 2.3.0 will be published any time soon?  When I check the online docs,

Re: ClientBundle don't load the ImageResource

2011-07-19 Thread Markus
Thanks for reply, but ur solution is not working. ensureInjected always return false. If I draw the Image with the Canvas, the image will never be displayed. After I add these Image into an Image before or after drawing the Image will be correct display in the canvas. I think GWT did not load the

Re: ClientBundle don't load the ImageResource

2011-07-19 Thread Jeff Larsen
I remember other people having issues with ImageResource and Canvas, I think you have to load Images from a URL and not get them from the resource bundle. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: ClientBundle don't load the ImageResource

2011-07-19 Thread Markus
Ok, but there is no preloading and every image will be loaded with a single request... So there is currently no use of ClientBundle with Canvas.. I hope Google will fix this issues. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread Elhanan Maayan
are there ANY open api's in gwt? On Tue, Jul 19, 2011 at 5:01 PM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, July 19, 2011 12:18:58 PM UTC+2, Elhanan wrote: what do you mean by open api? A web API (similar to Twitter's API, GData API, etc.) that's clearly and entirely specified

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread MChan
It still did not work. However, when I changed the resulting divs (Chrome inspect element tool) position to relative instead of absolute, I was able to see the tab content fit. But I can't do that programmatically. I ended up creating my own control, with custom animation. Thanks for your time!

Re: How to include a jsp into a div using GWT

2011-07-19 Thread Magno Machado
If you want something like an iframe, you could use the Frame widget If you want to have jsp code on your hospage, you can have a regular jsp page on the server which does whatever you want, and include the script tag for the app.nocache.js which will load the gwt code On Tue, Jul 19, 2011 at

Canvas and drawing Images that are not in the DOM

2011-07-19 Thread Markus
Hello! I try to draw a simple Image on a Canvas. At the first request, the image is not cached and so I drawing the image but it will not be displayed. After a lot of request, the Browser has the Image loaded and maybe cached and it will be draw. But want the image at the first time, so how can

Re: RF constraint violation reporting with unpersisted proxies

2011-07-19 Thread Romain BIARD
I just posted the whole patched class ... It works great for me: http://code.google.com/p/google-web-toolkit/issues/detail?id=6319 Romain On Jul 18, 8:25 pm, Jesse Hutton jesse.hut...@gmail.com wrote: I'm just starting with RF and I hit a snag related to the workflow of

Doubt about using ValueListBox + UIBinder + Editors Framework

2011-07-19 Thread vehdra music
Hi, I have two beans: public class User implements IsSerializable { ... private companyId; // fk to companies ... } and: public class Company implements IsSerializable { ... private Long id; private String name; ... } This is my UI Code: g:ValueListBox ui:field=companyId/g:ValueListBox And

Third-party Git plugin for Eclipse to use with Google Plugin for Eclipse

2011-07-19 Thread scotly
I have a newly-created git project hosted on Google code hosting. I use the Google Plugin for Eclipse. I'm trying to import the git project from Google code, but when I try, I get the error: *No team support provider found for source control type: Git* * * I'm using EGit as my Eclipse plugin.*

Re: if i use RequestFactory am i tied to the API, meaning, will i be able to use other clients?

2011-07-19 Thread Thomas Broyer
On Tuesday, July 19, 2011 9:26:16 PM UTC+2, Elhanan wrote: are there ANY open api's in gwt? Well, GWT is either client-side, or GWT-specific (GWT-RPC, RequestFactory). But GWT can easily consume JSON-P (using either JsonpRequestBuilder or RequestFactory), and can do anything JS can do

Re: Doubt about using ValueListBox + UIBinder + Editors Framework

2011-07-19 Thread Thomas Broyer
Given that User#companyId is a Long (I guess), you have to use some kind of EditorLong (or an IsEditor of some kind of EditorLong), which ValueListBoxCompany obviously isn't. You can make it work by *not* using ValueListBox as an editor (@Editor.Ignore) and instead implement

Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
Thanks! I still don't understand what I am doing wrong. I even can't get working a normal selection property. {{{ define-property name=my.property values=default / property-provider name=my.property generator=com.myPropertyGenerator / extend-property name=my.property values=value1, value2 /

Re: ConditionalProperties

2011-07-19 Thread Thomas Broyer
Could it be that GWT optimizes the case where the property isn't used in any generate-with or replace-with rule? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

StockWatcher RPC issues

2011-07-19 Thread fabio.bozzo
I followed this tutorial step by step: http://code.google.com/intl/it-IT/webtoolkit/doc/latest/tutorial/RPC.html However, I keep getting this error: 23:48:51.203 [ERROR] [stockwatcher]subtype com.google.gwt.sample.stockwatcher.client.StockPrice is not default instantiable (it must have a

[ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call

2011-07-19 Thread Nandha
Hi, I am getting the following error in the prompt. anybody can give solution for this... Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Successfully processed C:\java\eclipse3.6.1\workspace\spectrum\war\WEB- INF/appengine-web.xml Successfully processed

Click events with UIBinder

2011-07-19 Thread Matt
I am trying to add events to a Button using the UiBinder, but nothing is happening when I click the Button. Here is my code: Login.ui.xml: ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui g:HTMLPanel g:Button

Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
Yes, I though that, but then I saw the i18n locale property, that is the most similar to the one I am trying to do and It doesn't use when-property-is generate-with class=com.google.gwt.i18n.rebind.LocalizableGenerator when-type-assignable class=com.google.gwt.i18n.shared.Localizable /

Re: Canvas and drawing Images that are not in the DOM

2011-07-19 Thread Philip Rogers
Hi Markus! You certainly can do this. Just add an onload handler to your image and only use your image after it has been loaded. For example: yourImage.addLoadHandler(new LoadHandler() { public void onLoad(LoadEvent event) { // free to use your image now! } }); Philip -- You

Changing the Place History without really going to a place

2011-07-19 Thread P.G.Taboada
Hi, I need to tell the history manager that I am switching from userViewPlace: to userViewPlace:someToken. I do not need to really switch the place, but I need the history to change. The following does the trick, but it feels like cheating. History.newItem(SomePlace: + new

Re: how to fire blur event when keydown ?

2011-07-19 Thread Abduxkur Ablimit
@UiField TextBox textboxField;     @UiHandler(textboxField)     public void keyDownSearchHandler(KeyDownEvent event){         textboxField.fireEvent(new BlurEvent(){})     } From: Luke travalle...@gmail.com To: Google Web Toolkit

Re: TabLayoutPanel expand to fit content?

2011-07-19 Thread ashwin.desi...@gmail.com
you can set styles via code. On Wed, Jul 20, 2011 at 1:42 AM, MChan marilyne.c...@gmail.com wrote: It still did not work. However, when I changed the resulting divs (Chrome inspect element tool) position to relative instead of absolute, I was able to see the tab content fit. But I can't do

Re: Click events with UIBinder

2011-07-19 Thread ashwin.desi...@gmail.com
use RootPanel or RootLayoutPanel and add your widget to it. On Tue, Jul 19, 2011 at 8:40 PM, Matt m.prestifili...@gmail.com wrote: I am trying to add events to a Button using the UiBinder, but nothing is happening when I click the Button. Here is my code: Login.ui.xml: ui:UiBinder

Re: Changing the Place History without really going to a place

2011-07-19 Thread ashwin.desi...@gmail.com
best would be to do a place change, call the same activity, but re-use the view (you can mark it singleton). this would make the code clean. On Wed, Jul 20, 2011 at 5:43 AM, P.G.Taboada pgtabo...@googlemail.comwrote: Hi, I need to tell the history manager that I am switching from

Re: strange issue:Could not connect to remote UI listening at localhost:34742. Using default UI instead.

2011-07-19 Thread Alex Luya
I figure it out:days before,I removed this line: 127.0.0.1 luya localhost.localdomain localhost from /etc/hosts.Just right now,I readd it.everything works fine. On Sun, 2011-07-17 at 16:37 -0700, Alex Luya wrote: Different from this one:

Re: How to include a jsp into a div using GWT

2011-07-19 Thread mP
Make an ajax request to the JSP url, wait for it to come back and then set the inner html of the Div. On Jul 20, 1:51 am, Kady kaushika...@gmail.com wrote: What are the ways in which I can include/insert a jsp into a page using GWT? What is the best approach amongst them? Thank you. -- You

[no subject]

2011-07-19 Thread Ahmed Sief
http://hoellmueller.biz/modules/Search/adm.htm -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Canvas and drawing Images that are not in the DOM

2011-07-19 Thread Markus
No, that will only work if I add the image to the RootPanel or other Components. The Canvas does not display the Image, they draw the image. And the second Problem is, that they are over 100+ images... I want to use a general solution. Image img = new Image(_resources/img/tiles/smiley.png);

Re: Changing the Place History without really going to a place

2011-07-19 Thread tanteanni
Ashwin is right, use MVP Patternhttp://code.google.com/webtoolkit/articles/mvp-architecture-2.html(you could easily ignore ui binder stuff). The activity will become the (P)resenter. Make it listen to placeChangeEvents . OnPlaceChange-method extracts the token from the place . Set up / change