Re: how to return errors from RequestFactoryServlet?

2011-04-01 Thread Thomas Broyer
On Saturday, April 2, 2011 3:08:16 AM UTC+2, KaffeineComa wrote: > > Hi Khiem, thanks for your reply. > > Are you saying that RequestFactoryServlet must be extended, and an > ExceptionHandler must be installed somehow? If so, what exactly does the > ExceptionHandler need to do? > Construct a S

Re: how to return errors from RequestFactoryServlet?

2011-04-01 Thread KaffeineComa
Hi Khiem, thanks for your reply. Are you saying that RequestFactoryServlet must be extended, and an ExceptionHandler must be installed somehow? If so, what exactly does the ExceptionHandler need to do? My server code is already throwing exceptions; it's just that they're not getting propagate

Re: how to return errors from RequestFactoryServlet?

2011-04-01 Thread khiem nguyen
u can extends requestfactoryservlet to use your exceptionhandler (which creates ServerFailure), (dont forget to put it in web.xml instead of the default requestfactoryservlet) when u throw exception on server, onFailure will be called, not exactly Exception/Throwable thou. there's a post about it

Re: GWT 2.3 / Whats New

2011-04-01 Thread Thomas Broyer
http://code.google.com/p/google-web-toolkit/issues/list?can=1&q=milestone=2_3 is a good start. -- 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 unsubscribe from

CSS and GWT font family ignored

2011-04-01 Thread Ania
I applied css properties to list box options: font family and colour.It does apply colour, but it ignores font family.Is there any way to fix it? my css: .gwt-ListBox option{ font-family:"Baskerville Old Face"; color:red; } tried even without quotes. Thanks for any help! -- You received this me

Re: GWT library to wrap the W3C file API

2011-04-01 Thread nino ekambi
Allright, good to know. I ve implemented a solution based on Flash and i m looking to add a solution based on HTML5 file API. I ll have a look at it. Good work man 2011/4/1 Lukas Laag > Hi Alain, > > Yes, if you know the format of PDF or Excel, you can process such > files. The API offers a b

Re: GWT library to wrap the W3C file API

2011-04-01 Thread Lukas Laag
Hi Alain, Yes, if you know the format of PDF or Excel, you can process such files. The API offers a byte-level API (more or less equivalent to what you have with a java.io.InputStream). Mozilla has a demo where they show how they are able to process EXIF metadata in jpeg pictures Lukas On Mar 31

Re: JSNI Newbie Question

2011-04-01 Thread Ed
Thanks Andy Ed On Fri, Apr 1, 2011 at 3:03 PM, Andi wrote: > try setting a breakpoint, run it in firefox with firebug installed and check > how the scoping is. > > http://www.qc4blog.com/?p=657 > > cheers, andi > > (vom fon) > > On 01.04.2011, at 13:17, Ed wrote: > >> I ran the system in chrom

Re: RequestFactory 2.1.1 Using EntityProxyId type to avoid the need to find() ???

2011-04-01 Thread Y2i
Thanks for the link. Just starred it, seems like a good feature to have. -- 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 unsubscribe from this group, send email

Re: WANTED: GWT developers for Part-Time or Full-Time Contracts

2011-04-01 Thread Murali Krishna
Hi, I'm interested in this role. I have 18 months experience in working with GWT technology and i'm based in Cambridge, UK. Could you please let me know if i can still apply for this role or if it is already filled up. Thanks Murali On Fri, Apr 1, 2011 at 12:10 AM, Daniel Cowx wrote: > Hey fo

Re: JSNI Newbie Question

2011-04-01 Thread Andi
try setting a breakpoint, run it in firefox with firebug installed and check how the scoping is. http://www.qc4blog.com/?p=657 cheers, andi (vom fon) On 01.04.2011, at 13:17, Ed wrote: > I ran the system in chrome and found this > > Uncaught TypeError: Object [object DOMWindow] has no metho

Re: UiBinder can't put a Celltable in a Scrollpanel

2011-04-01 Thread Patrick Tucker
xmlns:gc="com.google.gwt.user.cellview.client.CellTable" I just realized that my namespace declaration was defining only the CellTable class. This works fine without "urn:import:" infront of it. Removing ".CellTable" from the namespace declaration fixed the problem. Thanks, Pat On Apr 1, 4:54 

GWT designer for Netbeans

2011-04-01 Thread Maurizio Moro
May it's possibile to get a designer like Eclipse GWT-designer ? -- 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 unsubscribe from this group, send email to googl

GWT 2.3 / Whats New

