Re: SerializationException

2010-03-02 Thread Peter Simun
Generics are probably not an issue in this case. Can you post full source code of your GetContactRequest class ? And ... what is GetContactResponse ? Maybe the problem is in that class. Peter On Mar 2, 8:32 pm, Yaakov Chaikin wrote: > No, it wasn't the same problem... I didn't notice that I didn

How do i use Spring security with open id in GWT ?

2010-03-02 Thread Salvin
This is what i trid in GWT: final FormPanel formPanel = new FormPanel(); RootPanel.get("openId").add(formPanel); VerticalPanel openIdContainer = new VerticalPanel(); formPanel.add(openIdContainer); TextBox url = new TextBox(); url.setText("https://w

Re: Need help with JsonpRequestBuilder

2010-03-02 Thread omsrobert
I got it to work. I had to set the callback param and use requestObject() with a type of JavaScriptObject instead of String. -- 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...@googlegro

Re: ImageResource fail in IE 8

2010-03-02 Thread Subhrajyoti Moitra
I too have the same problem. There are other artifacts in the image, than what really should be showing up. This is only with IE8. FF, Safari displays corrrect images. I have set the emulation to IE7 as described in some documents out there. but it does not help. Please folks help us. Thanks, Sub

Re: Need help with JsonpRequestBuilder

2010-03-02 Thread omsrobert
I also tried jsonp.setCallbackParam("jsoncallback"); but it's not working. Is there any documentation other than the JavaDoc that shows how to use this? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email t

Need help with JsonpRequestBuilder

2010-03-02 Thread omsrobert
I need some help getting a simple JSONP example to work. I just want to call a URL and parse the map that is returned. Need to (1) figure out why my code below doesn't work and (2) how to parse the map e.g. I have a server (192.168.1.99) that has a script: http://192.168.1.99/some_path/some_sc

a question about jsonparser

2010-03-02 Thread WongTseng
hi, i found when there is a "\n" string in the json string, after it is parsed, there is no new line. but when there is "\\n", after parsing, there is new line. is that true, to escape a new line, "\\n" should be used? and why? thanks! -- Best Regards Wong Tseng -- You received this message b

Re: Giving each new account its own sub-domain

2010-03-02 Thread Brett Morgan
I mean that your dns and webserver has to be configured such that all the subdomains get served appropriately. You could use url re-writing as part of the solution for that, but it is only one approach of many. I suggest you find a sysadmin and have him explain all the variety of applicable approac

Re: Giving each new account its own sub-domain

2010-03-02 Thread David Pinn
On Mar 3, 10:14 am, Brett Morgan wrote: > That is pretty much outside of the realm of control of GWT, it's more a > question of how you setup your DNS and your web server. Do you refer to URL re-writing? Are you thinking that I could translate http://david.mydomain.com/index.html into http://mydo

ClientBundler and localizable images

2010-03-02 Thread Christian Goudreau
I'm having a big problem. I have a client bundle with some images that are in french and in english. So I defined locals _en_CA and _fr_CA, but the thing is, everything is working fine when I use debug and change de language, but when I deploy on my server, my images doesn't follow my locales !

Re: Can't debug client code from Eclipse

2010-03-02 Thread urbanus
On Feb 10, 2:53 am, Rajeev Dayal wrote: > Try upgrading your JDK and see if you still experience the problem. Actually I found the problem. I was setting the breakpoint on the method definition line, i.e.: public void onSuccess(String result) { Those breakpoints never hit. If I place breakpoi

Re: Giving each new account its own sub-domain

2010-03-02 Thread Brett Morgan
On Wed, Mar 3, 2010 at 10:04 AM, David Pinn wrote: > I'd like my application's sign-up process to give each new account its > own sub-domain, through which users would subsequently access the > application proper. > > The 37Signals (http://37signals.com) applications, for example, work > that way

Giving each new account its own sub-domain

2010-03-02 Thread David Pinn
I'd like my application's sign-up process to give each new account its own sub-domain, through which users would subsequently access the application proper. The 37Signals (http://37signals.com) applications, for example, work that way. If I sign up for Basecamp, a new david.basecamphq.com sub- dom

Detail Ids in Ray Ryan's IO 2009 predentation

2010-03-02 Thread Eric
The project I'm on is trying to decide whether to use the ideas in Ray Ryan's presentation. I am arguing for it, but I'm running into some difficulties. 1) His presentation has a class representing contacts with a list of detail ids: public class Contact implements Serializable { String name;

How to truncate a String?

2010-03-02 Thread Memo Sanchez
Good day =) I was looking for a way to truncate a String which is inside a Label, but I haven't found any answer. For example: My original String is "Accounts Receivable" and I want it to appear something like "Accoun..." Any input is appreciated. Thank you. -- You received this message becau

Issue with RPC: http error 501 only when upload to remote server

2010-03-02 Thread Edson Richter
Hi, all! I've been sucessfully working with GWT, writing applications using NetBeans, and deploying in my localhost Apache Tomcat server. Right now, I'm uploading the application (that is functional in my localhost machine) to the Web App host server. This host server is using Apache Tomcat with

Re: Validating ClientBundles ?

2010-03-02 Thread Greg
On schedule for preview release of 1.3 this week? I'm also anxiously awaiting a fix for this issue. We have a mature very large code base and recently have started using GWT for our web tier development. We have new developers starting and Eclipse is exploding when importing our projects trying t

Issue with AdBlock - Version: 1.3.27 and GWT

2010-03-02 Thread Steve
Just wanted to give a heads up. This was driving me crazy for a while. I was testing my web application in chrome with the AdBlock (Version: 1.3.27) extension enabled. When its enabled, some of my events are getting blocked. I've got a ChangeHandler and a ClickHandler which is supposed to swap ou

"A widget that has an existing parent widget may not be added to the detach list" problem

2010-03-02 Thread Maarten Zeinstra
Hi all, I've read all the posts about this subject and I understand what the restrictions are on this subject, however I cannot seem the figure this one out. I use the following lines of code(snippets): RootPanel ccWidget = RootPanel.get("cc_js_widget_container"); ccWidget.setvisible(false); .

GWT 2.0.2 and Firefox

2010-03-02 Thread Ronan
Hi, I'm getting an error with firefox while running a GWT 2.0.2 application: com.google.gwt.core.client.JavaScriptException: (TypeError): $doc.body.attachEvent is not a function fileName: http://localhost:8080/-rc/com.xxx..rc.CONXEntryPoint/9D80E2C9DEC60BEE91A9EEA4A81CAFAE.cache.html l

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread tekbe
I noticed the problem I described above only occurs in development mode. Thankfully null is still serializable in server mode with gwt 2.0.3 ;) The problem with serializing uninitialized objects occurs with firefox 3.5.2 on suse 11.1 with developer plugin version 1.0.7511. -- You received this

Trouble with GWT Hosted Mode

2010-03-02 Thread Pranabesh
Every time I try to start the hosted mode, the browser (all browsers) gives me a Plugin failed to connect to hosted mode server at 127.0.0.1:9997 I googled for this problem and the solution given there was to replace the 127.0.0.1 with localhost in the url. That doesn't work for me either.. Plea

documentation out of date

2010-03-02 Thread ChrisK
Several sections of the online documentation seem to be either out of date. I've come across a few already after only a couple of days of using GWT 2.x (after previously using 1.4 and 1.5). One such section is http://code.google.com/webtoolkit/doc/latest/DevGuideI18nLocale.html#LocaleDefault which

Re: SOP Issue

2010-03-02 Thread nino ekambi
Hi bellow is the html , greets http://www.w3.org/TR/xhtml1/DTD/xhtml1.0-strict.dtd";> PDM 2010/3/2 Fabiano > > P.s: I don't know about your issue. rp

Re: GWT RPC Fails under mod_proxy

2010-03-02 Thread Kevin Loney
I have just run into almost exact same problem. After doing a little digging I discovered that the problem arises in the static method RemoteServiceServlet.loadSerializationPolicy(...). As an example in the setup you have you are performing the following mapping: http://www.example.com/somefile.h

$wnd.location.replace doesn't work from ClickHandler

2010-03-02 Thread Victor Papp
Hi, I want a language switcher in my GWT app. So, I setup an Anchor and add it to RootPanel:         Anchor lnkRU=new Anchor();         lnkRU.setText("RU");         lnkRU.setHref("");         lnkRU.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { changeLocale

Re: using a js library from a native method

2010-03-02 Thread nou
hehe! I am obviously an idiot! ;) thanks it works! On Mar 1, 12:43 pm, olivier nouguier wrote: > Did you try: > $wnd.functionFromAJsLibrary(...) > > > > On Mon, Mar 1, 2010 at 1:40 PM, nou wrote: > > hello > > > let's say I have a native method like this > > >   public static native void showBo

UIBinder and nested composites

2010-03-02 Thread Michael Powers
All, This is in all likelihood a newb question, but I'm having trouble with events on nested composites created using the uibinder. The code and templates below produce the simple DOM structure shown here. Neigher a UiHander nor adding click handers to the first anchor receive click even

True JS Output - Instead of GWT Code in IFRAME..

2010-03-02 Thread kittu
Hi all, I am new to GWT.. I want to use GWT in an existing application without much modifications. I came to know that we can control the JS output generated by GWT Compiler. Basically, i want to access the GWT generated controls from my own JS functions which are included in the HTML page. And als

GWT-Test - RuntimeException: Caused by: java.lang.AssertionError: CSS widths should not be negative

2010-03-02 Thread Amit
Hi, We are trying to test the view of an MVP application, by running GWT- Test. Our MVP application is composed of a Main project that refers to another project. We get a java.lang.RuntimeException: Remote test failed. It is mentioned that the Exception is "Caused by: java.lang.AssertionError: CSS

style of FileUpload widget

2010-03-02 Thread Mathieu
Hi, I have to develop an application with GWT technology. I use UI Binder to develop the view of the application. I work with eclipse IDE. I want to apply my own style (image up and down) to every button of my application. Here comes the problem, I can't succeed in doing that. I try to display a F

Deploying GWT and using an different servlet for db access

2010-03-02 Thread Ed
Hi, I am using GWT to create a front end to an existing servlet that performs authentication form a ldap server or from a posgres db. i have in jetty/webapps/SSISAJAX jetty/webapps/SSISAJAXSERVER SSISAJAX is the GWT application SSISAJAXSERVER is just a servlet that implements the Use

Need help with GWT Panels and Drag & Drop

2010-03-02 Thread Tan Jia Bao
As I'm currently making a drag and drop commerce site for a schoool project, I'm using 2.0GWT-DND I'm almost completing but am now facing a very big problem. As I want my cart and items to appear together, I'm facing a layout problem that resorted me to doing this. --> means added into that pare

Re: Integrate GWT with Windows Applications

2010-03-02 Thread Sudhir Kumar
On 26/02/2010, Alexander wrote: > Hello everyone, > > I would like my GWT application to communicate with a Windows > Application. > > on the presentation layer. It is no problem to start the Windows > Application. Something that works using a special URL redirect. Now I > wonder how both can com

Multiple Servlets Issue

2010-03-02 Thread Harsh Yadav
I am trying to create multiple servlets. When I add them separately in the web.xml file, and try to run my application, I get errors, and it wont run. Could anyone suggest, how I can handle multiple servlets in GWT, so that I could separate logic. Thanks. -- You received this message because y

Re: GWT Data

2010-03-02 Thread Andrés Cerezo
You'll need to use google app engine, there are some examples in google codes. Cheers. Andrés Cerezo. 2010/2/27 kyle.rogers : > I've got experience in .net and I'm trying to migrate towards java/gwt > to expand my knowledge.  I really like a lot of things about GWT, but > I'm not finding a lot o

GWT 2.0.3, Maven 2 v2.2.1, gwt-maven-plugin v1.2, JPA 1.0/Hibernate

2010-03-02 Thread Steve
I've spent the last 6 hours or so trying to get my project over to GWT 2.0.x (I was using DWR before). I'm using Eclipse 3.5. I've ripped out everything other than the server side code. The only client side code that exists is what the gwt-maven archetype puts in (Application.java, Application.g

Interportlet communication on client-side

2010-03-02 Thread Alex Hlinski
Hi. I develop portlet use GWT, actually i have more then one nocache.js on the same page. My question is how can we organise communication between 'modules', actually how can we organise communication between different nocache.js files? Maybe we can create something like 'global' HandlerManager fo

onClick fired twice

2010-03-02 Thread Anders Uddenberg
I have a problem where the onClick-event is fired twice when a user presses a button. I'm disabling the button at the top of my onClick- method. See below: Code from the presenter: display.getSaveButton().addClickHandler(new ClickHandler() { public void onClick(ClickEvent e

Re: How to use com.google.gwt.dev.util.collect.HashMap

2010-03-02 Thread Heidarzadeh
Thank you Gal Dolber. But if I have to use java.util.HashMap! I can't understand why they have created com.google.gwt.dev.util.collect.HashMap !? What is the usage of com.google.gwt.dev.util.collect.HashMap !? On Feb 27, 2:25 pm, Gal Dolber wrote: > Just use java.util.HashMap > > 2010/2/27 Heidar

SerializationException when accessing via mod_jk

2010-03-02 Thread hakito
Hi I am new to GWT and tried to depoloy the StockPrice sample application. If I deploy it to my tomcat Server and access it Directly via http://example.com:8180/myapp/index.html everything works fine. But if I set up mod_jk and try to access it via http://example.org/myapp/index.html the server

Importing Apache Tomcat Library / Unable to find classpath

2010-03-02 Thread Trick Magnet J Slice
Hey everyone, I am attempting to create a GWT project, but it also needs to tie in with many 3rd party JARs and packages that are also used by other services I maintain. I've set up my project, and had it running in the native GWT deployment mode, and I then got it deployed on tomcat. So far its j

Event bus for GWT portlets

2010-03-02 Thread Alex Hlinski
Hi. I use GWT in Liferay portlets (JSR 286) and i have problem with client- side communication between portlets. Actually i have more then one GWT module on same page (one nocache.js for each portlet). So HandlerManager as event bus works well within GWT module, but i can't use it for all modules o

com.google.gwt.gen2.table.client.property.ColumnProperty

2010-03-02 Thread Bing
Can you provide an example how to use ColumnProperty class with AbstractColumnDefinition.setColumnProperty(...)? btw, what design pattern is this class committed (dumb question)? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To p

role based login

2010-03-02 Thread kk
Hi friends, Basically I wanna show customized UI according to the user role after user has logged in ie: if user is Admin he has some special previlege also the logic for customization should be at server side. What I have done is after logging i have written a rpc call and after returning to the c

Best way to mirror textBoxes.

2010-03-02 Thread JeeyoungKim
Hello I'm a developer who's new to GWT (and web programming in general). I'm wondering what is the the best way to "mirror" a textBox. That is, have two textBoxes, and whenever one's text changes, the other textBox's text changes along. I've tried many methods, but they all seem to fail to handl

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread tekbe
Chris, thank you for the link! The document states: "As of GWT version 2.0, some common forms of persistence are now handled by the GWT RPC mechanism. GWT considers a class to be enhanced if any of the following are true: (...) The class is annotated with a JPA javax.persistence.Entity annotation."

Re: odd deserialization error with gwt 2.0.3

2010-03-02 Thread tekbe
sorry, this is a kind of double posting, though it's not exactly the same error as this one: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6680775a0c925397 because it also occurs with compiled code. when removing the JPA 2 annotations the entity can be deserialized (sent

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread Chris Lercher
On Mar 2, 9:38 pm, Chris Lercher wrote: > It can also save you from a > lot of headache... PS especially, if someone in your team later introduces confidential/ identifying/... data in the Entity - which can be perfectly ok, but turns into a maximum credible accident, if unintentionally transfe

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread Chris Lercher
Hi, yes, I assume, it may have something to do with this: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes GWT assumes, your object is an Enhanced Class, because it's annotated with @Entity. This may be a wrong assumption in this case (is it

Re: ImageResource fail in IE 8 (Details added)

2010-03-02 Thread RickD
Forgive me for replying to my own message, but I have more information. First, I have a simple project to recreate the problem. I just create the default 'ImageViewer' application and display four pictures. Here is the GUI code: public class ImageViewer implements EntryPoint { public vo

Re: Gwt hosted mode too slow

2010-03-02 Thread Sorinel C
sorry about point 3) -- actually at point 2) I meant :) Cheers! -- 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: Gwt hosted mode too slow

