DTO + GWT

2012-04-24 Thread Akram Moncer
hello every body; i created a web application with GWT and for persistence i use the google app engine datastore but , to transfert data between server and client i should use DTO(data transfert object) but i don't know how can i do it, so i will be grateful if someone can help me with example

Re: DTO + GWT

2012-04-24 Thread Stefan Ollinger
Hello Akram, Data Transfer Objects are just simple POJOs which are used to transfer data to the client. Take a look at Dozer to map data from your business objects to DTOs: http://dozer.sourceforge.net/documentation/about.html Regards, Stefan Am 24.04.2012 10:30, schrieb Akram Moncer:

Re: DTO + GWT

2012-04-24 Thread Akram Moncer
thinks a lot i have a big model of database, and i have association between entities, do i have to create the same association between the DTO ? Le 24 avril 2012 09:52, Stefan Ollinger stefan.ollin...@gmx.de a écrit : [image: Boxbe] https://www.boxbe.com/overview

Re: How to set default textbox on form?

2012-04-24 Thread Thomas Broyer
On Tuesday, April 24, 2012 4:15:35 AM UTC+2, Blake wrote: Greetings, Is there a way to set which widget (usually a certain textbox) that should be the default widget with focus when a new form appears? Basically when the new form appears, if the user just starts typing, the input should

ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? and I found that if I set DockLayoutPanel height to 100%, the

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? Use a ScrollPanel inside the DockLayoutPanel and put

how to make an (load)image overlay an panel

2012-04-24 Thread tanteanni
in my app i have some interactive widgets but while loading data from server this widgets must be inactivated and activated again after loading is complete. i don't want to make the widgets invisible or inactivate every single field/button. the best solution would be a transparent panel with

Re: how to make an (load)image overlay an panel

2012-04-24 Thread Jens
in my app i have some interactive widgets but while loading data from server this widgets must be inactivated and activated again after loading is complete. i don't want to make the widgets invisible or inactivate every single field/button. the best solution would be a transparent panel

how to avoid mulitple dilogbox opening from the parent window

2012-04-24 Thread Dayananda B V
Hi All, I have 4 labels in parent window for each label i need to open a dilogbox, if a dilogbox already open, the remaing 3 lablels click should not open dilogbox. i have set setModel(true) in dilogbox, however i can still click on parent window labels, which opens dilogbox. Is there any way to

Re: how to make an (load)image overlay an panel

2012-04-24 Thread tanteanni
thx but i need complete deactivation of specific widgets - so this i have to do manually? Since i don't use uiBinder how would such an view look like written in java ? On Tuesday, 24 April 2012 13:20:42 UTC+2, Jens wrote: in my app i have some interactive widgets but while loading data from

Re: URGENT-Generating gwt web pages

2012-04-24 Thread Martin Trummer
I have a model which contains data(an xmile file) which i've already converted to a model object. and why don't you use this existing generation process to also generate the packages, that you mention? -- You received this message because you are subscribed to the Google Groups Google Web

ListEditor and driver.flush

2012-04-24 Thread Vasi , Sándor
Hi Guys, I have a little problem with the Editor framework. I have a big proxy (called myBigProxy ) that i am editing with multiple Editors. Most of the Editors work fine, but there is one ListEditor that does not really work. When i call the driver.flush() on it's parent editor, it returns with

Google Web Toolkit postgreSql HIBERNATE

2012-04-24 Thread alaa aadil
hello i create a data base with the PgAdmin3 of PostgreSql , and i want to get the informations from the data base table with the IDE Eclipse. i installed the plugin of GWT on Eclipse , but i don't know how to use hiberbate and get information from the dataBase. please help me thanks best

Disable TreeItem selection in Tree

2012-04-24 Thread Syed Fazal Ahmad
Hi There: I have created a Tree and have added the TreeItems to it. I would like to disable selection of certain nodes depending on my business rules. However, I have not been able disable selection of a given node. If I could even gray-out the node it would be helpful. I will appreciate if

where to place persistence.xml in an eclipse gwt project?

2012-04-24 Thread Mr.S
I am trying to get eclipselink working with GWT's requestfactory. I keep getting the following error: Caused by: java.lang.RuntimeException: Server Error: No Persistence provider for EntityManager named default Reading around the web, it seems that persistence.xml must live in WEB-

Novice GWT question: Parallel Post Requests

2012-04-24 Thread LogicalGoetz
This may be a terribly novice question, but for each POST performed by, say, a FormPanel, is there a subsequent HttpResponse generated by the Servlet? Obviously in standard situations this will play out as follows: -client makes a POST request -servlet handles the request -servlet sends POST

How can I change the servlet-pattern for a GWT project

2012-04-24 Thread mgkind
Hi I need to change the default servlet-mapping in my GWT project. for example when I create a GWT project in eclipse it makes the url patter of the GWT servlet in (web.xml file) based on the name of the project; and the clients RPC request are set to go that url I guess! But for some reason I

Re: Google Web Toolkit postgreSql HIBERNATE

2012-04-24 Thread Harpal Grover
There are various tutorials on hibernate which can be found using google. Once you're comfortable with hibernate you can opt to use JPA or Gilead or RequestFactory with GWT. Each of these approaches have their strentghs/drawbacks. There are many post available in the GWT group which provide

Re: SafeUri can not be used as SafeHtml??

2012-04-24 Thread Patrick Tucker
I don't want to make a big fuss about it, I just thought it was odd that GWT would restrict something that is valid and I thought was common. On Monday, April 23, 2012 8:49:08 PM UTC-4, Thomas Broyer wrote: On Monday, April 23, 2012 10:43:50 PM UTC+2, Patrick Tucker wrote: Well that

Re: Couple CSS questions

2012-04-24 Thread Adolfo Panizo Touzon
Hi Mike, I had a similar problem long time ago, I'm not sure, but I think you have two options to solve this: - One is adding* !important* (in order to overwrite the custom css for the datePicker) to your css rules. - The other one is create your custom * DatePickerStyle.css *and add

Re: URGENT-Generating gwt web pages

2012-04-24 Thread vanessa vanessa
You mean the existing Generation tools of GWT ... i have to implement a generator using a template engine the existing tools don't fit my needs. Le 24 avril 2012 13:10, Martin Trummer ds.martin.trum...@gmail.com a écrit : I have a model which contains data(an xmile file) which i've already

Re: how to make an (load)image overlay an panel

2012-04-24 Thread l.denardo
Two simple ptions (forgive me if they're too basic): *Your widgets to be activated are likely FocusWidgets: simply register them in a collection while you build your GUI and iterate over that to activate-deactivate them all *Use a (modal, if you don't want the background to be clickable)

Activity how to react on event that is triggered in start-method

2012-04-24 Thread tanteanni
i have an activity that needs another class to resolve the state (ids to real objects) brought by current place. this class' getData(StateObject) is called within start-method right after registering for the class' gotData-event. But the activitie's onGotData-data method isn't called the first

Re: gwt 2.2-M1 bug in CellTree

2012-04-24 Thread P.G.Taboada
Wow. Is this problem still around?!? On Friday, January 28, 2011 7:19:15 AM UTC+1, Torgeir wrote: With GWT-2.2-M1, if you expand the root node of a cellTree before the viewModel has any data, it's impossible to expand the root node later. The onOpen() method of an OpenHandler is called, but

Re: How can I change the servlet-pattern for a GWT project

2012-04-24 Thread Jens
Normally you would have a @RemoteServiceRelativePath annotation on your GWT-RPC service. This tells the generated RPC classes to access the service under GWT.getModuleBaseURL() + RemoteServiceRelativePath#value(). If you are not fine with this default structure you can remove the annotation and

Re: Couple CSS questions

2012-04-24 Thread Patrick Tucker
I generally copy the whole theme and make my changes to the css files. Then in the module inherit my copied theme instead of the GWT theme. This way the user does not have to load 2 different copies of any modified CSS rules. On Monday, April 23, 2012 9:03:15 PM UTC-4, Mike Dee wrote: How

Re: how to make an (load)image overlay an panel

2012-04-24 Thread tanteanni
in meantime i got answer on stackoverflow that fits very well (didn't tried it yet): http://stackoverflow.com/questions/10296712/how-to-make-an-loadimage-overlay-a-panel On Tuesday, 24 April 2012 15:45:56 UTC+2, l.denardo wrote: Two simple ptions (forgive me if they're too basic): *Your

Re: Couple CSS questions

2012-04-24 Thread Adolfo Panizo Touzon
I agree, my first solution is quicker and easier but less efficient. My second solution is the same as Patrick said, but Patrick has explained much more better. It's up to you. Thx @Patrick for the clarification. 2012/4/24 Patrick Tucker tucker...@gmail.com I generally copy the whole theme

automatically unsinking event when no hanlders present ?

2012-04-24 Thread Ed
Hi, GWT automatically sinks the required event type when the first handlers is added of certain event type (done in Widget class). Whay about automatically unsinking when a handler is remove and you notice that no handlers of that event type is present anymore? Is this worth doing? Note in my

Re: Novice GWT question: Parallel Post Requests

2012-04-24 Thread Alan Chaney
Interesting question... see comments below On 4/23/2012 2:20 PM, LogicalGoetz wrote: This may be a terribly novice question, but for each POST performed by, say, a FormPanel, is there a subsequent HttpResponse generated by the Servlet? Obviously in standard situations this will play out as

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
is SimplePanel a kind of LayoutPanel? On Tuesday, April 24, 2012 7:01:03 PM UTC+8, Jens wrote: I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel

Re: Re: Huge data slowing down Celltable

2012-04-24 Thread Jacob Glusted Madsen
I am having the same type of problem - fetching and displaying huge amount of data via RPC (displayed in a celltable) runs extremly slow. Our analysis indicates, that it is the serialization/deserialization that causes the problem. The rendering of the celltable is actually extremly fast, at

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
No, but SimpleLayoutPanel is. -- J. Am Dienstag, 24. April 2012 17:25:32 UTC+2 schrieb tong123123: is SimplePanel a kind of LayoutPanel? On Tuesday, April 24, 2012 7:01:03 PM UTC+8, Jens wrote: I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many

Re: Developers.google.com

2012-04-24 Thread emurmur
I can't find any link to GWT at all, not even from the open source page. I have to say, this developer site is prettier than code.google.com, but it's not nearly as useful. On Apr 23, 6:55 am, Patrice De Saint Steban patou.de.saint.ste...@gmail.com wrote: Hello, There a new developers website

Re: DTO + GWT

2012-04-24 Thread Stefan Ollinger
1:1 DTOs are not required. I think you can configure Dozer. You could for example create multiple views of your business model. Regards, Stefan Am 24.04.2012 11:10, schrieb Akram Moncer: thinks a lot i have a big model of database, and i have association between entities, do i have to

Re: Window.open() opens as a popup

2012-04-24 Thread Deepak Singh
Still no luck. Any solution pls. On Mon, Apr 23, 2012 at 3:07 AM, Deepak Singh deepaksingh...@gmail.comwrote: But same thing i am doing with button click handler instead a link. User clicks on a button, i perform some task and the open the new window inside click handler of button. Does

Re: Window.open() opens as a popup

2012-04-24 Thread Jens
You have to make sure that you directly call Window.open() in the ClickHandler. Don't to it in a Timer, deferred command or similar inside the ClickHandler. The Browser must recognize that Window.open() is directly called because of a user action. It does not matter if its a Button or an

Re: Re: Huge data slowing down Celltable

2012-04-24 Thread Jens
Any sugestions on how to make the serialization/deserialization run faster ?? Use pure JSON with overlay types (almost no overhead) and if its still too slow for you then you have to fetch your data in smaller chunks. -- J. -- You received this message because you are subscribed to the

Re: Activity how to react on event that is triggered in start-method

2012-04-24 Thread Chris Price
Does your data fetch include the event bus in some way? If so you may be running into the problem that handler changes (adds/removes) are only applied after the current event has completed. In this case that event would be the place change eventually calling the activity start. Sorry for the lack

Re: Couple CSS questions

2012-04-24 Thread Michael Allan
Adolfo Panizo Touzon said: ... I think you have two options to solve this: - One is adding* !important* (in order to overwrite the custom css for the datePicker) to your css rules. - The other one is create your custom * DatePickerStyle.css *and add it to your DatePicker

Re: how to avoid mulitple dilogbox opening from the parent window

2012-04-24 Thread Thad
You could create one dialog and four widgets that are the dialog content. When the label is clicked, call setWidget() for the desired contents (and setText() if desired) then call show() to show the dialog (in case it's not already visible). On Tuesday, April 24, 2012 7:25:59 AM UTC-4,

Re: best/good practices to keep Model in sync with Activity/Place and a view.

2012-04-24 Thread Jens
Do you have a concrete example? So far I never stumbled upon a case where I was thinking hmm thats the same as in the other activity. In general two activities should do two different things, so if I have for example an userId inside my place then the first activity would maybe fetch the User

Firefox 12 release

2012-04-24 Thread James Wendel
Looks like Firefox 12 was released: http://www.mozilla.org/en-US/firefox/all.html Any word on getting a GWT plugin that is compatible with it? Thanks, -James -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: how to avoid mulitple dilogbox opening from the parent window

2012-04-24 Thread Andrei
Add .setGlassEnabled to your dialog boxes. -- 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

Re: Firefox 12 release

2012-04-24 Thread Qian Qiao
On Apr 25, 2012 3:00 AM, James Wendel jmwen...@gmail.com wrote: Looks like Firefox 12 was released: http://www.mozilla.org/en-US/firefox/all.html Any word on getting a GWT plugin that is compatible with it? Thanks, -James This question gets asked every time when there's a new Firefox

Re: Firefox 12 release

2012-04-24 Thread James Wendel
I'm well aware of the other threads that exist. But these thread tends to act as a central place for people to go to see if a build of the GWT plugin is available. Alan has been very helpful in previous few FF releases on getting us new plugin builds within a day or 2. I'm just sitting and

Re: Firefox 12 release

2012-04-24 Thread Gal Dolber
Fuck that, someone send a death threat to Ray Cromwellhttps://plus.google.com/u/0/110412141990454266397 to release the super draft mode! .. just joking (not really) On Tue, Apr 24, 2012 at 4:46 PM, James Wendel jmwen...@gmail.com wrote: I'm well aware of the other threads that exist. But

Re: Firefox 12 release

2012-04-24 Thread Alan Leung
I am working on it :) On Tue, Apr 24, 2012 at 12:46 PM, James Wendel jmwen...@gmail.com wrote: I'm well aware of the other threads that exist. But these thread tends to act as a central place for people to go to see if a build of the GWT plugin is available. Alan has been very helpful in

Re: How to set default textbox on form?

2012-04-24 Thread Blake McBride
Works if I change: theTextBox.focus(); into: theTextBox.setFocus(true); Thanks!! Blake McBride On Tue, Apr 24, 2012 at 5:13 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, April 24, 2012 4:15:35 AM UTC+2, Blake wrote: Greetings, Is there a way to set which widget

Re: Novice GWT question: Parallel Post Requests

2012-04-24 Thread Joseph Lust
I've run into this exact problem before, but not while using GWT. I found that for XHR's, Post 1 must return before Post 2 can return. I'm not sure why this it, but it seems to be the case at least on FF and Chrome. My use case was to: - Post 1 - start a long running task - Post 2 -

Re: Firefox 12 release

2012-04-24 Thread Qian Qiao
On Apr 25, 2012 3:46 AM, James Wendel jmwen...@gmail.com wrote: I'm well aware of the other threads that exist. But these thread tends to act as a central place for people to go to see if a build of the GWT plugin is available. Alan has been very helpful in previous few FF releases on

Re: DTO + GWT

2012-04-24 Thread Andy Stevko
I really recommend looking at objectify - the objects are capable of being detached from the datastore and transferred to/from the client. On Tue, Apr 24, 2012 at 9:25 AM, Stefan Ollinger stefan.ollin...@gmx.dewrote: 1:1 DTOs are not required. I think you can configure Dozer. You could for

Re: Couple CSS questions

2012-04-24 Thread Mike Dee
But the question remains, why doesn't changing the gwt-DateBox CSS affect the appearance of the DatabBox? In my case, the standard.css was replaced with my own. So, why aren't my changes having any effect? -- You received this message because you are subscribed to the Google Groups Google

Re: Couple CSS questions

2012-04-24 Thread Alfredo Quiroga-Villamil
If you get a chance send out a screenshot of the computed style and regular style after inspecting the input element in your dev console (firebug or chrome dev tool, to the right of your previous screenshot). There you can also in real time modify the element css property to get a feel for what

Re: Google Web Toolkit postgreSql HIBERNATE

2012-04-24 Thread Rob
Hi, This post (GWT, Hibernate, HSQLDB, JPA) might help you on your way: - http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb Cheers Rob http://code.google.com/p/gwt-cx/ On Apr 24, 7:18 pm, alaa aadil aadila...@gmail.com wrote: hello i create a data base with the PgAdmin3 of

Re: where to place persistence.xml in an eclipse gwt project?

2012-04-24 Thread Rob
Hi, Do your PU (Persistence Unit) names match (e.g. default in your persistence.xml and when you call createEntityManagerFactory(default, properties)) ? Note: If you are using Eclipse it will automatically copy the files (e.g. persistence.xml and log4j.xml) in the src\META-INF directory to the

Re: DTO + GWT

2012-04-24 Thread Rob
Hi, If you only need to support one persistence store and its GAE then Objectify is the most popular option (and you won't need to create separate DTOs). If you need to support other persistence stores (e.g. PostgreSQL, HSQLDB) then you might consider using DTOs in combination with DataNucleus

TabLayoutPanel with custom widget for tabs

2012-04-24 Thread bryanb
I'm trying to get custom tabs with a closing X image next to the label. Something like Blah X with the X a clickable image. I cannot get the tab widget to display correctly. Below is a simplified example which shows the problem. The Bad Tab should float the label left and the X right. On Chrome