2011-04-01 Thread cri
Is there any advance info on what will be new in GWT 2.3? Thanks (for rescuing me from JSPs!) -- 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 unsubscribe from thi

Re: RequestFactory 2.1.1 Using EntityProxyId type to avoid the need to find() ???

2011-04-01 Thread Jens
Seems like this feature is not released yet: http://code.google.com/p/google-web-toolkit/issues/detail?id=5525 -- 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 un

Simulate sort on CellTable as if user clicks it

2011-04-01 Thread Yaakov
Hi, I need to make the user sort on whatever column stick in between screen refreshes. I already have a way to remember which column was clicked last and make that part of the URL. If I know which column I want to sort on and I have all the Comparators defined for each column as in: *

AsyncProxy not working.

2011-04-01 Thread drew
I have designed an async Proxy using GWT, my Views are GXT based. But AsyncProxy is throwing [ERROR] Expecting concrete typecom.bm.xchange.commerce.steps.client.view.ProfileViewImpl to be static. Donno why but all top-level classes cannot be static . It just throws this error ... Any Help will be

Re: HTML5 Offline apps future support?

2011-04-01 Thread joe kolba
Thomas: I didn't realize that this feature was going to be implemented in 2.3 thank you for the info! On Fri, Apr 1, 2011 at 11:36 AM, joe kolba wrote: > 1. What do you mean 'cannot run a java server efficiently'? Do you mean > that you can't access an on-line service reliably on a mobile device

Re: HTML5 Offline apps future support?

2011-04-01 Thread joe kolba
1. What do you mean 'cannot run a java server efficiently'? Do you mean that you can't access an on-line service reliably on a mobile device? - I meant running tomcat or jetty on a tablet device in order to use GWT RPC for client / server communication. I know there are ways of installing jetty (

Re: RequestFactory 2.1.1 Using EntityProxyId type to avoid the need to find() ???

2011-04-01 Thread Y2i
Didn't work for me either. I also tried using something like JobPref.findJobPrefByCustomer(*Long customerId*) without any success. -- 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@go

Re: HTML5 Offline apps future support?

2011-04-01 Thread Thomas Broyer
GWT already supports the Web Storage API (not yet released though, will be in 2.3 ) Have a look at http://code.google.com/p/gwt-mobile-webkit/ for other

Re: HTML5 Offline apps future support?

2011-04-01 Thread Alan Chaney
Hi Joe I'm nothing to do with google, but your question is interesting: On 4/1/2011 8:12 AM, joe kolba wrote: Do you think GWT will eventually support offline app development by incorporating Webkit local database support? My company I work for is currently researching developing ipad/android

Re: Combine two css files to one css resource

2011-04-01 Thread Raphael André Bauer
On Fri, Apr 1, 2011 at 3:55 PM, Thomas Broyer wrote: > @Source({"first.css", "second.css"}) ? Yea! That works perfectly :) Thanks! Raphael > > -- > 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

HTML5 Offline apps future support?

2011-04-01 Thread joe kolba
Do you think GWT will eventually support offline app development by incorporating Webkit local database support? My company I work for is currently researching developing ipad/android web apps. Since we cannot run a java server efficiently on these devices we are considering going with HTML5, jav

Can't refresh CellTable

2011-04-01 Thread Néstor Boscán
Hi I have a CellTable that has a cell that when I click on it I need to remove the current row. I've tried deleting the object from the ArrayList and redrawing the CellTable but it doesn't work. Also I've tried to call setRowData again and redraw the CellTable and the table doesn't redraw. If I us

Re: How to host GWT in a google-site page?

2011-04-01 Thread sibiquin
Thanks for the tips. I don't know why I could not have the .js file hosted on the google site... as long as it is reachable by a URL it can be referenced in the

Re: CellTable, multiple cells, FlexTable and thoughs

2011-04-01 Thread mike b
I'll 2nd that. There is working example in the samples. Look for ContactTreeViewModel.java in the samples included in the SDK. I'm greatly frustrated by the lack of ability to use GWT widgets with in a GWT CellTable (as well as CellList and CellTree). My goal is to have "expandable" cell

Re: GWT Date Serialization problem

2011-04-01 Thread Andy
This is the reason we created the UTCDateBox. We only send a Long back and forth between the client and server and that Long always represents midnight in UTC. This avoids confusion when users in different time zones are choosing dates. You can see the UTCDateBox demo and source: http://code.goog

Re: How to change style of a button inside a ButtonCell