2010-03-02 Thread Sorinel C
I assume that you are using the Chrome browser for that, right? I have explained this issue here, at point 3): http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html Cheers! -- You received this message because you are subscribed to the Google Groups "Google Web Too

Re: GWT downgrade (2.0 -> 1.7.1) insists in launching GWT 2.0

2010-03-02 Thread Sorinel C
Your solution is explained here http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html down at point 4) Cheers! -- 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: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread tekbe
Thank you Chris. I copied the User entity to class User2 and removed all JPA 2 annotations: Without the annotations it works! in the following example getUser1(), getUser3() and getUser4() work, getUser2() fails... @Service("testService") public class TestServiceImpl implements TestService {

Re: Bad time with TimeZones/Dates

2010-03-02 Thread Sorinel C
Here's the solution for your problem, which I had it last week. In my case the hour was jumping 1 day ahead :) http://ui-programming.blogspot.com/2010/02/gwt-date-and-timestamp-rpc.html The main idea is to use the Date(year, month, day, hour, min, sec) constructor for your client side, but try to

ImageResource fail in IE 8

2010-03-02 Thread RickD
I don't know that this is limited to IE 8, this is the only IE version I tested against. I cannot get ImageResources to work in my project on IE. Instead of seeing the image "sprite", I am seeing the entire image file with the multiple "sprites". Note that everything works fine on FF and Safari.

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread Chris Lercher
Hi, I don't have a solution to your problem, but since you aren't even persisting user2 with the entity manager, will the JPA annotations even apply? Isn't it just a POJO until you do that - maybe you can try it with a similar object without any JPA annotations! Chris On Feb 28, 10:38 pm, tekbe

Re: SerializationException

2010-03-02 Thread Yaakov Chaikin
No, it wasn't the same problem... I didn't notice that I didn't have a no-arg constructor there. Thanks, Yaakov. On Tue, Mar 2, 2010 at 10:09 AM, Paul Robinson wrote: > >> Is this a GWT problem where it fails because I am using generics??? >> > Probably. I see you've already found the issue: > h

Re: GWT team, please post latest to repo1.maven.org

2010-03-02 Thread jonathan.hollo...@gmail.com
It would be awesome if the sources were up there as well. Does anybody have a set of scripts for bundling the maven packages together for Maven along with pom.xml's? Cheers, Jon. On Feb 18, 6:59 am, Jan Ehrhardt wrote: > Thanks. > > But the question remains, how to improve the process? > > Rega

Re: Maven users survey

2010-03-02 Thread bkbonner
Cool. Thx On Mar 1, 2:56 pm, Keith Platfoot wrote: > We're working on integrating our last few changes today, so look for an > announcement and download link sometime tomorrow or Wednesday. :-) > > Keith > > On Mon, Mar 1, 2010 at 2:46 PM, bkbonner wrote: > > Keith, any news on the plugin update

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread Fabiano
Definitively I don't see errors in your code. My only doubt (cause I lack experience in the field) is about GWT managing a class decorated with JPA annotations. Perhaps something weird happens which is difficult to track. Personally I have to go deeper about GWT and JPA interaction :-) -- You re

Re: GWT 2 using Eclipse with plugin and Spring

2010-03-02 Thread George Georgovassilis
Hello all, if the unit/assembly test is enough for you, there is an RC [1] of the 1.1 SL which supports GWT 2 and Gilead 3. [1] http://sourceforge.net/projects/gwt-widget/files/ On Feb 16, 9:23 pm, maks wrote: > Hi, > > Do you have a working on example on how to use the GWT + GWT-SL + > Gilead

Re: SOP Issue

2010-03-02 Thread nino ekambi
Problem solved by using s relstive url it works fine thank you for the help greets nino 2010/3/2 nino ekambi > Hi bellow is the html , > > greets > > http://www.w3.org/TR/xhtml1/DTD/xhtml1.0-strict.dtd";> > > > > > > > > > > > /> > > > PDM > > >

Re: Using RequestBuilder to request from local file system

2010-03-02 Thread vanfleet
Hi Rjcarr, Sorry for such a slow responce, I didn't see your post until today, and I've been sidetracked for a couple of weeks. It turns out that this is a known bug, see http://code.google.com/p/google-web-toolkit/issues/detail?id=3795. I was actually able to resolve this by extending the XMLHtt

odd deserialization error with gwt 2.0.3

2010-03-02 Thread tekbe
Hello all, it seems I've got bad luck with switching to gwt 2.0. In addition to the problem described here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6680775a0c925397 the following error does not only occur in development mode but also with the compiled JavaScript. Tr

Re: Gwt hosted mode too slow

2010-03-02 Thread glascaleia
No. I mean spending too much time to execute the goal mvn gwt:run. On 1 Mar, 22:32, "dolcra...@gmail.com" wrote: > Are you saying that you run hosted mode in production? as a final > product? > > On Mar 1, 9:14 am, glascaleia wrote: > > > Hi all, > > i have a maven multi module project with gwt

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread tekbe
This is the entity: import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; impor

GWT setCookie on IE

2010-03-02 Thread eggsy84
Hi all, I'm looking for a bit of technical advice on IE 8 in use with GWT After reading RFC 2109 http://www.w3.org/Protocols/rfc2109/rfc2109 (section 6.3) it seems to say that cookies can be a maximum of 4kB in size. When using Google Web toolkit to set a cookie if the value is larger than this

Dynamic HTML page for Dictionary

2010-03-02 Thread Micah
I'm currently trying to implement a simple servlet that will dynamically create the host html page to be able to support dynamic internationalization of the application similar to the suggested approach from this thread[1]. The code I have is the following: import java.io.IOException; import java

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-03-02 Thread tekbe
The problem only occurs in development mode, not with the deployed web- app. I'm using firefox 3.5.2 with the gwt developer plugin 1.0.7511 -- 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-to

Inheriting into the XML File

2010-03-02 Thread Russ
Hi, What is the difference between using the in the project.gwt.xml file and imports in the Project.java file? When do I use which? Also, what is the difference between the project.gwt.xml and web.xml (in the war directory)? Thank you, -Russ -- You received this message because you are subscri

Re: stop validating ClientBundles

2010-03-02 Thread Rajeev Dayal
Hey Jim, This is a known issue in GPE 1.2, and it has been fixed. The fix will be released in a forthcoming version of the plugin. At this time, there is no workaround for this issue. Rajeev -- Forwarded message -- From: Jim Date: Fri, Feb 26, 2010 at 7:47 PM Subject: stop vali

Re: Can google plugin use different jar files for server and client?

2010-03-02 Thread Chris Lercher
On Mar 2, 4:39 pm, Rajeev Dayal wrote: > While you might be able to make something work > out here, it would definitely not be supported behavior (as we've not > thought through this use case). Thanks, that's what I needed to know - I'd personally only use it, if it were supported behavior (with

Re: Can google plugin use different jar files for server and client?

2010-03-02 Thread Rajeev Dayal
Glad that worked out for you, and thanks for posting an example. super-src is definitely a strange concept, so it helps to have a clear example of how to use it, and why it might be valuable :) On Wed, Feb 24, 2010 at 11:16 AM, Tim K wrote: > Great answer Rajeev! I worked up a simple example tha

Re: Can google plugin use different jar files for server and client?

2010-03-02 Thread Rajeev Dayal
Hey Chris, This would not do any magic to handle serialization between the client and server versions of the types. While you might be able to make something work out here, it would definitely not be supported behavior (as we've not thought through this use case). Rajeev On Mon, Feb 22, 2010 at

Re: Working Example of TabLayoutPanel with UIBinder?

2010-03-02 Thread Paul Stockley
You need to make sure you are using the latest version of GWT (at least 2.02 I think) because the styles where missing from prior versions. It works fine for me in UIBinder. Also make BarHeight bigger, say 20px. You don't really need the size set on the header for it to work. -- You received this

Re: SerializationException

2010-03-02 Thread Paul Robinson
> Is this a GWT problem where it fails because I am using generics??? > Probably. I see you've already found the issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=2374 However, do be aware that merely implementing Serializable does not make something gwt-serializable. You als

SerializationException

2010-03-02 Thread Yaakov
Hi, I am implementing a command-pattern based RPC mechanism and got a SerializationException in this line: rpcService.execute(new GetContactRequest(intId), new AsyncCallback() {...}); I traced it down to the GWT-generated _Proxy class where it tries to writeObject on the GetContactRequest object

help in use rtl style in gwt

2010-03-02 Thread MeisaM
Hi, I want to use default GWT right to left cascading style sheets (standard_rtl.css) in my project. Please tell me how can I do that? -- 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...@

Re: UiBinder: custom attributes?

2010-03-02 Thread Alexander Arendar
Hi Thomas, Off course possible. just make the public void setCollapsible(boolean value) method in your GroupBox.java In general it supports java beans specification. Sincerely, Alex On Tue, Mar 2, 2010 at 4:22 PM, Thomas Broyer wrote: > > > On Feb 25, 11:34 pm, Thiago Albuquerque wrote: > > H

Re: UiBinder: custom attributes?

2010-03-02 Thread Thomas Broyer
On Feb 25, 11:34 pm, Thiago Albuquerque wrote: > Hi, > > I was wondering if it's possible to define custom attributes in a UiBinder > template. I wanted to do something like this: > > > > > > And then Gwt would, after creating a new instance of 'GroupBox', call > 'instance.setCollapsible(true)'

Re: ListBox with Image

2010-03-02 Thread mariyan nenchev
There is so called "gwt advanced components" library that has such feature. I used it in my project exactly because of the Listbox. Pure gwt haven't list box with image arrow, but it is stanard html select. Smart gwt is too heavy to user because of just one widget. I suggest you implement one for y

Re: ListBox with Image

2010-03-02 Thread Joe
You have to build your own ListBox from scratch as Gwt Listbox accepts only an item as a child. An item is a string. My advice to you if you want to have your own customized version of the listbox is to build it yourself. Otherwise, as Mariyan said, smartgwt or any other advanced gwt components ha

is it possible & how to debug productive code?

2010-03-02 Thread denis56
His, I wonder if it is possible to debug a gwt site running on a productive webserver. Say there is a website "example.com" with some issues that you want to inspect real-time and in-production through a DevMode. I created following eclipse launch directive -noserver -whitelist .* -war /home/${en

Re: Passing data from "static" HTML to GWT

2010-03-02 Thread Fabiano
On Mar 2, 10:36 am, Martin Trummer wrote: > take a look at > Dictionaryhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwDictionaryExa...http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... > this is an elegant Java solution! -- You received this message because you

Re: requestbuilder xml response - empty document

2010-03-02 Thread Thomas Broyer
On Mar 2, 3:21 am, mibtar wrote: > it does seem like a SOP problem. > it's not including the data from the database in the response. > just the static text that i display using echo. > > and i am already using the -noserver option. Have you tried plugging anything that could show you what went

Re: SOP Issue

2010-03-02 Thread Fabiano
P.s: I don't know about your issue. rpc deletion. Can you past here the EXACT html code you use to load the application?

Re: SOP Issue

2010-03-02 Thread Fabiano
On Mar 2, 10:22 am, nino ekambi wrote: > Hi, > > The page is at localhost: and i m making the call to localhost: > > bevor xs-linker everything is fine.After that i cant make the rpc call. > > i ve tested it in firefox 3.5  google chrome 4 and ie7 same behavior. > so i think it s gwt rel

Input request for migrating big Rails app to GWT + Java backend

2010-03-02 Thread Supercobra Thatbytes
Hello there, We have a big Rails app that works great (www.mojohelpdesk.com) but we think that GWT / AJax apps is the way forward. Therefore we are contemplating adding GWT for the UI and doing some backend work in Java (e.g Tomcat). We cannot do a full switch at once so GWT+Tomcat need to be phas

Re: Converting GWT Compiled JS to Readable JS

2010-03-02 Thread Thomas Broyer
On Mar 1, 12:35 pm, Mark wrote: > Thanks for the replies, guys. Very much helpful. :) > > I've started going around -compileReport and the soyc and it looks > like these are what I need! I'm now implementing a crude version of > our stack trace converter. :) > > Just one hurdle encountered so fa

Automatic reaload CSS

2010-03-02 Thread Šobis
Hello, I have a GWT project wtih different CSS files. When I first visit my project client gets myproject.css and he loads pictures (for example for img ID "picture1" images/image1.png), styles. Then client makes another RPC which tells him to switch to myproject1.css (for img ID "picture1" i