Re: Is there a way to fire up a widget event programmatically?

2008-08-30 Thread elliot
i disagree: onChange is a user listener method, therefore it means on user change. programmatic alteration does not count. make a new listener and extend textbox to make it listenable. /** Calls onContentChange whenever the text changes */ public class ChangeTextBox extends TextBox { p

Re: Is there a way to fire up a widget event programmatically?

2008-08-30 Thread Marcelo Emanoel
I agree... a change is still a change doesn't matter from where it came :) The currently implementation uses the browser event to fire the change... but it can be easily done overriding the setText() method... but then I got a new problem... every time that a new component based on the original o

Re: Is there a way to write a generator to write the same code from the original class?

2008-08-30 Thread Marcelo Emanoel
That's the point :) I don't want to force the developer to modify his code... I'm doing something that should be "unnoticed" and do its job... kind of AOP... the user can continue to use the private fields... I kind of achieved this with a solution... adding a protected class as a new member on th

Re: How can I construct a document reader?

2008-08-30 Thread Ian Bambury
Hi Ned, I'd go about it like this: 1.a) Have your index page as the menu with simple anchors pointing to your docs. 1.b) Have the documents as plain html files which view OK without GWT (i.e. with css in there). This will give you your non-JS/Search engine setup. 3) Have your GWT ap

How can I construct a document reader?

2008-08-30 Thread Ned Nowotny
I have an application today that includes a basic help document reader within it: http://www.quantmethods.com/Demo/Help/ This is implemented entirely with static HTML and a "frameset" document. However, I want to get rid of the "frameset" partly to embrace the somewhat overstated need for g

Help with Portal Columns and Titles?

2008-08-30 Thread Afredericks
Hello all, I am fairly new to GWT. I have 4 Portal Columns, each with a set of 4 portlets. I want to add a title header and border to each of the 4 columns (and possibly a different BG color) How do I go about doing this? setTitle to a portalcolumn doesnt seem to do the trick. Thanks! -- An

Re: Integrating jQuery with GWT application

2008-08-30 Thread Piotr Findeisen
> I've tried to add proper

Re: Split Panels Inside A Closed Disclosure Panel Don't Work Properly

2008-08-30 Thread Ian Bambury
As well as doing this in DisclosurePanels, it also happens in StackPanels. For both: * If closed when created, the SplitPanel sets up with the head panel sized to 0,0 * If closed when attached it will do the same * If open when attached it will reset to 50% and scroll positions will be lost *

DisclosurePanels inside StackPanels blow up in IE

2008-08-30 Thread Ian Bambury
At least, mine do. Can someone confirm this is a real problem, please, and not just me, then I'll log it. The stackpanel is picking up the click on the disclosurepanel and screwing up IE6/7 StackPanel p = new StackPanel(); final DisclosurePanel d = new DisclosurePanel("Disclosure

right-click (ctrl left-click) terminates hosted mode browser

2008-08-30 Thread Chris Tomlinson
GWT-Designer 5.1.0.200808300232, GWT 1.5.2, Eclipse 3.4, Mac OS X 10.5.4 If I right-click (ctrl left-click) anywhere on the hosted mode browser the hosted mode is terminated with the following in the Eclipse console widow: > 2008-08-30 16:35:29.723 java[4131:80f] [Java CocoaComponent > comp

Re: Requestbuilder and Javascript. Bug ?

2008-08-30 Thread fero46
Does nobody know a solution ? On 29 Aug., 16:04, fero46 <[EMAIL PROTECTED]> wrote: > Hi > > I try to load a website content into a Popup. The Site contain a > Javascript code, to show dynamicly a scrollbar. This is the snippet > code from the Website : > > > window.addEvent('domready', function(

Re: Integrating jQuery with GWT application

2008-08-30 Thread Reinier Zwitserloot
Use $wnd.$ instead. On Aug 30, 6:03 pm, Piotr Findeisen <[EMAIL PROTECTED]> wrote: > I have the same problem: I want o embed jQuery library in my GWT- > created page. > I know about GQuery and I already use GWT 1.5, but I need pure > Javascript jQuery -- I want to make use of some library dependi

Re: Best practice: Larger application design

2008-08-30 Thread Ian Bambury
Page1 and Page2 would just be widgets in their own class, all in the same application. Unless the application is large (very large) then there's no need to split it up into individual modules. How ever you split it up, there would be one application produced by GWT to upload, and one class for ea

Re: Can't find entry Class

2008-08-30 Thread Ian Petersen
On Sat, Aug 30, 2008 at 8:42 AM, Nilshan <[EMAIL PROTECTED]> wrote: > While running GWT Application It gives me following error.. > > Can't find entry point class. Did you define an entry point in your module? Does that definition point to a class that implements EntryPoint? Ian --~--~

Google Maps + Google Web Toolkit

2008-08-30 Thread Agnes
I am using a for loop to load many different queries(street address) and obtain the information(distance between the queries) and store it in a 2d-array (matrix). Send me an email and I can give you the whole code. I don't have a link, trying to debug my code still. My code ran smoothly until the

Re: Tip for reducing the size of the compiled app

2008-08-30 Thread pohl
On Aug 29, 10:09 am, Alan Williamson <[EMAIL PROTECTED]> wrote: > I was just throwing the question out there to see if someone had any > experience to see if there was an API or library that would suddenly > balloon things out. What libraries are you using? An exhaustive list might generate s

Re: Google Maps API and 1.5RC1

2008-08-30 Thread Eric Ayers
The latest GWT 1.5 is out. Please download it, give it a try, and then erase your other pre-release versions of GWT so you won't get confused. The version that was released as 'final' has the version number 1.5.2 On Sat, Aug 30, 2008 at 3:40 AM, Agnes <[EMAIL PROTECTED]> wrote: > > I will be m

Proposal for a pattern aimed at decoupling GWT-based UIs from (asynch)-service providers

2008-08-30 Thread Francesco Russo
Dear community, my name is Francesco Russo and this is my very first post in this discussion group. Some months ago I started out a new web-based project and I decided to adopt GWT as my GUI framework, fascinated by its potential and capabilities. After a few weeks of practicing and tweaking aroun

Can't find entry Class

2008-08-30 Thread Nilshan
While running GWT Application It gives me following error.. Can't find entry point class. --~--~-~--~~~---~--~~ 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-T

Re: Best practice: Larger application design

2008-08-30 Thread jbdhl
> I'd split the page in two with a horizontal panel. I like that way of doing it. But how should I structure the code for the individual sub-pages? In separate modules? More specifically: How would you structure the 1) client side code and 2) sever side code to reflect that the application ha

Re: Integrating jQuery with GWT application

2008-08-30 Thread Piotr Findeisen
I have the same problem: I want o embed jQuery library in my GWT- created page. I know about GQuery and I already use GWT 1.5, but I need pure Javascript jQuery -- I want to make use of some library depending on it (jQuery modal, http://dev.iceburg.net/jquery/jqModal/). I've tried to add proper

Re: Problems migrating GWT 1.5 2030 to GWT 1.5 official release

2008-08-30 Thread adm.dfs
Hello Gabriel, Its because Yours RCP implementation is located in same package with RCP interfaces. GWT propose move implementation to another package (see http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideDirectoriesPackageConventions). --~--~

Re: Reading CSV files for rendering

2008-08-30 Thread Ian Petersen
On Sat, Aug 30, 2008 at 12:59 AM, Reinier Zwitserloot <[EMAIL PROTECTED]> wrote: > Reading CSV files is a matter of applying String.split("\\n") and > String.split(","). That's all you need to do parse it. Maybe I missed some sarcasm, but you need to be a little more careful than that. CSV files

Re: Anyone tried the new AJAX Property API ?

2008-08-30 Thread Mehdi Rabah
Thanks Eric. In the issue I linked, I also came out with similar code working. -- Mehdi On Sat, Aug 30, 2008 at 3:09 PM, Eric B <[EMAIL PROTECTED]> wrote: > > I've gotten it to work. Here's the Java class I've created to access > the fields from within Java (using GWT). Remember, you have to lo

Re: Is there a way to write a generator to write the same code from the original class?

2008-08-30 Thread Adam T
you would normally write the Generator such that it extends your original class, then, through the normal rules of inheritence, the generated class would have access to all the "input" classes methods (assuming they are public or protected). //Adam On 27 Aug, 04:56, Marcelo Emanoel <[EMAIL PROTE

Re: internationalization and skins

2008-08-30 Thread Adam T
Maybe I misunderstand you, but: internationalisation (i18n) : http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.Internationalization.html skins: surely this is implementable using Cascading Style Sheets //Adam On 29 Aug, 09:08, Indra <[EMAIL PROTECTED]> wrote: >

Re: Is there a way to fire up a widget event programmatically?

2008-08-30 Thread al0
It was made difficult of ... false purpose. Change is change - regardless of its origins. Otherwise you mix unrelated concepts-. On Aug 29, 3:44 pm, walden <[EMAIL PROTECTED]> wrote: > It's been made difficult...on purpose. Change events are user > gestures. If you want to notify listeners on y

Re: Anyone tried the new AJAX Property API ?

2008-08-30 Thread Eric B
I've gotten it to work. Here's the Java class I've created to access the fields from within Java (using GWT). Remember, you have to load the Maps API using the new Google AJAX API loader, http://code.google.com/apis/maps/documentation/#AJAX_Loader, to gain access to the ClientLocation object. /

Re: GWT 1.5 Now Available

2008-08-30 Thread Ed
Amazing... impressive that the final is already out shortly after RC1 and RC2... Also very currious to the roadmap of 1.6. and further... Thanx... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Exceptions in GWT

2008-08-30 Thread ping2ravi
Hi All, I am having a problem in getting exception messages from exception in onFailure method. My services are like //Client Side public String getName(int id) throws ClientException; public String getName(int id,AyncCallback) throws ClientException; //Server Side public String getName(int id

Re: Google Maps API and 1.5RC1

2008-08-30 Thread Agnes
I will be more specific, I am trying to do it for all the files, but I am more interested in gwt-maps.jar. The error I get is : Compiling 212 source files to dir. ~Polygon.java: 20 cannot find symbol symbol: Class JsArray location: package com.google.gwt.core.client import com.google.gwt.core.clie

Re: Google Maps API and 1.5RC1

2008-08-30 Thread Agnes
I have the same conflicts as EVAN: I follow the steps above exactly: I've got GWT_HOME pointing to gwt-windows-1.5.0 installation directory, which is what I use in my project. I've got GWT_TOOLS pointing to the gwt tools SVN repository srcs that you pointed me to above. I go the same problems, I