Re: Is encryption over RCP possible?

2010-12-14 Thread Basdl
@UseTheFork I agree with Sri that SSL/TLS is the best you can do. When using SSL/TLS you can force your application to use encryption (e.g. showing a login page if a request comes via http or automatically redirect). Therefore, Mallory can't just modify the protokoll from https to http. The clie

Re: How to add checkbox in header.

2010-12-14 Thread Diyko
I thought it should be easy Help On 14 Грд, 21:17, Diyko wrote: > I need add checkbox in header and implement "check/uncheck all rows" > functionality? > Anybody did it already? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: RequestFactory, ServiceLocator and Spring

2010-12-14 Thread zixzigma
I would also like to hear about the best practice to use RequestFactory with Spring. -- 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: show loading message in GWT

2010-12-14 Thread Nirmal
Here's some sample code showing how to use an image in UiBinder: Place your Icon Images in a pkg folder; say " pkg/path/containing/icon/resources" Create a ClientBundle for these images public interface PopupIcons extends ClientBundle { @Source("pkg/path/containing/icon/resources/loading.gif")

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-14 Thread Hilco Wijbenga
On 14 December 2010 21:20, Magnus wrote: >> By the way, I am quite curious why Grid is not listed as an >> alternative to HorizontalPanel (or VerticalPanel for that matter). >> Would that not be the natural replacement? Or does it behave >> differently? > > I think there is no difference: Grid is

Re: StackLayoutPanel Behaving Strangely

2010-12-14 Thread Hilco Wijbenga
On 14 December 2010 18:35, John LaBanca wrote: > You need an unbroken chain of ProvidesResize up to the RootLayoutPanel. Okay, I've implemented a small test. MySimplePanel extends SimplePanel and adds ProvidesResize and RequiresResize. public class MySimplePanel extends SimplePanel imple

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-14 Thread Magnus
BTW: I found that DockLayoutPanel hase some LTR (left to right) mode. Could I use this for my purpose? I made a first try, replaced the FlowPanel by a DockLayoutPanel for the whole row, but my children were not visible at all... #-) Magnus -- You received this message because you are subscribe

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-14 Thread Magnus
> By the way, I am quite curious why Grid is not listed as an > alternative to HorizontalPanel (or VerticalPanel for that matter). > Would that not be the natural replacement? Or does it behave > differently? I think there is no difference: Grid is based on HTML tables, as is HorizontalPanel. Plea

RequestFactory: return persisted ID in proxy after successful persist()

2010-12-14 Thread RyanD
This might be better logged as a feature request, but I wanted to check that I hadn't missed something first. Given something like this: PersonProxy person = context.create(PersonProxy.class); person.setName(name); context.persist().using(person).fire(. etc. In the call to: onSuccess perso

Re: A vertical scroll bar problem in CellBrowser

2010-12-14 Thread Y2i
Thanks for your reply John! I created an issue 5764 http://code.google.com/p/google-web-toolkit/issues/detail?id=5764 but I couldn't assign it to you (I probably don't have a permission) I only see the issue in one browser out of two: Chrome 9.0.597.16 dev has the issue Firefox 3.6.13 does not h

Re: Manipulate localized date on the server side

2010-12-14 Thread Chad
Sydney, I don't know if it's the best approach or not, but keep all dates and times in GMT on the server side. I simply add or subtract the local offset on the client. In places where the user enters a date/time, I offset it to GMT before passing it to the server. The conversion is very fast and I

Re: StackLayoutPanel Behaving Strangely

2010-12-14 Thread John LaBanca
You need an unbroken chain of ProvidesResize up to the RootLayoutPanel. DockLayoutPanel is a good choice for app level layout, with a SplitLayoutPanel directly beneath it. The reason the button appears huge is that LayoutPanels automatically size their content to fit the available area. You can

Re: enable and disable checkBoxCells in a a Celltable

2010-12-14 Thread John LaBanca
Cell#render() renders the Cell contents as Html into the SafeHtmlBuilder. If you create your own CustomCheckboxCell, you can render a checkbox however you want. You're render method would look something like the following: void render(MyType value, Object key, SafeHtmlBuilder sb) { if (value.is

Re: ClickableTextCell + CellList

2010-12-14 Thread John LaBanca
Actually, you probably want to use a plain TextCell in a CellList and attach a SelectionModel instead. The SelectionModel will fire a SelectionChangeEvent when the user selects an item. You can use NoSelectionModel if you want to catch the event without actually selecting anything. see CellList#

Re: StackLayoutPanel Behaving Strangely

2010-12-14 Thread Y2i
> So I can't use SLP unless it's the root panel? I just want it as a > part of the UI, not have it take over the entire page. You can, just make sure that the chain of components implementing ProvidesResize/RequiresResize from RootLayoutPanel to your SLP is unbroken. -- You received this message

Re: A vertical scroll bar problem in CellBrowser

2010-12-14 Thread John LaBanca
Can you create an issue and assign it to me. Also, do you see this in all browsers? Thanks, John LaBanca jlaba...@google.com On Tue, Dec 14, 2010 at 7:03 PM, Y2i wrote: > The problem is shown on this slide: > > > https://docs.google.com/present/edit?id=0Aaoje-sOVpn_ZGRwNmpma3ZfMTFkbWJocTI5cw&

Re: StackLayoutPanel Behaving Strangely

2010-12-14 Thread Hilco Wijbenga
On 14 December 2010 17:50, Y2i wrote: > If you remove the FlowPanel, the StackLayoutPanel should work.  Just > make sure you attach your composite to RootLayoutPanel, not RootPanel > (StackLayoutPanel works only in standards mode, check > http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/co

Re: StackLayoutPanel Behaving Strangely

2010-12-14 Thread Y2i
If you remove the FlowPanel, the StackLayoutPanel should work. Just make sure you attach your composite to RootLayoutPanel, not RootPanel (StackLayoutPanel works only in standards mode, check http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/StackLayoutPanel.ht

Re: Manipulate localized date on the server side

2010-12-14 Thread Sydney
Well not much response on that topic, so let me explain in a better way my problem. I have the class Facility in shared folder (client and server). public class Facility { private List logs; // getter, setter } public class Log { private Date date; // getter, setter } I would like to ru

StackLayoutPanel Behaving Strangely

2010-12-14 Thread Hilco Wijbenga
Hi all, I'm stuck trying to get an accordion widget working. As I understand it, StackLayoutPanel is meant for this sort of thing. So I've implemented the following: Stack One Button X Stack Two

Re: Mixing GWT 2.0.x & 2.1.0 Browser Plugins, How?

2010-12-14 Thread Andrew Hughes
BINGO! Thanks Thomas :) On Tue, Dec 14, 2010 at 8:43 PM, Thomas Broyer wrote: > It's not a plugin issue. You probably just have a file in your browser > cache that references the older version. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolk

A vertical scroll bar problem in CellBrowser

2010-12-14 Thread Y2i
The problem is shown on this slide: https://docs.google.com/present/edit?id=0Aaoje-sOVpn_ZGRwNmpma3ZfMTFkbWJocTI5cw&hl=en&authkey=CMzp2YQK A CellBrowser fills its parent (with an orange border), and the parent in turn sits inside a LayoutPanel (with a blue border). When the CellBrowser is not wi

ClickableTextCell + CellList

2010-12-14 Thread Jaroslav Z?ruba
Hello I need to create a simple list just for picking an item: the list pops up, user clicks one item, list disappears, item id gets sent somewhere... I assume ClickableTextCell is the "official" way to do this, but I was able to find only an example used together with CellTable. (CwCellSampler

Re: show loading message in GWT

2010-12-14 Thread ben
Try this... http://gwttipper.blogspot.com/2010/12/gwt-loading-screens.html -- 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 emai

Re: Request factory: key xxx is not permitted to be set

2010-12-14 Thread Simon Majou
It works fine with 2.1.1-rc1. -- 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...@googlegro

Re: enable and disable checkBoxCells in a a Celltable

2010-12-14 Thread pfc09 pfc09
Hei! And thank you for answering. I read what you suggested, but I can't see how render method can help me... void *render*(C value, java.lang.Object key, SafeHtmlBuilder

How to reliably detect a paste operation via mouse in TextBox?

2010-12-14 Thread Sunit Katkar
I have a simple GWT TextBox widget. When a user types anything in it, I listen for keyboard events and enable a button. Now if the user simply copies the text from some other browser window using the mouse and the mouse context menu and then uses the same mouse context menu to paste in the TextBo

Re: new to UiBinder Question / Problem

2010-12-14 Thread Craig
You need to replace LoginScreenWidget.class with MyUiBinder.class in the line that creates the uiBinder: private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class); On Dec 12, 4:23 pm, Ryan Rathsam wrote: > Hi All, > > I've just started looking into UiBinder as a possibility for building

Re: To GWT or Not to GWT

2010-12-14 Thread bkard...@gmail.com
Sure, as I said, it's a little bit hard to describe a concrete example... But you can imagine, I think, given the description what I am talking about... Right? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send ema

Re: To GWT or Not to GWT

2010-12-14 Thread Eric Ayers
So, I think this discussion might be a bit moot in the gadget case. I thought that gadgets were loaded into their own iframes (at least they were at one point) and could not share code by design. On Tue, Dec 14, 2010 at 4:57 PM, bkard...@gmail.com wrote: > GWT's monolithic compile makes for real

To GWT or Not to GWT

2010-12-14 Thread bkard...@gmail.com
GWT's monolithic compile makes for really efficient JavaScript/ Resource downloads. In terms of providing a solution to the sort of "traditional" kinds of web app problems, it's hard to argue that GWT couldn't optimize whatever a developer would write because developers write for flexibility - whe

Re: extract substring from within 2 tokens

2010-12-14 Thread zixzigma
http://download.oracle.com/javase/6/docs/api/java/lang/String.html#split%28java.lang.String%29 -- 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 t

Re: extract substring from within 2 tokens

2010-12-14 Thread zixzigma
split the string (eg.description), and use ":" as delimiter, String [] result = description.split(":"); //result is an array of 3 elements "ID" "89790797" "ID" String id = result[1]; -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To po

extract substring from within 2 tokens

2010-12-14 Thread pieceovcake
anyone know the equivalent of String description = "ID:89790797:ID"; String foundid = org.apache.commons.lang.StringUtils.substringBetween(description, "ID:", ":ID"); in the java.util.regex library? I need to extract the string between the ID tags Thanks -- You received t

Image rollover using GWT 2.1 events

2010-12-14 Thread manstis
Hi, I wrote a simple Widget that registered for mouseover and mouseout events to handle image rollover (i.e. when mouse is over the Widget one image is displayed and when moved out another image is displayed). It works well when the mouse movement is slow however if I move the mouse quickly from

Re: double click handler for CellList

2010-12-14 Thread John LaBanca
When GWT 2.1.1 is released, you will be able to pass an optional CellPreviewEvent.Handler to setSelectionModel, changing the behavior of selection. T

RequestFactory, ServiceLocator and Spring

2010-12-14 Thread d95sld95
I am trying to find a good solution to integrate the RequestFactory with Spring. I implemented this ServiceLocator (no exception handling included for simplicity): public class SpringServiceLocator implements ServiceLocator { @Override public Object getInstance(Class clazz) {

Re: Tablayout panel does not renders the content

2010-12-14 Thread Aldo Neto
Hi, I followed your suggestions to make sure I was doing the right thing but I'm still not able to get my tabs to be displayed. 1) I'm using the correct DOCTYPE 2) I tried with both SimplePanel and LayoutPanel (which extends ComplexPanel). Neither have worked. When using SimplePanel, at least the

double click handler for CellList

2010-12-14 Thread Rene Vielma
Hello I created a class that extends AbstractCell, like http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList. All work fine, but CellList just has setSelectionModel for selection handler. I like double click selection handler. How I can to do. thank you -- You received this message

Re: Eclipse GWT Plugin Download

2010-12-14 Thread Sean
That's exactly what I was looking for, Thank you! -- 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+u

Re: GWT + Google Maps (JSNI) put a map in a panel

2010-12-14 Thread jMotta
Sup, There is an API to Maps in GWT, so you can declare your panel using UiBinder or programatic and then renderize your map at runtime. You're brazilian? add jayrmo...@gmail.com in gtalk and i help you! :D Thanks! On Dec 14, 7:23 am, Alberto wrote: > Hi! > First of all I'm sorry for my Englis

Re: Request factory: key xxx is not permitted to be set

2010-12-14 Thread Simon Majou
Thanks for the advice, I am going to try that one. On Tue, Dec 14, 2010 at 11:03, Thomas Broyer wrote: > Have you tried 2.1.1-rc1? The server-side part is a complete rewrite. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To pos

Re: Mix 'N Match units in DockLayoutPanel

2010-12-14 Thread Myles Bostwick
I retract my question. Nesting a LayoutPanel within the and the CSSing it like I would with HTML accomplishes my goal. -- 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.c

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Brian Reilly
Ahh, good point. Perhaps ValueProxy is what I'm looking for. I noticed mention of it in the RequestFactory_2_1_1 docs, but I didn't realize that it might be used that way. I'll have to give it a try. Thanks. -Brian On Tue, Dec 14, 2010 at 10:55 AM, Thomas Broyer wrote: > > > On Tuesday, December

Changing Default images (Arrows) for PagingOptions

2010-12-14 Thread IDeshpande
I have the PagingOptions enabled for my table with default arrow- Images for NextPage, LastPage, PrevPage and FirstPage. Is it possible to replace them with some other images..? That is to override the default images (Arrows) ? And how it could be done.? I tried using css but finding myself lost.

web browser not supporting regional language...

2010-12-14 Thread thomas kj
web pages having malayalam(language) fonts(like malayalam news,blogs,etc) are not supported by my web browser.it shows some symbols only.i'm currently using mozilla firefox in windows xp... wat is missing with it??pls help me -- You received this message because you are subscribed to the Google

dynamic table with trie and pagination

2010-12-14 Thread Ammar Rami
What is the best component GWT that I can use to a dynamic array with differents functionalities such as: - Manage colspan and rowspan like FlexTable - Manage the pagination as CellTable - Manage sorting on columns Does someone can send me a practical example. Thank you. -- You received this me

GWT + Google Maps (JSNI) put a map in a panel

2010-12-14 Thread Alberto
Hi! First of all I'm sorry for my English. :) I'm going to realize a GWT application that uses Maps v3 API using JSNI... To create a new Map I have to pass a DOM parameter (a node of DOM) in this way: panorama = new $wnd.google.maps.StreetViewPanorama($doc.getElementById('pano_canvas'),panoramaOp

Does GWT plug-in still not support linked folders in Eclipse?

2010-12-14 Thread Artem
Are there any efforts to make it do so? We rely on this constantly for sharing code between projects, but it seems the most elegant solution so far is this: http://stackoverflow.com/questions/951926/eclipse-3-4-gwt-1-6-project-how-to-reference-source-from-other-projects/1674447#1674447 Which I don

How to add checkbox in header.

2010-12-14 Thread Diyko
I need add checkbox in header and implement "check/uncheck all rows" functionality? Anybody did it already? -- 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 unsubs

How would I go about creating a subclass of SplitLayoutPanel that can be used via UiBinder?

2010-12-14 Thread Blackberet
I've done public class PositionableSplitLayoutPanel extends SplitLayoutPanel { ... } and added to my .ui.xml file ... xmlns:splitpanel='urn:import:projectname.client.view.positionablesplitlayoutpanel' ... A

Mix 'N Match units in DockLayoutPanel

2010-12-14 Thread Myles Bostwick
Hi All, I'm attempting to use the DockLayoutPanel to create a center with a static width and variable width east and west. Creating a nice center column that's always the same width. I can do this in HTML, but I'm trying to take advantage of the LayoutPanel since this is the top level layout f

Re: Class is not serializable ?

2010-12-14 Thread yves
Hi all, thanks for your comments and advices. To solve my problem I'll do something like Didier said : I'll instantiate an object of type T (which is Serializable), instead of Class, and pass it to the server via the RPC. class MyType implements Serializable { T anObject; MyType() {} // m

Re: MVP Issue

2010-12-14 Thread Myles Bostwick
I solve this by passing in the presenter to the view, the view catches these events and calls a particular method on the presenter. That way the presenter doesn't have to know anything about the view code. Hope that's helpful. -- You received this message because you are subscribed to the Go

Re: ValueListBox not focusable

2010-12-14 Thread jMotta
The "workaround" is to create a component that extends the ValueListBox and implements HasFocusHandler (or use decorator, but it's less probably) .. i've done this with my Grid to add mouse event row count. On Dec 14, 4:34 pm, Emilio Bravo wrote: > Hi, > > I have the same problem. > > why ListBox

Re: ValueListBox not focusable

2010-12-14 Thread Emilio Bravo
Hi, I have the same problem. why ListBox inherits FocusWidget and ValueListBox don't? any solution? Regards. On Dec 11, 1:30 am, Jakob Mar wrote: > Hi, I can't see that  ValueListBox implements Focusable. Dose anybody > know a workaround to focus the ValueListBox? > > Thanks > Jakob -- You

MVP Issue

2010-12-14 Thread jMotta
Hi everyone, I don't know how to keep using the MVP good pratices at my actual context, i need to add event handlers for: click, blur and value change. But i've read that to keep the view decoupled the presenter (activity) should not know anything about the component itself, so my presenter interf

Re: Eclipse GWT Plugin Download

2010-12-14 Thread Myles Bostwick
My bad and good to know. Thanks! -- 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...@google

Re: Dev Mode Font Size != Production Mode Font Size

2010-12-14 Thread Jeff Schwartz
Hi Chris, The issue is 'font size' and not 'font-render-path'. The problem is that font-size in development mode is incorrect and only in Firefox; when viewing font-size info in Firefox Firebug it clearly shows a value other than what is declared in the css declarations. Firebug always shows that

Re: Eclipse GWT Plugin Download

2010-12-14 Thread Chris Conroy
The OP is asking about the Google Plugin for Eclipse which is distinct from the GWT DevMode plugin. Neither are grabbed locally since they are not packaged with GWT. On Tue, Dec 14, 2010 at 12:04 PM, Myles Bostwick wrote: > You ought to be able to startup dev mode and point that browser to the >

Re: Eclipse GWT Plugin Download

2010-12-14 Thread Myles Bostwick
You ought to be able to startup dev mode and point that browser to the server. That should prompt a request to install the plugin and I *think* that is grabbed locally. Someone feel free to correct me if I'm wrong. -- You received this message because you are subscribed to the Google Groups

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-14 Thread Hilco Wijbenga
On 14 December 2010 07:56, John LaBanca wrote: > Just to be clear, HorizontalPanel is still supported and can still be used > in strict mode to layout children horizontally, ensuring that they never > wrap to the next row.  It sounds like this is what you need. > The difference between quirks and

Re: Sample application for Editor Framework

2010-12-14 Thread Akito Nozaki
I learned the Editor framework by looking at what roo was generating. That got me 90% of the way there... I also looked at the unit test for 2.1 http://code.google.com/p/google-web-toolkit/source/browse/#svn/tags/2.1.0/user/test/com/google/gwt/editor/client I also looked at what the generator wa

Re: Reusing GWT Localization in Server Side Code

2010-12-14 Thread lacroix1547
I want to use gwt static messages on the server side too! Once you have used them, there is no way you want to use ResourceBundle again. And no I wont feel guilty if I have to use i18n on the server. -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

RequestFactory and Server-side caching

2010-12-14 Thread Andigator
I am loving RequestFactory for use in Editors, but I could use some advice for lists. Say I have a Person entity and PersonProxy. A db query returns List which is found in the RequestContext as Request>. I need a handle on this list on the server (for caching, filtering, etc), and to send pages

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-14 Thread John LaBanca
Just to be clear, HorizontalPanel is still supported and can still be used in strict mode to layout children horizontally, ensuring that they never wrap to the next row. It sounds like this is what you need. The difference between quirks and strict is a behavioral one. In quirks mode, setting th

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Thomas Broyer
On Tuesday, December 14, 2010 4:38:54 PM UTC+1, Brian Reilly wrote: > > What I was hoping for in 2.1.1 is something with, I suppose, the > functionality of AutoBean and the simplicity of use of @ProxyFor. > Unless I'm missing something about AutoBean, it looks too cumbersome > to use outside of a

Re: Dev Mode Font Size != Production Mode Font Size

2010-12-14 Thread Chris Conroy
I don't see how devmode could affect the font render path. FWIW, you shouldn't need to use the production server to use the compiled output. If you run a GWT compile and then hit your devmode server like usual but strip the ?gwt.codesvr fragment, then the embedded Jetty will serve up the version y

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Brian Reilly
What I was hoping for in 2.1.1 is something with, I suppose, the functionality of AutoBean and the simplicity of use of @ProxyFor. Unless I'm missing something about AutoBean, it looks too cumbersome to use outside of a tool that does code generation. In my case, I don't need a proxy for my entiti

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-14 Thread l.denardo
You're right, I read the op without the right attention. What I suggested works well if you just need to lay out your widgets in a row, as many button bars do. In that case the solution I suggest will work, and the bar will be truncated or wrap around if there's not enough space for all widgets, d

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Karthik Abram
Thomas, Thanks for your response. Here are a few follow ups: 1) The idea of forcing separation between client and server code so that GWT can generate client code is perhaps too restrictive. We have a lot of getter methods with intelligence or decoration of the returned value. Currently, we kno

Re: Strict Mode - replacement for HorizontalPanel needed

2010-12-14 Thread Brian Reilly
It's a bit more complicated than that, and you really have to look at the provided example in IE7 (not IE8, which works fine) to understand what's happening. >From what I understand, you want to have 2 widgets, a text field and a button, displayed in a row. Your layout is fluid, so the width of th

Re: Class is not serializable ?

2010-12-14 Thread ep
you dont need to, just put a fullyqualified classname on the wire and forName() it in the VM. you may also think about providing your custom field serializer for the class, but actually would be nonsense since you anyway cannot use it reasonably on the client On 14 Dez., 12:20, yves wrote: > @Di

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Daniel Simons
I have a project that utilizes RequestFactory and works in 2.1 but not in 2.1.1. Is there an example out there making use of the 2.1.1 RequestFactory improvements? On Tue, Dec 14, 2010 at 8:05 AM, Thomas Broyer wrote: > > > On Tuesday, December 14, 2010 1:14:30 PM UTC+1, kabram wrote: >> >> We

Re: Question for GWT users who use Maven

2010-12-14 Thread Stefan Bachert
Hi, just as an easy trick. Take Spring Roo and build a GWT project. Spring Roo is maven based. Just copy anything you like and need into your project. Regards Stefan Bachert http://wwwapp.de http://gwtworld.de On 13 Dez., 13:35, koma wrote: > This is the last thing I'll say about maven, I don

Re: Eclipse GWT Plugin Download

2010-12-14 Thread Thomas Broyer
See http://code.google.com/eclipse/docs/install-from-zip.html -- 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-w

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Thomas Broyer
On Tuesday, December 14, 2010 1:14:30 PM UTC+1, kabram wrote: > > We have a significant sized app built using GWT 2.0 and we have simple > Command pattern based abstraction for sending entities back and forth > between the server and client. The new RequestFactory while > interesting seems to req

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread tshalif
I am not smart enough for requestFacyory. On 12月14日, 午後9:14, Karthik Abram wrote: > We have a significant sized app built using GWT 2.0 and we have simple > Command pattern based abstraction for sending entities back and forth > between the server and client. The new RequestFactory while > inte

Re: show loading message in GWT

2010-12-14 Thread Nirmal
You could use either the PopupPanel or DialogBox Both can contain child widgets (your Lo

Sample application for Editor Framework

2010-12-14 Thread Nirmal
I am looking for resources and code samples to learn the GWT2.1 Editor Framework. Any suggestions apart from the DevGuide: http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html Thanks in advance, Nirmal -- You received this message because you are subscribed to the Google Group

Re: show loading message in GWT

2010-12-14 Thread ciosbel
The NotificationMole should do the trick. On 14 Dic, 13:33, Sean wrote: > The way I sometimes do it would to put the .gif in the first cell of a > Vertical Panel, and the FormPanel in the second. Have the .gif start off > with isVisible set to False. When the user hits submit, change the > visibi

Re: Class is not serializable ?

2010-12-14 Thread Didier Durand
Hi, you have to use non-generic definition for GWT:; i.e. Class and then probably implement a DTO (Data Transfer Object) if you want to keep the Class on server-side and have just Class on client side. That's how I do it personnally. regards didier On Dec 14, 1:57 pm, Paul Robinson wrote: > Th

Re: Class is not serializable ?

2010-12-14 Thread Paul Robinson
The hashCode() contract does not specify that the value should be the same on all JVMs. In fact, the javadoc for hashCode() specifically states that the value may be different for different invocations of an application. It's only guaranteed not to change during a JVM (and only when the content

Eclipse GWT Plugin Download

2010-12-14 Thread Sean
I want to install the Eclipse GWT Plugin on a machine that can't be hooked up to the internet, but the only install directions I can find is for Eclipse to goto the website. Some plugins have a download of the jar or directory that you can put on CD and install it from a local copy, does anyone

Re: show loading message in GWT

2010-12-14 Thread Sean
The way I sometimes do it would to put the .gif in the first cell of a Vertical Panel, and the FormPanel in the second. Have the .gif start off with isVisible set to False. When the user hits submit, change the visibilities of each, and on return of the response, hide the .gif and do what you w

RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Karthik Abram
We have a significant sized app built using GWT 2.0 and we have simple Command pattern based abstraction for sending entities back and forth between the server and client. The new RequestFactory while interesting seems to require too much "scaffolding" interfaces and classes. - Why should I create

Re: data driven MVP?

2010-12-14 Thread Subhrajyoti Moitra
Use a Scheduler to schedule a RepeatingCommand. The scheduler is defined in the presenter. The command will retrieve the backend data and do a view.setTexboxData() or view.setLabelData(...). The view should be implementing these methods (setTextBoxData() and setLabelData(..)) to actually write

Re: enable and disable checkBoxCells in a a Celltable

2010-12-14 Thread Subhrajyoti Moitra
i think u will have to use AbstractCell and then implement the render method appropriately. Also see the sources for CheckBoxCell for an example. Thanks, Subhro. On Tue, Dec 14, 2010 at 1:24 PM, pfc09 pfc09 <4pf...@gmail.com> wrote: > Hi! > I'm working with a CellTable and I'd like to add checkB

Re: Toast Notification

2010-12-14 Thread Dan
Ext GWT has the Info widget: http://dev.extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/Info.html On Dec 13, 9:20 pm, Jay Bose wrote: > If there was a version the Toast Notification available to you, via the > GWT API, would you use it? > > If you are not familiar with the Toast Notifici

gwt,maven,testing

2010-12-14 Thread Çağdaş
I'm trying to run a custom test that extends GWTTestCase in my gwt project with maven. And i have custom classes in server pack. and i need to use them in my test. I'm trying to run test with "mvn gwt:test" and [ERROR] Line 52: No source code is available for type com.etmen.simplewebapp.SimpleSamp

show loading message in GWT

2010-12-14 Thread manish kumar
Can anyone give very simple example to show a loading... message when the process is going on in GWT. Suppose i have a panel consist of a form and after submitting the content it must show the loading.. message in that panel only during the process. i want to use a .GIF image in place of loading ..

Dev Mode Font Size != Production Mode Font Size

2010-12-14 Thread Jeff Schwartz
Hi All, When viewing rendered pages in Firefox while in development mode my font sizes are being transposed. For instance, if I specify a font size of 12px in my uibinder xml's style declarations it is actually rendered as 10.7833px with other similar transpositions for other font-sizes.This appea

Re: Class is not serializable ?

2010-12-14 Thread yves
@Didier Of course MyType implements Serializable . It is just a typo in the example. Sorry. @Paul I didn't realized that Class is not GWT-serializable. Thanks for your remark. I lost pretty much time to find out why I get an exception during an RPC call It would have been nice if Class was serial

Re: Is encryption over RCP possible?

2010-12-14 Thread UseTheFork
Hi Sri, On Dec 13, 11:00 pm, Sripathi Krishnan wrote: > @UseTheFork > We have had similar discussions on the web security mailing lists. Here is a > relevant discussion > thread. > Short summary is that SSL/TLS has its limi

Re: ValueUpdater is always null on CellBrowser

2010-12-14 Thread Thomas Broyer
On Sunday, December 12, 2010 12:59:48 PM UTC+1, sevendays wrote: > > > Why is valueUpdater always null? Should I be instantiating a ValueUpdater > and passing it in from somewhere? Because it is always null, it doesn't call > valueUpdater.update, therefore when a date is selected it doesn't upd

Re: Mixing GWT 2.0.x & 2.1.0 Browser Plugins, How?

2010-12-14 Thread Thomas Broyer
It's not a plugin issue. You probably just have a file in your browser cache that references the older version. -- 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 u

Re: Request factory: key xxx is not permitted to be set

2010-12-14 Thread Thomas Broyer
Have you tried 2.1.1-rc1? The server-side part is a complete rewrite. -- 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

Re: Toast Notification

2010-12-14 Thread Nirmal
Isn't the NotificationMole similar?? Regards, Nirmal -- 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-toolk

Re: Class is not serializable ?

2010-12-14 Thread Paul Robinson
Class is not gwt-serializable. MyType has a non-final, non-transient field of type Class Therefore MyType is not serializable On 14/12/10 09:33, Didier Durand wrote: Hi, Serializable is an interface not a class. That's why it's not the list you mention. An interface has nothing to be serializ

Re: Class is not serializable ?

2010-12-14 Thread Didier Durand
Hi, Serializable is an interface not a class. That's why it's not the list you mention. An interface has nothing to be serialized per se. You should let us know about your class MyType in order to better help. regards didier On Dec 14, 9:21 am, Paul Robinson wrote: > If you look at the Class.

  1   2   >