Re: couldn't add push button to the DOM

2010-12-17 Thread gandham satish
Thanks for your quick response Amir. Looks like it is working if I add it through UIBInder. satish On Dec 17, 6:11 am, Amir Kashani amirkash...@gmail.com wrote: There's a few subtle and important steps that GWT takes when attaching a widget to the DOM. Generally, you shouldn't try to do this

Re: To GWT or Not to GWT

2010-12-17 Thread StrongSteve
Hello, After reading the whole thread - it has gotten quite large, I would like to share some thoughts, too. ;) Personally I regard creating something like a desktop JRE for GWT to be a suboptimal solution. From my point of view all GWT application/ projects/... already have a common base - HTML

Re: How to add checkbox in header.

2010-12-17 Thread Diyko
Yep I want implement checkbox multiselection in table With checkbox in header On 15 Грд, 17:33, Dominik dominik_d...@hotmail.com wrote: Hi, what do you want to do, do you want to have a CheckBox in every row to select the row and a selectbox in the header to select every row at once or do

Re: To GWT or Not to GWT

2010-12-17 Thread Matt Hill
I don't understand the discussion of widgets here because GWT is clearly not designed to be used for multiple embedded widgets on the same page. You can do it, but it'll require using some lesser-known features and maybe even hacks to get it to run as get the initial download for all of the

Re: How to add checkbox in header.

2010-12-17 Thread Jerome C.
Here is my code for that (Message is my model object, but it can be all you want) : ColumnMessage, Boolean select = new ColumnMessage, Boolean(newCheckboxCell( true)) { @Override public Boolean getValue(Message object) { return selectionModel.isSelected(object); } };

Re: To GWT or Not to GWT

2010-12-17 Thread StrongSteve
Very brave of you to point out that this discussion is meaningless. Especially when your understanding of GWT is to have one widget on the same page at a certain time. Good luck with that. I am very eager to see one of your applications having one label or one button or one textbox on the same

Re: Refreshing reference message and eclipse extremely slow

2010-12-17 Thread Jerome C.
Ok, thank you very much. I've opened an issue here to follow this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=5773 -- 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: GWT + Google Maps (JSNI) put a map in a panel

2010-12-17 Thread Raphael André Bauer
On Thu, Dec 16, 2010 at 11:26 AM, Eric Ayers zun...@google.com wrote: FYI: that library is not dead but that bit of source is frozen.  We have been slowly refactoring that library for the gwt-google-apis project in a change branch. +1. We are using the library successfully. So I can recommend

Re: GWT CellTable - render cell depending on value of the displayed object

2010-12-17 Thread manstis
I implemented something similar in the past (to have different cells on different rows). I wrote a Cell proxy class used by the Column that delegated to a number of different Cell implementations depending upon the key provided by the KeyProvider. On Dec 16, 3:48 pm, Opal maciek.op...@gmail.com

Re: GWT CellTable - render cell depending on value of the displayed object

2010-12-17 Thread Opal
Hi, Thank You very much for the response. Do You have any sample code that You can share? On 17 Gru, 15:16, manstis michael.ans...@gmail.com wrote: I implemented something similar in the past (to have different cells on different rows). I wrote a Cell proxy class used by the Column that

Re: To GWT or Not to GWT

2010-12-17 Thread bkard...@gmail.com
Stefan, Let's lay aside the issue of a windowing toolkit just a moment and talk about your general comment because I think that there may actually be two separate issues worth discussing that are stemming from this same observation/question and there's something I want to clarify. You said:

Re: Dev Mode Font Size != Production Mode Font Size

2010-12-17 Thread Chris Conroy
Jeff, Can you create a small reproduction case for this issue? On Tue, Dec 14, 2010 at 12:37 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: Hi Chris, The issue is 'font size' and not 'font-render-path'. The problem is that font-size in development mode is incorrect and only in Firefox;

Re: How to add checkbox in header.

2010-12-17 Thread Diyko
Thanks everybody Merry X-mas -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: To GWT or Not to GWT

2010-12-17 Thread David Chandler
Brian, You raise valid points. As I mentioned early in the thread, GWT's sweet spot is rich Internet applications IMHO. In a typical GWT app, the amount of user code dwarfs the JRE. In a relatively small app I've built, the JRE is 43kB and allOther is 169kB. If there were an 11kB core JRE on a

Minimalistic non-animated non-positioned PopupPanle?

2010-12-17 Thread Ali
Hi I need a striped down minimalistic non-animated non-positioned PopupPanle which I can add to relative positioned parent. My initial idea is to remove as much as possible from original PopupPanel code and replace all RootPanel.get()s with parent panel. Is it possible to do so? Any advice or

Re: Dev Mode Font Size != Production Mode Font Size

2010-12-17 Thread Jeff Schwartz
Yes,, I can. I will do so later. On Dec 17, 2010 10:22 AM, Chris Conroy con...@google.com wrote: Jeff, Can you create a small reproduction case for this issue? On Tue, Dec 14, 2010 at 12:37 PM, Jeff Schwartz jefftschwa...@gmail.com wrote: Hi Chris, ... -- You received this message

JavaScript

2010-12-17 Thread Magnus
Hi, the main HTML file, which is generated for new GWT apps, contains the following comment for the noscript-section: !-- RECOMMENDED if your web app will not function without JavaScript enabled -- Hm, are there any GWT apps at all that function without JavaScript? Magnus -- You received

Re: JavaScript

2010-12-17 Thread David Chandler
I think not. GWT is a Java to Javascript compiler. On Fri, Dec 17, 2010 at 1:34 PM, Magnus alpineblas...@googlemail.com wrote: Hi, the main HTML file, which is generated for new GWT apps, contains the following comment for the noscript-section: !-- RECOMMENDED if your web app will not

Re: Minimalistic non-animated non-positioned PopupPanle?

2010-12-17 Thread Ali
I have made it non-positioned and attached to a non-body parent element using following dirty workaround which I'm not sure is cross browser: PopupPanel popup = new PopupPanel(true) ; addCloseHandler(new CloseHandlerPopupPanel() { @Override public void

Embed a PDF in a TextArea

2010-12-17 Thread Kidowell
Hey, Im making an app where I put 2 views of a document, one is just text, and the other in pdf. I was thinking of adding in a horizontal panel 2 textAreas, but I just wanted to know if its posible to embed the pdf in one of them. Any suggestion?. Cheers. Kido. -- You received this message

GWT 2.1.1 is here!

2010-12-17 Thread David Chandler
http://googlewebtoolkit.blogspot.com/2010/12/gwt-211-is-now-available.html -- David Chandler Developer Programs Engineer, Google Web Toolkit http://googlewebtoolkit.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: GWT 2.1.1 is here!

2010-12-17 Thread zixzigma
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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: GWT 2.1.1 is here!

2010-12-17 Thread Jeff Larsen
Fantastic news. I really love the new AutoBean stuff so far. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Problems with History class using MVP tutorial code

2010-12-17 Thread WhiteKnight
Hi I'm running the GWT MVP example (http://code.google.com/p/google-web- toolkit/downloads/detail?name=Tutorial-Contacts.zip) from the SpringSource Tool Suite with AppEngine 1.4.0 and GWT SDK 2.1.0. When it calls a method on com.google.gwt.user.client.History (addValueChangeHandler or getToken in

drag from other navigator

2010-12-17 Thread pp
Hello, how to drag image from other navigator. I want to get path image when drop in Label or if I send image in clipboard how to get path Image when I past image ? best regards -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

How to modify the generated MyModule.nocache.js ?

2010-12-17 Thread Sébastien Etter
Hi Gwt users ! My question is quite simple : How can i modify the generated MyModule.nocache.js file ? Can I do this with a linker ? I want to change the way these variables are written on the document : var compiledScriptTag = $intern_57 + base + strongName + $intern_58;

Re: Insert TabLayoutPanel in a SimplePanel

2010-12-17 Thread Per Gustås
Hi Aldo, another approach is not to use a SimplePanel at all. But rather to implement something like a SimpleLayoutPanel yourself. It will work fine with xxxLayout components embedded within it. (I really think it is something Google missed to include in GWT 2.1.) Please see below for one

CellList Selection problem

2010-12-17 Thread Mark
I've tried creating a cell list based on the CwCellList example. Unfortunately when I select an item in the cell list it always selects all the items. Debugging into it, the code shows that in the CellList.onBrowserEvent2, initially the target is the correct html td cell selected. When it goes

Re: Editor framework and interfaces

2010-12-17 Thread Thomas Broyer
They do work with interfaces, but your interface has to declare *all* sub-editors as no-arg methods. The Editor framework being a compile-time thing, it won't look at SimpleFooView if you tell it too look at the FooView interface; it only looks at what you tell it to, and doesn't search for

Re: CellList Selection problem

2010-12-17 Thread John LaBanca
I'm a little confused. CellList doesn't use TD elements. Can you provide a screenshot? Thanks, John LaBanca jlaba...@google.com On Fri, Dec 17, 2010 at 11:59 AM, Mark mswaisg...@yahoo.com wrote: I've tried creating a cell list based on the CwCellList example. Unfortunately when I select an

Re: Noob getting started question

2010-12-17 Thread zixzigma
you might also need to add this to .gwt.xml file. source path='client'/ source path='shared'/ -- 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-tool...@googlegroups.com. To unsubscribe from

GWT History Frame

2010-12-17 Thread Matthew Hill
What is the iframe on the host page for? Could it not be inserted programmatically? -- 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-tool...@googlegroups.com. To unsubscribe from this group,

Re: How to reliably detect a paste operation via mouse in TextBox?

2010-12-17 Thread Sunit Katkar
No tried that. When you use the right click context menu of the mouse to 'Paste' into the textbox the regular event handlers cannot detect the 'change'. So I had to resort the code I added in the first post. - Sunit Katkar http://sunitkatkar.blogspot.com/ On Thu, Dec 16, 2010 at 8:29 AM, Nick

Header + Footer with GWT 2.1 MVP

2010-12-17 Thread Matthew Hill
Hi. How would I make a root widget (or presenter?), which contains anything which should be on every page, e.g. a header and footer. I'm using the MVP features of GWT 2.1. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread David Chandler
Hi Matthew, The easiest way is to put header and footer divs in your HTML host page. If you need to update the content dynamically, you can call Document.get().getElementById(div_id).setInnerHTML() to change the contents in the div. Or you can use DockLayoutPanel and attach sub-panels for the

Re: How to reliably detect a paste operation via mouse in TextBox?

2010-12-17 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f8fb744fd4e0614a/0d02b5302194d55c On Dec 17, 2:02 pm, Sunit Katkar sunitkat...@gmail.com wrote: No tried that. When you use the right click context menu of the mouse to 'Paste' into the textbox the regular event handlers

Re: GWT History Frame

2010-12-17 Thread Thomas Broyer
On Friday, December 17, 2010 10:53:59 PM UTC+1, Matthew Hill wrote: What is the iframe on the host page for? It's for IE6 and 7, and only those 2 browsers, because manipulating the window.location has no effect in their navigation history. Could it not be inserted programmatically? I

Re: How to reliably detect a paste operation via mouse in TextBox?

2010-12-17 Thread Sunit Katkar
Thank you so much. I was doing what you have suggested. Just that I need to add the native javascript funciton getClipboardData(Event event) like yours. Thank you!! - Sunit Katkar http://sunitkatkar.blogspot.com/ On Fri, Dec 17, 2010 at 2:44 PM, Jim Douglas jdou...@basis.com wrote:

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread Matthew Hill
Thank you for your answer. I'm not sure that putting it in the host page is a good idea for my app -- I'd rather use that as a last resort. My current onModuleLoad override method in my Entry Point is this: private SimplePanel appWidget = new SimplePanel(); public void

Re: JavaScript

2010-12-17 Thread Thomas Broyer
1. GWT can be used to enhance an existing web page (it's not generally used that way, nor is it best suited for those cases, but still it is possible; it's made easier with projects like GQuery). 2. having a GWT app does not mean you don't have a web 1.0 equivalent, similar to GMail's basic

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread David Chandler
Do your header and footer actually need to be Activities? If not, I think it would be easier to set up a DockLayoutPanel as your main widget and create ActivityManagers only for those regions that need them. This thread might give you some ideas:

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread Thomas Broyer
No, you don't have to subclass SimplePanel. Just use a DockLayoutPanel (or whatever), that you'll add to the RootLayoutPanel, but put the SimplePanel *within* that DockLayoutPanel. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Service layer 2.1.1 example

