Re: Saving Widget as Image

2011-09-20 Thread Markus
I found a lib that resolves the Problem: http://ajaxian.com/archives/canvas2image-save-out-your-canvas-data-to-images -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com

do you have example about workflow with gwt?

2011-09-20 Thread wahaha
do you have example about workflow with gwt? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubs

Saving Widget as Image

2011-09-20 Thread Markus
Hello! I want to draw some stuff on a SimplePanel and send this to the Server via RPC. It is possible to get a Panel maybe a AbsolutePanel as Byte Array and save it as JPG? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: runAsync + clientBundle = ❤ ?

2011-09-20 Thread Alexandre Dupriez
Why would you need to create a proxy each time you need to access your Resources interface? Just do it one time Resources resources = GWT.create(Resources.class) and call this instance everywhere (declare it static if needed, since the instance will not change over the life cycle of your applicati

Open a native popup window and fill it with gwt doesn't work

2011-09-20 Thread nicolas.wet...@zenika.com
Hi all, I my app, i want to alert the user for an important information, even he is working on a other things (i.e word or other app). To alert him only native popup (windows popup ws popup panel) can be put at the front of his desk. So here is my code to do that, it's running without error

Re: Beginner

2011-09-20 Thread Rob
Hi, Take a look at the GWT, GWTP and HSQLDB-related posts here: -> http://uptick.com.au/blog and this demo: -> http://gwt-cx.com/serendipity/Serendipity.html Cheers Rob http://code.google.com/p/gwt-cx/ On Sep 21, 8:23 am, Daniel Gerep wrote: > Hi fellas, > > I know that what I'm gonna ask i

Re: GWT JasperReports Usage

2011-09-20 Thread Rob
Hi, Take a look at this post: -> http://uptick.com.au/content/working-hsqldb-jasperreports-and-ireport and this demo: -> http://gwt-cx.com/serendipity/Serendipity.html Cheers Rob http://code.google.com/p/gwt-cx/ On Sep 21, 2:00 am, Jens wrote: > GWT supports only specific java classes > (s

Re: How to create image sprits

2011-09-20 Thread ramesh
Hi Alexandre, Thanks for your detail explanation. I have one doubt . I created a sample project which contain 4 separate static images. My requirement is i want to create single Image sprite out of 4 static images.So that i will use this single image sprite in my application as well as in my "B

Is there a limitation with GWT2.4 plugin for Eclipse3.4

2011-09-20 Thread Sai
I am trying to install latest GWT version 2.4 on eclipse 3.4. I read the document at following URL http://code.google.com/eclipse/docs/getting_started.html, but this document does not state any URL for eclipse 3.4 (Ganymede). Question here: Is there plug-in ready for eclipse 3.4 to download the

Not able download archived gwt plugin for eclipse 3.4(Ganymede)

2011-09-20 Thread Sai
I am trying to download the archived gwt2.4 plugin for eclipse 3.4(Ganymede) Open this URL http://code.google.com/eclipse/docs/install-from-zip.html and click on the link Download the latest update site archive for Eclipse 3.4. at the heading For Eclipse 3.4 after clicking on the link it tries t

Re: i want a example for AnimatedLayout

2011-09-20 Thread wahaha
does the changes of gwt source code by the official gwt group will be showed on code.google.com? On Sep 21, 3:03 am, Ido wrote: > Hope this can help > youhttp://code.google.com/p/google-web-toolkit/source/browse/trunk/sampl... -- You received this message because you are subscribed to the Goog

Getting “No Repository Found” error in Eclipse (Ganymede) while trying to install google plugins (GWT)

2011-09-20 Thread Sai
I am trying to install latest version of GWT( which is 2.4) on eclipse 3.4(Ganymede). Using following plugin update URL given in GWT docs: http://dl.google.com/eclipse/plugin/3.4 and getting "No Repository Found" error. Update works for other versions of Eclipse 3.5/3.6/3.7 but does not work wi

Cell Table Styling

2011-09-20 Thread gangurg gangurg
I am trying to come up with styling of Cell Table . However not able to figure out how . Trying to achieve 1. Should be able to Style any given row of a Cell table 2, Any Column of a Cell table 3. dynamically style any particular cell of a cell table . I tried to do the style sheet injection me

Re: Beginner

2011-09-20 Thread Daniel Gerep
Thanks Juan -- *Att* *Daniel Gerep* -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@go

Re: The code of constructor MyRequestFactoryDeobfuscatorBuilder() is exceeding the 65535 bytes limit

2011-09-20 Thread Eric Andresen
I was able to somewhat unblock my testing using a sleazy workaround: I re-compiled requestfactory-apt with a different DeobfuscatorBuilder that generated the code as follows: abstract class Command { public abstract void execute(); } (new Command(){@Override public void execute() {withOperation

Re: JSON

2011-09-20 Thread karim duran
Hi Facundo, Did you try Google Gson : http://code.google.com/p/google-gson/ Have a look, maybe it can help you. Regards. Karim Duran 2011/9/20 Facundo Schwindt > Hi Everyone. > > Anyone knows which are the best option for JSON Serialization and > Deserialization ? > Is only for JSON purpose

how to prevent hosted mode on external production servers?

2011-09-20 Thread Stevko
Could it be as simple as removing the hosted.html file from the deployment? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send emai

Re: Beginner

2011-09-20 Thread Juan Pablo Gardella
You must do the connection to jdbc (or use JPA or similar) in server side, you can't connect to db in client side, becouse some classes are not emulated . 2011/9/20 Daniel Gerep > Hi fellas, > > I know that what I'm gonna ask is

Beginner

2011-09-20 Thread Daniel Gerep
Hi fellas, I know that what I'm gonna ask is not good but my boos gave me a project all made with GWT and MySQL and I had never worked with GWT, only the basics today. Does anyone here have a link or a project working with MySQL? I just need to know how it works. Thanks in advance for any help

Re: GWT RequestFactory support for user permissions?

2011-09-20 Thread Marius Grama
Thanks for the hint. This is what i was looking for. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nzyOgzPfS4UJ. To post to this group, send

Re: GWT RequestFactory support for user permissions?

2011-09-20 Thread Thomas Broyer
RequestFactoryServlet.getThreadLocalRequest().getRemoteUser() (or getUserPrincipal()) ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-tmDlPR

Re: a SimpleEventBus for each activity? an expesive resource?

2011-09-20 Thread Thomas Broyer
Each widget has its own HandlerManager, which is an enhanced SimpleEventBus, so no, a SimpleEventBus is not expensive. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/m

Re: gwt 2.4.0 and maven

2011-09-20 Thread Thomas Broyer
A 2.4.0 version will soon be released: https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/yYqcKJGZq3U/NL7xBdjeNn8J In the mean time, see: - http://mojo.codehaus.org/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html - http://code.google.com/p/google-we

Re: Spring Security and GWT Caching Issue

2011-09-20 Thread Juan Pablo Gardella
+1 2011/9/20 Xephonic > I've integrated Spring Security with GWT, and it appears to mostly > work. I'm having a caching issue with the main html page in IE and > Chrome, however. > > I've separated out Spring Security login to a login.jsp that redirects > to my Application.html page (the GWT pa

JSON

2011-09-20 Thread Facundo Schwindt
Hi Everyone. Anyone knows which are the best option for JSON Serialization and Deserialization ? Is only for JSON purpose !! I was looking Piriti and RestyGWT.. I see that Piriti (http://code.google.com/p/piriti/wiki/GettingStarted) use aproximate 20 .jar ( GIN 1.5

Re: GWT RequestFactory support for user permissions?

2011-09-20 Thread Marius Grama
The technique evoqued on the ticket that you reffer could be applied into adding permission based annotations on the methods and verifying on the user if the user contains the permissions required by the annotation. This would come with the overhead of adding an own *ServiceLayerDecorator *impl

How to point out documentation "bugs" and suggest improvements?

2011-09-20 Thread Mark Molloy
Hi, I'm a newbie to Google Code in general and to GWT in particular. As such, I have "fresh eyes". I am seeing some bits of the documentation that could be improved, some of them pretty simple. Is there a way to submit these documentation "bugs"? OK, they're things that confuse me, and maybe I

Re: The code of constructor MyRequestFactoryDeobfuscatorBuilder() is exceeding the 65535 bytes limit

2011-09-20 Thread Eric Andresen
I should note that my RequestFactory references about 120 Request objects, each of which has between 5 and 20 methods. Would inheriting the Requests off of a common base interface that defined the common methods work in the RF? I'm not sure of the limitations of 2.4's RF inheritance. -- You

a SimpleEventBus for each activity? an expesive resource?

2011-09-20 Thread Elhanan
hi.. i would like to create a new instance of an eventbus for each new activity, ' the point is to create sort of a local context between the activity and it's view, which would exchange events, (these events would actually the presenter interface) question is, would creating such an object b

The code of constructor MyRequestFactoryDeobfuscatorBuilder() is exceeding the 65535 bytes limit

2011-09-20 Thread Eric Andresen
Are there any tricks or tips to reduce the size of the 2.4 RequestFactory's generated DeobfuscatorBuilder class? My compiler is choking with the following error: The code of constructor MyRequestFactoryDeobfuscatorBuilder() is exceeding the 65535 bytes limit The generated file is a single con

Re: i want a example for AnimatedLayout

2011-09-20 Thread Ido
Hope this can help you http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/expenses/client/SlidingPanel.java -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this disc

Re: gwt 2.4.0 and maven

2011-09-20 Thread David Chandler
The gwt-maven-plugin version doesn't have to match the GWT version. Please look at the sample projects referenced in my recent post on the GWT blog for an example. /dmc On Tue, Sep 20, 2011 at 1:16 PM, EMan wrote: > I am trying to get GWT 2.4.0 to work. my project is currently using > GWT 2.3

Re: DataGrid and CellTable

2011-09-20 Thread Jeff Larsen
Datagrid, the column headers and footers are independent of the data. Meaning you can scroll the data and the headers stay in place. CellTable this is not the case. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion

Re: gwt 2.4.0 and maven

2011-09-20 Thread Stefan Ollinger
Am 20.09.2011 19:17, schrieb Hilco Wijbenga: On 20 September 2011 10:16, EMan wrote: I am trying to get GWT 2.4.0 to work. my project is currently using GWT 2.3.0. is there a GWT maven plugin available yet that is compatible with 2.4.0? The highest version Is see is 2.3.0-1. Have you tried

open native popup window and fill it with gwt doesn't work

2011-09-20 Thread Nicolas Wetzel
Hi all, I my app, i want to alert the user for an important information, even he is working on a other things (i.e word or other app). To alert him only native popup (windows popup ws popup panel) can be put at the front of his desk. So here is my code to do that, it's running without error but

Re: gwt 2.4.0 and maven

2011-09-20 Thread Hilco Wijbenga
On 20 September 2011 10:16, EMan wrote: > I am trying to get GWT 2.4.0 to work.  my project is currently using > GWT 2.3.0.  is there a GWT maven plugin available yet that is > compatible with 2.4.0?  The highest version Is see is 2.3.0-1. Have you tried it? It seems to work fine. I don't think t

gwt 2.4.0 and maven

2011-09-20 Thread EMan
I am trying to get GWT 2.4.0 to work. my project is currently using GWT 2.3.0. is there a GWT maven plugin available yet that is compatible with 2.4.0? The highest version Is see is 2.3.0-1. Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Tool

Re: Unexpected RPC trouble when moving up to GWT2.4

2011-09-20 Thread jhowe
This occurs after rebuilding my GWT/GAE environment with all latest versions of plugins and sdks. Please, any help would be appreciated. On Sep 19, 10:06 pm, John Howe wrote: >  I thought this was going to be easy. > > I'm trying to move a working GAE java app up to GWT 2.4. > > But when I do, I

How Can I build a DataGrid with Multi-Column Cell

2011-09-20 Thread Khvu Nguyen
Can Datagrid have a cell that can span multiple columns or rows? Or do I have to use Flextable for such feature? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/

DataGrid and CellTable

2011-09-20 Thread Khvu Nguyen
I am a GWT newbie. Can someone explain what difference between a DataGrid and a CellTable? Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolki

In what order are the methods of ValueAwareEditor called ?

2011-09-20 Thread Leonel Gayard
Hi, I have a custom widget that implements ValueAwareEditor[1]. In what order are the methods setEditorDelegate(), setValue(), subscribe() and flush() called ? Are they called before or after methods setValue in the sub-editors are called, for each property of the bean ? More specifically, my

Re: GWT Chrome dev OOPHM is Slow. What is the roadmap?

2011-09-20 Thread Jens
Also if you are using Mac you can still use Safari 5.0.5 (or OmniWeb) beside Safari 5.1. Firefox 6 is also supported (search for Firefox 6 in this group and you will find an updated dev mode plugin). -- You received this message because you are subscribed to the Google Groups "Google Web Toolk

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Replacing setModal(true) above with setModal(false) works for me and still seems to work in the other browsers. It's hard to say whether that's a bug or not, but setModal(false) avoids it. Many thanks... Pete On Sep 20, 6:17 pm, Jens wrote: > Can you try and use setModal(false) on your PopupPan

Re: GWT Chrome dev OOPHM is Slow. What is the roadmap?

2011-09-20 Thread Brandon Donnelson
Thanks for that note. I'll check that out. I also added to the issue for reference. Brandon -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CR

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Jens
I use a PopupPanel with a ScrollPanel that contains somewhere a DisclosurePanel that in turn contains a ScrollPanel in its content area and it works. But I think I had some issues but could not remember which ones. Can you try and use setModal(false) on your PopupPanel? I don't use setModal(t

Re: GWT Chrome dev OOPHM is Slow. What is the roadmap?

2011-09-20 Thread Jens
Using the development build of Chrome (Chrome Dev Channel, currently version 15.0.874.15) I found its already a good portion faster than it was some time ago. Maybe you can try and update your version. -- J. -- You received this message because you are subscribed to the Google Groups "Google

Re: GWT JasperReports Usage

2011-09-20 Thread Jens
GWT supports only specific java classes (see http://code.google.com/intl/de-DE/webtoolkit/doc/latest/RefJreEmulation.html) so you can't use Jasper directly in client side code. You have to generate the PDF/Excel/etc file on your server (not JasperServer, just your GWT backend server) and tell

Setting a style for a single cell of a celltable

2011-09-20 Thread Rike255
Hey all, So I have a celltable that contains a few textcolumns. I want to be able to set a style for individual cells based on its contents. I can set a style for a specific column by calling something like: cellTable.getColumn(index).setStyleNames(style.disabled()); The above works but I can't

Re: GWT Chrome dev OOPHM is Slow. What is the roadmap?

2011-09-20 Thread gwt.user
I suspect this wont change anytime soon because of all the sandboxing chrome does. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/C6cxePpbficJ

Re: GWT Chrome dev OOPHM is Slow. What is the roadmap?

2011-09-20 Thread Brandon Donnelson
I filed a specific issue related to this - http://code.google.com/p/google-web-toolkit/issues/detail?id=6813 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-

GWT Chrome dev OOPHM is Slow. What is the roadmap?

2011-09-20 Thread Brandon Donnelson
Please focus on the development plugin for Chrome. What is the future roadmap for the Chrome dev plugin? Thanks, Brandon Donnelson -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.g

Re: GWT Binder error problem? show [ERROR] Element may only contain a single child element, but found and . Element

2011-09-20 Thread Sudhakar Abraham
There can be one single widget inside the tag. You are using two VerticalPanels inside the center tag. To solve the problem use another verticalpanel wrap(v1+v2). //Try the below code corrected .xml file. Save

ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Using GWT 2.4.0, I'm trying to create a DialogBox for errors containing a message and a stack trace inside a DisclosurePanel, but in OSX Lion, scrolling doesn't work in Google Chrome and Safari. It works on Firefox for OSX Lion, IE for XP and Google Chrome for XP. For the browsers that it doesn't w

GWT JasperReports Usage

2011-09-20 Thread Vishnu
Hello, I have GWT portal. Portal has different kinds of data. I want to view the data in jasperReport and later export to pdf,csv,text etc..depending on the user option . I dont want to use JasperServer. I wrote the Jasper code [compile & file Reports] method. and tried running on GWT Develo

Re: GWT 2.0 RPC not picking up custom generated Serializable classes

2011-09-20 Thread Farid
Hello Martin and Chris, I was wondering if there is any final answer to this issue. I happen to have the same problem whereby I cannot send classes generated by my generator through GWT RPC. The GWT RPC generator does not seem to be able to find the source for my generated class. Let me know i

Spring Security and GWT Caching Issue

2011-09-20 Thread Xephonic
I've integrated Spring Security with GWT, and it appears to mostly work. I'm having a caching issue with the main html page in IE and Chrome, however. I've separated out Spring Security login to a login.jsp that redirects to my Application.html page (the GWT page), and when I first start the app

Re: format dates in specific timezone

2011-09-20 Thread Palo G.
Hi, I found this discussion after hours of thinking and googling same problem. We have simple problem that turned out to be a huge problem in GWT. There is no tool that can get client time zone and return that bloody TimeZoneInfo instance. So I have to ask if you had found some solution or how did

Re: Templates generating links that behave like an Anchor

2011-09-20 Thread Daniel Guggi
Using this approach I get an assertError: java.lang.AssertionError: A widget that has an existing parent widget may not be added to the detach list at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose(RootPanel.java:136) at com.google.gwt.user.client.ui.Anchor.wrap(Anchor.java:81

Re: GWT + Server Paths

2011-09-20 Thread Alexander Orlov
Also using a */shop*, */news *pattern requires the browser to reload the page, each time you navigate from one path to another. With GWT you don't need to reload the page at all. Using *hashtags,* like already mentioned, enables you to implement a reload-less navigation structure: */#shop, /#new

Re: GWT + Server Paths

2011-09-20 Thread Jens
You can use GWT Places & Activities. Using the default Place implementation you would end up having something like: http://www.myDomain.de/#NewsPlace:list (would display a list of news) -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gr

Re: GWT + Server Paths

2011-09-20 Thread Rutger van der Eijk
Hi Markus, I think what you are looking for is implemented with GWT places and the history mechanism. I suggest you have a look @: http://code.google.com/intl/nl-NL/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html If you want to combine it with the MVP approach look @: http://code.goo

GWT + Server Paths

2011-09-20 Thread Markus
Hello! In normal Webapps the Server Paths show in which directory the user is. Example: http://www.myDomain.de/news/ <= In the news http://www.myDomain.de/shop/ <= In the shop GWT is just one call... So how can I show the Shops on URL /shop/ and how the News on /news/? Currently I just add a

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread Tiago
On Sep 20, 11:03 am, Thomas Broyer wrote: > It's not a "the DAO then cares about problems of UI", it's just a shift in > contract from "getX(i) returns a 'pointer' to X(i) but potentially gives you > access to the whole database by following relationships" to "getX(i) gives > you a snapshot of X(i

runAsync + clientBundle = ❤ ?

2011-09-20 Thread JAre JAre
Hello everyone! I need to make my resources built into (Data URI) piece of code that will be called as asynchronous code. I have a lot of separate asynchronous code and single clientBundle(that it will use). Should i initiate resources inside each onSuccess call? Like this: ...

Question on production mode/ compilation

2011-09-20 Thread neicke
Hello everyone, i have a GWT project which is working fine in development mode and compiles successfully. But when i open the html-file I don't see the UI created with GWT. The javascript does not load i guess. I tried both Firefox and Chrome. I renamed my project recently, what might got me into

Re: GWT Binder error problem? show [ERROR] Element may only contain a single child element, but found and . Element

2011-09-20 Thread Alexandre Dupriez
You can set only one widget in the section of your DockLayoutPanel. Add your second panel in another section (e.g. ), or create a composite wich wraps panel1 and panel2. On 20 sep, 13:38, samuel wrote: > I got the problem when I compile my project. I write my error .xml > file. > >         xmln

Reverse Proxy in Development Mode

2011-09-20 Thread Willow
Hi, I'm trying to create an app for PhoneGap that will do cross domain SOAP calls. As with PhoneGap that isn't an issue, I was looking for a way to bypass the same origin policy in development, and came across the Reverse Proxy Jetty configuration solution using mod_proxy. However, I'm having troub

how to control the flow

2011-09-20 Thread mallikarjun....@gmail.com
Hi every body, I am using one popup and one composite and one entrypoint class.I use to set the popup for first login.When ever i successfully login. the composite page need to be displayed.but it show directly.composite page. could u please help me. my code in entry point is

Re: Cannot lo0ad my application since the upgrade to gwt 2.4

2011-09-20 Thread jhowe
Strangely, this doesn't seem to work for me. I'm trying to move a working GAE/GWT app to GWT2.4. After putting gwt-serverlet-deps.jar on my class path, I still see during the first RPC [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call java.lang.NoClassDefFound

Unexpected RPC trouble when moving up to GWT2.4

2011-09-20 Thread John Howe
I thought this was going to be easy. I'm trying to move a working GAE java app up to GWT 2.4. But when I do, I see the following stack trace on the first RPC call to appengine. At least one other guy has seen this while doing same and posted a query at http://groups.google.com/group/google-appe

Handling Events in Custom Widgets

2011-09-20 Thread arvind
Hi, I have this doubt which I hope to get clarified. Prior to GWT 1.6, in a custom widget with overridden 'onBrowserEvent', native events (such as ClickEvent) could be fired to associated listeners using 'fireClick' of [b]ClickListenerCollection With ClickListenerCollection/ClickListener APIs dep

GWT Binder error problem? show [ERROR] Element may only contain a single child element, but found and . Element

2011-09-20 Thread samuel
I got the problem when I compile my project. I write my error .xml file. Save print

Re: GWT module 'gwtclient' may need to be (re)compiled

2011-09-20 Thread Sudhakar Abraham
I faced a similar problem. This is how I solved. Right click on project configure your gwt sdk properly(Project-->Google-->web toolkit settings). And check app engine settings. Compile your project to check new compiled files in war directory. S. Abraham www.DataStoreGwt.com Persist objects direct

Re: Templates generating links that behave like an Anchor

2011-09-20 Thread Jens
Maybe you can add a unique Id to your a-tag and then use Element e = Document.get().getElementById(a-tag-id); Anchor anchor = Anchor.wrap(e); http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/Anchor.html#wrap(com.google.gwt.dom.client.Element) -- You rece

Templates generating links that behave like an Anchor

2011-09-20 Thread Daniel Guggi
hi, this is probably a basic question... I try to create some html using SafeHtmlTemplates like this: interface MyTemplates extends SafeHtmlTemplates { @Template("{2}") SafeHtml somelink(String id, String css, String text); } and use it like this: MyTemplates mt = GWT.cr

How to copy/clone ValueProxy?

2011-09-20 Thread -sowdri-
Hi, I would like to clone ValueProxy/EntityProxy to preserve the state of the UI, which is maintained by Editor e; I tried to solve it using AutoBean.clone() without success (and its is depricated). I got the following exception: Caused by: java.lang.AssertionError: Unfrozen bean with null R

Re: SmartGwt not working in GoogleChrome

2011-09-20 Thread Alexandre Dupriez
Recompiling the application (red icon "compile" in GPE) may solve the issue if it happens on other browsers. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsub

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread -sowdri-
If you would like to have a non-invasive workaround (where-in the size of the child entities you are loading is not so heavy), you can go for this! And I do agree with your view! Thanks, -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Editors on array/list properties

2011-09-20 Thread Martin Ždila
Hello Is it possible to create Editor for array property? I am encountering this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6600 Thanks in advance -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this di

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread Thomas Broyer
On Tuesday, September 20, 2011 10:04:41 AM UTC+2, Tiago wrote: > > If that's the only way, then I think I will implement it on my DAO > layer. I know, I know, the DAO shouldn't care about the problems of > UI, but at least there I can use Hibernate metadata to navigate > through each entity an

Re: GIN, is it worth the effort?

2011-09-20 Thread Thomas Broyer
What GIN does is to generate the code of your "clientfactory" based on annotations in your classes (@Inject and binding annotations such as @Named) and bindings in your module (mostly to code against interfaces and tell GIN which implementation to use for a given interface, but also to provide t

Re: Securing only part of the App

2011-09-20 Thread Thomas Broyer
On Tuesday, September 20, 2011 9:21:14 AM UTC+2, msanztru wrote: > > I thought about implementing a servlet filter where I would "decript" the > request and see what was the target service and grant or deny acces > depending if the user was logged in or not. But I couldn't figure out how to >

Re: IE + SSL + Image.setURL throws an Operation Exception at runtime

2011-09-20 Thread DaveC
There was also another runtime Exception being thrown - this time the culprit was the iFrame for GWT History (the exception was thrown at the point the iframe's document was being accessed)... it was unused and removing it fixed the problem. I find it hard to believe that no one else has seen this

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread Tiago
Sowdri, On Sep 20, 7:11 am, -sowdri- wrote: > Finally I found that it was because of proxying that is done by hibernate. I > finally solved it by using the @Proxy(lazy=false) annotation. That will make hibernate load every relation annotated as such, what may make your application load much more

Re: GWT module 'gwtclient' may need to be (re)compiled

2011-09-20 Thread Alexander Orlov
It's a common problem when your compiled GWT code is outdated. Basically your deployed *app.war* doesn't really contain up-to-date GWT code. Unzip the war file an look at the GWT output time stamps! -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread Tiago
On Sep 20, 2:43 am, Juan Pablo Gardella wrote: > No because some classe that must extend is final. So you must hack in this > way. But with you put this classes then you forgot problems. It works. I'm not very comfortable with it. It means I would have to follow GWT code updates, manage incompati

Re: GWT module 'gwtclient' may need to be (re)compiled

2011-09-20 Thread Alexandre Dupriez
Did you perform a GWT compilation (not dev mode run)? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolk

Re: How to create image sprits

2011-09-20 Thread Alexandre Dupriez
You need to process as the following: 1/ Create an interface which extends ClientBundle (e.g. AppResources) 2/ In this interface, for each of your images, declare a method in your interface which will be bind to your image file. For instance, if you want to bind the method foo() with "fooImg.png"

Re: GWT module 'gwtclient' may need to be (re)compiled

2011-09-20 Thread Sébastien Tromp
Do you use Google Plugin for Eclipse? I sometimes come across this message, and simply doing a GWT compile fixes the problem. Regards, -- Sébastien Tromp On Tue, Sep 20, 2011 at 1:32 AM, Laura Bickle wrote: > My app works in development mode, so it was time to run it in production. > This webpa

GIN, is it worth the effort?

2011-09-20 Thread msanztru
Hello, I started my project GWT+appengine with GIN. However I started getting an issue when compiling. I thought it was related to GIN (the error messages where pointing to some bindery problem...) and spent quite some time trying to fix it. As I couldn't I removed GIN and replaced it with a cl

Re: Securing only part of the App

2011-09-20 Thread msanztru
Thanks Thomas, I have been thinking in your approach and others but so far yours looks like the more feasible one and is the one I will implement. I thought about implementing a servlet filter where I would "decript" the request and see what was the target service and grant or deny acces depen

Re: ValueListBox not focusable

2011-09-20 Thread Craig Mitchell
A bug was raised on this: http://code.google.com/p/google-web-toolkit/issues/detail?id=6483 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kS

Re: How to create image sprits

2011-09-20 Thread ramesh
Hi Alexandre Thanks for your response. Do you have a demo example to create a image sprites? That would be a great help for me . Thanks On Sep 20, 11:30 am, Alexandre Dupriez wrote: > Hello Ramesh, > > Yes, you are correct, you do not need to create image sprites from > external tools. Using

Re: ValueListBox not focusable

2011-09-20 Thread Craig Mitchell
Looks like an error to me. Bug raised: http://code.google.com/p/google-web-toolkit/issues/detail?id=6811 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-we

Re: Using @UiHandler annotation on static fields

2011-09-20 Thread Alexander Orlov
On Monday, September 19, 2011 5:43:09 PM UTC+2, gwa wrote: > > *@UiHandler("dialogOk")* > *void dialogOk(final ClickEvent event) {* > *yourOtherClass.doSomething();* > *}* > > > Imagine your other class is an Activity (Presenter from MVP pattern), and > you have a correcttly

Re: A DateBox where I can select the time and hide the DatePicker

2011-09-20 Thread Alexander Orlov
Thx, however I try to avoid third-party extensions as *much as possible*. Really, with time their maintenance can become the biggest pain in ones behind. So I suppose, I have to use a TextBox. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro