Re: GWT advantages

2011-10-24 Thread Thomas Broyer
This is not surprising. But GWT is all about reusing code with your server and/or other Java clients (e.g. Android), and benefiting from the Java tooling. Java also brings static typing, which some people prefer. -- You received this message because you are subscribed to the Google Groups

Re: why does the HTML widget do not have a name attribute?

2011-10-24 Thread Thomas Broyer
Nothing. Use CSS classes. What's wrong with them? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tAZdqwNn6vAJ. To post to this group, send

No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

2011-10-24 Thread Prat2511
Hi I am new to GWT i was trying to run gwtcmis-sample. link : - http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample i add all the jar file which is necessary for running this project in lib. when I run this Project its show many error [ERROR] [cimsapplication] - Line 113: No

Re: No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

2011-10-24 Thread Thomas Broyer
There's no org/gwtcmis/model/restatom/AtomEntry.gwt.xml; you should see errors that it cannot find such a file. The documentation for the project http://code.google.com/p/gwt-cmis/wiki/GwtCMISFramework says to use inherits name='org.gwtcmis.CmisClientFramework'/ -- You received this message

Re: No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

2011-10-24 Thread András Csányi
On 24 October 2011 10:06, Prat2511 pratyush.sinha2...@gmail.com wrote: Hi I am new to GWT i was trying to run gwtcmis-sample. link : - http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample i add all the jar file which is necessary for running this project in lib. when I run this

table widget wanted

2011-10-24 Thread Magnus
Hi, I just played around with CellTable, and I found out that it uses paging by default. What, if I do not want paging, so that all data is displayed at once ( with scroll bars)? Is CellTable the wrong widget or can it be configured not to use paging? Thanks Magnus -- You received this

Re: DataGrid auto-set column width

2011-10-24 Thread jaga
Hi, Had a quick look at this:1) they set dataGrid.setWidth(100%) - but this just scales it to the width of the screen. 2) they do set fixed column widths - have a look at initTableColumns() They are some useful calls available. Have a look at the

How to get @Prefix value from an Place.Tokenizer? or how to set via clientbundle constants?

2011-10-24 Thread tanteanni
My app uses activities and places. All my places' tokenizers have prefixes to make bookmarks more readable. instead of calling PlaceController.goTo(new Place) i often use (inline)hyperlinks that point to another place or state - i think it is more readable and transparent for the user. The

Re: future of gwt who use gwt

2011-10-24 Thread krespo
I think, that it should be honest from Google to speak where is true and what will be future of GWT. It's better to speak that future GWT is nothing such as speak nothing. When google not aware this fact, I think it will gradually became haters company (eg Microsoft) in the comunity. -- You

Re: How to get @Prefix value from an Place.Tokenizer? or how to set via clientbundle constants?

2011-10-24 Thread Jens
You can use: AppPlaceHistoryMapper mapper = ... //get mapper somehow myHyperLink.setTargetHistoryToken(mapper.getToken(new MyPlace(stateVar1, stateVar2, ...))); -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

2011-10-24 Thread Pratyush Sinha
Oh yes.. Thanks Alot,I didnt Notice that. Thanks again.. On Mon, Oct 24, 2011 at 10:19 AM, Thomas Broyer t.bro...@gmail.com wrote: There's no org/gwtcmis/model/restatom/AtomEntry.gwt.xml; you should see errors that it cannot find such a file. The documentation for the project

Re: Right click on CellList!

2011-10-24 Thread Sudhakar Abraham
Subclass the CompositeCell class, override the getConsumedEvents(),onBrowserEvent() methods. In getConsumedEvents method should return Collections.singleton(contextmenu). Call the preventDefault(),stopPropagation() methods inside the onBrowserEvent() method. Try the below code. S. Abraham

Re: No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

2011-10-24 Thread Pratyush Sinha
yes i can run the Project and see the output screen as given in http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample but there is window alert saying Service http://xcmis.org/xcmis1/rest/cmisatom is not available. this is URL which is is SamplePresenter.java is used for repository services.

GWT Composite open/visible Handler