2010-12-17 Thread nalfdog
Hi Could anyone point me to some sample code for GWT 2.1.1, which uses the new service layer, locator and decorator stuff... 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

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread Matthew Hill
Hi. I thought I'd play with having multiple ActivityMappers. Here's what I've got so far: @Override public void onModuleLoad() { DockLayoutPanel containerWidget = new DockLayoutPanel(Unit.PX); SimplePanel headerWidget = new SimplePanel(); SimplePanel mainWidget = new SimplePanel();

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread Thomas Broyer
A Place is equivalent to a URL, this is where you are, and is global to your application. Instead of having multiple places at once, you instead have ActivityMapper that react differently to the same place. In your case, for the default place, your HeaderActivityMapper would return the

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread Matthew Hill
Sorry, I was confused because David C. said this in the thread which he linked to: In this design, the WestActivity could call placeController.goTo(detailPlace), where DetailPlace is mapped only in the EastActivityMapper so the westPanel won't change. When I read that, I think that what I

Re: Header + Footer with GWT 2.1 MVP

2010-12-17 Thread Matthew Hill
Thanks for your blog post on working around the lack of true nesting -- very useful. I've got it working now. -- 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-tool...@googlegroups.com. To

EntityProxys as DTOs

2010-12-17 Thread Michael
I have an MVP app and would like to use EntityProxys as my DTOs but I'm confused about something. I have a widget that creates an entity. To do this, I get a RequestContext, create an instance of the EntityProxy, set the data, and then put the new entity on the event bus. My presenter gets the

GWT 2.1.1 Multiple method calls on Single Request example

2010-12-17 Thread -sowdri-
Dear All, Glad to see the new GWT release, more explanation or working example of Multiple methods calls on a single request would be great! Thanks in advance, -sowdri- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Explanation on ValueProxy!

2010-12-17 Thread -sowdri-
Dear All, I could readily understand EntityProxy, but i've great difficulty in understanding ValueProxy. More explanation on valueproxy or poiners to tutorials will be much appreciated. PS: Newbee to Java, former cpp programmer. -- You received this message because you are subscribed to the

Re: Service layer 2.1.1 example

2010-12-17 Thread AutoBean von AutoBahn
+ 1000 -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: Explanation on ValueProxy!

2010-12-17 Thread AutoBean von AutoBahn
+1000 -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: JavaScript

2010-12-17 Thread Magnus
However, can I make my app run without JS by adding a compiler switch? My app also does not run on a PDA. What can I do about that? Magnus -- 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: GWT 2.1.1 Multiple method calls on Single Request example

2010-12-17 Thread AutoBean von AutoBahn
+1000 -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

is gwt 1.1.1 in maven repository ?

2010-12-17 Thread AutoBean von AutoBahn
is gwt 1.1.1 in maven repository ? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: is gwt 1.1.1 in maven repository ?

2010-12-17 Thread AutoBean von AutoBahn
http://repo2.maven.org/maven2/com/google/gwt/gwt/2.1.1/ -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Append child Widget to parent Widget.. !! click handler of child Widget is not working .. ??

2010-12-17 Thread Santosh kumar
Hi, Button button = new Button(); button.getElement().setAttribute(id, buttonId); SimplePanel simplePanel = new SimplePanel(); simplePanel.getElement().setAttribute(id, childPanelId); FlexTable flexTable = new FlexTable(); Button buttonInFlexTable = new Button();

Re: Embed a PDF in a TextArea

2010-12-17 Thread Jeff Chimene
On Fri, Dec 17, 2010 at 12:40 PM, Kidowell crui...@gmail.com wrote: Hey, Im making an app where I put 2 views of a document, one is just text, and the other in pdf. I was thinking of adding in a horizontal panel 2 textAreas, but I just wanted to know if its posible to embed the pdf in one of

Re: [gwt-contrib] Re: Breaking change proposed: future proofing Activity in 2.1.1

