Re: Using PNG fails compilation on Linux

2009-02-04 Thread olivier FRESSE
No issue on my side either. Maybe your PNG file is corrupted. The exception shows an End Of File... This can happen with a ftp transfert in text mode for example. Can you open the picture on Linux without issues or warning (with your browser, gimp, ... ) If ImageMagick is installed, you can use "i

Re: JVM crash in hosted mode

2009-01-28 Thread olivier FRESSE
never seen that... What's your GWT version, and can you post the log trace ? 2009/1/27 Florian > > Hello everyone, > Whenever I try to run or debug my JVM crashes when GWT development > browser tries to access a https page. Probably the credentials are > missing butt a crash seems to be a rather

Re: How to use/debug a widget and use 2 different Java packages in the same project?

2009-01-16 Thread olivier FRESSE
Hi, Put your widget code in a jar file, and use it as a module in your test code. http://code.google.com/support/bin/answer.py?answer=55197&topic=10211 2009/1/16 Fred Janon > Hi, > > I am developing a widget that I would like to package in a jar for use in > GWT projects. I created a new proje

Re: HTML to String does not respond to events

2009-01-13 Thread olivier FRESSE
when you add the html code, you loose all the JScript generated by GWT to manage the click listener. So the behavior is normal. For the solution I'm not sure to understand what you're trying to do :-) Maybe a composite with a top panel playing the header role and a center one to manage added widge

Re: Recommended GWT Maven plugin

2009-01-12 Thread olivier FRESSE
we're curently using http://code.google.com/p/gwt-maven/ , so far, so good :-) 2009/1/13 Joshua Partogi > > Hi all, > > What is the recommended GWT plugin for Maven? > * http://code.google.com/p/gwt-maven/ or > * http://mojo.codehaus.org/gwt-maven-plugin/ > > For those who has done their researc

Re: Problem extending SelectionScriptLinker

2009-01-12 Thread olivier FRESSE
Extending a GWT component is not a good idea. It's better to use a composite to create the component that fit your needs. Take a look at http://code.google.com/intl/fr/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideCreatingCustomWidgets Regards. 2009/1/12 Kamlesh

Re: Problems with newline symbol in a TextArea (works in IE but not in Firefox)

2009-01-12 Thread olivier FRESSE
If I remember well, textarea uses \r\n as newline characters, whatever the platform/browser is 2009/1/12 LFCPD > > Hi all, > > In my application I insert a newline symbol in a textArea like > follows: > > TextArea ta = new TextArea(); > ta.setText("1.1.1.1\n1.1.1.2\n1.1.1.3"); > > And in IE it

Re: Unable to open web app in hosted mode

2009-01-12 Thread olivier FRESSE
Hard to help you with so few informations :-) Anyway, it looks like you're using linux. I don't know what's your distro, but first, check your java installation. You hava a JDK installed in /home/sahil/jdk1.6.0, but you may have other JDK (different versions) installed elsewhere. If you have a JAVA

Re: step by step to build entire web app with gwt1.5

2009-01-12 Thread olivier FRESSE
You can also consider buying some GWT books. Most of them are built on top of a sample application 2009/1/12 saurabh hirani > > You can pick up some of the web app parts from these tutorials. I > don't think any of them deal with building a login based web app > directly but in bits and pieces

Re: Calling RPC from gwt-shell-hosted on netbeans

2009-01-09 Thread olivier FRESSE
is com.sun.dmt.admin.server.login.LoginServiceImpl in the classpath of the hosted browser ? If you use the Tomcat instance of the hosted browser, that should be enough. 2009/1/9 joe young > > I'm having trouble calling RPC in shell hosted mode. > > Currently I have a simple login page that use

Re: Suggestions for creating a menu

2009-01-09 Thread olivier FRESSE
menu.addItem(...) returns the created MenuItem instance, ie the one added in the menu. MenuItem aboutUsItem = menu.addItem("About Us", cmd); and then if(menu.getSelectedItem() == aboutUsItem) should work. 2009/1/9 Sahil Dave > > > On Fri, Jan 9, 2009 at 8:00 PM, oliv

Re: Suggestions for creating a menu

2009-01-09 Thread olivier FRESSE
Maybe a menu bar ? http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/MenuBar.html :-) 2009/1/9 Sahil Dave > hi.. > > if i want to create a main menu for my web application, what all widgets > can i use to achieve this..? > > thanx and regards > > -- > Sahil

Re: Unable to run GWT + Flash on 64bit Linux

2009-01-09 Thread olivier FRESSE
The hosted comes with its ownMozilla distrib. In your GWT folder, you have a mozilla-1.7.12/ folder. and a "plugins" subfolder I just did a :~/dev/gwt-linux-1.5.3/mozilla-1.7.12$ cp /usr/lib/firefox/plugins/libflashplayer.so plugins/ and flash works. However, I'm in a 32 bits version of Ubuntu. r

Re: How to get the String value from project html file to entry point class

2009-01-09 Thread olivier FRESSE
rt title here > > > function cheLogin(){ > alert("GWT Call"); >@com.mantra.draw2d.Home.client:: checkLogin()() >alert("GWT Call"); > } > > > > > > > > > > > > > > > My goal is call gwt menthod from j

Re: How to get the String value from project html file to entry point class

2009-01-08 Thread olivier FRESSE
from javascript. > > > > Thank u > > > On Jan 8, 6:49 pm, "olivier FRESSE" wrote: > > This is not very clear. > > Are you trying to manage user authentication in a GWT application ? > > If yes, what kind of authentication do you want to manage. Sim

Re: How to get the String value from project html file to entry point class

2009-01-08 Thread olivier FRESSE
This is not very clear. Are you trying to manage user authentication in a GWT application ? If yes, what kind of authentication do you want to manage. Simple web based one, using ACEGI,? 2009/1/8 rajesh_ch > > Hai All, > > I have one requirement like, i need to get the string data from > p

Re: how to get the list box value in gwt

2009-01-08 Thread olivier FRESSE
When you fill your listbox, use the following method : *addItem *(java.lang.String item, java.lang.String value) *getSelectedIndex

Re: Panel not clearing?

2009-01-05 Thread olivier FRESSE
You should use an Image widget instead of setText. something like *Image image = new Image(); * *image.setUrl("'http://www.vella-gulf.navy.mil/Site%20Images/under_construction.jpg";); * *// Use image.addLoadListener(...) to manage loading errors bioText.add(image); * regards, O. 2009/1/3 jw

Re: how reset FileUpload?

2009-01-05 Thread olivier FRESSE
it may depend of the way your form is built, but you can call reset() on the form object in javascript. This means that you need a JSNI call. A file input can be accessed in JS for security reason, but reseting the form will clear it. And all the inputs of the form... 2009/1/5 fother > > I nee

Re: Extra pixels above image when added to popup panel

2009-01-05 Thread olivier FRESSE
You can use a tool like firebug to analyze the generated DOM. Maybe it's a result of a CSS style. regards 2009/1/4 falcon_whiz > > Hi all, > I am using the lates release of gwt (gwt-windows-1.5.3). now the > problem is that whenever I am adding an image to a popup panel the > size of the popup

Re: Form submit

2008-12-24 Thread olivier FRESSE
Well,If you nedd to retrieve post data in a servlet, just manage it in public void doPost(HttpServletRequest request, HttpServletResponse response) ... request.getParameter("name") ... where name is the name of your HTML input. Olivier. 2008/12/24 Daniele B > > Hi.

Re: How to cancel file uploading from client side

2008-12-19 Thread olivier FRESSE
I'm afraid you can't do that beacause of the JS security restriction... Except by clicking on the "Stop" button of the browser 2008/12/19 jazzka > > Is there any good ways to cancel file uploading from client side. I am > using FileUpload with FormPanel and when the user open file from > "Choos

Re: cannot execute /usr/bin/firefox.

2008-12-19 Thread olivier FRESSE
Maybe a silly question, but does /usr/bin/firefox. exists ? There is an environment var called GWT_EXTERNAL_BROWSER which drives the external browser used by the GWTShell. But I'm not sure to understand what you're trying to do. Do you want to launch the hosted browser, or just open an URL from NB

Re: long in GWT 1.5

2008-12-18 Thread olivier FRESSE
long is not usable "as is" . JScript doesn't have a matching type... see http://code.google.com/intl/fr/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideMarshaling 2008/12/18 Kathy > > Hello, > > I'm having problems to use long values in GWT 1.5. I'm using a lot of

Re: HOW TO ENHANCE WEBPAGE TO GWT FROM ALREADY EXISTING SITE IN HTML AND JAVA SCRIPT

2008-12-18 Thread olivier FRESSE
Embedding GWT in existing pages : Pretty easy, just use DIVs tags with ids in your HTML and inclulde the needed scripts generated by the GWT compiler then in your GWT module, do : RootPanel.get("gwtArea").add(...) The content of the div is now managed by GWT. using CSS is easy as GWT us