2011-10-24 Thread ph09
Hello, I have got several Composite and I would like to add an Handler to one of them which fire an event when the user open this composite. Is there any Handler for? Thank you.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: TextArea and auto scroll problem when adding new text

2011-10-24 Thread Max
try this: public static void scrollToBottom(Element e) { e.setScrollTop(e.getScrollHeight() - e.getClientHeight()); } -- 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: table widget wanted

2011-10-24 Thread Thomas Broyer
It's as easy as setPageStart(0); setPageSize(totalNumberOfItems); (where totalNumberOfItems is actually the same value you'd pass to setRowCount). E.g. given a List of items to be displayed: table.setPageStart(0); table.setPageSize(list.size()); table.setRowData(list); // which is equivalent

Re: How to get @Prefix value from an Place.Tokenizer? or how to set via clientbundle constants?

2011-10-24 Thread tanteanni
thx! that is exactly what i am looking for. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/X-FXQ8uw25gJ. To post to this group, send email to

Re: No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

2011-10-24 Thread Thomas Broyer
On Monday, October 24, 2011 11:53:45 AM UTC+2, Prat2511 wrote: yes i can run the Project and see the output screen as given in http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample but there is window alert saying Service http://xcmis.org/xcmis1/rest/cmisatom is not available. this

Re: Hyperlinks in a celltable column

2011-10-24 Thread Sudhakar Abraham
Use SafeHtmlCell Cell used to render safe HTML markup. Render your anchor text in html markup. Add your SafeHtmlCell object to cellTable. S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine On Oct 21, 10:34 pm, Ravi ravius2...@gmail.com wrote: How to get hyperlinks

How to change locale/ link to current url (how to make flag-buttons to change locale)

2011-10-24 Thread tanteanni
At the moment we use some nasty inline JS-Code to change the current url (the loacle part) and let the browser reload the page. Is there a Java/GWT way to make a Link to the the same place but with different locale? Somthing like that: new HyperLink(...,getCurrentUrl().changeLoacele(en)) ? Or

Re: How to change locale/ link to current url (how to make flag-buttons to change locale)

2011-10-24 Thread Thomas Broyer
Answered on StackOverflow: http://stackoverflow.com/questions/7875243/how-to-change-locale-by-gwt-without-javascript -- 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: How to change locale/ link to current url (how to make flag-buttons to change locale)

2011-10-24 Thread tanteanni
Thx! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kXIcnrkWjrIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To

Re: No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

2011-10-24 Thread Prat2511
Yes both the web.xml and html file are correct.. but when i restart my eclipse its started working ,but with new window alert Connection establishment timed out On Oct 24, 2:23 pm, Thomas Broyer t.bro...@gmail.com wrote: On Monday, October 24, 2011 11:53:45 AM UTC+2, Prat2511 wrote: yes i

How HTML files are associated with JAVA files?

2011-10-24 Thread Dims
The sample apllication (Hello GWT) has html, css and java files of the same name. But what if I have several HTMLs and several Java classes? How GWT knows which html relates to which java? As I understood, java turns to javascript in GWT. So, the process starts from html loading in browser. So,

Re: How HTML files are associated with JAVA files?

2011-10-24 Thread Thomas Broyer
You missed the key organizational part of GWT: modules (in the form of gwt.xml files). The module is what you give to the GWT compiler, and what's used to determine the name of the JS entry point file being generated (the *.nocache.js file). The HTML page simply loads that script; and a GWT

Re: DataGrid auto-set column width

2011-10-24 Thread misko237
OK it is 100% width, but on the link I sent to you, they have columns with different width, and that width is not set. Am I wrong? When I make DataGrid, I got equal column width. My table with divide on equal parts. eg. table width = 100px, and I have 5 columns - every column will have 20px width

permutation explosion

2011-10-24 Thread mma
The problem: - Compiling GWT code without collapse-all-properties / makes the size of the resources so big that it can't be uploaded to Google App Engine - It seems that the total size of the resource files is larger than 450 MB (App Engine allows resource size less than 150 MB)

Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Tiago Rinck Caveden
Hello all, I have a GWT Editor to edit an entity proxy, and one of its properties, a List, is being edited by a ListEditor. If the List already exists and all I have to do is change its content, then everything works as expected. But when the list comes null and I have to create an instance to

Re: permutation explosion

2011-10-24 Thread Thomas Broyer
150MB is HUGE! Are you trying to deploy symbolMaps files too? If you don't know what they're for, you can safely remove them (WEB-INF/deploy folder), and/or tell GWT to output them elsewhere (pass the -deploy option to DevMode and Compiler) -- You received this message because you are

Drag and Drop

2011-10-24 Thread Thomas Lefort
Hi, Has anybody succeeded in using the drag and drop image feature? I use the following code but all I get is the default drag and drop image. label.addDragStartHandler(new DragStartHandler() { @Override

Code Generator for CustomFieldSerializer

2011-10-24 Thread SONDX
I developed a plugin to generate the code CustomFieldSerializer, thanks to the suggestion of @ GenSerializer by Flori, the idea is to use it as follows: @GenSerializer public class CategoryItem { ListProduct productKey; int quantity; } result of the generated code: public class

Array Performance

2011-10-24 Thread ihsan ciftci
Hi. My drawing operation was too slow with respect to Java. I observed the code. So I get Canvas is faster than Graphics2D with AA on. But what was that slowness? Many times, I'm creating a point object with several methods. The creation of those objects were much slower than java. I deleted

Load the 20 records on browser scroll

2011-10-24 Thread Markandayarushi Pamu
Hi, My requirement is to implement on browser scroll render the 20 records like facebook. I don't have any idea how to implement, only I know is there is a WindowScrollListener event to capture the event. My doubt is how to capture the browser scroll is reached bottom end? and how to implement

Re: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Patrick Julien
No, you'll need to assign an empty list to your proxy before editing can begin if you're only using ListEditor -- 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: GWT Composite open/visible Handler

2011-10-24 Thread Patrick Julien
Doesn't the user use something to make this composite visible? Like some kind of control? Why not just fire an event from there? -- 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: GWT Composite open/visible Handler

2011-10-24 Thread ph09
Hmm, ok I explain it in another words. I have got a tab with several Composites on it.When a user click on one of them, the Composite is shown to the user. In this Case I would like to start a method, but I doesn't know if there is any Handler for.. -- You received this message because you

content doesn't appear

2011-10-24 Thread András Csányi
Dear All, I would like to ask some help because it looks like my knowledge is not enough to solve this small issue. So, I made a little application and my problem is that the content doesn't appear on the page. I made only a page with a button. If I open the page on Firefox I can't see anything

Re: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Tiago
Thanks for your answer. But then I have to ask: what's the point of the method setValue in ListEditor then? If it's just a shortcut to getList().clear() followed by getList().addAll(), shouldn't that be said in the javadoc? It isn't written that I cannot redefine the instance... On Oct 24, 5:37 

StackPanelLayout

2011-10-24 Thread ph09
I started working with the StackLayoutPanel and now I have got two questions. At first, is there any chance that the StacklayoutPanel manage his height dynamicly? I have got a Tree Widget on the StackPanelLayout and this grows dynamicly. So I would be nice that the StackPanelLayout grows

Re: Array Performance

2011-10-24 Thread Thomas Broyer
Are you compiling with -XdisableCastChecking? That might make a difference. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PLDge91-1pMJ. To post

Re: Load the 20 records on browser scroll

2011-10-24 Thread Thomas Broyer
As I understand it, you'd like an infinite scroll. See http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList for an example. -- 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: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Patrick Julien
The setValue in ListEditor is actually coming in from ValueAwareEditor. This is what the framework uses to setup the initial value of the editor based on what's in your proxy. I usually find it's best to think of all editors in GWT has opaque instances of Editor. That is, no methods you

Re: GWT Composite open/visible Handler

2011-10-24 Thread Patrick Julien
So why not add a handler on the the the tab being selected? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-M-9Nx-ZFXMJ. To post to this group,

Re: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Thomas Broyer
setValue is part of the ValueAwareEditor interface. The point is that the Editor framework will call it when editing/displaying an object. -- 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: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Tiago
Thank you, Patrick and Thomas. Just for curiosity then - as for my case I can just set an empty list before editing, no problem - what's the way to redefine the instance of List property when using the Editor framework? Is there a way? At least for non-list properties it normally works (I've used

Re: Recreating the CellList Showcase example with Editors

2011-10-24 Thread Maiku
Hi Thomas, After much tinkering, I managed to get it to work but I have 2 questions: 1. It seems to work equally well with ValuePicker or with using the actual SelectionModel (since I guess the former is just hiding the implementation of the later) with the exception that either way it will

Re: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Patrick Julien
You work with OptionalFieldEditor. http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/editor/client/adapters/OptionalFieldEditor.html This adapter can be used when a type being edited has an optional field that may be nullified or reassigned as part of the editing process

SelectionCell problem

2011-10-24 Thread cesare salerno
Hi i have some problem with SelectionCell class here is my code // ListString ptNames = new ArrayListString(); for (PaymentType pt : PaymentType.values()) { ptNames.add(pt.toString());

Re: large celltable pagination question

2011-10-24 Thread misty periard
Uemit- Are you using Javascript Overlay Types or JSONParser to parse your data? Thanks! On Fri, Oct 21, 2011 at 11:32 AM, Uemit uemit.se...@gmail.com wrote: No, CellTable will only render the visible part. Fetching 500 rows from the server should take too long either. I assume that the

Re: Multiple Entry Points GWT Designer, how to choose..

2011-10-24 Thread Eric Clayberg (Google)
It should be available in the latest GWT Designer build. Heres how to use it... 1. Create a GWT project with a GWT module, moduleA.gwt.xml file. 2. Create a second GWT module, moduleB.gwt.xml in the same folder. 3. If you want to make sure that GWT Designer uses moduleB.gwt.xml, add the

Skinning Speed tracer?

2011-10-24 Thread Raj Dye
Hello, Does anyone have any experience skinning speed tracer and using it to analyze custom data-sets. I would like to use it to display a real- time data stream from an energy simulation. -- Raj -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: large celltable pagination question

2011-10-24 Thread Uemit
I am actually using piriti http://code.google.com/p/piriti/ to convert JSON to my DTOs. Piriti uses Generator and JSONParser internally to convert JSON to DTOs -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: ConsoleLogHandler not working as expected in IE?

2011-10-24 Thread Tomi B.
If anyone is interested, issue 6916 has been opened for this: http://code.google.com/p/google-web-toolkit/issues/detail?id=6916 //Tomi B. -- 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: Array Performance

2011-10-24 Thread ihsan ciftci
No effect. On 24 Ekim, 19:21, Thomas Broyer t.bro...@gmail.com wrote: Are you compiling with -XdisableCastChecking? That might make a difference. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

GWT maven plugin doesn't find the GWT linker classes

2011-10-24 Thread vsdev
I'm using GWT 2.4 and I've been trying to write a custom GWT post order linker as described here: http://www.google.com/events/io/2010/sessions/gwt-linkers-webworkers-extensions.html Yet, when doing the GWT compile with the GWT maven plugin the GWT linker classes could't be found. I get the

UIBinder sprite

2011-10-24 Thread MeiAestro
I am a bit confused regarding the use of sprites in UIBinder Classes. As I was not able to use a css with sprites in a UIBinder XML I was searching the web for this problem and found this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5320 On the other hand exactly this

Re: RPC problem?

2011-10-24 Thread Thad
I uses a serialized exception. The class looks something like: public class GwtAppException extends Exception implements Serializable { public GwtAppException() { super(); // my code follows } public GwtAppException(String message) { super(message); //

Re: future of gwt who use gwt

2011-10-24 Thread Tomasz Gawel
I still don't understand the need for dart. if it would be cross-compiled so where is the advantage over gwt? in gwt we have the language that we allready know and tools that were worked out over years. if it will be incorporated into browser as virtual machine than just why not to incorporate

Re: future of gwt who use gwt

2011-10-24 Thread Harpal Grover
This is a very interesting viewpoint in my opinion - as i look closer at DART i start to suspect that probably it is not to replace javascript but to replace java (and so avoid dependence to oracle) but do they think they can provide something better than java which gained its maturity over years?

Re: future of gwt who use gwt

2011-10-24 Thread Andrés Testi
We have Scala to replace Java and it will be available in GWT (see: http://groups.google.com/group/scalagwt ). On 24 oct, 19:29, Harpal Grover harpal.gro...@gmail.com wrote: This is a very interesting viewpoint in my opinion - as i look closer at DART i start to suspect that probably it is not

Re: permutation explosion

2011-10-24 Thread mma
Hi Thomas. Here is summary of the size of the war folder and its subdirectories after compiling without collapse-all-properties/: war/ 492 MB war/'module-name'/ 137 MB war/web-inf/ 352 MB war/web-inf/deploy/ 313 MB war/web-inf/lib/ 33 MB war/web-inf/classes/ 8 MB war/web-inf/deploy accounts

Click Events not getting attached

2011-10-24 Thread gangurg gangurg
public class MyPanel extends AbsolutePanel implements HasClickHandlers { public MyPanel (Element elem) { super(elem.com.google.gwt.user.client.Element cast()); onAttach(); } @Override public HandlerRegistration addClickHandler(ClickHandler handler) {

Re: why does the HTML widget do not have a name attribute?

2011-10-24 Thread wahaha
nothing wrong,but if there is just one widget need to be styled alonely,we use css classes,it does not in accordance with the principles of html designing. On Oct 24, 2:54 pm, Thomas Broyer t.bro...@gmail.com wrote: Nothing. Use CSS classes. What's wrong with them? -- You received this message

Re: can we control what element will build in widget?

2011-10-24 Thread wahaha
help! On Oct 24, 11:22 am, wahaha il...@yahoo.com.cn wrote: i hava checkouted the source code of Label(and its super class),but i hava no clue. On Oct 24, 10:54 am, Gal Dolber gal.dol...@gmail.com wrote: You cannot change the element a widget uses internally. If you are looking

Re: can we control what element will build in widget?

2011-10-24 Thread Patrick Julien
If you want this level of control you can use Element directly or an HTMLPanel http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/Element.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

what is this in ui.xml?

2011-10-24 Thread wahaha
ui:style type=com.bbb.terminal.browser.cci.client.newCarInsure.InputNewCarInfoFrame.CssStyle @external .t-label, .t-input, .hintImage, .hintFont, .contentFont; /ui:style what is this : @external -- You received this message because you are subscribed to the Google

Re: future of gwt who use gwt

2011-10-24 Thread Warren Tang
Another language, oh my... The death of Go seems to me that Dart is just another experiment of Google. Whether it will gain popularity or not is under question. Replacing GWT (Java) with something else will definitely drive away many java programmers, who are already overburdened by so many

Re: what is this in ui.xml?

2011-10-24 Thread Warren Tang
Please read this: http://code.google.com/p/google-web-toolkit/wiki/CssResource#External_and_legacy_scopes -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

[gwt-contrib] New Code Splitter (issue1580803)

2011-10-24 Thread acleung
Reviewers: cromwellian, Description: New Code Splitter Please review this at http://gwt-code-reviews.appspot.com/1580803/ Affected files: A dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java A dev/core/test/com/google/gwt/dev/jjs/impl/CodeSplitter2Test.java --

[gwt-contrib] Adding Element#getPreviousSibling(). (issue1581803)

2011-10-24 Thread jlabanca
Reviewers: skybrian, Description: Adding Element#getPreviousSibling(). Issue: 3670 Please review this at http://gwt-code-reviews.appspot.com/1581803/ Affected files: M user/src/com/google/gwt/dom/client/DOMImpl.java M user/src/com/google/gwt/dom/client/Element.java M

[gwt-contrib] Re: Adding Element#getPreviousSibling(). (issue1581803)

2011-10-24 Thread jlabanca
committed as r10722 http://gwt-code-reviews.appspot.com/1581803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors