Re: GWT 2.0.4 is now available

2010-07-01 Thread Frederic Conrotte
Hello Chris Any idea if/when it will be available for Maven users ? http://repo2.maven.org/maven2/com/google/gwt/gwt-dev/ Thanks Fred On Jun 30, 11:25 pm, Chris Ramsdale cramsdale+perso...@google.com wrote: This time without the mangled HTML. Recently Apple released Safari 5, which

Re: Right Click on Tree

2010-07-01 Thread rudolf michael
hello, you need to override the default behavior of the browser event on the treeitem @Override public void onBrowserEvent(Event event) { super.onBrowserEvent(event); if(DOM.eventGetType(event)==Event.ONMOUSEDOWN){ if (DOM.eventGetButton(event) == Event.BUTTON_RIGHT){

Google Plugin for Eclipse 3.6 + Different war directory

2010-07-01 Thread Bálint Kriván
Sorry, I've forgot to mention that it isn't checked because in the lauch configuration I'm giving an other war directory like this: -war ${project_loc}/location/to/war. And in 3.5, the files/directories (WEB-INF, META-INF) from the This project has a WAR directory directory were copied to the

Re: JsonpRequestBuilder Timeout - GWT 2.0

2010-07-01 Thread eggsy84
Yeah you need to make sure you wrap your response with the callback parameter that the JsonpRequestBuilder makes use of. If you look at the response you receive from the Yahoo! Web service you see that it is wrapped in a callback parameter you need to make sure you code does that as well. Eggsy

Re: Creating new Presenter/View in a Presenter

2010-07-01 Thread Jyaif
Ok, I'll look into GIN. Thanks! On Jun 30, 8:17 pm, Thomas Broyer t.bro...@gmail.com wrote: On 30 juin, 17:31, Jyaif jfgeye...@gmail.com wrote: Hi, I am beginning to work on a big app created in GWT and I have a question regarding the MVP pattern in GWT. I have

Re: How to Select text from GWT Label or HTML

2010-07-01 Thread Qian Qiao
On Thu, Jul 1, 2010 at 18:09, Raghunath visuma...@gmail.com wrote: Hi I'm have one text Label/HTML. User should be able to copy text from the this component. But the selection is not happening. Please help me. Please help me.. -raghu You can indeed select text from them. Can you post

Re: GWT 2.0.4 is now available

2010-07-01 Thread Jim
Chris, Do you have a working Eclipse version of expenses? I got an error related to DataNucleus enhancement after I downloaded and installed bikeshed following the instruction. Somebody else also has some other issues.It will be a big help to this community if a working Eclipse version

Re: how to display a JSP page inside a DecoratedTabPanel

2010-07-01 Thread Denis
thanks On Jun 30, 6:01 pm, rakesh wagh rake...@gmail.com wrote: the answer is embedded in your question: framed. Use com.google.gwt.user.client.ui.Frame On Jun 30, 10:51 am, Denis denis.w...@gmail.com wrote: Hello, I have existing JSP pages that should be framed inside a GWT

Re: Problem with Eclipse, Google plugin and WTP

2010-07-01 Thread Sebastian Rothbucher
Hi, can you not copy all libs to WEB-INF/lib and include them from there? Let me know if this helps... On Jun 30, 1:29 pm, SimonM simon.manqu...@gmail.com wrote: Hello, I have troubles with WTP and Google plugin for Eclipse. I have one Dynamic Web Application Project, and I use GWT in this

GWTENT 1.0 RC1 Is Available For Downloading - A Reflection, HTML template, Data Binding, Validate, AOP framework for GWT.

2010-07-01 Thread James
Hi, Guys GWTENT - A Reflection, HTML template, Data Binding, Validate, AOP framework for GWT. http://code.google.com/p/gwt-ent/ Please have a look the showcase video. Part1: http://www.screencast.com/users/JamesLuo.au/folders/Jing/media/d4ff284b-14ab-4fbc-a1c5-1717028209b5 Part2:

Re: GWT 2.0.4 is now available

2010-07-01 Thread Andrew Hughes
Dear GWT Steering Commitee, This is feedback, please take it objectively! Your maven support to date can only be described as careless. There is a *large* community need you as much as you need them. Cheers :) On Thu, Jul 1, 2010 at 3:49 PM, Frederic Conrotte frederic.conro...@gmail.com

CellTree from GWT 2.1 Milestone 1

2010-07-01 Thread SteveC
I am trying to use the new CellTree in GWT 2.1 and I can't find any examples or tutorials. Can anyone direct me to an example or tutorial of using this widget? Thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Role-based security and widget visualization

2010-07-01 Thread KaiWeing
Hello, we are evaluating GWT as a basis for different kinds of enterprise applications we have here. Some of those have controls which must only be displayed for users in a certain role, also, the decision which controls to display must be made at serverside, to avoid clientside manipulation.

make fileupload widget readonly

2010-07-01 Thread abhi
how to make fileupload textbox readonly. -- 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: StackLayoutPanel, insert new items

2010-07-01 Thread Paul
I actually have the same troubles and i'm looking for a workaround... I'm not sure if there's one. It's really annoying that a simple function like this is not working. I saw the issue 4926 you've raised. If someone has an idea.. Paul On 17 mai, 14:26, Manic Friday manic.fri...@gmail.com

developers, developers, developers: who wants to participate in creating a new opensource crm/erp software?

2010-07-01 Thread Ingo Jaeckel
hello guys, after customizing, migrating and suffering for challenging sugarcrm projects for more than two years now i am currently working on a replacement for our sugarcrm extension open quotes and contracts aka openqc. the project is called honeycrm http://code.google.com/p/honeycrm/. have a

Re: Role-based security and widget visualization

2010-07-01 Thread Paul Robinson
Just make sure that your server applies controls over who can read/write what data. You have absolute control over the server, so you can maintain appropriate security there. Then it doesn't matter so much from a security standpoint whether the client is capable of displaying inappropriate widgets

Re: Google Plugin for Eclipse 3.6 + Different war directory

2010-07-01 Thread Jason Parekh
Hi Bálint, Oh, ok. In that case, the only time that GPE copies files to the WAR directory specified by -war argument is if you're using the Java EE support in Eclipse. Can you make sure your Eclipse 3.6 includes Java EE support? (Was it the Eclipse for Java EE 3.6 that you downloaded?) Also,

Re: Right Click on Tree

2010-07-01 Thread Yaakov
Well, TreeItem does not inherit from a Widget, so it doesn't have onBrowserEvent to override. So, how would you do that then? Thanks, Yaakov. On Jul 1, 3:20 am, rudolf michael roud...@gmail.com wrote: hello, you need to override the default behavior of the browser event on the treeitem

How to refresh using filter

2010-07-01 Thread Bruno Santos
I would like to use the filter to do a refresh on the page so that if the system is idle for a period of time he returns to login screen, I wonder how I can do this, I tried to use the jsni: public class Filtro implements Filter { public void destroy() { }

Re: Right Click on Tree

2010-07-01 Thread Jim Douglas
I listen for the right-click event on the Tree, then do a hit test of the point to identify the corresponding TreeItem. And don't forget to call preventDefault() on the event to suppress the browser's default context menu. (That last part works in Opera 10.5x, but Opera 10.10 ignores it and puts

Re: Right Click on Tree

2010-07-01 Thread rudolf michael
well in my case i have to create a TreeNode extends FocusPanel and overrride the onBrowserEvent then i used new TreeItem(new TreeNode())); i also used TreeNode to override the tree icons/images for any tree level i want. On Thu, Jul 1, 2010 at 6:52 PM, Jim Douglas jdoug...@basis.com wrote: I

Re: How to refresh using filter

2010-07-01 Thread Bruno Lopes
Hello Bruno , Try this solution if you prefer: public class UserIdleTimeOutControl { Timer mInactivityTimer; HandlerRegistration mHandlerRegistration; int mTimeoutInMillis = 5*6;//thirty minutes max user inactivity public UserIdleTimeOutControl() {

Re: Right Click on Tree

2010-07-01 Thread Yaakov
How do you accomplish the hit test, if you don't mind sharing that part. Thanks, Yaakov. On Jul 1, 11:52 am, Jim Douglas jdoug...@basis.com wrote: I listen for the right-click event on the Tree, then do a hit test of the point to identify the corresponding TreeItem.  And don't forget to call

Re: How to refresh using filter

2010-07-01 Thread Bruno Santos
Thanks bruno, but how do I add the class LogUtils, you could inform the imports -- 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

Re: GWT 2.0.4 is now available

2010-07-01 Thread jhulford
Has anyone at Google/GWT ever indicated they'd support maven? I know they've asked for feedback on how they could help make releases more maven friendly in the past, but, I believe, it's always been entirely up to the maven community at large to provide maven resources for GWT. I'm pretty sure

Re: More than one module

2010-07-01 Thread Brian Reilly
You could also check out gwt-multipage (http://code.google.com/p/gwt- multipage/) which basically does this type of switching, but it generates the switching code for you based on annotated entry points. You can switch based on a URL pattern (and hopefully soon by a javascript token variable...

Re: Right Click on Tree

2010-07-01 Thread rudolf michael
well you dont event need to override the onBrowserEvent method :) MyTreeImages treeimages = GWT.create(MyTreeImages.class); Tree tree = new Tree(treeimages); //tree.addOpenHandler(handler); tree.setAnimationEnabled(true); TreeNode node = new TreeNode(result.get(i));

Re: How to refresh using filter

2010-07-01 Thread Bruno Santos
Thank you bruno, able to accomplish it, you saved my life -- 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: Right Click on Tree

2010-07-01 Thread rudolf michael
sorry my bad, i got you an old version, forget about adding the listener and use it that way. public TreeNode(EntityTree entityTree){ super(); this.entityTree = entityTree; HTML html = new HTML(entityTree.getName()); this.setWidget(html);

Document.get().getElementById(String) and $doc.getElementById(String) returning nulls

2010-07-01 Thread giacomo
Hi everyone! SUMMARY = I'm facing a problem with Document.get().getElementById(String) (in Java) and $doc.getElementById(String) (in JavaScript) returning nulls. My design goal is to define a div element in the Java code and add it to the document, so that I can then retrieve it in the

Re: Document.get().getElementById(String) and $doc.getElementById(String) returning nulls

2010-07-01 Thread Daniel Simons
i) The problem here is that you are trying to reference an element that has not yet been added to the dom. Check where you are adding the element...most likely a you have a call to RootPanel.get().add(elem). Be sure that this happens before calling getElementsById(). ii) I prefer to create my

Re: How t compile and run gwt app in eclipse and normally

2010-07-01 Thread Shedokan
It's all in the docs: http://code.google.com/intl/iw/webtoolkit/doc/latest/tutorial/gettingstarted.html If you'll have further questions after reading that you are free to ask in these forums. On 30 יוני, 09:55, kondal rao kondalraotirum...@gmail.com wrote: please help me out in this issue i m

Re: Right Click on Tree

2010-07-01 Thread Jim Douglas
In a subclass of Tree: /* * This sucks. There has to be a faster way to do this. */ public TreeItem getTreeItemAt(int p_y) { IteratorTreeItem iter = treeItemIterator(); TreeItem nearest = null; TreeItem exact = null; // adjust as necessary to

Re: Google Plugin for Eclipse 3.6 + Different war directory

2010-07-01 Thread Bálint Kriván
Hi! Yes, I've downloaded the one with the J2EE support ( http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr ). And I made a new workspace for 3.6, so I'm not sure, what's the issue, why it isn't working... The project is the same, I didn't created a new project for 3.6,

Re: How to refresh using filter

2010-07-01 Thread Bruno Lopes
If you still need it I will leave more info about it: import pt.quantum.padroes.client.services.LoginService; import pt.quantum.padroes.client.services.LoginServiceAsync; import pt.quantum.padroes.client.util.LogUtils; import com.google.gwt.core.client.GWT; import

Re: Creating new Presenter/View in a Presenter

2010-07-01 Thread Marco De Angelis
Hi. You might also want to keep an eye on the recent GWT 2.1 development (still at milestone maturity level) on MVP, as described in this video at Google IO 2010: http://www.youtube.com/watch?v=M5x6E6ze1x8 Instead of AppController, Presenter and Displays you would have ActivityManager,

Re: CellTree from GWT 2.1 Milestone 1

2010-07-01 Thread Thomas Broyer
On 1 juil, 15:07, SteveC st...@cannon.name wrote: I am trying to use the new CellTree in GWT 2.1 and I can't find any examples or tutorials.  Can anyone direct me to an example or tutorial of using this widget? See

Re: JDBC org.gjt.mm.mysql.Driver : Classnotfound

2010-07-01 Thread leslie
That is a very old driver for MySQL. Unless the database version and the corresponding driver are quite old, you are probably using a newer driver and the class name will be different. Try using com.mysql.jdbc.Driver instead of org.gjt.mm.mysql.Driver. -- You received this message because you

Re: BigDecimal - Can you add it to 2.1 version

2010-07-01 Thread Carl Pritchett
http://code.google.com/p/gwt-java-math/ We use this in our finance based application and it works well. It's based on the Apache Harmony BigDecimal class I think. Initially I found a few differences from the java BigDecimal but they were fixed instantly by the Harmony team and integrated into

Re: JDBC org.gjt.mm.mysql.Driver : Classnotfound

2010-07-01 Thread mdwarne
Are you trying to load the driver in the Server Code, or in the Client? You can not connect to a database from the Client Code (Browser javascript), only from the Server code. I am using MySql in my projects using RPC (Servlet). In my RPC servlet I have code like this that works fine

Re: Window.Location.getParameter() always null

2010-07-01 Thread mdwarne
Hi Stephan, Thanks for your reply. I discovered that it works, but not in Developer Host mode (OOPHM). Maybe the developer plugin strips the params from the url? my URL is something like this: http://192.168.0.205:/MyApp.html?gwt.codesvr=192.168.0.205:9997kc=test I also tried:

Uibinder and xfbml

2010-07-01 Thread krishna
Hi All, I' writing a facebook application using GWT. I'm trying to use xfbml in my uibinder widgets. div ui:field=bookmarkfb:bookmark type=on-facebook/ fb:bookmark/div This gives error saying Namespace prefix fb is undefined. Is there anyway to make Uibinder ignore this namespace? The

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/646803/diff/1/15 File user/src/com/google/gwt/dom/client/WebSocket.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/15#newcode48 user/src/com/google/gwt/dom/client/WebSocket.java:48: }; Is it really necessary to remove all the listeners once

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/646803/diff/1/10 File user/src/com/google/gwt/dom/client/Event.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/10#newcode23 user/src/com/google/gwt/dom/client/Event.java:23: public class Event extends JavaScriptObject { Could somebody verify

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/646803/diff/1/15 File user/src/com/google/gwt/dom/client/WebSocket.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/15#newcode48 user/src/com/google/gwt/dom/client/WebSocket.java:48: }; Just forget my last comment :) I misinterpreted the code

[gwt-contrib] Re: Second attempted fix for issue 4532. This time, we revert the IE7 layout (issue628802)

2010-07-01 Thread jgw
On 2010/06/30 15:31:29, jlabanca wrote: LGTM Thanks, committed at r8339. http://gwt-code-reviews.appspot.com/628802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] UiBinder tweaks for GWT Designer

2010-07-01 Thread Ray Ryan
What does WBP stand for? On Wed, Jun 23, 2010 at 6:40 AM, Konstantin.Scheglov konstantin.scheg...@gmail.com wrote: To support UiBinder in GWT Designer we need to have several changes in UiBinder generators, writer and parsers. I will describe below these changes as they are done now. In

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread jat
http://gwt-code-reviews.appspot.com/646803/diff/1/12 File user/src/com/google/gwt/dom/client/MessageEvent.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/12#newcode30 user/src/com/google/gwt/dom/client/MessageEvent.java:30: public final String getData() { On 2010/07/01 11:20:05,

Re: [gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread Andi Mullaraj
Hi there, Actually the open events might look broken but after looking carefully into W3C's spec, I have the feeling they aren't. At point 5 of the WebSocket constructor it says Return a new WebSockethttp://dev.w3.org/html5/websockets/#websocket object, and continue these steps in the background

[gwt-contrib] Re: Update sample to use the latest features (issue672801)

2010-07-01 Thread Fred Sauer
LGTM On Wed, Jun 30, 2010 at 4:45 PM, unn...@google.com wrote: Reviewers: fredsa, Description: Update sample to use the latest features Please review this at http://gwt-code-reviews.appspot.com/672801/show Affected files: M

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread t . broyer
In a few words: everything's in c.g.g.dom, bringing a dependency from c.g.g.dom to c.g.g.event and breaking the assumption that an EventHandler is coupled with a GwtEvent (rather than a JSO-derivative), and it starts to refactor event handling at the low-level, while Joel is working on it (see

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/646803/diff/1/16 File user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/16#newcode22 user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java:22: void onClose(CloseEvent event); I

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/646803/diff/1/16 File user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/16#newcode22 user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java:22: void onClose(CloseEvent event); I

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread jlabanca
http://gwt-code-reviews.appspot.com/646803/diff/1/15 File user/src/com/google/gwt/dom/client/WebSocket.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/15#newcode16 user/src/com/google/gwt/dom/client/WebSocket.java:16: package com.google.gwt.dom.client; +1

[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-07-01 Thread Ray Ryan
Echoing a conversation that should have happened on contrib: jlabanca: This will probably break

[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-07-01 Thread Ray Ryan
The original request was just to have this method on RootPanel, and then I opened my mouth and broadened its scope. Perhaps that was a mistake? Should we just ask Marko to define RootPanel#clear(boolean) and declare victory? On Thu, Jul 1, 2010 at 1:55 PM, Ray Ryan rj...@google.com wrote:

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/646803/diff/1/16 File user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/16#newcode22 user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java:22: void onClose(CloseEvent event); I

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread jat
http://gwt-code-reviews.appspot.com/646803/diff/1/16 File user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java (right): http://gwt-code-reviews.appspot.com/646803/diff/1/16#newcode18 user/src/com/google/gwt/dom/client/WebSocketCloseHandler.java:18: import

[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-07-01 Thread Marko Vuksanovic
I could do that easily tomorrow... On Thu, Jul 1, 2010 at 7:56 PM, Ray Ryan rj...@google.com wrote: The original request was just to have this method on RootPanel, and then I opened my mouth and broadened its scope. Perhaps that was a mistake? Should we just ask Marko to define

Re: [gwt-contrib] UiBinder tweaks for GWT Designer

2010-07-01 Thread Konstantin Scheglov
://www.instantiations.com/gwtdesigner/ is tool for WYSIWYG building of GWT UI, which development I lead at Instantiations. Its latest release works only with Java source for GWT, but now I work on UiBinder support too and many things already workhttp://dl.dropbox.com/u/76691/Eclipse/images/Screenshot-20100701

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-07-01 Thread jat
http://gwt-code-reviews.appspot.com/646803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r8346 committed - Update sample to use the latest features...

2010-07-01 Thread codesite-noreply
Revision: 8346 Author: unn...@google.com Date: Thu Jul 1 14:10:00 2010 Log: Update sample to use the latest features Review at http://gwt-code-reviews.appspot.com/672801 Review by: fre...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8346 Deleted: