Re: Code marked as error in Eclipse

2009-11-30 Thread Jeff Chimene
Perhaps the Java Build Path is not correct. You can use the Google Eclipse Plugin (GEP) to configure the build path. You don't mention which version of GWT you're using. Right-click on the project name, select Build Path, select Configure Build Path, select the Libraries tab. You should see the

CSSResource w/ setStylePrimaryName

2009-11-30 Thread Jeff Chimene
Hi: Is it the case that I must use plaintext (non-obfuscated) CSS selectors w/ setStylePrimaryName? For example, the following call setStylePrimaryName(INSTANCE.style().menuButton()); works, but the secondary style references the obfuscated primary style name. So selectors like -hovering and

Re: How to use Add to client bundle w/ GPE RC1 RC2

2009-11-30 Thread Jeff Chimene
the ClientBundle Interface to its own file. Originally, I had the ClientBundle Interface in the referencing class. Even after changing the Interface scope to public, the ClientBundle type wasn't seen. Joy, jec Rajeev On Wed, Nov 25, 2009 at 6:19 PM, Jeff Chimene j

Re: GPE debug error: ContentViewer must have a content provider when input is set

2009-11-30 Thread Jeff Chimene
varies between Windows 2K, and Debian Linux Testing/Unstable. However, I don't track the Debian Eclipse package. I custom install Eclipse; which is version 3.5 On Thu, Nov 26, 2009 at 10:33 PM, Jeff Chimene jchim...@gmail.com wrote: On Thu, Nov 26, 2009 at 8:29 PM, Jeff Chimene jchim...@gmail.com

Re: CSSResource w/ setStylePrimaryName

2009-11-30 Thread Jeff Chimene
On Mon, Nov 30, 2009 at 4:05 PM, Thomas Broyer t.bro...@gmail.com wrote: On 30 nov, 18:17, Jeff Chimene jchim...@gmail.com wrote: Hi: Is it the case that I must use plaintext (non-obfuscated) CSS selectors w/ setStylePrimaryName? For example, the following call

Template field and owner field types don't match

2009-11-29 Thread Jeff Chimene
Hi: I'm trying to figure out how to create a custom widget in RC2, based on ClickyLink. The error I get is Template field and owner field types don't match: com.google.gwt.dom.client.Element != com.my.office.client.view.CloseButton I'm sure message this means something to someone. the ui.xml

Re: Template field and owner field types don't match

2009-11-29 Thread Jeff Chimene
On Sun, Nov 29, 2009 at 12:57 PM, Jeff Chimene jchim...@gmail.com wrote: Hi: I'm trying to figure out how to create a custom widget in RC2, based on ClickyLink. The error I get is Template field and owner field types don't match: com.google.gwt.dom.client.Element

Re: JSON - When to use JSONParser and when JavaScript object

2009-11-28 Thread Jeff Chimene
Thanks, very nice. I'll give it a try. On Fri, Nov 27, 2009 at 2:30 PM, Thomas Broyer t.bro...@gmail.com wrote: On 27 nov, 16:56, Jeff Chimene jchim...@gmail.com wrote: On 11/12/2009 12:45 PM, Thomas Broyer wrote: And actually, now that I've switched to GWT 2.0, I use interfaces

Re: JSON - When to use JSONParser and when JavaScript object

2009-11-27 Thread Jeff Chimene
On 11/12/2009 12:45 PM, Thomas Broyer wrote: On 12 nov, 17:48, Razielraziel...@gmail.com wrote: I know this depends on the details of what you're trying to achieve and the JSON object to be parsed (for example if it's dynamic orstatic, etc). I'm just wondering what are the principles that

Re: GPE debug error: ContentViewer must have a content provider when input is set

2009-11-26 Thread Jeff Chimene
On 11/25/2009 08:36 AM, Rajeev Dayal wrote: Hey Jeff, Sorry it took me a while to get back to you. On Wed, Nov 18, 2009 at 5:43 PM, Jeff Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On Wed, Nov 18, 2009 at 3:12 PM, Rajeev Dayal rda...@google.com mailto:rda

Re: GPE debug error: ContentViewer must have a content provider when input is set

2009-11-26 Thread Jeff Chimene
Hi Rajeev Here's a log from an Eclipse crash this evening. This occurs during startup. It's usually cured by closing and reopening the project. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle

Re: GPE debug error: ContentViewer must have a content provider when input is set

2009-11-26 Thread Jeff Chimene
On Thu, Nov 26, 2009 at 8:29 PM, Jeff Chimene jchim...@gmail.com wrote: Hi Rajeev Here's a log from an Eclipse crash this evening. This occurs during startup. It's usually cured by closing and reopening the project. Nope. I had to exit Eclipse to fix this error. The Project Explorer view

How to use Add to client bundle w/ GPE RC1 RC2

2009-11-25 Thread Jeff Chimene
Hi, How does this feature work? The child browse dialog is empty. I've tried pasting the qualified name of a ClientBundle into the main dialog box. This yields the error Missing client bundle type com.example.MainView$Resources FWIW, I've been using the ClientResource CSSResource since the RC1

Re: [gwt-contrib] Google Web Toolkit 2.0 RC2 Now Available

2009-11-25 Thread Jeff Chimene
Hi, This is a sanity check: do not remove GPE rc1? It looks like there is behavior in GPE rc2 that depends on RC1? I deleted GPE rc1 from the dropins directory, unzipped rc2: no joy. After reinstalling GPE rc1: joy. Perhaps there's another dependency that I don't understand. Anyway, back to

Re: [gwt-contrib] Google Web Toolkit 2.0 RC2 Now Available

2009-11-25 Thread Jeff Chimene
the Group items by category if checked. This should reveal the GPE item 7. check the GPE item and follow the Wizard to complete the installation. Onward thru the fog, jec On Wed, Nov 25, 2009 at 3:56 PM, Jeff Chimene jchim...@gmail.com wrote: Hi, This is a sanity check: do not remove GPE

UiBinder and no appropriate method error

2009-11-19 Thread Jeff Chimene
Hi, I'm trying to decode the following error using 2.0-rc1: 10:21:33.040 [ERROR] In g:TextBox MaxLength='50' ui:field='username', class TextBox has no appropriate setMaxLength() method Am I doing this right? Do I have to set such attributes in the class? I found an earlier post from TBroyer

Re: UiBinder and no appropriate method error

2009-11-19 Thread Jeff Chimene
On Thu, Nov 19, 2009 at 10:55 AM, Thomas Matthijs thomas.matth...@gmail.com wrote: On Thu, Nov 19, 2009 at 18:35, Jeff Chimene j...@grandadventuresranch.com wrote: Hi, I'm trying to decode the following error using 2.0-rc1: 10:21:33.040 [ERROR] In g:TextBox MaxLength='50' ui:field

GPE debug error: ContentViewer must have a content provider when input is set

2009-11-18 Thread Jeff Chimene
I received this error today after starting a debug session: ContentViewer must have a content provider when input is set I resisted writing this email, so did not copy more details. Restarting Eclipse did not resolve this error. I resolved this problem by closing/opening the project. I really

Re: GPE debug error: ContentViewer must have a content provider when input is set

2009-11-18 Thread Jeff Chimene
, Jeff Chimene jchim...@gmail.com wrote: I received this error today after starting a debug session: ContentViewer must have a content provider when input is set I resisted writing this email, so did not copy more details. Restarting Eclipse did not resolve this error. I resolved this problem

Success with an interesting configuration

2009-11-18 Thread Jeff Chimene
Hi, Here's a success report for latest GPE RC2 in what may be an uncommon configuration: 1. SSH to an X Window client using the Cygwin X Window server; 2. Start Eclipse, which connects to the Windows X server; 3. Start GWT debug session; 4. Start Firefox 3.5.5 for Windows; 5.

Re: GWT: JUnit Google App Engine Tutorial assumes intelligence

2009-11-17 Thread Jeff Chimene
On Mon, Nov 16, 2009 at 10:31 AM, Angel Marquez angel.marq...@gmail.comwrote: Fantastic. In the meantime I'm going through the GWT AE developer guides in tandem with the fielding dissertation and a java pub on their REST api, very interesting. It would be nice to have the completed tutorial

Re: Trouble installing Google Eclipse Plugin 1.2 RC1

2009-11-17 Thread Jeff Chimene
On Tue, Nov 17, 2009 at 2:32 PM, Dalla dalla_man...@hotmail.com wrote: I´m having issues getting the Plugin version 1.2 RC1 to work correctly in Eclipse. However only selecting New from the file menu there´s a Google Web Toolkit directory containing options to create ClientBundle and

Re: Trouble installing Google Eclipse Plugin 1.2 RC1

2009-11-17 Thread Jeff Chimene
On Tue, Nov 17, 2009 at 4:02 PM, Chris Ramsdale cramsd...@google.comwrote: On Tue, Nov 17, 2009 at 5:25 PM, Jeff Chimene jchim...@gmail.com wrote: On Tue, Nov 17, 2009 at 2:32 PM, Dalla dalla_man...@hotmail.com wrote: I´m having issues getting the Plugin version 1.2 RC1 to work correctly

