Re: How do I call a stateless session bean (EJB) from my RPC service?

2009-03-26 Thread stsch01
Update: A full JNDI lookup is working, but why do I not get a reference using the annotations? If I have SomeBean --Bean Implementation SomeRef -- Remote Interface SomeRefLocal -- Local Interface then @EJB SomeRef ref; should work to get the remote interface, right? -Steffen- On 25 Mrz.,

Re: How to disable/enable widget components?

2009-03-26 Thread Nicanor Babula
[code] RadioButton radio1 = new RadioButton(group1, disabled radio); radio1.setEnabled(false); [/code] I think that would do for you ;) On Thursday 26 March 2009 06:12:14 Vikas wrote: Hi All, I want to disable/enable RadioButton on some action, how to do this? I don't want to hide/unhide.

RPC Performance/Response Problem

2009-03-26 Thread -Lord-67
First of all: Hi to everyone! I'm new to GWT and just programming my first app. Since i've some experience in Java it's not a big problem, but in this case i am stuck and hopefully someone can help me. In my app i make a RPC: On server side i get some data out of a database and save it into an

Setting FocusPanel as a cell to FlexTable and DragAndDrop for FlexTable

2009-03-26 Thread priya
Hi, I have a FlexTable which contains FocusPanel as a cell.. I am having DragAndDrop functionality for the FlexTable. It's working fine.. But I want the additional functionality too that determine which cell is clicked.. I added TableListener to the FlexTable.. When I click at the corner of

Re: RPC Performance/Response Problem

2009-03-26 Thread Matías Costa
On Thu, Mar 26, 2009 at 9:46 AM, -Lord-67 -lord...@web.de wrote: First of all: Hi to everyone! I'm new to GWT and just programming my first app. Since i've some experience in Java it's not a big problem, but in this case i am stuck and hopefully someone can help me. In my app i make a

Building toCollege-net Web site

2009-03-26 Thread lan
Hello Being new to GWT, I wanted to follow the application toCollege.net Unfortunately, I couldn't build it, I'm following the Building toCollege.net pdf document, I checked out the code using svn, no problem. But when I try mvn compile, I got this unexpected exception: [ERROR] Exception in

Creating images and/or writing text vertically

2009-03-26 Thread soundseeker
here is a little bit more complex problem.. I'm using canvas and would like to label some elements (ImageElement) vertically - text rotated 90 degrees left. 1. I found no possibility to do that directly. 2. The next idea was to create an image on the fly with the rendered text and then to

Problem with french special character in GWT

2009-03-26 Thread Sandeep
Hi, I have a simple GWT application which takes String and gives me reverse of the string. Problem here is that when i send the String to servlet and try to print it there ? is printed on tomcat instead of special characters for french. Same is happening with Russian characters. But i am

ScrollPanel problem in Chrome/Safari

2009-03-26 Thread nicanor.babula
Hello everyone. I have this situation: ___ |ScrollPanel | | __ | | | AbsolutePanel| | | |

Flash with GWT

2009-03-26 Thread ping2ravi
Hi All, I have a web page where i am using Flash and GWT both, i am using GWT's popup thing. Non flash screen part of the page shows the popup correctly but the screen part where flash is, it hides the popup under it. I can see that the potion of popup which should be on the top of Flash part is

Re: problems in IE6 modifying DOM nodes

2009-03-26 Thread johnpearcey
For anyone that's interested, the problem is solved by using the correct document object. I started by using elem.ownerDocument instead of document. However, I've found some gwt-docs that say you should use $doc instead of document. On Mar 20, 2:49 pm, johnpearcey john.pear...@gmail.com wrote:

Re: How do I call a stateless session bean (EJB) from my RPC service?

2009-03-26 Thread gregor
yes it should, equally @EJB SomeRefLocal localRef should too. On Mar 26, 7:18 am, stsc...@schliwinski.de wrote: Update: A full JNDI lookup is working, but why do I not get a reference using the annotations? If I have SomeBean --Bean Implementation SomeRef -- Remote Interface

Re: como agregar imagen bmp en backround

2009-03-26 Thread Pacholi
gracias On 18 mar, 11:06, El Mentecato Mayor rogelio.flo...@gmail.com wrote: Pacholi, En tu página principal, simplemente usa un estilo CSS en el Panel que uses ahí que tenga una imagen de fondo, luego cambias en las demás páginas, si cambias el Panel, entonces se irá, si no, entonces

Re: Cypal Studio v2 - care for a spin?

2009-03-26 Thread olivier nouguier
Great new ! Work nicely for me (window) tonight I will test under linux and mac os x. * During the launch it would be nice to add tools.jar (jdk) to be able to compile jsp. * A more maven layout option would be also a good think I suppose. Thx for cypal. On Wed, Mar 25, 2009 at 7:14 PM,

deferred binding

2009-03-26 Thread johnpearcey
I have been trying to find out if there is a way to use deferred binding to load code that has been compiled at different times. Most of the documentation is about a single compiler pass over the code. The reason I need this is because I am writing a framework that can host components in a type

how to easily plug-in a mock remote service

2009-03-26 Thread denis56
Hello, I would like to unit test my application plugging a mock remote service implementation. As far as I know in version 1.5 that is being used, hosted mode uses servlet path=/myService class=test.myServiceImpl / line in module.gwt.xml file to refer to the right servlet. Who knows if if there

Event listening on ListBox in a CaptipnPanel's Legend

2009-03-26 Thread Danny Schimke
Hello! A CaptionPanel can contains HTML in its legend. I hve to add a ListBox- Element there. But I have to listen on it (change- events). How do I have to add the ListBox as a part of the legend- Element to the Caption so that I still can listen on its events? Thank you very much! -Danny

Re: Two TabPanels, different CSS styles

2009-03-26 Thread rookie
Thanks a lot Gregor. I was struggling with remove the default styles from the tabpanel. This is very helpful. On Feb 27, 7:12 am, gregor greg.power...@googlemail.com wrote: CSS is often hierarchical in GWT widgets. You have a primary style name and then additional secondary styles that are

Re: deferred binding

2009-03-26 Thread Vitali Lovich
There's nothing preventing you from writing the code in GWT. However, AFAIK, there's no support for dynamically loading GWT modules. You have to write your own framework for now as far as I know to do this dynamically. On Thu, Mar 26, 2009 at 9:34 AM, johnpearcey john.pear...@gmail.com wrote:

GWT Serialization ???

2009-03-26 Thread jero
Hi, I am new to GWT and I have been playing around with GWT. Now I want to retrieve via hibernate using a RemoteService call ths content from a database. I have already a jar (provided by the db guys) where the domain is reflected. The problem I have is when I use it I always receive

Re: GWT Serialization ???

2009-03-26 Thread Jason Essington
If you don't have access to the source for your hibernate objects, then you'll need to create DTOs (data transfer objects) that are essentially identical to your hibernate objects. You can then manually marshal the values, or use a bean mapping library such as Dozer to do the work

calling RPC service from Java using GWT 1.5

2009-03-26 Thread gui....@gmail.com
Hi I'm trying to do what's stated in the subject. I thought I could use javaongems to do that with the following code : - import org.javaongems.core.jclient.Gwt; import com.google.gwt.user.client.rpc.ServiceDefTarget; public class JavaRpcClient {

Re: RPC Performance/Response Problem

2009-03-26 Thread lukehashj
Have you tried using a List instead of an array? On Mar 26, 2:46 am, -Lord-67 -lord...@web.de wrote: First of all: Hi to everyone! I'm new to GWT and just programming my first app. Since i've some experience in Java it's not a big problem, but in this case i am stuck and hopefully someone

Re: Flash with GWT

2009-03-26 Thread lukehashj
There's not much you can do about this :) This happens for the same reason that dropdown menus burn through 'popunders' like you describe. Try creating a new popup class that uses an IFRAME to show your element, and then it won't burn through to the second iframe. Sucks, yes. On Mar 26, 6:28 

Re: IE vertical scrollbar triggers a horizontal scrollbar

2009-03-26 Thread r a f t
hi tony, thank you. i had also found that solution programatically: DOM.setStyleAttribute(scrollPanel.getElement(), overflowX, hidden); but there is catch: that way, vertical scrollbar steals from widgets area. one needs to place proper padding to rightside. On Mar 25, 6:57 pm, Tony Strauss

Re: calling RPC service from Java using GWT 1.5

2009-03-26 Thread Ian Petersen
On Thu, Mar 26, 2009 at 10:22 AM, gui@gmail.com gui@gmail.com wrote: I'm trying to do what's stated in the subject.  I thought I could use javaongems to do that with the following code : - import org.javaongems.core.jclient.Gwt; import

Re: Flash with GWT

2009-03-26 Thread István Szoboszlai
Hello, If the transparent option is applied on the flash object, than it will have the same z-order as its containing dom element. You can also use the swfobject's gwt wrapper to add flash components to your site. Best - István On Thu, Mar 26, 2009 at 6:29 PM, lukehashj bobwazn...@gmail.com

Re: Flash with GWT

2009-03-26 Thread Niklas Derouche
wmode = opaque does the trick in some situations. you need to add it both as a param and in the embed though. n. On Thu, Mar 26, 2009 at 1:28 PM, ping2ravi ping2r...@gmail.com wrote: Hi All, I have a web page where i am using Flash and GWT both, i am using GWT's popup thing. Non flash

Re: Event listening on ListBox in a CaptipnPanel's Legend

2009-03-26 Thread Danny Schimke
Is it possible to do this? 2009/3/26 Danny Schimke schimk...@googlemail.com Hello! A CaptionPanel can contains HTML in its legend. I hve to add a ListBox- Element there. But I have to listen on it (change- events). How do I have to add the ListBox as a part of the legend- Element to the

Re: extending RichTextArea

2009-03-26 Thread alberto
Hi I'am still working on the project. I'am having any difficulties: 1) I can not control the position of the cursor within the RichTextArea. I's there any native javascript method to move the corsor for example to the end of the text in the area? 2) Suppose i typed while in the text area. I

Re: How can I combine 2 projects into one with gwt 1.6+?

2009-03-26 Thread Sumit Chandel
Hi Brandon, I'm not clear why you would need to compile the sub modules independently from the main module. The GWT compiler performs a monolithic compilation for each module it compiles, therefore the submodules would be completely independent from the main module if they were compiled

Re: How Can I Rebuild A Library From Source In Eclipse?

2009-03-26 Thread Sumit Chandel
Hi Superman859, I'm not sure how to build the OFC GWT project from source, but chances are it follows the same build rules for building GWT from source. No guarantees on that, but if you want to first know how to build GWT from source so that you can get started building OFC GWT with that, check

Re: do i have to make showcase as a module and inherit this module in my projecc

2009-03-26 Thread Sumit Chandel
Hi Coonay, The Showcase sample application is a GWT module, in the sense that it defines its own module XML file describing its GWT application structure. You could JAR it up and reference it with an inherits tag in your own module XML file to reuse its widgets, but I think that's far more effort

Re: How Can I Rebuild A Library From Source In Eclipse?

2009-03-26 Thread Jason Essington
The GWT compiler requires the source (.java) files, and hosted mode works with bytecode (.class), so it is generally as simple as packaging all of the source and bytecode files into the jar. have a look at the gwt-user.jar for an example of what that looks like. The other option is to

Re: Connecting to site 127.0.0.1

2009-03-26 Thread Roberts M.
One workaround could be to change GWT port on every run, using command line option -port 8889 (e.g. making 10 scripts, each with different port). On Mar 24, 3:50 am, Sunny sunny...@gmail.com wrote: I have been using TCPView (http://technet.microsoft.com/en-us/ sysinternals/bb897437.aspx) and

Compiling servlet classes

2009-03-26 Thread m...@gmail.com
Hi, I'm a new java and GWT programmer. I'm trying to build a GWT Hello World using an RPC. I've tried to compile my servlet class (the service implementation) with javac, but the error message says it's impossible to find the client-side package (the service) ... Could you please explain me how

Re: Back Refresh button handling

2009-03-26 Thread bigtruckdriver
I'm in a similar predicament, perhaps you might have an idea of what to do. When the user closes the browser window, I want the application to logout his/her session automatically so as to free up memory on the server from their session. So I use the onWindowClosed() function to take care of

data table widget

2009-03-26 Thread justin
Is there a UI widget for gwt similar to Cocoa's NSTableView? Basically, you get a table of a predefined number of rows and columns. Scrolling is built-in. As the user scrolls, a method is called to request data for the table cells that are visible at that moment. Thank you, justin

Re: Help! My Generators don't work for Web Mode :(

2009-03-26 Thread Marcelo Emanoel B. Diniz
Hi Sumit here are the generator rule and the generator class: rule: generate-with class=br.com.gwt.symbiosis.rebind.generator.BoundModelGenerator when-type-assignable class=br.com.gwt.symbiosis.client.bind.BindingModel / /generate-with generate-with

Re: GWT project creation indefinetly creates folder recursively

2009-03-26 Thread Erik Uzureau
Hey hey, I have run into the same, glorious, problem. Unfortunately, I have no idea how deep the rabbit hole goes. Any help with deleting this directory greatly appreciated On Mar 3, 11:29 am, quinn.rob...@gmail.com quinn.rob...@gmail.com wrote: I have recently experienced the same problem,

Re: How to disable/enable widget components?

2009-03-26 Thread Vikas
Thanks...This works fine, On Mar 26, 12:48 pm, Nicanor Babula nicanor.bab...@gmail.com wrote: [code] RadioButton radio1 = new RadioButton(group1, disabled radio); radio1.setEnabled(false); [/code] I think that would do for you ;) On Thursday 26 March 2009 06:12:14 Vikas wrote: Hi All,

Re: How to show waiting status in GWT web apps?

2009-03-26 Thread Vikas
Thanks for hint... I tried to with RPC, works fine... On Mar 25, 12:38 pm, alex.d alex.dukhov...@googlemail.com wrote: You put some Label(Loading...) where you want to have it, make it visible when you are fetching data(before an RPC-call), and invisible when you are ready (in onSuccess() and

Re: GWT project creation indefinetly creates folder recursively

2009-03-26 Thread Erik Uzureau
I noted this in the ticket itself as well, but I made a little batch file that uses recursion (sort of) to delete those longfilename directories. Hope it helps for someone: http://traveltrippertech.blogspot.com/2009/03/off-to-bad-start-with-gwt.html On Mar 26, 9:41 pm, Erik Uzureau

IncompatibleClassChangeError when launching hosted mode (GWT 1.6 M2)

2009-03-26 Thread grishag
Hi, I started using GWT 1.6.1 M2 recently and things were going quite smoothly until I tried using hosted mode (with -noserver option). I am now getting the following exception. Does anyone know what this actually means? As far as I can tell, HashSessionManager does implemented SessionManager

[gwt-contrib] Re: weak listener in GWT?

2009-03-26 Thread John Tamplin
On Thu, Mar 26, 2009 at 6:28 AM, Ed post2edb...@hotmail.com wrote: I am struggeling a bit with the issue I posted here: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/0c7013c88ff9f20b I would like to know if it would be possible to solve this with GWT before posting

[gwt-contrib] [google-web-toolkit commit] r5086 - Checkstyle cleanup.

2009-03-26 Thread codesite-noreply
Author: j...@google.com Date: Thu Mar 26 06:25:13 2009 New Revision: 5086 Modified: changes/jat/ihm/dev/core/src/com/google/gwt/dev/javac/JdtCompilationUnit.java changes/jat/ihm/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java Log: Checkstyle cleanup. Modified:

[gwt-contrib] Re: weak listener in GWT?

2009-03-26 Thread Ed
He John, Thanks for your answer. Not very unexpected, but I was hoping I missed something. This means that I have to do some more work when removing objects. My situation: I have pages that make up a wizard-like application (part of the application). The pages contain form field where the

[gwt-contrib] [google-web-toolkit commit] r5087 - Disable ImageResourceTest

2009-03-26 Thread codesite-noreply
Author: b...@google.com Date: Thu Mar 26 07:44:46 2009 New Revision: 5087 Modified: trunk/user/test/com/google/gwt/resources/ResourcesSuite.java Log: Disable ImageResourceTest Patch by: bobv Review by: rjrjr (TBR) Modified: trunk/user/test/com/google/gwt/resources/ResourcesSuite.java

[gwt-contrib] JavaScriptException with 1.6.2

2009-03-26 Thread nicolas de loof
Hi I just tried the new gwt 1.6 RC and get this stacktrace : [FATAL] Uncaught JavaScript exception [* com.google.gwt.core.client.JavaScriptException*: (TypeError): 'nodeType' a la valeur Null ou n'est pas un objet. [FATAL] number: -2146823281 [FATAL] description: 'nodeType' a la valeur Null

[gwt-contrib] Re: JavaScriptException with 1.6.2

2009-03-26 Thread Scott Blum
That's not good it looks like Nicolas found an object for which trying to evaluate (!!o.nodeType) throws an exception. @Nicolas: - What browser is this? - What are you actually doing to trigger the exception? - Can you repro it on any popup panel, or is it specific to your app? On Thu,

[gwt-contrib] Re: [google-web-toolkit commit] r5087 - Disable ImageResourceTest

2009-03-26 Thread Ray Ryan
LGTM 2009/3/26 codesite-nore...@google.com Author: b...@google.com Date: Thu Mar 26 07:44:46 2009 New Revision: 5087 Modified: trunk/user/test/com/google/gwt/resources/ResourcesSuite.java Log: Disable ImageResourceTest Patch by: bobv Review by: rjrjr (TBR) Modified:

[gwt-contrib] [google-web-toolkit commit] r5089 - Edited wiki page through web user interface.

2009-03-26 Thread codesite-noreply
Author: amitman...@google.com Date: Thu Mar 26 10:32:17 2009 New Revision: 5089 Modified: wiki/GwtJavaApiCompatibilityChecker.wiki Log: Edited wiki page through web user interface. Modified: wiki/GwtJavaApiCompatibilityChecker.wiki

[gwt-contrib] [google-web-toolkit commit] r5090 - Edited wiki page through web user interface.

2009-03-26 Thread codesite-noreply
Author: amitman...@google.com Date: Thu Mar 26 10:52:25 2009 New Revision: 5090 Modified: wiki/GwtJavaApiCompatibilityChecker.wiki Log: Edited wiki page through web user interface. Modified: wiki/GwtJavaApiCompatibilityChecker.wiki

[gwt-contrib] Comment on GwtJavaApiCompatibilityChecker in google-web-toolkit

2009-03-26 Thread codesite-noreply
Comment by sco...@google.com: Hey, what if we used ASM to process the class files? :D For more information: http://code.google.com/p/google-web-toolkit/wiki/GwtJavaApiCompatibilityChecker --~--~-~--~~~---~--~~

[gwt-contrib] Re: JavaScriptException with 1.6.2

2009-03-26 Thread John Tamplin
On Thu, Mar 26, 2009 at 1:40 PM, Scott Blum sco...@google.com wrote: That's not good it looks like Nicolas found an object for which trying to evaluate (!!o.nodeType) throws an exception. If my atrophied high-school French is correct, I believe the error is that o is null at that point.

[gwt-contrib] Re: JavaScriptException with 1.6.2

2009-03-26 Thread nicolas de loof
Nice translation ;) The dev team repported me this error but I'm not working on the module myself. I'll try to get more info on how the PopupPanel is used. I think it is part of the DatePicker but have to confirm. Must also ask which browser is used in this test. On Thu, Mar 26, 2009 at 7:18

[gwt-contrib] Comment on GwtJavaApiCompatibilityChecker in google-web-toolkit

2009-03-26 Thread codesite-noreply
Comment by to...@google.com: That's an excellent idea. I wish someone had thought of it earlier. ;) In case it's not obvious, the biggest benefit of this is that we could compatibility check code that does not build, or is difficult to build, with TypeOracle. For more information:

[gwt-contrib] Re: code review requested - add skeleton of runtime locales test

2009-03-26 Thread Scott Blum
LG as a pattern.. I have no idea what the test does. :) Nitpick: comment on the line you modified in your version of junit.html? On Tue, Mar 24, 2009 at 8:47 PM, John Tamplin j...@google.com wrote: This just does a couple of tests that need to be fleshed out, but basically just proves that

[gwt-contrib] Re: code review requested - add skeleton of runtime locales test

2009-03-26 Thread John Tamplin
On Thu, Mar 26, 2009 at 3:46 PM, Scott Blum sco...@google.com wrote: LG as a pattern.. I have no idea what the test does. :) It just verifies that certain things still work if the runtime locale is specified even though the compile-time locale doesn't include them. Nitpick: comment on the

[gwt-contrib] Re: RR: testing -noserver hosted mode

2009-03-26 Thread John Tamplin
On Tue, Feb 17, 2009 at 2:27 AM, Lex Spoon sp...@google.com wrote: Revision 3901 broke -noserver hosted mode, but it took weeks before anyone even noticed. I've been trying to figure out how to write a regression test to prevent that sort of thing from happening. Attached is a patch that I

[gwt-contrib] Re: code review requested - add skeleton of runtime locales test

2009-03-26 Thread Scott Blum
We could add a feature to JUnit, of course. Or maybe we could do something to the default junit.html that allows a way to wedge in different deferred binding props? On Thu, Mar 26, 2009 at 3:49 PM, John Tamplin j...@google.com wrote: On Thu, Mar 26, 2009 at 3:46 PM, Scott Blum sco...@google.com

[gwt-contrib] [google-web-toolkit commit] r5092 - Separate data that is constant across all locales in a build into a

2009-03-26 Thread codesite-noreply
Author: j...@google.com Date: Thu Mar 26 15:02:57 2009 New Revision: 5092 Modified: trunk/user/src/com/google/gwt/i18n/rebind/LocaleInfoGenerator.java Log: Separate data that is constant across all locales in a build into a LocaleInfoImpl_shared (which contains the native display names and

[gwt-contrib] Re: [google-web-toolkit commit] r5078 - Amending r5077:

2009-03-26 Thread Vitali Lovich
On Thu, Mar 26, 2009 at 3:17 PM, Scott Blum sco...@google.com wrote: Vitali, are you positive all your stuff is in a legit state? I ask because it looks like you're mixing trunk and 1.6 stuff together. Can you clarify what you mean? How can I be mixing trunk 1.6 together? I'm only using