Re: Is it possible to consturct CellTree form database via rpc

2011-01-04 Thread Y2i
updateRowData()/updateRowCount() needs to be called on the data provider, not on the cell tree. - You first create a cell tree, passing a tree model to the cell tree constructor. - The tree model will be creating node info nodes in TreeViewModel.getNodeInfo() - DefaultNodeInfo takes an instance

Re: Is it possible to consturct CellTree form database via rpc

2011-01-04 Thread yeti
perfect, thank you very much On 1月4日, 下午4时22分, Y2i yur...@gmail.com wrote: updateRowData()/updateRowCount() needs to be called on the data provider, not on the cell tree. - You first create a cell tree, passing a tree model to the cell tree constructor. - The tree model will be creating

Re: CellTable - redrawing only one column (not all)

2011-01-04 Thread manstis
This is not possible (in 2.1 at least). Have a look at the source, overridden renderRowValues() iterates all columns. On Dec 30 2010, 7:50 am, Janko janko.sla...@gmail.com wrote: Hi! I am using the CellTable and I would like to redraw only a particular column (or exclude one from redrawing)

Re: How to write file with GWT?

2011-01-04 Thread Sebe
Sorry, but if I disable GAE from Eclipse, I do not run the application. Possible solutions? Where did I go wrong in the code? Thanks to all Regards Sebe On Jan 3, 11:43 pm, a...@mechnicality.com a...@mechnicality.com wrote: This one is pretty interesting - I'll look into it further.

How align Cneter widget in dock layout panel

2011-01-04 Thread newbee
Hi All, I have created my main Panel using DockLayoutPanel where I have added MenuBar on North side and subMenu on west side and Cell table on center. Now the issue is that my cell table on default set to middle aligned (vertical) and whenever the height of the table changes then it is

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread agi
and how do you exactly run your application? can you paste whole command? I am using -noserver argument from eclipse and it works just fine.. On Jan 4, 2:44 am, Srividhya Ramachandran svr...@gmail.com wrote: I want to run the appln in Websphere server and trying to explore the -noserver

deploy new server version - how to inform clients?

2011-01-04 Thread Magnus
Hi, when I install a new server version, I redirect my URL to a under construction page beforehand. Then I undeploy the app and redeploy it. However, during this process the clients often still have the old app in their browsers. When the new app is deployed they may receive incompatible errors.

How to style check boxes, radio buttons etc. with GWT?

2011-01-04 Thread sythiar
Hello everyone. I have the following question: We are looking to change the look of the check boxes, radio buttons and combo boxes on our site, similar to this solution: http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/ This is of course not possible with pure CSS - meaning

Re: How to write file with GWT?

2011-01-04 Thread Sebe
Hi again, GAE don't allow to use FileWriter, but I need to write an XML file! I noticed it from here: http://code.google.com/intl/it-IT/appengine/docs/java/jrewhitelist.html I can use the classes: javax.xml.transform.Transformer javax.xml.transform.dom.DOMSource . that allow writing to an

Re: How to write file with GWT?

2011-01-04 Thread Sebe
I was wrong to write the code on the server-side .. try { DOMSource DOMSource source = new (doc); StreamResult sr = new StreamResult (dest); TransformerFactory tf = TransformerFactory.newInstance (); Transformer tf.newTransformer TRANSF = (); transf.transform (source, sr); } catch

Re: deploy new server version - how to inform clients?

2011-01-04 Thread Nirmal Patel
You need to handle IncompatibleRemoteServiceException Read here: http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideHandlingExceptions Regards, Nirmal -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: please Help me GWT Listbox