2010-12-17 Thread Thomas Broyer
On Wednesday, December 8, 2010 9:16:16 PM UTC+1, PhilBeaudoin wrote: Just ran into an interesting little hack today. Basically, the interface includes a method: public void __do_not_implement_this_interface_extend_FooImpl_instead(); I'm far from convinced I like it, but it sure is right

[gwt-contrib] Re: Experimental framework for generator result caching in dev mode. (issue1227801)

2010-12-17 Thread jbrosenberg
http://gwt-code-reviews.appspot.com/1227801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: Experimental framework for generator result caching in dev mode. (issue1227801)

2010-12-17 Thread Chris Conroy
Just a general comment: We should take care to make sure that anything that's cached across a refresh doesn't pin the TypeOracle or CompilingClassLoader (any reference to a type, for example, will do that). On Fri, Dec 17, 2010 at 9:16 AM, jbrosenb...@google.com wrote:

Re: [gwt-contrib] Re: Breaking change proposed: future proofing Activity in 2.1.1

2010-12-17 Thread Philippe Beaudoin
Exactly, this is where I ran into this. On Fri, Dec 17, 2010 at 3:36 AM, Thomas Broyer t.bro...@gmail.com wrote: On Wednesday, December 8, 2010 9:16:16 PM UTC+1, PhilBeaudoin wrote: Just ran into an interesting little hack today. Basically, the interface includes a method: public void

[gwt-contrib] Why does OptionalFieldEditor implements LeafValueEditor?

2010-12-17 Thread Thomas Broyer
Hi, We're experimenting with editors (actually, way more than that, with more than 80 reusable editors and 60 views that are editors themselves and make use of an editor driver) and we have an issue with OptionalFieldEditor: the wrapped editor isn't populated. I can't for the life me find a

[gwt-contrib] Re: Handle composite constraints. (issue1231801)

2010-12-17 Thread rchandia
Compiling the validation sample (with ant) produces the following warning (is that intended?): [java] [WARN] No ConstraintValidator of ConstraintDescriptorImpl{annotation=com.google.gwt.sample.validation.shared.Zip, payloads=[], hasComposingConstraints=false,

[gwt-contrib] Re: Handle composite constraints. (issue1231801)

2010-12-17 Thread Nick Chalko
On Fri, Dec 17, 2010 at 8:52 AM, rchan...@google.com wrote: Compiling the validation sample (with ant) produces the following warning (is that intended?): [java] [WARN] No ConstraintValidator of

[gwt-contrib] Re: Make the logging framework provide a default uncaught exception handler. (issue1223802)

2010-12-17 Thread unnurg
LGTM On 2010/12/17 02:11:10, rjrjr wrote: http://gwt-code-reviews.appspot.com/1223802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Make the logging framework provide a default uncaught exception handler. (issue1223802)

2010-12-17 Thread unnurg
Unfortunately not On 2010/12/17 20:33:56, unnurg wrote: LGTM On 2010/12/17 02:11:10, rjrjr wrote: http://gwt-code-reviews.appspot.com/1223802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] child entities modifications still not accessible in 2.1.1

2010-12-17 Thread Patrick Julien
Originally from http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/1b67cfebede416b7/e958579badd4613a?lnk=gstq=pjulien+dvsDataMap#e958579badd4613a and other posts. I've now reported http://code.google.com/p/google-web-toolkit/issues/detail?id=5776 and included

[gwt-contrib] Re: Handle composite constraints. (issue1231801)

2010-12-17 Thread rchandia
LGTM On 2010/12/17 19:43:44, Nick Chalko wrote: On Fri, Dec 17, 2010 at 8:52 AM, mailto:rchan...@google.com wrote: Compiling the validation sample (with ant) produces the following warning (is that intended?): [java] [WARN] No ConstraintValidator of

[gwt-contrib] Base Framework for Generator Result Caching (issue1232801)

2010-12-17 Thread jbrosenberg
Reviewers: tobyr, zundel, Description: Base Framework for Generator Result Caching Please review this at http://gwt-code-reviews.appspot.com/1232801/show Affected files: A dev/core/src/com/google/gwt/core/ext/GeneratorContextExt.java A

[gwt-contrib] Re: Basic MessageIntrpolation. (issue1230801)

2010-12-17 Thread nchalko
http://gwt-code-reviews.appspot.com/1230801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors