Parametrizing gwt.xml files from outside

2009-05-22 Thread Martin
Hello Is there some way do pass a java property to gwt.xml as a parameter? We need this for specifying for which browsers should be the GWT compilation done. For example, if this would be possible: java -cp gwt-dev-linux.jar -DuserAgent=gecko com.google.gwt.dev.Compiler ... set-property

Re: Hibernate4Gwt inherited issue

2009-05-22 Thread SunilBansal
Thanks Noon. I resolved this issue. Now it's not coming on my part. On May 22, 9:51 am, SunilBansal sunil.ban...@daffodildb.com wrote: Hi Noon, I know that is simple GWT issue and not HIbernate4GWT issue. I am also know what is the main cause of this problem. I am getting this exception

Re: Handle events from separate class?

2009-05-22 Thread Dalla
Oh that should have been obvoius i guess :) Thanks! One more question. You mentioned earlier that you can use id to identity sources if for example I add multiple buttons to the same ClickHandler. How do you set this Id in GWT? On 21 Maj, 17:46, Jim jim.p...@gmail.com wrote: public class

Re: Dynamic Properties File Creation not effective

2009-05-22 Thread Magius
Sorry, I understand now it's a strong requirement for you. It's not an usual way of work and it's not strange that you found some problems. I haven't tried anything similar but I'll try to help a bit. In hosted mode GWT uses Java and has direct access to the files. In web mode the code is

Re: Dynamic Properties File Creation not effective

2009-05-22 Thread Magius
The way to have dynamic internationalization is explained here: http://code.google.com/intl/es-ES/webtoolkit/doc/1.6/DevGuideI18nAndA11y.html#DevGuideDynamicStringInternationalization On May 22, 9:44 am, Magius antonio.diaz@gmail.com wrote: Sorry, I understand now it's a strong requirement

Hack my hack: how do I migrate FocusWidget::fireClickListeners to 1.6?

2009-05-22 Thread Richard Kennard
Hi guys, In GWT 1.5 and earlier, I have been unit testing my click handlers as explained on my blog here... http://kennardconsulting.blogspot.com/2008/05/firing-onclicklisteners-in-gwt-unit.html ...this little hack no longer works in 1.6, because FocusWidget::fireClickListeners is gone -

gwt authentication issues

2009-05-22 Thread giannisdag
Hi, I have to create an authentication-authorization mechanism. As I am relatively new to java programming and GWT, I have made some search, and end up to the following solutions: 1. write down my own simple authentication mechanism, using RPC and talking with the server. For this, I just need a

Re: Right Click menu on an Image

2009-05-22 Thread ozgur okka
you can use gxt's context-menu. On Thu, May 21, 2009 at 12:46 AM, ben sidevi...@gmail.com wrote: Is there anyway to add a right click menu on an Image class? I want to use my own right click menu, not the browsers. Thanks -- ozgur okka

Images for Push Buttons

2009-05-22 Thread abhiram
Hi, I wanted to know the procedure to add images to PushButtons. I have found a css style by which i can add it. But that would mean that for every button with an image, i need to write a style rather than having a single style. Is there any way to specify the image for the face of the push

share class in server and client

2009-05-22 Thread Markus Obdenbusch
Hi, I have got a problem with sharing a class which I implemented in the GWT Projekt itself. My structure is like this: com.google.gwt.test.Application - Applicateion.gwt.xml com.google.gwt.test.Application.client com.google.gwt.test.Application.server I implemented a class named

Best approach for saving and displaying images

2009-05-22 Thread abhiram
Hi, I am developing an application for displaying images which are stored on the server. Which would be the best approach to save the images on the server? 1 Save the image as a CLOB data in the database or 2 Save the images in a folder in the server? 3 Or any other better technique...

Re: Eclipse Plugin Compile Button Stack Overflow

2009-05-22 Thread louatia...@hotmail.com
Thanks for your reply concerning proxy settings in command line Now I have to say that the GWT compile button in eclipse is working for me since I changed the used JRE it was failing in with jdk5, now I am getting it work for me with JDK6 I have a question , why do not providing the google

Re: Composite question

2009-05-22 Thread alan m
Developers can never be trusted to do what they're told ;-) I'll pass on your kind description of them! But seriously, I have everything I need for css layout built in to my widgets already (so no style is set in code; and no layout or style is all-but-impossible in css). I was just wondering if

Re: share class in server and client

2009-05-22 Thread Jim
1. Create new package named com.google.gwt.test.application.general 2. add new item into Application.gwt.xml like source path=general/ 3. create new classes in com.google.gwt.test.application.general and make sure them to implement Serializable and have a default constructor. So you can use

Re: Images for Push Buttons

2009-05-22 Thread Donald.W.Long
If I understand you correctly you just wish to control each button in your application. If you wish to replace the complete default style that is used for button then use the following button.setStyleName(mystyle); CSS file would be .mystyle { place your styles here } Create a style

Re: Tomcat and GWT 1.6

2009-05-22 Thread Donald.W.Long
I have found that if I reference a full URL it works but this does not make sense. Should I not be able to reference an HTML file with setUrl from my own area without qualification? Like stated before, it works under the GWT eclispe just fine, just not under Tomcat. Any comments would be nice.

Re: Images for Push Buttons

2009-05-22 Thread abhiram wuntakal
Hi Donald, Thanks for your reply, but i am sorry, i guess u have misunderstood my problem. My problem is... I have 3 buttons Button1, Button2 and Button3. All three have different functionalities. So I have a different image to be displayed on each of the buttons. If i use CSS then i need to

Re: Eclipse Plugin Compile Button Stack Overflow

2009-05-22 Thread Miguel Méndez
As of the 1.0.1 release, you can install the plugin from a zip file. http://code.google.com/eclipse/docs/install-from-zip.html . On Fri, May 22, 2009 at 5:11 AM, louatia...@hotmail.com louatia...@gmail.com wrote: Thanks for your reply concerning proxy settings in command line Now I have to

Re: Can not debug in Eclipse

2009-05-22 Thread Miguel Méndez
Would you be able to file a bug in the GWT issue tracker that includes the working launch config and the one that didn't? On Thu, May 21, 2009 at 2:04 PM, sfeinst sfei...@gmail.com wrote: I created a lauch configuration manually and then imported it into Eclipse. Debugging is now working.

Re: Images for Push Buttons

2009-05-22 Thread Jamie
Have you tried the 'PushButton' class? http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/PushButton.html The constructor takes a single image, or a pair of images for up/down. Jamie. On May 22, 9:46 am, abhiram wuntakal abhir...@gmail.com wrote: Hi

Re: Tomcat and GWT 1.6

2009-05-22 Thread Jamie
I would suggest using Firefox + TamperData. Then you should be able to see what URL the browser is trying to access when you use the relative URL, or if in fact it is sending the request at all. Jamie. --~--~-~--~~~---~--~~ You received this message because you

Re: share class in server and client

2009-05-22 Thread Markus Obdenbusch
Hi Jim, thanks a lot. That solved my problem perfectly. Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To

Re: Best approach for saving and displaying images

2009-05-22 Thread Jim
I prefer BLOB in database not CLOB. It is easier to manage them when they are in database than in file system. You may try Dreamsource ORM. It supports BLOB mapping in one line of code in your application. Jim http://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm On May 22,

Re: Best approach for saving and displaying images

2009-05-22 Thread Jamie
Performance-wise, a folder on the server is the way to go. - Much less CPU - Server container will automatically handle HTTP caching, meaning once the image is downloaded to the browser's cache, the server will send UNMODIFIED on the next request (unless it's been modified!) Of course, you

Re: Composite question

2009-05-22 Thread sssmack
How about this: Create a new class that contains Composite and extends nothing. Implement the methods using those from Composite needed to make the new class work with GWT...and implement your own. In other words: class MyRestrictedWidget { private Composite composite = new Composite() {

Re: Best approach for saving and displaying images

2009-05-22 Thread Paul Robinson
Apparently, Dreamsource ORM is the answer to everything. Jim wrote: I prefer BLOB in database not CLOB. It is easier to manage them when they are in database than in file system. You may try Dreamsource ORM. It supports BLOB mapping in one line of code in your application. Jim

Dimming page background while Dialog is displayed.

2009-05-22 Thread Transplant
Hi, I would like to put up a dialog and dim or grey-out the entire page/app background while the dialog is up. What tricks or techniques are people using to do this with GWT? Thanks in advance! --~--~-~--~~~---~--~~ You received this message because you are

Re: Can not debug in Eclipse

2009-05-22 Thread sfeinst
I'm not sure what is going on now. Since I imported the launch file, I did not have one to get an older one. So I created a second web app to get its lauch file. It doesn't have one (I could have sworn the first web app did). Also, debugging is working on the second web app eventhough no

Re: Can not debug in Eclipse

2009-05-22 Thread sfeinst
Also, when I imported the lauch configuration, where did it go? I thought in my web app, but now I'm thinking it might have been more global. So maybe importing did do something (if I can figure out what the import does with the file). --~--~-~--~~~---~--~~ You

Re: Best approach for saving and displaying images

2009-05-22 Thread abhiram wuntakal
But, wont the database transactions take a lot of time? My images are of higher resolution and they are pretty huge... regards, Abhiram On Fri, May 22, 2009 at 9:25 PM, Paul Robinson ukcue...@gmail.com wrote: Apparently, Dreamsource ORM is the answer to everything. Jim wrote: I prefer

Re: Can not debug in Eclipse

2009-05-22 Thread Miguel Méndez
When you create a project using the command line tools a launch configuration gets in the same directory as the project file. When you import your project that launch configuration will get imported as well. Also, when you use the command line tools, the generated project is GWT only. There

Change individual menuitem css

2009-05-22 Thread Tracy
Hi, I'm new to GWT and have been scouring the discussion groups and internet for an answer to my question but I have had no luck. Here is my question: I need to change the style on an individual menuitem on my menubar. I tried to remove the style for the menuitem and then add my new style it

Regarding GWT Application deployment

2009-05-22 Thread avinash
hi, Guys can you please let know the deployment process using eclipse; whats the output gonna be some html files??? or how does this work??? Thanks, Avinash --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

CSSResource Help

2009-05-22 Thread Mike dg
Hi, I'm fairly new to GWT. Using GWT 1.6.4 on Windows and developing under Eclipse. I'm trying to use the CssResource class. But Eclipse doesn't seem to want to find it. Do I have to add an extra jar or something? What I've found on the web seems to indicate that the incubator jar isn't needed

Regarding GWT Application deployment

2009-05-22 Thread avinash
HI, I had a question regarding GWT application deployment, the application id you are capturing is it used for tracking the application or just for feedback. Because we are trying to develop an application for intranet so can please anwser me regarding this. Thanks Avinash.

Generating custom JavaScript with GWT

2009-05-22 Thread ginga
Hello! mainly i'm using JSF and sometimes complex client side logic is required, so i thought... is there any way to use GWT compiler to compile Java code to JavaScript into separate file. Let's say we have: public class MyJsfClientSideFunctions{ public void javaScriptFIeldValidation(){

RPC Help

2009-05-22 Thread Sean
Hi, I'm trying to deploy an RPC, but I can't figure out how to do it in 1.6. The problem is, the new RPC seems to always have the request being [projectname]/[RPC entry Point] My problem with this is, on my shared Tomcat account, the way I can tell the server to have Tomcat execute this

Worspace Preference Refresh Automatically

2009-05-22 Thread hugo.a.garcia
Hi It seems that setting the workspace preference in Eclipse for refreshing the workspace automaically doesn't work went sent. I have to keep pressing F5 in order to manually refresh whenever i add a resource or make any other change. Where can I report this bug for the Google Eclipse Plugin?

Navigate between a list and details screen

2009-05-22 Thread Wouter
Hi all, I´m struggeling with the following problem for a while now. I´ve created a GWT app that displays a FlexTable. This FlexTable consists of HyyperLinks There are constructed as follows: link = new Hyperlink(item.getItemDescription(), item+item.getId ().toString());

Re: Best approach for saving and displaying images

2009-05-22 Thread Jim
I think some database has some cache features to handle it automatically. If you save them in file system, you have to handle cache issue yourself. Jim http://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm/ On May 22, 1:52 pm, abhiram wuntakal abhir...@gmail.com wrote: But,

Re: Best approach for saving and displaying images

2009-05-22 Thread Jim
How about using embedded HSQLDB to handle images? Jim On May 22, 1:52 pm, abhiram wuntakal abhir...@gmail.com wrote: But, wont the database transactions take a lot of time? My images are of higher resolution and they are pretty huge... regards, Abhiram On Fri, May 22, 2009 at 9:25 PM,

Re: Best approach for saving and displaying images

2009-05-22 Thread abhiram wuntakal
i am sorry, i am not aware of it. can u please let me know the approach for it? or any link that gives info about it... thanks, abhiram On Sat, May 23, 2009 at 1:22 AM, Jim jim.p...@gmail.com wrote: How about using embedded HSQLDB to handle images? Jim On May 22, 1:52 pm, abhiram wuntakal

Re: Can not debug in Eclipse

2009-05-22 Thread sfeinst
I can't guarantee what for the first version in Eclipse, but I do know that when I created the second version in Eclipse, I unchecked App Engine. I may try a third version and not uncheck it to see what happens. But if the launch gets added to workspace metadat, does that affect all projects in

Getting the remote services to work

2009-05-22 Thread Nepherte
I'm having issues getting the remote services to work for one of my new applications. I assume it has something to do with the service url path, but couldn't find the cause. Here's the relevant information: I have these three classes: - DatabaseService.java (be.nepherte.coda.client) -

Re: Navigate between a list and details screen

2009-05-22 Thread Jamie
Oops, I was cutting and pasting from the GWT Reference docs... That should say: onClick(ClickEvent event) { Hyperlink sender = (Hyperlink) event.getSource(); Jamie --- Find television broadcast antennas in your area (US Canada): http://www.antennamap.com/

Re: Regarding GWT Application deployment

2009-05-22 Thread Rajeev Dayal
Hey Avinash, With regard to your first question, are you using GWT with App Engine, or just App Engine by itself? If you're using GWT with App Engine, then JS and HTML files will be produced from your client-site java code. But, App Engine allows you to run server code on Google's infrastructure,

Re: RPC Help

2009-05-22 Thread Rajeev Dayal
You're getting the first celticlock in becuase you're appending GWT.getModuleBaseURL() to the front of observationServiceURL. Since you know that your servlets are hosted at /servlets, change: String observationServiceURL = GWT.getModuleBaseURL() + servlets/celticlock/greet; to String

How to use setScrollPosition

2009-05-22 Thread ali
Hello! I have a scrollPanel that has a grid inside of it. The rows of the grid have different sizes. Now I have a tree whose nodes correspond to this grid. Each node corresponds to a row in the grid. Now I want the scrollpanel to move to the beginning of that cell if the user clikcs on its

Re: Best approach for saving and displaying images

2009-05-22 Thread Jim
Please see http://www.hsqldb.org/web/hsqlDocsFrame.html. Jim Jim http://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm On May 22, 3:53 pm, abhiram wuntakal abhir...@gmail.com wrote: i am sorry, i am not aware of it. can u please let me know the approach for it? or any link

[gwt-contrib] Re: Add mhtml support to ClientBundle

2009-05-22 Thread Ray Ryan
Tuesday is the earliest I'll be able to look at this. That okay? On Thu, May 21, 2009 at 7:34 PM, b...@google.com wrote: Reviewers: rjrjr, jgw, Description: This patch adds support for bundling ClientBundle resources into a single mhtml document to reduce the total number of round trips

[gwt-contrib] Re: Patch for issue 3279

2009-05-22 Thread amitmanjhi
The bottomline is breaking down most operations integer-by-integer. If you can extract the core of nextSetBit to do it, that is fine. You might need to introduce other methods than the 3 Jsni methods we have discussed (it would be great to use just 3), but length() and delete() don't fall in

[gwt-contrib] Re: RootPanel.get(string) not working any more (latest build from SVN)

2009-05-22 Thread Rich
Has anyone solved this yet? I'm using GWT 1.5.3. I do not have nested DIV tags, just one DIV tag called gwtROOT. It must be something simple, some setting in GWT, or something. I had this working before checking the project into SVN. Now, I've checked every setting in the project but it just

[gwt-contrib] Re: Patch for issue 3279

2009-05-22 Thread dannydaemonic
I think you confused setLength() with length(). The line of code I gave described a way to set the length of a JsArrayInteger array to an int length. This allows us to truncate the array very quickly. It's not absolutely neccesary, we could iterate over the array and delete() elements one at a