2011-01-04 Thread Nirmal Patel
Not sure if I understand your requirement; but are you looking to allow the user select multiple options from a list?? If so, there is a GWT widget: ListBox ( http://gwt.google.com/samples/Showcase/Showcase.html#!CwListBox) -- You received this message because you are subscribed to the Google

Unit test ListBox and change event problem when attached to DOM

2011-01-04 Thread salk31
This test fails as the event handler is called twice... public void testFoo() { Element body = RootPanel.getBodyElement(); Element div = DOM.createDiv(); div.setId(DOM.createUniqueId()); body.appendChild(div); ListBox lb = new ListBox();

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Tobias
I think that's not a compiler option, but an option for the GWT Hosted mode. I don't think you have to do anything special to the compiler to run it with your Websphere server. -noserver just means that the GWT Hosted Mode should not start up its embedded Jetty server. Regards, Tobias -- You

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Srividhya Ramachandran
I thought this was a compiler option . I am trying to use it in a ant target and it fails. I have the main application as a J2EE application deployed in websphere (which is running in RAD (same as Eclipse)) using struts. So I am following this:

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Srividhya Ramachandran
That what I was wondering. But without any options or anything, I am not able to debug the client side (GWT). On Tue, Jan 4, 2011 at 8:18 AM, Srividhya Ramachandran svr...@gmail.comwrote: I thought this was a compiler option . I am trying to use it in a ant target and it fails. I have the

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Tobias
The documentation page that you mentioned has -noserver under Development Mode Options. If you want to debug your project using a Websphere server as backend, you probably don't want to run the compiler but the Development Mode anyway? -startupUrl is also a Development mode option. I think you

Re: Upgrade to GWT 2.1.1

2011-01-04 Thread Aldo Neto
Tks Chris, I believed that this was the problem (although I disabled the Roo from my project). But I found that the problem is actually with the Maven GWT version. Once Maven is referencing a GWT 2.1 jar file, the errors I'm getting are due to the incompatibility with the GWT defined in my

Re: Where do KeyPress Events go?

2011-01-04 Thread jaybose
http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload Look at the source of the ShowCase example above. The uploadButton it uses is not a SubmitButton either. Just make sure the handler of your EnterButton submits the form. On Jan 3, 8:57 am, Greg Dougherty

[ANN] Smart GWT 2.4 Released

2011-01-04 Thread Sanjiv Jivan
Hi, Smart GWT 2.4 has been released. Release Announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_4_released Download : http://code.google.com/p/smartgwt/downloads/list Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ The key features of this release are : * GWT 2.1.1

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Srividhya Ramachandran
Is it possible to debug in Hosted Mode? On Tue, Jan 4, 2011 at 8:32 AM, Tobias thaberm...@gmail.com wrote: The documentation page that you mentioned has -noserver under Development Mode Options. If you want to debug your project using a Websphere server as backend, you probably don't want to

Re: please Help me GWT Listbox

2011-01-04 Thread jaybose
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/ListBox.html Based on the javadoc, you should see what you need to add elements to a ListBox. If this is not what you needed, please explain further. On Jan 3, 3:57 am, vijay gohel vijayigo...@gmail.com

Re: deploy new server version - how to inform clients?

2011-01-04 Thread nacho
When you call to your services you can do something like this in your AsyncCallback public void onFailure(Throwable caught) { if (caught instanceof IncompatibleRemoteServiceException) { Window.Location.assign(/newUrl); } } Regards. On 4 ene, 09:22, Nirmal Patel

Re: org.eclipse.jdt.internal.core.JavaModel cannot be cast to org.eclipse.jdt.core.IJavaProject

2011-01-04 Thread TBirch
I have some more information on this problem. I only get this error if my workspace in eclipse is named the same as my GWT project. In other words, if I create a new GWT project and use the same name for the project as the name I used for my eclipse workspace, I get the unable to cast error.

Re: Announcing Chrome Developer Plugin support for Mac and Linux

2011-01-04 Thread khj
It seems like Chris Conroy's suggestion was pretty complicated. To tell the truth, I still don't think I understand just exactly what he was saying ... sorry! Anyway, the earlier post by Andreas Horst (changing the *system*'s default browser to Chrome), accomplished what I was after. Thanks

Dependant style not applied

2011-01-04 Thread John
I'm trying to apply a dependant style to an InlineLabel, and I can see that the correct style is being set in firebug (since chrome is still broken ...), but the style isn't actually being used. Here's the code: *.ui.xml -- ui:style ../../resources/definitions.css @external

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Srividhya Ramachandran
I tried the -noserver option with devmode and changing the startupURL, but the debugger does not break at the breakpoint (the appln runs fine). Any ideas? I really want to debug this app in websphere... (Note: I am able to debug other sample applns from the same development environment.). Any help

Re: Where do KeyPress Events go?

2011-01-04 Thread Greg Dougherty
Yes, but it doesn't do the upload when I hit Enter. Which is what I'm trying to figure out how to get it to do. Greg On Jan 4, 8:20 am, jaybose onyeje.b...@gmail.com wrote: http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload Look at the source of the ShowCase example above.

Re: EnterButton

2011-01-04 Thread Greg Dougherty
So why hasn't this kind of Widget made it into the GWT code base? Greg On Jan 3, 5:53 pm, A. Stevko andy.ste...@gmail.com wrote: I've used this pattern throughout my code base with no problem. On Mon, Jan 3, 2011 at 6:57 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: I have a

Creating a Client-Only GWT Project in Eclipse

2011-01-04 Thread khj
Basically, I would like to start by clicking Eclipse's New Web Application Project button (which creates a standard client/server example project). Then, I want to remove everything that relates to using a server. Though I know I can just copy the JS and other files to another machine for

GWT Image Bundles - Only for Small Images?

2011-01-04 Thread khj
I am creating an application that will display one of about 20 PNG images upon selection of a corresponding tree item. Each image is on the order of 200K in length. Would it make sense to use GWT's image bundles for this? Or, are bundles designed to be used more with a collection of much

About TreeSet usage in GWT

2011-01-04 Thread Maverick
I tried TreeSet for FlexTable Sorting, creating a table model like this: package chanakya.gwt.client; import java.util.ArrayList; import java.util.Comparator; import java.util.Date; import java.util.TreeSet; import com.google.gwt.i18n.client.DateTimeFormat; import

Defining ChangeHandler in a Hidden Widget

2011-01-04 Thread Kevin
Hello all, I´m triying to define a ChangeHandler in a Hidden widget wrapped from the html file. The code used to achieve this is the following: input = Hidden.wrap( DOM.getElementById(input)); ChangeHandler handler = new ChangeHandler() { @Override public void

Re: Runtime errors after updating to 2.1.1

2011-01-04 Thread Fabio
Verify if you updated GWT version number at maven pom file. I got a similar error, because Eclipse was with the right version (2.1.1) but maven was configured to use 2.1.0: dependency groupIdcom.google.gwt/groupId

gwt rpc project fails in deploy mode but is fine in host mode

2011-01-04 Thread Weiqin Ma
We're using gwt to call rpc service to get data from database. It can show the daa in the listGrid in host mode, but it does not work in deploy mode, Could anyone give some advice about this? Appreciate it so much! -- You received this message because you are subscribed to the Google Groups

What does this message means - Error in Generated.....FieldSerializer.java

2011-01-04 Thread Rodrigo Romano
Hi, I am trying to gwt compile my modules that are 100% POJO using objectify. And I getting this error message, but it compiles after that. What it means?? [ERROR] Errors in 'generated://C34ED3C084298C31F07B52ABE9478A9C/ mypackage/database/MyClass_FieldSerializer.java' [ERROR]

Re: New user - how to create new GWT project

2011-01-04 Thread Tom
I have the same problem. Using the GWT Remote Service option will not create the Async class for me either. I'm learning GWT and it would be nice to have those tasks automated for people like me. :-) On Dec 27 2010, 4:12 pm, xdzgor xdz...@hotmail.com wrote: Hi - I am usingEclipseto create a

Re: Best way to handle Hierarchical structures/queries in GWT + GAE Datastore

2011-01-04 Thread Kasper
I am facing more or less the same problem. Did you find a good solution? Thanks. Kasper On 4 Dec. 2010, 03:19, metalhammer29a metalhammer...@gmail.com wrote: forgot to add that my question is mainly toward Recursive entities. what is the best data structure to use ? (a Folder, can have Zero

Persist/remove methods in ServiceLayer

2011-01-04 Thread sohai
Hi, I have a question is it passible to make RequestFactory work with service on server side which have persit/remove for entities. In other works i have on server side: public interface PlanetService { public long countAll(); public void delete(Planet entity); public ListPlanet findAll();

Re: GWT Image Bundles - Only for Small Images?

2011-01-04 Thread Paul Robinson
The answer to your question may depend on how you use your images, but others may have stronger opinions. Either way, if you're using large png images, you should beware this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5651 HTH Paul On 04/01/11 15:08, khj wrote: I am

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Brian Reilly
Make sure you have a gwt.codesvr query parameter on the URL. Otherwise your development mode server won't be used. Then, as long as you have a debugger attached to your development mode process, you should be able to debug client side code. Note that any RPC calls will be handled by server that

Re: EnterButton

2011-01-04 Thread Greg Dougherty
Hi Jeff, I don't see any place to attach a KeyPressHandler to a FormPanel. Were you thinking of something else? Greg On Jan 3, 6:27 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: I haven't tried it but I think if you wrap your input widgets in a gwt form widget your button would respond

Re: What does this message means - Error in Generated.....FieldSerializer.java

2011-01-04 Thread Paul Robinson
For every that GWT translates to javascript for use in the client, you must tell GWT where the source code is so that it knows how to translate it. The error message is telling you that mypackage.database.MyClass is in a directory (mypackage/database) that is not amongst the directories that

Re: GWT 2.1 compiler option : -noserver

2011-01-04 Thread Srividhya Ramachandran
I am using the gwt.codesvr query parameter; I am able to see the debug messages in the GWT Development Mode console window. The page launches successfully, only the debugger doesnt break at the break point (client side). I am as usual able to debug server side. Any idea about what could be wrong?

Re: SelectionCell is displaying empty combo box

2011-01-04 Thread Deepak Singh
Anyone who can resolve the issue? On Mon, Jan 3, 2011 at 11:33 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi, I have a cellTable and am displaying combox in one of the columns. I use SelectionCell for the same but my problem is that the combobox is displayed in all rows but all are

Re: EnterButton

2011-01-04 Thread Jeff Schwartz
Using UiBinder declare a SubmitButton ( http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/SubmitButton.html) within a qwt FormPannel. If you want to react to the user submitting the form then assign a field name to the submit button and attach an event handler

Re: SelectionCell is displaying empty combo box

2011-01-04 Thread Ben Imp
Perhaps you just snipped out the code, but in the bit you posted here I don't see anything adding any strings to the picUps ArrayList. The selection cell uses that array to build its options, so if that collection is empty, then that would explain your empty combo box issue. -Ben On Jan 4,

Re: GWT Spring Roo: support for a class object inside an ENTITY

2011-01-04 Thread Amit
Hi The below post was published during the holidays with no reply so far. I am reposting with the hope that someone (e.g., from the GWT team) will respond this time. Waiting for an answer, Thanks (and happy new year!!!) Amit. On Dec 27 2010, 4:52 pm, Amit a.b.kleinm...@gmail.com wrote: Hi,

Re: GWT with JPA located in a separate project

2011-01-04 Thread Sagadon
Thanks, paxdei! It looks like I'm missing a step. I've added the gwt.xml file in the core project, and added an inherit into the GWT project, but I still get errors on the inherit. Is there something else I need to do? Do I need to: * Add a gwt compile step in the core project? * Add the

Re: SelectionCell is displaying empty combo box

2011-01-04 Thread Deepak Singh
Hi Ben, I make sure that i am adding string values to list as follows: final ListString picUps = new ArrayListString(); // Adding values to picUps list picUps.add( -- ); This is added to the list. On Mon, Jan 3, 2011 at 11:33 PM,

RequestFactory cast problem with polymorphic objects

2011-01-04 Thread poe
Hi, that is my situation: I've got a base class ... public class Recipe { ... public static ListRecipe findAllRecipes() } and some child classes ... public class Appetizer extends Recipe { ... } ... I managed to store different recipe objects (Appetizer, Deserts etc) in the

Re: how to avoid instanceof checks in ActivityMapper ? is DoubleDispatch used in Expenses sample ?

2011-01-04 Thread Y2i
I was thinking of a similar approach, but couldn't come up with a way to populate the lookup table (initialize it for the first time with data). could you please explain how you register activities/places in the lookup table, so that they are available at run-time ? At the moment I simply

Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread Magnus
Hi, I receive the following error message: Server Failure: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'bcs.shared.scr.GameStatus' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes,

Write document in Server-side

2011-01-04 Thread Sebe
HI, I have already discussed here but did not find what I was looking for (http://groups.google.com/group/google-web-toolkit/browse_thread/ thread/e7a880a22a129bfa?hl=en). For my web application I use GWT 2.1.0 with Eclipse 1.3.8 and App Engine. I would like to write the values obtained as a

is there a class that implements HasWidgets extends FocusWidget

2011-01-04 Thread Joe Hudson
Hi, I'm trying to figure out the best way to have a class accept click events while still being able to add widgets to that class. Is this possible? Can anyone suggest the best way of doing this? Thanks. Joe -- You received this message because you are subscribed to the Google Groups

Re: please Help me GWT Listbox

2011-01-04 Thread Michael
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/548749fc1cef2ae8 On Jan 3, 10:57 am, vijay gohel vijayigo...@gmail.com wrote: hi, please Help Me in Listbox widget i want to add option Group like Select tag's Option group  in List box How it is Possible. i don't

Re: RequestFactory cast problem with polymorphic objects

2011-01-04 Thread Thomas Broyer
It's not a bug, it's the way RF works (for now): there's no polymorphism on the client-side, you get objects of the exact type declared in your service stub or proxy (EntityProxy/ValueProxy) interfaces. See also http://code.google.com/p/google-web-toolkit/issues/detail?id=5367 -- You received

Re: Write document in Server-side

2011-01-04 Thread a...@mechnicality.com
Sebe On 1/4/2011 9:40 AM, Sebe wrote: HI, I have already discussed here but did not find what I was looking for (http://groups.google.com/group/google-web-toolkit/browse_thread/ thread/e7a880a22a129bfa?hl=en). For my web application I use GWT 2.1.0 with Eclipse 1.3.8 and App Engine. I would

Re: RequestFactory cast problem with polymorphic objects

2011-01-04 Thread Y2i
Thanks for pointing to this issue Thomas! A follow up question: how do we distinguish between the sub-classes on the client? JPA queries are polymorphic, so on the server the sub-classes are distinguishable. For single table and joint inheritance strategy JPA internally uses a discriminator

Re: Write document in Server-side

2011-01-04 Thread Sebe
I want to create a custom user profile using the Google Search API (http://code.google.com/p/gwt-google-apis/wiki/ AJAXSearchGettingStarted). With these APIs can retrieve the results of a Google's search engine (web, image, video ). Here's what I do: when the user Foo click on a result, the

Re: Write document in Server-side

2011-01-04 Thread a...@mechnicality.com
On 1/4/2011 10:35 AM, Sebe wrote: I want to create a custom user profile using the Google Search API (http://code.google.com/p/gwt-google-apis/wiki/ AJAXSearchGettingStarted). With these APIs can retrieve the results of a Google's search engine (web, image, video ). Here's what I do: when

Re: is there a class that implements HasWidgets extends FocusWidget

2011-01-04 Thread Y2i
A Widget.addDomHandler() method may be what you are looking for. You can register a handler for com.google.gwt.event.dom.client.ClickEvent. On Jan 4, 9:43 am, Joe Hudson joe...@gmail.com wrote: Hi, I'm trying to figure out the best way to have a class accept click events while still being

Re: GWT Spring Roo: support for a class object inside an ENTITY

2011-01-04 Thread David Chandler
Hi Amit, The Roo team supports the GWT add-on. Best thing to do is add an issue in the Roo tracker: https://jira.springsource.org/browse/ROO /dmc On Tue, Jan 4, 2011 at 11:52 AM, Amit a.b.kleinm...@gmail.com wrote: Hi The below post was published during the holidays with no reply so far. I

Re: Write document in Server-side

2011-01-04 Thread Sebe
Alan, thanks for everything ... First, this is a job for a university project, I must not publish it to websites! I need to recover what a user has clicked. Second: G is mandatory to use App Engine with GWT? (required to use Google Search API) Third: if not are there other solutions, you know of

Re: Runtime errors after updating to 2.1.1

2011-01-04 Thread Gary S
The remaining references to 2.1.0 were in my project's Properties Java Build Path Libraries. I install GWT SDK into Eclipse for the Google Plugin and then do Maven builds with GWT as Maven dependencies. I don't like the redundancy but I don't know how to make the plugin work without the SDK. When

Re: problem migrating to 2.1 application hags

2011-01-04 Thread smida02
This certainly seems to be a compiler bug that was introduced in 2.1.1 I tracked this down by brute force using alerts. I turned out to be a simple for loop that worked fine in GWT 2.0.2. I added the following if (filters[i].getReportColumns() != null) { for (int j = 0; j

Re: is there a class that implements HasWidgets extends FocusWidget

2011-01-04 Thread Gal Dolber
You can also wrap a FlowPanel into a FocusPanel. On Tue, Jan 4, 2011 at 2:54 PM, Y2i yur...@gmail.com wrote: A Widget.addDomHandler() method may be what you are looking for. You can register a handler for com.google.gwt.event.dom.client.ClickEvent. On Jan 4, 9:43 am, Joe Hudson

Re: How to write file with GWT?

2011-01-04 Thread A. Stevko
I've used this code frag to write XML on app engine without any problems. ByteArrayOutputStream baos = new ByteArrayOutputStream( ); XMLEncoder encoder = new XMLEncoder(baos); encoder.writeObject(myObject); encoder.close(); return baos.toString(); I believe I got the code from Example Depot at

Re: GWT with JPA located in a separate project

2011-01-04 Thread Brian Reilly
The core objects need to be GWT-compiled along with and at the same time as the rest of the GWT application. Therefore the source needs to be available to the GWT compiler. From what I've heard, you should be able to package the source files (and the .gwt.xml file) in the core jar and the compiler

Re: Label Click Handler Problem

2011-01-04 Thread A. Stevko
That is the nature of writing cross browser web applications. Chrome and Firefox share the WebKit engine. Find the source of that value -2147024809 and you will see how the different JS engines differ. On Mon, Jan 3, 2011 at 9:35 PM, Noor baken...@gmail.com wrote: if the error is in my

Re: How to write file with GWT?

2011-01-04 Thread a...@mechnicality.com
Yes, but that doesn't actually 'write' the file does it? It just generates a String which contains the XML representation of the java object. Its not persisted anywhere. You can generate a String representation of an object on the client with a few StringBuilder calls if you want to. I

Re: Write document in Server-side

2011-01-04 Thread a...@mechnicality.com
On 1/4/2011 11:01 AM, Sebe wrote: Second: G is mandatory to use App Engine with GWT? (required to use Google Search API) Sorry, don't know the answer to that question. Third: if not are there other solutions, you know of any tutorials or sites to tell me to use the database? It 'the only

Re: Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread Ben Imp
I'd hazard a guess that it means that your GameStatus class doesn't implement the IsSerializable interface, which GWT requires of objects you try to send across the wire. -Ben On Jan 4, 11:35 am, Magnus alpineblas...@googlemail.com wrote: Hi, I receive the following error message: Server

Re: Dropping support for ie6?

2011-01-04 Thread El Mentecato Mayor
-1 for dropping ie6 (same here; big clients still use ie6-- unfortunately) +1 for adding ie9 On Dec 30 2010, 10:43 am, Peter Ondruska peter.ondru...@gmail.com wrote: I am very aware of that (working for very big bank which is still at IE6)... Something has to be done. And there are already

Encoding / decoding arrays and lists using AutoBeanCodex and more...

2011-01-04 Thread Potate
The new AutoBean in 2.1.1 is great. Finally, there is a decent json tool that works in both js mode and pure JVM mode =) The basic scenarios described in the wiki (http://code.google.com/p/ google-web-toolkit/wiki/AutoBean#AutoBeanVisitor) work fine for me. I started poking further and I see some

Re: client using older version of gwt

2011-01-04 Thread Magnus
How can one track the version numbers? Which methods should be called? Thanks Magnus -- 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,

Re: Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread Magnus
Hi, this is true, but it implements java.io.Serializable. What is the difference between IsSerializable and Serializable and when to use which? However, the error occured only on one client. On other clients everything works fine. It could be that the client had an older version of the app than

DialogBox looking very weird

2011-01-04 Thread Youngster
Hi, I would like to use a DialogBox in my application but somehow it looks very very weird. See screenshot: http://ScrnSht.com/dykpnl The code is fairly straightforward: public void onModuleLoad() { DialogBox x = new DialogBox(); Button k = new

Re: DialogBox looking very weird

2011-01-04 Thread Flemming Boller
You should not set size on dialogbox itself. /Flemming On Tue, Jan 4, 2011 at 10:11 PM, Youngster aecdej...@gmail.com wrote: Hi, I would like to use a DialogBox in my application but somehow it looks very very weird. See screenshot: http://ScrnSht.com/dykpnl The code is fairly

Re: Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread Ben Imp
Serializable should work, post GWT 1.4 anyway. http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable Check the Javadoc for that exception and you should see a list of the other possible things that could cause it. -Ben On Jan

Re: Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread ciosbel
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes On Jan 4, 9:55 pm, Magnus alpineblas...@googlemail.com wrote: Hi, this is true, but it implements java.io.Serializable. What is the difference between IsSerializable and Serializable and

Re: Refreshing reference message and eclipse extremely slow

2011-01-04 Thread Rajeev Dayal
Hi Jerome, Sorry that we've been silent on this issue. We're looking into this problem now. I've updated the issue with a request for some information from those of you experiencing the problem. It would be helpful to us in diagnosing the problem. Regarding the release notes, we have not done a

Re: Upgrade to GWT 2.1.1

2011-01-04 Thread Chris Ramsdale
Those are the target dates, and it should include an updated STS. -- Chris On Tue, Jan 4, 2011 at 8:42 AM, Aldo Neto tumo...@gmail.com wrote: Tks Chris, I believed that this was the problem (although I disabled the Roo from my project). But I found that the problem is actually with the

Re: Message: For security purposes, this type will not be deserialized.

2011-01-04 Thread a...@mechnicality.com
Its worth reading this: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes There a number of odd little issues that can catch you out. Alan On 1/4/2011 1:35 PM, Ben Imp wrote: Serializable should work, post GWT 1.4 anyway.

Tutorial 2: Unit testing with guit

2011-01-04 Thread Gal Dolber
http://www.youtube.com/watch?v=QjJ25A08sOY -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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: DialogBox looking very weird

2011-01-04 Thread Youngster
Thanks, that worked! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

Re: client using older version of gwt

2011-01-04 Thread Ben Imp
There is (as far as I am aware) no built in mechanism to handle this kind of thing. I had a discussion on this not too long ago. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/94bbcb3720f83605 The general conclusion was to roll your own, if you feel as though it is worth

Re: Upgrade to GWT 2.1.1

2011-01-04 Thread David Chandler
Aldo, Sounds like you might be bumping against an issue with gwt-maven-plugin, which hasn't yet been updated for 2.1.1. In the mean time, you have to specify the gwt.version in the plugin config using plugin dependencies like this: plugin

Re: Centering an image in a SimplePanel

2011-01-04 Thread Myles Bostwick
Don't forget also to set display: block; if you use the auto margins on the image. -- 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,

GWT ResizeComposite resizing issue in IE

2011-01-04 Thread Lakshitha Ranasinghe
Hi All, I am developing a GWT application that consists a ResizeComposite as the main body container which is wrapped in a TabLayoutPanel. This composite widget contains two child widgets. Left widget is a GWT tree and it contains hyperlinks. The right widget is a simple panel that contains image

UIBinder component in multiple packages

2011-01-04 Thread particule
Hi. I crawled the archives but could not find the answer to the following question. I read the UIBinder doc too. I would like to create a library of components created using UIBinder. I would typically have in the com.my.company.common package a test2 component, implemented in a

Date/Time support on client side

2011-01-04 Thread Tom Rada
Hi, let me apologize in advance for my trivial post, but I really don't know any better place to ask the question: I want to have a widget consisting of three list boxes allowing people enter their date of birth. However, it seems GWT lacks any support for working with date/time on client side.

Removing inline styles from Layout Panels

2011-01-04 Thread Blaise
Hello, I'm working on my first project with GWT, and trying to get my head round the DockLayoutPanel and all the absolutely positioned divs it adds to an HTML page full of inline styles. I'm working on the front-end in partnership with a Java Developer who has put together a UIBinder file with a

Re: Date/Time support on client side

2011-01-04 Thread Y2i
Adding/subtracting 1900 is not a big problem. Instead of setDay() use (also deprecated) setDate() Also, take a look at DateTimeFormat http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsFormatting.html#datetimeformat If you are concerned about using deprecated methods, you can

Re: Date/Time support on client side

2011-01-04 Thread Ben Imp
Unfortunately, you are stuck with the old java.util.Date object. GWT as of yet has nothing more to offer. There is the DateTimeFormat class, which will allow you to parse bits out of the date object, and possibly construct the date object if you mash your three combo boxes into a suitable

Workaround for Embedded objects

2011-01-04 Thread Aldo Neto
Hi, I've been struggling with RequestFactory lately and I just found that it doesn't support what I need, i.e. Embedded objects. Note that RequestFactory does not currently support embedded objects (@Embedded in various ORM frameworks) because it expects every entity to exist independently with

Re: Workaround for Embedded objects

2011-01-04 Thread Y2i
ValueProxy can help with @Embedded, please take a look at Thomas' post here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/743631b8460d931b/4242f0ef5de751e7?lnk=gstq=ValueProxy#4242f0ef5de751e7 On Jan 4, 3:43 pm, Aldo Neto tumo...@gmail.com wrote: Hi, I've been

retrieving entrypoint instance

2011-01-04 Thread fachhoch
I am a new bee starting with gwt. I did a hello world example , I did not understand how to retrieve the entrypoint instance to repalce content from RootPanel. Here is the code I have code public class Application implements EntryPoint { /** * This is the entry point method.

Re: Workaround for Embedded objects

2011-01-04 Thread David Chandler
Yes, as of 2.1.1, you can use @Embedded with RequestFactory. The embedded type needs to extend ValueProxy instead of EntityProxy, and you'll need to use .with(embedded_field_name) when firing the request in order for RF to populate the field. I expect to have a sample up in the next week. Note

Re: retrieving entrypoint instance

2011-01-04 Thread Y2i
Entry points are declared in *.gwt.xml module files. When a module is loaded, every entry point class defined in the module file is instantiated and its EntryPoint.onModuleLoad() method gets called. An entry point is instantiated only once and onModuleLoad() is also called once, so there is no

  1   2   >