Re: Custom component with DIV markup?

2010-04-29 Thread jocke eriksson
Use the ui binder and create an HTMLPanel. Thats what it's for. 2010/4/29 d95sld95 > > How do I create a custom component or composite that creates HTML > markup like this? > > > > > > > > > > > >Copyright © 2009 Company Name, Inc. > >

Re: Again: Flextable problems if used in own Composite-Class

2010-04-29 Thread malibubu
THANK YOU - F**ing auto completion :D On 29 Apr., 13:25, Ian Bambury wrote: >  table.getFlexCellFormatter().setColSpan(row,*colspan*, colspan); > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to

GFlot google group

2010-04-29 Thread g_korland
GFlot just opened a new Goolge group - http://groups.google.com/group/gflot For all of you who are not familiar with GFlot, GFlot is a GWT adaptation of Flot which combines the high quality charting capabilities of Flot with the power of GWT. -- You received this message because you are subscri

Re: How to add widget to UIbinder

2010-04-29 Thread Tristan
I think you mean this?: java @UiField HTMLPanel htmlPanel ui binder

Re: Unsafe Javascript running GWT tutorial on Chrome

2010-04-29 Thread slowpoison
On Apr 29, 9:26 pm, Sripathi Krishnan wrote: > You are trying to run the page from the file system (file://..), which won't > work. You should copy the files to a webserver like tomcat and then access > the page. Or you could run stockwatcher from eclipse and then test from > chrome. Not really.

Re: Unsafe Javascript running GWT tutorial on Chrome

2010-04-29 Thread Sripathi Krishnan
You are trying to run the page from the file system (file://..), which won't work. You should copy the files to a webserver like tomcat and then access the page. Or you could run stockwatcher from eclipse and then test from chrome. --Sri On 30 April 2010 02:21, slowpoison wrote: > I do want t

Re: GWT Module not loaded on app engine

2010-04-29 Thread Prashant Hegde
Pls check your web.xml entries if it is properly configured for url pattern "admin" http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideImplementingServices Regards Prashant On 30-04-2010 08:22, Vik wrote: Hie Any help on this one plz? Thankx and Regards

Re: GWT Module not loaded on app engine

2010-04-29 Thread Vik
Hie Any help on this one plz? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Apr 28, 2010 at 8:17 AM, Vik wrote: > Hie > > Thanks when u pointed i could see it in console... > > here is how my class looks like: > package vik.sakshum.sakshumweb.client.servic

GWT 2 works in oc4j at the OAS 9?

2010-04-29 Thread luciocamilo
I wanna use GWT 2 at my company, but I didnt test yet if will it work at oc4j, specifically at Oracle Application Server 10.1.3? -- 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...@google

Re: Google Web Developer Plugin for FireFox 3.6?

2010-04-29 Thread Jeff Chimene
On 04/29/2010 03:51 PM, Per wrote: > Hi > > I am using Linux (OpenSuse 11.2) for my work and web development; but > have found, that after upgrading to Firefox 3.6 (I am now on 3.6.3), > the Google Web Developer Plugin is not working any more. > > Anybody knows when a new version compatible with

Google Web Developer Plugin for FireFox 3.6?

2010-04-29 Thread Per
Hi I am using Linux (OpenSuse 11.2) for my work and web development; but have found, that after upgrading to Firefox 3.6 (I am now on 3.6.3), the Google Web Developer Plugin is not working any more. Anybody knows when a new version compatible with FF 3.6 will be available, or if there is plans fo

Using Fixed font only in RichTextArea

2010-04-29 Thread Per
Hi I am working on an application, where we have some forms, with TextAreas, we do need some simple formatting, like bold, italic, underline, bullets and html links. So for this I use a RichTextArea. The problem is that the users, copies text from mails, other web pages etc, and doing this all th

Re: Custom component with DIV markup?

2010-04-29 Thread Per
I am still new to this stuff; but found that this way is working: first create a new panel class: - import com.google.gwt.dom.client.Document; import com.google.gwt.user.client.ui.AbsolutePanel; public class MyPanel extends AbsolutePanel { public MyPanel(String class) {

Re: does anyone fancy testing the security on my test application?

2010-04-29 Thread John Denley
Thanks jhulford, Your points are taken in good faith. I think sometimes the problem is that I dont know what i dont know until someone points it out! Im learning all the time its been a very eye opening experience, and I cant wait until I can afford to employ some real programmers to do this all fo

Re: Unsafe Javascript running GWT tutorial on Chrome

2010-04-29 Thread slowpoison
I do want to add that http://sticky.appspot.com/ is a sample application built using GWT that works in Chrome. This makes me think that the difference may be due to GWT version. I'm running GWT 2.0.3. Is there any way to find out what version the sample app is running? -- You received this messag

Shopping Card Example

2010-04-29 Thread nasionalem
Hi all, I am looking for a shopping car example. Not drag&drope style. I just want to use add and remove button. When I click on the product, It will go to shopping basket. Does anybody know any example about it? or Could you please add a sample code here? Thanks alot -- You received this messa

Re: GWT1.7 and IE8

2010-04-29 Thread BGL
I just tried to set both gecko and ie8, it doesn't work. It does work if I tried to set both ie6 and ie8. Yes, GWT generates 1 js file, but it also generates a couple of html files depends on the user.agent property from the module.gwt.xml. I know it sounds weird, but I only want to deploy 1 js fi

Re: GWT1.7 and IE8

2010-04-29 Thread Sripathi Krishnan
You can set both gecko *and* ie8. That way, you will be able to use IE8 as well as the hosted mode browser for testing. Also, you don't have to figure out which js file corresponds to IE8. GWT automatically does browser sniffing and includes the right js file. If you plan to migrate to GWT2.x, you

Re: GWT1.7 and IE8

2010-04-29 Thread BGL
thanks for the reply. ie8 is the only browser we support. if I remove the user.agent property from the module.gwt.xml and compile the application, it will get all the permutations defined in the UserAgent.gwt.xml. And I only want to deploy the application for ie8 only. there is no way I can know w

Re: GWT - Visualization of graph/tree containing nodes and edges, moving and adding nodes...

2010-04-29 Thread leyg
the raphaelgwt wrapper is perfect!!! but how can i configure it working (with ecplise or without eclipse) just with GWT... i have problems in how to add the library... the steps in the wiki of raphaelgwt does't help... did anybody configure it? On 19 Apr., 21:41, Peter Simun wrote: > and what ab

Redeploy GWT code on Tomcat without having to kill sessions

2010-04-29 Thread StudyBlue
How can we prevent current active sessions from seeing the "Please refresh your browser, your code is out of date" message, every time we redeploy a small minor fix? I just wanted to check and see if anyone has a good solution to the "missing code" problem that occurs when you redeploy GWT to you

Re: Gwt and setting properties dynamically.

2010-04-29 Thread Paul Stockley
You can't do it. The problem is that you cannot get hold of the obfuscated field names from GWT. The way people provide this kind of functionality is by building a generator that at compile time generates a class with a bunch of getters and setters. This is how the RPC serialization works and a bun

Re: exclude folder/files inside war directory

2010-04-29 Thread Tsukasa
could you post the error message ? On 29 Apr., 09:46, R Naveenshankar wrote: > I am also working on doing this with ant.. > though i am struck with some errors for now.. > errors related to class path issues.. > If you are successful in GWT compile pls let me know.. > > -- > You received this mes

Re: Maven, again

2010-04-29 Thread James Northrup
*i think* i do something mildly different than > > >org.codehaus.mojo >gwt-maven-plugin > >${project.build.directory}/$ > {project.build.finalName} > > here's my working production maven

Re: TabPanel broken in new Chrome version

2010-04-29 Thread Frank
I finally found the exact cause of the problem ! Ignore the 64bit story. It has to do with the adblock plugin. If you install this in Chrome some GWT stuff won't work anymore. I just disabled it and all is working now... I also noted more stuff than only the TabPanel was failing on other GWT websi

Re: error javax.mail

2010-04-29 Thread Jason Essington
You can't really use javax.mail on the client side, it isn't supported by the emulation library. you'd have to send your data to the server and use javamail from there. -jason On Apr 29, 2010, at 11:20 AM, Felipe Guarda wrote: > Yes, i`m using javax.mail in the clientside code. where is the co

Re: error javax.mail

2010-04-29 Thread Felipe Guarda
Yes, i`m using javax.mail in the clientside code. where is the correct place? Felipe On Apr 29, 1:34 pm, "dolcra...@gmail.com" wrote: > Are you using javax.mail in the clientside code? (If so, you can't do > this).  Otherwise you just need to add thecorrect classpath entriescorrect > classpath

Re: Drag and Drop feature in GWT

2010-04-29 Thread Paul Stockley
Not directly. The following project adds dnd support http://code.google.com/p/gwt-dnd/ On Apr 29, 12:39 am, Vikash wrote: > I wanted to know : > > 1. Does dnd feature is supported by GWT? > 2. Does google provide any dnd API for GWT? > > -- > You received this message because you are subscribed

How to add widget to UIbinder

2010-04-29 Thread masch
Helllo, I am using UIbinder thought an ui.xml and I need to add a dynamic control from the ViewClass, I mean I have some part of my ui.xml with an especial HTML id and I need find that HTML part from the view and add a control. How can do that? Thank you salu2... masch... -- You received this m

Re: generators in production/web mode not recognized

2010-04-29 Thread Sripathi Krishnan
Give GWT.create() a class (as you did in point 2 below). In your module.gwt.xml, replace the class *you passed to GWT.create()* with a sub-class that has overridden some methods. --Sri On 29 April 2010 18:53, Genesis Simpleman wrote: > Hi > I'm having a little problem with my generator. > I'v

Re: gwt facebook like xfbml

2010-04-29 Thread dolcra...@gmail.com
so, fb is using a preprocessor to replace their tags with their internal denotation of that widget. What you'd need to do is write some jsp (or jsf, or whatever) tags and would output a certain tag format (such as class is "xx" and it is a div with an text box with classes "xy" and "zz") and then

Re: ClientBundle and separating resources from code

2010-04-29 Thread Sripathi Krishnan
The trick is that GWT reads files from the classpath. Just add another "resources" directory parallel to src and add it to your classpath. As long as resources follow the same package structure as src, GWT will be able to find the files. --Sri On 29 April 2010 19:40, fharper wrote: > I'm usi

Re: error javax.mail

2010-04-29 Thread dolcra...@gmail.com
Are you using javax.mail in the clientside code? (If so, you can't do this). Otherwise you just need to add the correct classpath entries to the run configuration. On Apr 29, 10:26 am, Felipe Guarda wrote: > I think i may have a problem with which JRE the appengine hosted > browser is using to c

Re: Visibility on grandchildren of TabPanel is always true

2010-04-29 Thread Paul Stockley
isVisible only tells you if visibility was explicitly set on the widget. If the widget is invisible because it's parent is invisible then it will not tell you that. This is trait of the DOM in general. The only way to find out is to walk the DOM tree upwards checking to see if the computed style at

gwt facebook like xfbml

2010-04-29 Thread luissan...@stricker.pt
I want to develop an application that parse custom xml tags inside my webpage. Something like xfbml . example: http://connect.facebook.net/en_US/all.js";> FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true}); FB.Event.subscribe('auth.sessionChange', function(respo

Web Kit Licensing

2010-04-29 Thread Chris B
Hi Everyone We are in the process of redesigning our old internal system , we are looking at potential tools/ Libraries to aid in doing this which are the following , we are not looking to do any changes to the libraries , we will use them as they are, Some of the technologies we are using are JS

generators in production/web mode not recognized

2010-04-29 Thread Genesis Simpleman
Hi I'm having a little problem with my generator. I've built a small generator that generate a small class with one method from a given interface. This thing working quite good in dev mode but not working at all in web mode 1. when sending an interface to the create method i get "Rebind result 'co

error javax.mail

2010-04-29 Thread Felipe Guarda
I think i may have a problem with which JRE the appengine hosted browser is using to compile. In eclipse my code recognizes the various classes I'm importing for my JavaMail use (no precompile errors). However, when I Run As a web app, the GWT Hosted Mode console reports the following: [ERROR] L

ClientBundle and separating resources from code

2010-04-29 Thread fharper
I'm using ClientBundle, and it's great. But I want to keep resources ( .css, ui.xml, .png, etc.) in a separate directory from the source code. Currently I have all the files in the same directory/package (i.e. View.java, View.ui.xml, View.css, image.png,...). Separating code and resources would ma

Re: having trouble inserting into local gae datastore

2010-04-29 Thread Jean Hsu
You could check out AppWrench to look at the datastore directly. That way you would at least know it's not there for sure.I'm also working with GWT/GAE. What did you add with GWT? Jean On Wed, Apr 28, 2010 at 6:19 PM, zackmac wrote: > My issue kind of crosses GWT and GAE/J, but I'm thinki

Drag and Drop feature in GWT

2010-04-29 Thread Vikash
I wanted to know : 1. Does dnd feature is supported by GWT? 2. Does google provide any dnd API for GWT? -- 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 unsubscri

Unsafe Javascript running GWT tutorial on Chrome

2010-04-29 Thread slowpoison
I'm using Chrome 5.0.342.9 beta The same app works fine in Firefox. Here's the full error I see: Unsafe JavaScript attempt to initiate a navigation change for frame with URL about:blank from frame with URL file:///StockWatcher/war/StockWatcher.html. -- You received this message because you are

Visibility on grandchildren of TabPanel is always true

2010-04-29 Thread bryce l
I submitted this bug yesterday, however I should have posted it in groups first to determine if I was doing something wrong. I think this is a bug in GWT, but I'm not sure. There when I add a widget to a panel then add that panel to a TabPanel, calling isVisible() on the widget always returns tru

Re: GWT Module not loaded on app engine

2010-04-29 Thread Vik
Hie Please provide some update on this. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Apr 28, 2010 at 8:17 AM, Vik wrote: > Hie > > Thanks when u pointed i could see it in console... > > here is how my class looks like: > package vik.sakshum.sakshumweb.clien

Re: Gwt and setting properties dynamically.

2010-04-29 Thread Arinté
We have an XSD that has a numerous amount of properties that need to be set. We have placed all those properties on the browser, so when the user submits those values I want to plug those properties into the jaxb object. So instead of coding a bunch of setXXX, I wanted to do in such a way that if

Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module?

2010-04-29 Thread Sripathi Krishnan
Client Side. Objects shared between client and server stay on the client side. --Sri On 29 April 2010 16:31, fomba collins wrote: > Thanks. Please, where are Data Access Objects supposed to reside in the > gwt project? On the Client side or Server Side? > > > > > --- On *Thu, 4/29/10, Sripa

Synchronized RPC requests

2010-04-29 Thread mmoossen
Dear all! i just submitted a patch for sync-rpc: http://code.google.com/p/google-web-toolkit/issues/detail?id=4898 may be somebody can use it ;) HTH Michael -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send ema

Re: Transfer of appengine application data from dev mode to production server and vice-versa.

2010-04-29 Thread Sripathi Krishnan
You should send this question to google app engine user group - http://groups.google.com/group/google-appengine --Sri On 29 April 2010 18:24, apurva wrote: > Hi, > > I have just uploaded my java(GWT 2.0) application to google > production server. Now, I am looking for the solution to transfe

Re: Gwt and setting properties dynamically.

2010-04-29 Thread Sripathi Krishnan
GWT doesn't support reflection or dynamic method invocation for performance reasons. It has to know at compile time what method you want to invoke, so that it can eliminate methods that it knows aren't being called. If you describe your use-case, perhaps someone could help you with a workaround.

Gwt and setting properties dynamically.

2010-04-29 Thread Arinté
I want to be able to call a method on a object dynamically. As in: Method m = obj.getClass().getMethod(...); m.invoke(...); How would I do this on the client-side in GWT. I was trying to do this: reflectiveSet(trunk.getSettings().getCustName(), "value", "grumpy"); private native void refle

the requested resource () is not available

2010-04-29 Thread HDayi
hi people, i've searched about it and i couldn't find anything. When i call an RPC i get this message "the requested resource (/kaan/service) is not available". I am using tomcat5 on linux with virtual hosting. the tomcat directory for this host "/home/kaan/tomcat" . and i am not copying .war file.

Transfer of appengine application data from dev mode to production server and vice-versa.

2010-04-29 Thread apurva
Hi, I have just uploaded my java(GWT 2.0) application to google production server. Now, I am looking for the solution to transfer my data from dev mode to the production server at Google. I am using Eclipse for the development in Java. I have found some solution at "code.google.com" in python.

Re: cant open base64 encoded pdf files

2010-04-29 Thread TiMeZoNe
http://code.google.com/p/google-web-toolkit/issues/detail?id=4895 done :) On 29 Apr., 08:22, Viliam Durina wrote: > You should file this as a bug, eventually enhanced with ability to > disable inlining for the whole file, not for each individual item. > Viliam > > On 28. Apr, 20:36 h., TiMeZoNe

Re: Again: Flextable problems if used in own Composite-Class

2010-04-29 Thread Ian Bambury
table.getFlexCellFormatter().setColSpan(row,*colspan*, colspan); -- 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 goog

Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module?

2010-04-29 Thread fomba collins
Thanks. Please, where are Data Access Objects supposed to reside in the gwt project? On the Client side or Server Side?            --- On Thu, 4/29/10, Sripathi Krishnan wrote: From: Sripathi Krishnan Subject: Re: Error: No source code is available for type com.entiti

Again: Flextable problems if used in own Composite-Class

2010-04-29 Thread malibubu
Hi Everybody, I repeat my post from yesterday because my messages were confusing because I made some error in my postings - sorry :) Now the correct post - I'll delete the originating post: Hi all! I've the following problem with my own Composite-Class using a FlexTable as Widget: ---

Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module?

2010-04-29 Thread bünyamin albayrak
try to use your external jar files in server-side -- 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+u

Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module?

2010-04-29 Thread Sripathi Krishnan
You can't use hibernate or threadlocal variables on client side code. Think about it, you don't want your javascript code to connect to the database. The list of supported packages/classes can be found here - http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html --Sri On 29 April 2

Re: fileUpload and servlet : problem

2010-04-29 Thread Manuel Carrasco Moñino
You can not use DiskFileItemFactory in GAE. Gwtupload resolves it using a FileItemFactory which saves the stuff in memcache. Nevertheless GAE has a buch of constrains in uploading, disk write access, request time, request size, memcache object size, etc which you have to consider. -Manolo On Tu

Re: FileUpload help! NoClassDefFoundError org.apache.commons.fileupload.disk.DiskFileItem

2010-04-29 Thread Manuel Carrasco Moñino
The message is clear, you don't have commons-fileupload-1.2.jar in your classpath. -Manolo On Tue, Apr 27, 2010 at 5:58 PM, DeliveryNinja wrote: > I've recently been building some blogging software just to brush up on > my skills and I wanted to add file upload to new posts. > > I created a se

Re: with Eclipse

2010-04-29 Thread Thomas Broyer
On Apr 28, 11:50 pm, David Given wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 26/04/10 20:08, David Given wrote: > [...] > > > On 26/04/10 10:32, Thomas Broyer wrote: > > [...] > >> You can add the "emu" subfolder to the Build Path (so that package > >> declarations match fold

Re: Checking if the input is a digit with a KeyDownEvent

2010-04-29 Thread Thomas Broyer
On Apr 28, 8:29 pm, Graham J wrote: > I had some input checking going on with the old KeyListener interface > that would cancelKey() the event if the input was not a digit. > > I'm trying to convert that over to use a KeyDownHandler, but I can't > figure out how to check if they key is a digit.

Re: how to change method add(String) in MultiWordSuggestOracle to add(htmlString)

2010-04-29 Thread Altug Akay
Hello all, I am also trying to show the suggestions as a HTML(Simply as two line string). I tried this solution but it didn't work. Is there any other ways to do that? Thanks in advance, Altug On 27 Apr., 17:12, kozura wrote: > Seems you could just extend MultiWordSuggestOracle to override > is

Re: Cross-Site Scripting Using JSONP Tutorial Throws IE8 Exception

2010-04-29 Thread eggsy84
Hi there, If you are using GWT 2 you can now move to use the JsonpRequestBuilder. http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays-with-jsonprequestbuilder/ Eggsy On Apr 27, 10:02 pm, gkneller wrote: > Hi GWT Team; I implemented the following method described in this > tut

Re: Why no getCursorPos() in RichTextArea

2010-04-29 Thread Navigateur
My most urgent need right now is setCursorPos() On Apr 27, 4:37 pm, kozura wrote: > Step 1 is trying to get this included in GWT.  Numerous people have > agreed this should be a feature of GWT, so I'm seeing if I can get the > code accepted, as indicated in the post and issue links above.  So far

Re: exclude folder/files inside war directory

2010-04-29 Thread R Naveenshankar
I am also working on doing this with ant.. though i am struck with some errors for now.. errors related to class path issues.. If you are successful in GWT compile pls let me know.. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post t

Re: exclude folder/files inside war directory

2010-04-29 Thread R Naveenshankar
--Naveen -- 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. Fo

Re: GWT not using CssResources??

2010-04-29 Thread Ed
> wait a few days. I am about to publish a project which probably covers > your issue, Looking forward to it and hope it will give answers to the problems listed above. On Apr 29, 9:02 am, Stefan Bachert wrote: > Hi Ed, > > wait a few days. I am about to publish a project which probably covers >

Re: GWT not using CssResources??

2010-04-29 Thread Ed
> Have you guys seen > this:http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/... Yep, I have the GWT source in my Eclipse but neither could I find any answers their :( On Apr 29, 4:42 am, Mike wrote: > Have you guys seen > this:http://code.google.com/p/google-web-toolkit/so

Re: Error: No source code is available for type com.entities.EvlangDAO; did you forget to inherit a required module?

2010-04-29 Thread fomba collins
Thanks. The errors on the extra package sources have been rmoved. But given that inside these classes, I imported other classes from jar files that I added to the under libraries, new errors are generated on the classes of these libraries. Here are the errors:   [ERROR] Errors in 'file:/C:/Pro

Re: GWT not using CssResources??

2010-04-29 Thread Stefan Bachert
Hi Ed, wait a few days. I am about to publish a project which probably covers your issue, Stefan Bachert http://gwtworld.de On 27 Apr., 16:00, Ed wrote: > > Have you had a read > > through:http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.htm... > > Of course, every line >