2011-04-01 Thread Néstor Boscán
I created this class and it worked: package ve.com.rapipago.pagueaqui.vista.client.componente; import com.google.gwt.cell.client.AbstractCell; import com.google.gwt.cell.client.ValueUpdater; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.NativeEvent; import com.google.

Re: Combine two css files to one css resource

2011-04-01 Thread Thomas Broyer
@Source({"first.css", "second.css"}) ? -- 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 unsubscribe from this group, send email to google-web-toolkit+unsubscr...@

Combine two css files to one css resource

2011-04-01 Thread Raphael André Bauer
Hi, we are currently using CssResource together with a ClientBundle to style our ui.xml classes. It works really nice and everything is fine. There is only one thing that our designers would love to have: One interface that maps to many css files. Our designers organize their stuff in more than

JSNI Use case for setURL in Frame()

2011-04-01 Thread Ed
Hi, Is there any way to access the dom of myFrame using this use case. myFrame.setUrl(URL.encode(url.toString())); There are many samples out there but none seam to be working with this use case. Is it even possible to add a click handler to this use case? Ed Lang -- You received this messag

Re: JPA & JAXB Classes with GWT RPC

2011-04-01 Thread ciosbel
I've managed to use them but with JAXB only. I've no experience with JPA. If you are not stucked with gwt-rpc, you can try to use the new requestfactory, keeping server side entities and make transferrable only the proxy types. But i'm not familiar with that either. -- You received this messag

Re: Handling click on a CellTable Row

2011-04-01 Thread Thomas Broyer
You can use a NoSelectionModeland listen to SelectionChangeEvents. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to t

Re: JPA & JAXB Classes with GWT RPC

2011-04-01 Thread Paul Robinson
Another option is that the annotations are probably not necessary in the client side, so you might be able to do some post-processing after generating with JAXB to remove them. I imagine they're needed server-side, so you'd have to use super-source in your gwt.xml to make it use the cleaned up

Handling click on a CellTable Row

2011-04-01 Thread Néstor Boscán
Hi Is there a way to handle a click on a CellTable Row? Regards, Néstor Boscán -- 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 unsubscribe from this group, sen

How to change style of a button inside a ButtonCell

2011-04-01 Thread Néstor Boscán
Hi I'm trying to change the CSS style of a button inside a ButtonCell so I can set an image but the getStyleName method on ButtonCell won't do anything in the HTML. Also the styleName that you set on the column is not applied to the TD cell but the column in the column group. So I haven't found a

Re: How to host GWT in a google-site page?

2011-04-01 Thread mike b
oh yeah... please report back how it worked. I might actually be trying to do something like that myself soon. I'd be interested to see what you turned out. thx, mikeb -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: How to host GWT in a google-site page?

2011-04-01 Thread mike b
I would think that you don't upload any GWT js to your google site. You'll need to have your GWT app hosted on a webserver somewhere, possibly the GAE. Then add a script element in the site HTML referencing the hosted location of the js file. You'll have to make sure that your EntryPoint cla

running a java script from content in the HTML widget in GWT

2011-04-01 Thread nirav patani
hi, I am getting some report generated which comes in HTML with java script in it. I wanna put in in a HTML widget and show it in a dialog box in GWT. but the content written in the java script is not running. How can i achive the same. -- You received this message because you are subs

Re: JPA & JAXB Classes with GWT RPC

2011-04-01 Thread Michele Rossi
I guess one way could be to somehow get the source code for the annotations too, and re-build them into a GWT module. I am talking about a hack - you wouldn't change the class names or the package names.. Maybe I will try when I get a chance - if it works I will post it to the group. I am thin

Re: gwt-dispatch with spring exception on async request

2011-04-01 Thread Juan Pablo Gardella
You can debug and put a breakpoint in at com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:115) to see why fail. 2011/4/1 mariyan nenchev > Hi, > > I integrated gwt-dispatch with spring, but when i try to "execute" > gwt-dispatch Action it fails and calls onFai

Re: GWT Date Serialization problem

2011-04-01 Thread Paul Robinson
The standard GWT RPC serialization for dates writes out the long value, so that should be sent correctly. The error comes because when you convert that long to a string, you do so in a particular timezone, and your choice of timezone can change the day that you think this time point occurred on

Re: GWT Date Serialization problem

2011-04-01 Thread Juan Pablo Gardella
But is the same time. I think gwt serialize the long value of the time and then create a date in client side with this value. Is this correct? 2011/4/1 Brendan Doherty > How will noon fix the problem? > > Assuming your server is running on central time (UTC-6) and you pass it to > a client I'm r