Re: Problems with 1.7.1 -noserver hosted mode on Linux

2009-11-16 Thread Jeff Chimene
. On Oct 28, 2:36 pm, Jeff Chimene jchim...@gmail.com wrote: The problem may be that .16 point release doesn't play well w/ GWT. The symptoms are usually that the debugger doesn't stop at a breakpoint, not that the entry point is never called. I think you have to downgrade

Re: Problem with Eclipse and GWT

2009-11-12 Thread Jeff Chimene
On Wed, Nov 11, 2009 at 8:11 PM, Marco Massenzio m.massen...@googlemail.com wrote: actually the error tells all you need to know :) undefined symbol: PR_GetPhysicalMemorySize clearly the upgrade to 9.10 has replaced the /usr/lib/ xulrunner-1.9.1.4/libxul.so library, and the new one does

Re: OOPHM plugin for firefox problem.

2009-11-12 Thread Jeff Chimene
On Thu, Nov 12, 2009 at 9:06 AM, Rajeev Dayal rda...@google.com wrote: Hm, it does seem that the plugin is throwing an exception here: FWIW, I have seen FF 3.5 crash after some time. I don't know how to reproduce the problem. The crash reporter is enabled. If there's some info I can glean from

Re: Dealing with Pop-Up Blocker and Browser Refresh

2009-11-11 Thread Jeff Chimene
On Wed, Nov 11, 2009 at 11:33 AM, davis davisf...@zenoconsulting.bizwrote: Hi, part of the app I built with GWT has links to download PDF from the server. I basically just pull the pdf content from the server and do Window.open( .. ). The first time you do this, the pop-up blocker takes

Re: GWT Native Code Deployment

2009-11-04 Thread Jeff Chimene
in a browser, but you can run it from java on the server side. A possibly solution could be to use GWT's Remote Procedure Calls to run the native code on the server, then get the results sent to back to the client. Hope that helps, Adrian On Nov 4, 1:25 pm, Jeff Chimene jchim

Re: GWT Native Code Deployment

2009-11-04 Thread Jeff Chimene
jhulford correctly, it is possible to determine what the java.library.path is and place the C/C++ dll there. I will research this and get back to everyone with the results. Best, Darin On Nov 4, 6:39 am, Jeff Chimene jchim...@gmail.com wrote: On Wed, Nov 4, 2009 at 7:03 AM, Darin

Re: GWT Native Code Deployment

2009-11-03 Thread Jeff Chimene
Darin: You can't call client-side Java from the compiled code. If you were to provide a Java server, you could call your solver library via RPC, then display the results on the client. The client-side code at run-time is Javascript. You use GWT to write, compile, test in Java. The run-time is

Re: GWT Native Code Deployment

2009-11-03 Thread Jeff Chimene
Darin: There is one other possibility. You mention that you ... tested the compiled code (including the native code) inside the Mozilla browser and it also runs as it should. What's happening is that the Java run-time is able to load and run your library in hosted mode. But, that doesn't mean

Re: GWT Native Code Deployment

2009-11-03 Thread Jeff Chimene
you run the code using an Apache server instance? Best, Darin On Nov 3, 2:14 pm, Jeff Chimene jchim...@gmail.com wrote: Hi Darin: After re-reading your first post, I think you're already in a client-server environment. I am confused by the following: I am running Windows XP and using

Re: GWT Native Code Deployment

2009-11-03 Thread Jeff Chimene
SolverLibrary exists as Javascript; which condition is not true. The above code will run (as Java) on the client in Hosted mode (because SolverLibrary will be loaded by the Java run-time in Hosted mode); which is no good for what you want in the Long Run. On Nov 3, 7:27 am, Jeff Chimene jchim

Re: GWT Native Code Deployment

2009-11-03 Thread Jeff Chimene
installation probably doesn't run Java I think the reason it works in hosted mode is that your hosted mode server is a Java server: Tomcat. On Tue, Nov 3, 2009 at 2:59 PM, Jeff Chimene jchim...@gmail.com wrote: On Tue, Nov 3, 2009 at 2:36 PM, Darin daring90...@gmail.com wrote: Hi, Jeff. Thank

Re: XMLParser can't read external DTD?

2009-11-01 Thread Jeff Chimene
On Sun, Nov 1, 2009 at 3:34 AM, Coolcat s...@martin-weusten.de wrote: Hi, I'm trying to parse an XML document using the XMLParser [1]. I need the method getElementById(String), which requires to define the ID attribute in an DTD. When using an internal DTD, everything works fine. However,

Re: XMLParser can't read external DTD?