Re: Reading POST parameters on GWT app

2008-12-17 Thread olivier FRESSE
The client side of GWT won't help you. The server side is the GWT RPC mechanism, and it won't help you a lot too. It depends of the server technology. If you're in a java world, best would be to rely on a servlet. They are indeed made to manage such things :-) you would have something like that,

Re: GWT integrated with JSF

2008-12-17 Thread olivier FRESSE
will find out in the >>> morning when i'm at work) >>> >>> The simple stuff is done and now its to the hard stuff. >>> >>> i have thought of doing through GWT DOM objects, but i would like a >>> cleaner way of keeping state, the applicat

Re: GWT integrated with JSF

2008-12-17 Thread olivier FRESSE
backend if they apply the changes they make and i > would like to allow any not pre-commited changes to either linger till > out of session of save for next session which means that GWT DOM > object pulling for the id/keys won't do. > > > Google group discussions seems to b

Re: Clear path in a FileUpload object.

2008-12-16 Thread olivier FRESSE
Maybe you can reset the form where the file input is ? 2008/12/16 Dominik Erbsland > > Pity! so I will have to do it differently. > thanks for the info! > > > On Dec 16, 2:29 pm, "Isaac Truett" wrote: > > JavaScript can't set the content of a file input for security reasons. > > Instead you cou

Re: J2EE and debug in hosted mode

2008-12-15 Thread olivier FRESSE
write a build file which runs the whole application in > > gwt hosted mode? > > > > This is a bottleneck in my development, because the deploy time is now > > more than 1 minute. If I could use as I wrote it, the hosted mode > > shows the changes in couple o

Re: J2EE and debug in hosted mode

2008-12-14 Thread olivier FRESSE
When you run in hosted mode, you have 2 java processes running. The glassfish one, and the GWT shell. Debugging the glassfish side is easy, it comes OOTB in Netbeans. Debugging the client side is quite easy too. You just need to change the way the GWTShell is launched : java *-Xdebug -Xrunjdwp:t

Re: GWT integrated with JSF

2008-12-13 Thread olivier FRESSE
Hi will, I work on a project where we use GWT, seam and facelet. The server is a glassfish one. Seam is a great framework, and I really see it as a great enhancement to JSF. It provides many components, including "Seam Remoting". Seam Remoting allows a remote access to seam components,using Ajax. A

Re: Does GWT depend on OS?

2008-12-12 Thread olivier FRESSE
The war can be corrupted in the transfer from windows to the unix server. For example, an FTP transfer in ascii mode... as a war is a jar file, you can test it with jar -tvf myfile.war. 2008/12/12 MAK > > I have a strange experience, that a GWT application (war file) is > running when it is dep

Re: GWTShell and facelet.

2008-12-12 Thread olivier FRESSE
lex > > On Dec 10, 7:57 am, "olivier FRESSE" <olivier.fre...@gmail.com> wrote: > > I'm not sure that it's the issue. > > From my understanding, the noserver mode is really useful when you wan't > to > > use > > GWT RPC. > > I've made

Re: GWTShell and facelet.

2008-12-10 Thread olivier FRESSE
should run hosted mode with the -noserver option and > use the same server that you use when you work in web mode. > > Here's an FAQ on how to setup hosted mode with the -noserver option: > > > http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-too

Re: Capabilities of GWT interfacing with Java applets

2008-12-10 Thread olivier FRESSE
GWTAI looks promising too : http://code.google.com/p/gwtai/ 2008/12/9 Alfred S <[EMAIL PROTECTED]> > > The information looks to be all there! I was able to successfully > experiment a bit with it. > > Thanks! > ~Alfred > > On Dec 9, 12:45 pm, Shawn Pearce <[EMAIL PROTECTED]> wrote: > > To ans

Re: How to share work between Java developers and HTML/CSS designers?

2008-12-09 Thread olivier FRESSE
I fully agree with this way of working. We've been able to work with web designer with a very similar way of working. Our GWT components are very simple, and all the style is managed by CSS. I think that it's really important to keep in mind that GWT is not a Swing API in disguise :-) 2008/12/9 N

Re: GWTShell and facelet.

2008-12-09 Thread olivier FRESSE
Hmm no, I have a tag. I'm still digging :-) O. 2008/12/9 Sumit Chandel <[EMAIL PROTECTED]> > Hi Olivier, > > Can you double-check to make sure that you're not using an empty > tag to reference your GWT bootstrap script? I..e,