Re: JSNI Newbie Question

2011-04-01 Thread Ed
I ran the system in chrome and found this Uncaught TypeError: Object [object DOMWindow] has no method 'saveButton' so it just might be unreachable? On Fri, Apr 1, 2011 at 6:56 AM, Ed wrote: > Thank you Thomas! > > I changed the function to parent. > > It seams as if the parent.saveButton() func

Re: JSNI Newbie Question

2011-04-01 Thread Ed
Thank you Thomas! I changed the function to parent. It seams as if the parent.saveButton() function is unreachable from within an IFRAME. The IFRAME is the window to display the legacy code which is plain HTML.. This is the container definition: private static FramemyFrame

Re: RequestFactory Entity name

2011-04-01 Thread Marcin Misiewicz
I guess, you should use debugger and see whats going on under the hood. In the spare time I will try to reproduce the error. -- 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@googlegro

Re: JSNI Newbie Question

2011-04-01 Thread Thomas Broyer
Your JSNI looks good. Your JavaScript is broken though: should be onclick="parent.saveButton()" (I'd however probably put it in the onsubmitof the form though...) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, sen

Re: ScrollBar color

2011-04-01 Thread Issam
thanks for your answer !! It's a Good idea to see this kind of creations ...good job On 24 mar, 19:05, Milan Cvejic wrote: > It is not recomanded to change forms at all, so basicaly safari have > some custom > css selectors, mozzila ignores them completely, and for IE i am not > sure. > > If you

Re: JSNI Newbie Question

2011-04-01 Thread Ed
Anyone, this is the correct spot for this post. Any pointers please. e On Thu, Mar 31, 2011 at 7:46 PM, Ed wrote: > Oops, I posted this to wrong place. > > Sorry about the noise. > > On Mar 31, 6:51 pm, Ed wrote: >> HI >> >> I am a newbie to JSNI.  Any help on how to implement this would be >

Re: RequestFactory Entity name

2011-04-01 Thread Metronome & Basic
I'm Just wondering if it could be a RequestFactory bug a limitation or ( more probably ) some Bug in my code Any Idea ? Thanks Patrick - Original Message - From: Metronome & Basic To: google-web-toolkit@googlegroups.com Sent: Thursday, March 31, 2011 6:21 PM Subject: Requ

RequestFactory 2.1.1 Using EntityProxyId type to avoid the need to find() ???

2011-04-01 Thread -sowdri-
Dear All, http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_1_1 A service method declared in a RequestContext can take parameters of EntityProxyId type to avoid the need to find() an object just to use it as a method parameter. @Entity public class JobPref { // fields

Re: parseLenient and parseStrict on newer browsers [was Re: seemingly misleading verbiage in the documentation...]

2011-04-01 Thread Thomas Broyer
If you know that your JSON is "wellformed JSON" (and not just the more liberal JavaScript's literal object notation), then use parseStrict. Only use parseLenient if you know your "JSON" isn't actually JSON (i.e. from a "legacy" server). That should be the rule IMO, independently from performance.

Re: UiBinder can't put a Celltable in a Scrollpanel

2011-04-01 Thread Thomas Broyer
How was xmlns:gc declared? UiBinder complains that it sees gc:CellTable not as a CellTable widget but as a "bare element" (just like an HTML element). I guess, your "gc" namespace isn't declared as xmlns:gc="urn:import:com.google.gwt.user.cellview.client" -- You received this message because

gwt-dispatch with spring exception on async request

2011-04-01 Thread mariyan nenchev
Hi, I integrated gwt-dispatch with spring, but when i try to "execute" gwt-dispatch Action it fails and calls onFailure() with exception net.customware.gwt.dispatch.shared.ServiceException [cause: java.lang.NullPointerException] at net.customware.gwt.dispatch.shared.ServiceException_FieldSeriali

Re: Visibility problems when using css.InterfaceGenerator

2011-04-01 Thread Raphael André Bauer
On Wed, Mar 30, 2011 at 12:07 PM, Thomas Broyer wrote: > Every member of an interface can only be public (and is implicitly so, > without the need to explicitly use the 'public' keyword), including inner > interfaces. > http://java.sun.com/docs/books/jls/third_edition/html/interfaces.html#9.5 Tha

Re: how to set selected widget in stackLayoutPanel?

2011-04-01 Thread tanteanni
no that is exactly what i want - thx! On 31 Mrz., 17:50, Jens wrote: > You can use StackLayoutPanel.showWidget(...) methods or do you mean > something different and I don't get it? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post