2009-11-01 Thread Jeff Chimene
Maybe serve your document as XHTML? There might be some issues with the code generated by GWT when using application/xhtml On Sun, Nov 1, 2009 at 10:13 AM, Coolcat s...@martin-weusten.de wrote: On 1 Nov., 17:23, Jeff Chimene jchim...@gmail.com wrote: GWT relies on the browser to parse

Re: XMLParser can't read external DTD?

2009-11-01 Thread Jeff Chimene
On Sun, Nov 1, 2009 at 4:14 PM, Coolcat s...@martin-weusten.de wrote: XHTML is not a good idea since I need custom tags. Use a custom namespace. See for example http://richui.blogspot.com/2005/02/custom-tags-namespaces-and-dtds.html A search will turn up more examples. Please ignore my

Re: Problems with 1.7.1 -noserver hosted mode on Linux

2009-10-28 Thread Jeff Chimene
The problem may be that .16 point release doesn't play well w/ GWT. The symptoms are usually that the debugger doesn't stop at a breakpoint, not that the entry point is never called. I think you have to downgrade to at least .14 Search this list for the JDK version. It's been discussed several

Re: Problem in Debian Squeeze

2009-10-27 Thread Jeff Chimene
Hi: libstdc++5 is only in Debian stable. You'll want to amend your sources.list, update, and install libstdc++5. I would highly recommend a backup before doing this. You'll probably want to use apt-get rather than a high level package manager like aptitude. You might also try going to GWT 2 to

Re: HorizontalPanel Cell Alignments

2009-10-16 Thread Jeff Chimene
Have you tried DockPanel? East | Center | West Either the East or West widget will have to absorb the slack. Try adding the widgets in this order: Center, East, West. Stop worrying about ... GWTs confusing mix of tables and divs in the HTML output. You're trying too hard if you're at that

Re: Jason Essington

2009-10-16 Thread Jeff Chimene
Yes, I saw this as well. On Fri, Oct 16, 2009 at 9:24 AM, Jason Essington jason.essing...@gmail.com wrote: I'm trying to chase this down, but at this point I believe that my account is intact as there is no recent activity that would correspond to those messages. Also, the ONLY place that

Re: Download file

2009-10-15 Thread Jeff Chimene
On Wed, Oct 14, 2009 at 4:04 PM, mikea_59 mikea...@yahoo.com wrote: I haven't tried the servlet route yet. I've been doing something like this:      Window.open(GWT.getHostPageBaseURL() + reports/ + (String) csvFile, _blank, ); where      GWT.getHostPageBaseURL() + reports/ + (String)

Re: Download file

2009-10-15 Thread Jeff Chimene
On 10/15/2009 08:20 AM, mikea_59 wrote: I'm not doing aything with MIME, I have a simple .csv on the server and I reference the full URL in the window.open() call. Where would I set the MIME type? That would be in some server-dependent configuration. However, after re-reading your posts,

Spam from JChimene

2009-09-25 Thread Jeff Chimene
Hi Folks, Sumit just alerted me to a possible compromise of my GMail account. I have it set to always login via https so it may be another issue. Anyway, I'm changing the password after this email. My apologies for the spam. I'd seen the messages, but didn't check the sender, as they went

Re: GWT + Eclipse + Subversion?

2009-09-13 Thread Jeff Chimene
oauth working in my GWT app last night! woohoo!!!) By way of thanks, would you please post some code? -pj On Sat, Sep 12, 2009 at 3:33 PM, Jeff Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 09/12/2009 10:41 AM, PJ Gray wrote: So maybe I am not fully

Re: Installed GWT Plugin into Eclipse 3.5 Galileo and cannot find wizard

2009-09-13 Thread Jeff Chimene
On 09/13/2009 08:26 AM, Paul Grenyer wrote: Hi Decided I wanted to see how the new plugin worked so I installed it into Galileo, followed all the install instructions, restarted everything, but I cannot find the wizard or the icon Any suggestions? I've been having a similar problem I

Re: Trouble with vectors

2009-09-12 Thread Jeff Chimene
The problem is that you're expecting all the work of getClasses() to complete before control returns to onModuleLoad(). GWT is an AJAX toolkit. The A is what's causing the e.a is null exception. You're referencing the vector while it's still null. The window.alert() call in onModuleLoad() is

Re: Trouble with vectors

2009-09-12 Thread Jeff Chimene
GWT is an AJAX toolkit. The FIRST A is what's causing the e.a is null --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: GWT + Eclipse + Subversion?

2009-09-12 Thread Jeff Chimene
On 09/12/2009 10:41 AM, PJ Gray wrote: So maybe I am not fully understanding the versioning situation. I did some research last night, and attempted to get my project under source control, without any luck. It appears to me that I am required to use Subclipse as my subversion client

Re: GWT + Eclipse + Subversion?

2009-09-11 Thread Jeff Chimene
On Thu, Sep 10, 2009 at 6:32 PM, PJ Gray pj4...@gmail.com wrote: I am new to GWT and I have been using the plugin in Eclipse.  I have written my first project, and feel confident in using the toolkit now.   And I feel fairly comfortable using subversion (I use the awesome 'Versions' client).

Re: Why not use Java HashMap for JSON

2009-09-06 Thread Jeff Chimene
On 09/06/2009 10:51 AM, Marcelo Sena wrote: Really why not? It was my first thought. You guys(developers at GWT) have probably created some sort of HashMap to handle JSON objects received from RPC calls handling its values and strings. Anyway, I find the standard way of handling JSON

Re: Why not use Java HashMap for JSON

2009-09-06 Thread Jeff Chimene
6, 6:31 pm, Jeff Chimene jchim...@gmail.com wrote: On 09/06/2009 10:51 AM, Marcelo Sena wrote: Really why not? It was my first thought. You guys(developers at GWT) have probably created some sort of HashMap to handle JSON objects received from RPC calls handling its values and strings

Re: IE table performance or TableBulkRenderer usage in incubator

2009-09-05 Thread Jeff Chimene
On Fri, Sep 4, 2009 at 12:21 PM, Davis Forddavisf...@zenoconsulting.biz wrote: As another solution to this issue, I'm looking at using FlexTableBulkRenderer from incubator. http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=BulkTableRenderers

Re: hosted mode trouble

2009-09-03 Thread Jeff Chimene
On Wed, Sep 2, 2009 at 6:49 PM, sidkdbl07sidkwak...@gmail.com wrote: My php file is on a web server configured with PHP5. The address of the weather.php5 file is http://www.myserver.com/weather.php5. I'm debugging my GWT files in Eclipse. The GWT class (see above) makes a call to the

Re: Your GWT based open source project(s)

2009-09-03 Thread Jeff Chimene
On 09/03/2009 04:40 PM, Fred Sauer wrote: From time to time I hear from people who have created GWT related open source projects. If that includes you, here's my 1 question, 10 second survey: * Q. Were you encouraged to open source your project because of the benefits* *

Re: gin + Javascript Overlay types

2009-09-02 Thread Jeff Chimene
On 09/02/2009 10:37 AM, Sumit Chandel wrote: Hi Jeff, I haven't used the GIN library extensively enough to know how it would handle binding JSO types offhand, but you might have better luck getting a useful reply on the google-gin discussion group if you haven't posted there already.

Re: hosted mode trouble

2009-09-02 Thread Jeff Chimene
On 09/02/2009 02:44 PM, sidkdbl07 wrote: I want to call a php file on my server to provide a weather service. When I'm running in hosted mode, response.getStatusCode() gives 0 (zero). Is there a way to make this work in hosted mode? Are you using hosted mode -noserver? The embedded Jetty

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Jeff Chimene
On 09/02/2009 11:22 AM, Ian Bambury wrote: Hi all, I have a question for the GWT-MVP experts out there. If there is a more suitable forum, please let me know. I have a menu panel which contains a flowpanel for menu items, and another flowpanel where the required page will display itself

Re: hosted mode trouble

2009-09-02 Thread Jeff Chimene
On 09/02/2009 03:42 PM, sidkdbl07 wrote: The output of my php is a JSON object (see below). Shouldn't I be able to just call the php file? Are you using the builtin Jetty server? It doesn't have a php engine. --~--~-~--~~~---~--~~ You received this message

Re: linux servers

2009-09-01 Thread Jeff Chimene
On 08/31/2009 11:36 PM, bcw wrote: Hello, I'm designing an app that will use a browser (FireFox or Chrome when it's available) to provide the UI, and GWT for the development, but it won't be connecting to a remote server - it will serve personal data off the user's own system. Well,

Re: linux servers

2009-09-01 Thread Jeff Chimene
On 09/01/2009 03:37 PM, bcw wrote: On Sep 2, 4:08 am, Jeff Chimene jchim...@gmail.com wrote: On 08/31/2009 11:36 PM, bcw wrote: I'm designing an app that will use a browser (FireFox or Chrome when it's available) to provide the UI, and GWT for the development, but it won't

Re: User Interface Standards?

2009-08-31 Thread Jeff Chimene
On 08/28/2009 05:30 AM, Nathan Wells wrote: I'm not entirely sure I understand what you're asking for. Is it possible your higher ups don't know what they want? On Aug 27, 9:26 am, David C. Hicks dhi...@i-hicks.org wrote: I'm looking for documentation about what UI standards GWT may

Re: Problem deploying with Firefox/Chrome

2009-08-31 Thread Jeff Chimene
it into a separate HTML file and load it via the load file. See if all three browsers correctly load the file. On Aug 28, 3:53 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/28/2009 07:03 AM, Rahul wrote: Hi This is a sample code how i am using to create my UI from parsing XML files

Re: Howto implement a RequestBuilder using gin

2009-08-30 Thread Jeff Chimene
purpose. I can do the same thing to give the server some informations by adding content to the request, read it on server side and doing the action as said in my $_GET action string. Regards Christian On Sat, Aug 29, 2009 at 11:17 AM, Jeff Chimene jchim...@gmail.com mailto:jchim

Re: Howto implement a RequestBuilder using gin

2009-08-29 Thread Jeff Chimene
: On 08/28/2009 05:53 PM, Jeff Chimene wrote: Hi, I'm not enough of a Java pundit to understand how to implement a RequestBuilder using Gin. The issue is that one cannot instantiate a RequestBuilder class w/o a HTTP method and a URL. How does one pass these parameters in such a situation? I

Re: Howto implement a RequestBuilder using gin

2009-08-29 Thread Jeff Chimene
class, with a diffrent object, to build the object. Hope you'll find that interresting Christian On Sat, Aug 29, 2009 at 4:36 AM, Jeff Chimene jchim...@gmail.com wrote: It looks like that's the only way. One wrinkle that was not mentioned in the original post is that the URL argument

Re: Howto implement a RequestBuilder using gin

2009-08-29 Thread Jeff Chimene
On 08/29/2009 06:02 AM, Christian Goudreau wrote: Huh, I have done this with a command pattern style... bind(ServiceCached. *class*).in(Singleton.*class*); As simple as that ! I use XML between client and server. Action class know what is the url to use and when a response is received, I

Re: Howto implement a RequestBuilder using gin

2009-08-29 Thread Jeff Chimene
On 08/29/2009 11:32 AM, Christian Goudreau wrote: First thing first, my implementation is for a server that don't have Servlet ! So gwt-dispatch wasn't the thing for me. I use it in another project, but for this one, I had to build a dispatch api from scratch. Si I decided to use XML for

gin + Javascript Overlay types

2009-08-29 Thread Jeff Chimene
Hi, Is it expected that the following binding to a JSO type would fail? bind(Jsot.class).in(Singleton.class) The issue is: Deferred binding failed for 'com.google.gwt.core.client.JavaScriptObject The get() method in the JSO type is public final native Jsot get() /*-{

Re: Problem deploying with Firefox/Chrome

2009-08-28 Thread Jeff Chimene
On 08/28/2009 07:03 AM, Rahul wrote: Hi This is a sample code how i am using to create my UI from parsing XML files protected void fucn(final VerticalPanel verticalPanel, String substring,final PickupDragController drag) { // TODO Auto-generated method stub

Re: What's up with Native libs needed?

2009-08-28 Thread Jeff Chimene
On 08/28/2009 01:11 PM, hanas...@gmail.com wrote: 1. What is the background on needing native C libs on the OS? See the below... 2. how can the below be resolved? 3. Am I reading the error right? GWT requires eclipse libs too? 1) testSomething...java.lang.UnsatisfiedLinkError:

Howto implement a RequestBuilder using gin

2009-08-28 Thread Jeff Chimene
Hi, I'm not enough of a Java pundit to understand how to implement a RequestBuilder using Gin. The issue is that one cannot instantiate a RequestBuilder class w/o a HTTP method and a URL. How does one pass these parameters in such a situation?

Re: Howto implement a RequestBuilder using gin

2009-08-28 Thread Jeff Chimene
On 08/28/2009 05:53 PM, Jeff Chimene wrote: Hi, I'm not enough of a Java pundit to understand how to implement a RequestBuilder using Gin. The issue is that one cannot instantiate a RequestBuilder class w/o a HTTP method and a URL. How does one pass these parameters

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Jeff Chimene
On 08/26/2009 11:04 AM, David C. Hicks wrote: I was under the impression that GWT would not work with Java6, anyway. Did I misinterpret something? We actually backed ourselves to Java5 for compliance. Java6 other than the .0_13 point release is fine. Remember that GWT only emulates a

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Jeff Chimene
On 08/26/2009 12:09 PM, Jeff Chimene wrote: On 08/26/2009 11:04 AM, David C. Hicks wrote: I was under the impression that GWT would not work with Java6, anyway. Did I misinterpret something? We actually backed ourselves to Java5 for compliance. Java6 other than the .0_13 point release

Re: Gin + JSNI

2009-08-23 Thread Jeff Chimene
On Wed, Aug 19, 2009 at 1:52 PM, Thomas Broyert.bro...@gmail.com wrote: On 19 août, 16:13, Jeff Chimene jchim...@gmail.com wrote: On Wed, Aug 19, 2009 at 1:30 AM, Thomas Broyert.bro...@gmail.com wrote: Why not use a provider method? (I supposed you had reusable classes, that's why I

Re: Gin + JSNI

2009-08-23 Thread Jeff Chimene
On Sun, Aug 23, 2009 at 4:32 PM, Thomas Broyert.bro...@gmail.com wrote: On 24 août, 00:53, Jeff Chimene jchim...@gmail.com wrote: On Wed, Aug 19, 2009 at 1:52 PM, Thomas Broyert.bro...@gmail.com wrote: On 19 août, 16:13, Jeff Chimene jchim...@gmail.com wrote: On Wed, Aug 19, 2009 at 1

Re: FlowPanel displays in column not in row

2009-08-21 Thread Jeff Chimene
On 08/21/2009 07:31 AM, Richard wrote: Hi all, I'm new to GWT and I've tryed to display some labels in a flow panel. Unfortunately they are displayed as in a VerticalPanel. Where am I wrong ? (gwt 1.7, eclipse 3.3, App engine 1.2.2) I think the issue is that the FlowPanel widget uses

Re: Gin + JSNI

2009-08-19 Thread Jeff Chimene
On Wed, Aug 19, 2009 at 1:30 AM, Thomas Broyert.bro...@gmail.com wrote: On 19 août, 02:37, Jeff Chimene jchim...@gmail.com wrote: I think I have a solution. As I understand it, when testing, one modifies the Gin Appmodule as required? I'd rather use a test-specific module that extends

Re: Error parsing JSON

2009-08-19 Thread Jeff Chimene
On 08/19/2009 12:56 AM, Thomas Broyer wrote: On 19 août, 01:12, Jeff Chimene jchim...@gmail.com wrote: On 08/18/2009 04:01 PM, Thomas Broyer wrote: Well, JSONParser actually calls eval() *with* the wrapping parentheses. Are they added in the parent? Checking the trunk source, I

Re: Error parsing JSON

2009-08-19 Thread Jeff Chimene
On 08/19/2009 09:00 AM, Jeff Chimene wrote: On 08/19/2009 12:56 AM, Thomas Broyer wrote: On 19 août, 01:12, Jeff Chimene jchim...@gmail.com wrote: On 08/18/2009 04:01 PM, Thomas Broyer wrote: Well, JSONParser actually calls eval() *with* the wrapping parentheses. Are they added

Re: Gin + JSNI

2009-08-19 Thread Jeff Chimene
On 08/19/2009 07:13 AM, Jeff Chimene wrote: On Wed, Aug 19, 2009 at 1:30 AM, Thomas Broyert.bro...@gmail.com wrote: On 19 août, 02:37, Jeff Chimene jchim...@gmail.com wrote: I think I have a solution. As I understand it, when testing, one modifies the Gin Appmodule as required? I'd

Re: Error parsing JSON

2009-08-18 Thread Jeff Chimene
On 08/17/2009 10:03 PM, Luke wrote: Below is json object that I am having trouble with. When I try to use this object with JSONParser.parse(), I get JSONException. I have verified that the JSON object is of valid form but cannot figure out why I am getting the exception. I have

Gin + JSNI

2009-08-18 Thread Jeff Chimene
Hi, I'm trying to implement a JSON provider via gin JSNI. I'm not sure I understand the specifics of this technique. Just to give one example, it doesn't seem possible to create the following class: class Flavor extends JavaScriptObject implements ProviderFlavor {} Are there any examples

Re: Gin + JSNI

2009-08-18 Thread Jeff Chimene
On 08/18/2009 03:57 PM, Thomas Broyer wrote: On 18 août, 21:54, Jeff Chimene jchim...@gmail.com wrote: Hi, I'm trying to implement a JSON provider via gin JSNI. I'm not sure I understand the specifics of this technique. Just to give one example, it doesn't seem possible to create

Re: Error parsing JSON

2009-08-18 Thread Jeff Chimene
On 08/18/2009 04:01 PM, Thomas Broyer wrote: On 18 août, 19:43, Jeff Chimene jchim...@gmail.com wrote: On 08/17/2009 10:03 PM, Luke wrote: Below is json object that I am having trouble with. When I try to use this object with JSONParser.parse(), I get JSONException. I have

Re: Gin + JSNI

2009-08-18 Thread Jeff Chimene
On 08/18/2009 03:57 PM, Thomas Broyer wrote: On 18 août, 21:54, Jeff Chimene jchim...@gmail.com wrote: Hi, I'm trying to implement a JSON provider via gin JSNI. I'm not sure I understand the specifics of this technique. Just to give one example, it doesn't seem possible to create

Re: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread Jeff Chimene
Is Opera supported? I know it's WebKit, but even so... On Sun, Aug 16, 2009 at 5:33 AM, darkflamedarkfl...@gmail.com wrote: The follow basic, projected created in eclipse by the plugin; /**  * Entry point classes define codeonModuleLoad()/code.  */ public class RateoholicTests implements

Re: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread Jeff Chimene
On 08/16/2009 08:32 AM, twdarkflame wrote: It is supported, and this is the first/only major opera-specific problem Ive had. You're right. I don't remember seeing Opera in the list of supported browsers the last time I checked. --~--~-~--~~~---~--~~ You

Re: Issue With Debugging with JDK 1.6.0_14 Has Been Resolved in JDK 1.6.0_16

2009-08-14 Thread Jeff Chimene
Thanks, Rajaeev. I'll keep an eye out for this update to land in Debian. On Fri, Aug 14, 2009 at 7:11 AM, Rajeev Dayalrda...@google.com wrote: Hi, As some of you may recall, there as an issue with debugging if you're using JDK 1.6.0_14. You'll find that your breakpoints are not hit. More

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Jeff Chimene
that we can't intercept the error and let the user know what to do. The simple way is we can tell them to login via https (which the firewall can't block). But we can't do that if we don't know there's a problem. On Aug 13, 2:28 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/12/2009 07:24 PM

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Jeff Chimene
the firewall can't block). But we can't do that if we don't know there's a problem. On Aug 13, 2:28 pm, Jeff Chimene jchim...@gmail.com wrote: On 08/12/2009 07:24 PM, Joe Cole wrote: I know it's a firewall because if we type the *.cache.html url into the browser it comes back

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Jeff Chimene
RPC cargo getting truncated on the trip to the server. But, obviously, that's after loading the script. On Aug 13, 8:32 pm, Jeff Chimene jchim...@gmail.com wrote: One more point. The IFrame XmlHTTPRequest loader is found inhttp://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/c

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Jeff Chimene
On 08/13/2009 08:40 AM, Joe Cole wrote: Hmm. The gwt code to load the cache.html seems to be ignoring error states: line 315: http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js?r=5513 xhr.onreadystatechange =

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-13 Thread Jeff Chimene
On 08/13/2009 09:54 AM, Joe Cole wrote: Yes. I'd give that a shot. I am wondering why you're not going for the watchdog timer. I'd throw such logic at this problem too. Yes, this would be a good solution in general. You are meaning something similar to the way gmail loads, and if it

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-12 Thread Jeff Chimene
On 08/12/2009 08:14 AM, Joe Cole wrote: We have encountered this on another network now. Does no one else have this problem? How do you know it's a firewall? Are you saying there are two different firewalls (with potentially different settings) blocking the same document? Is this a private

Re: *.cache.html blocked by firewall - GWT team opinions please?

2009-08-12 Thread Jeff Chimene
On 08/12/2009 07:24 PM, Joe Cole wrote: I know it's a firewall because if we type the *.cache.html url into the browser it comes back with a document with a message from their firewall claiming it's been blocked. The file scored very highly on some metrics which their firewall uses. I am

Use of reserved words in JSON structure

2009-08-10 Thread Jeff Chimene
Hi, I'm trying to implement an API that uses two JavaScript reserved words in a JSON structure: public and private Is there a clever JS technique to work-around this use of the reserved word public? Consider the following object {addresses : {public: [],private:[]} The following JSNI code

Re: Style pretty

2009-08-10 Thread Jeff Chimene
arg value=-style/ arg value=PRETTY/ On 08/10/2009 09:55 AM, Ian Bambury wrote: Have you tried an extra jvmarg value=-style PRETTY/ or amended the existing tag to arg value=-Xmx256M -style PRETTY/ I haven't tried it, but surely one of those will work. Ian

Re: Use of reserved words in JSON structure

2009-08-10 Thread Jeff Chimene
On 08/10/2009 01:20 PM, Jeff Chimene wrote: Hi, I'm trying to implement an API that uses two JavaScript reserved words in a JSON structure: public and private Is there a clever JS technique to work-around this use of the reserved word public? Consider the following object

<    1   2   3   4   5   6   >