Re: Having domain objects implement EntityProxy - bad idea?

2012-06-12 Thread Thomas Broyer
I can't see any reason it wouldn't work, but I think you'd rather extract an interface, implemented by your domain object, and extended by your proxy (in addition to EntityProxy). interface Domain { /* getters and setters */ } class DomainImpl implements Domain { … } interface DomainProxy

display GWT Highcharts with data of the Database

2012-06-12 Thread alaa aadil
Hello , i want to dispaly a PIE charts , and i want to get the data informations from a database , please if someone know how to connect Highcharts to Database , or if you have an example project , it will helps me too much . thanks best regards -- You received this message because you

Re: GWT UI Layout

2012-06-12 Thread Thomas Broyer
How about the LayoutPanel? The advantage of LayoutPanel is that it can animate smoothly between states. On Tuesday, June 12, 2012 7:10:19 AM UTC+2, Santosh wrote: We wanted to design a layout in GWT which has quite a lot of small small sections on screen. Basically it has a left menu, header,

make a transparent image with gwt or css have you an idea ?

2012-06-12 Thread Assiya EL
-- Assiya EL Master Qualité du Logiciel Plz consider environment - Only print this if necessary -- 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

setVisible issues with Firefox, then display: none !important

2012-06-12 Thread Domenec
Hello, about to deploy to production an evolution of a project, customer calls and says hidding icons fails in Firefox. What? Firebug to the rescue says the icons have a nice display: none after I call setVisible(false). Changing by hand to display: none !important works and I accept it as a

Re: GWT UI Layout

2012-06-12 Thread Santosh
Does layoutpanel give that kind of flexibility to build complex structures? I heard this is the simplest panel upon which others are built On Jun 12, 3:35 pm, Thomas Broyer t.bro...@gmail.com wrote: How about the LayoutPanel? The advantage of LayoutPanel is that it can animate smoothly between

Re: display GWT Highcharts with data of the Database

2012-06-12 Thread Dominique L.
Hello, For beginning, you can try to following this tutorial : http://www.moxiegroup.com/moxieapps/gwt-highcharts/quickstart.jsp Dominique. On 12 juin, 10:37, alaa aadil aadila...@gmail.com wrote: Hello , i want to dispaly a PIE charts , and i want to get the data informations from a

Re: GWT UI Layout

2012-06-12 Thread Cristian Rinaldi
I have built complex structures using LayoutPanel, gives much flexibility. Also as Thomas said, you can animate transitions. By example: public void setDefaultLayout () { ... ... mainLayout.setWidgetLeftWidth (logo, 0, TCP 100, TCP); mainLayout.setWidgetTopHeight (logo, 0, PCT,

Re: Revisiting cross-site requests: CORS and development mode

2012-06-12 Thread Christopher Piggott
On Monday, June 11, 2012 4:15:04 AM UTC-4, Thomas Broyer wrote: Er, I'm puzzled. If you use Dev Mode's embedded server to serve your data, then you don't hit the SOP, right? and thus you don't need CORS? Or have I missed something obvious? Not quite, dev mode's server feeds the application

Re: GWT UI Layout

2012-06-12 Thread Santosh
Will try to use and see if it can help. Thanks On Jun 12, 5:41 pm, Cristian Rinaldi csrina...@gmail.com wrote: I have built complex structures using LayoutPanel, gives much flexibility. Also as Thomas said, you can animate transitions. By example: public void setDefaultLayout () {   ...  

Re: Having domain objects implement EntityProxy - bad idea?

2012-06-12 Thread Ryan McFall
Wow, I'm embarrassed to say that I have always assumed that an interface can only extend a single interface, because that's the way that it works for classes. There's no reason it should be that way, though, and it makes life a lot easier to know that it's possible. I would have done it this

Trying to understand how RF picks the domain objects to compose a request to a service

2012-06-12 Thread Tiago Rinck Caveden
Hello all, I'm having a weird scenario in my application, and I guess that if I could understand better how RF picks the domain objects instances it will provide to a service, maybe I could understand what's going on. Here's my scenario: I have an EditorAProxy. The domain class A has a property

Re: Trying to understand how RF picks the domain objects to compose a request to a service

2012-06-12 Thread Thomas Broyer
How are the acceptable values of the ValueListBox populated? The difference between scenarios 1 and 3 is that in the former the value is not changed (stored in a field in setValue, returned as-is from getValue), while in the latter it is set to the equivalent value from the list of acceptable

CellTable Selection

2012-06-12 Thread Metronome
Just wondering how to select a row in a CellTable and have it displayed I mean let's say a Table with 100 Rows displaying rows 1-15 of 100 if I select row 20 that is not visible how to make the table show the selection probably very simple ... but... Thanks Patrick -- You received this

Re: Trying to understand how RF picks the domain objects to compose a request to a service

2012-06-12 Thread Tiago
On Tuesday, June 12, 2012 4:17:23 PM UTC+2, Thomas Broyer wrote: How are the acceptable values of the ValueListBox populated? A request is done specifically for that. The list of acceptable values is properly initialized on the server side before returning it to the client side. The

Re: CellTable Selection

2012-06-12 Thread Thomas Broyer
If you know you selected the 20th object, then you know you want to display the second page. If you use a SimplePager, you can then call setPage(1) (first page is numbered 0); otherwise call setVisibleRange(15, 15) on your CellTable. There are other variations, depending on how you feed the

how to check whether the email or website is real website or email

2012-06-12 Thread lucky
could any one provide me the solution to validate whether the given email or website is real or not? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: how to check whether the email or website is real website or email

2012-06-12 Thread Jim Douglas
That question has nothing to do with GWT, so this is the wrong place to post it. Decide what you mean by validate and real and google the question. On Jun 12, 8:11 am, lucky lucky.begum...@gmail.com wrote: could any one provide me the solution to validate whether the given email or website is

UiBinder as Cell widget

2012-06-12 Thread Deepak Singh
Hi All, I have an UIBinder widget. I created a custom cell by extending AbstractCell as follows public class ActivityCell extends AbstractCellEachActivity { @Override public void render(com.google.gwt.cell.client.Cell.Context context, EachActivity value, SafeHtmlBuilder sb) { if (value == null)

Using GWTTestCase to test GWT-RPC

2012-06-12 Thread Mike Dee
Just getting started with GWTTestCase. I'd like to create some tests that include testing of the backend. Having trouble getting a basic GWTTestCase running. Here is what it looks like: public class Test2 extends GWTTestCase { @Override public String getModuleName() { return

GWTTestCase and GWT-RPC

2012-06-12 Thread Mike Dee
I'm having trouble getting a basic GWTTestCase running with a simple GWT-RPC. Here is what it looks like. What am I doing wrong. Note that when the test is run the callbacks onFailure() is called with a 404 error detail. public class Test2 extends GWTTestCase { @Override public String

Help with GWTTestCase and GWT-RPC

2012-06-12 Thread Mike Dee
I'm having trouble getting a basic GWTTestCase running with a simple GWT-RPC. Here is what it looks like. What am I doing wrong. Note that when the test is run the callback's onFailure() is called with a 404 error detail. public class Test2 extends GWTTestCase { @Override public String

Re: UiBinder as Cell widget

2012-06-12 Thread Rodrigo Chandia
UiBinder does not handle Cell widget events. You probably want to use the upcoming Uibinder for Cells functionality (a.k.a. UiRenderer). It will be part of 2.5, but it is available in trunk, for the time being. No documentation yet, but there is a design document here:

Re: Help with GWTTestCase and GWT-RPC

2012-06-12 Thread Mike Dee
Figured it out. Needed to add this to the module.gwt.xml file on order for the service servlet to run. !-- Specify the path to any remote services. -- servlet path=/myService class=com.test.app.MyService / Found this out here:

Server side equivalent of RpcRequestBuilder

2012-06-12 Thread Carlos Silva
Hi, I'm using an RpcRequestBuilder to add a session id header to the http request being made to the server. Now, what I wanted was to on the *server* side, get the request and before it get's executed (call the method), check if the session is valid. How can I accomplish this? My biggest problem

GWT Spring Security

2012-06-12 Thread dhoffer
I'd like to get feedback on the best way to secure GWT apps with Spring Security. I read several existing blogs about this online but they are all (that I have found) quite old at this point. Specifically what's the best way with GWT 2.4 and Spring Security 3.1? Or is there a better way other

Designing for testability with MVP and Activities and Places

2012-06-12 Thread Mike Dee
Here is a simple example that I'm working on. Input would be appreciated. I'm sure there are different approaches, but I'm having trouble finding one and having a particular issue with the level of granularity of testing. I know one answer, in advance, will be to not use GWTTestCase. I will

Re: how to check whether the email or website is real website or email

2012-06-12 Thread lucky
Here i need to check whether this website or email exist or not? -- 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/-/tcoe42e0x4MJ. To post to this

[gwt-contrib] Re: Fix SimpleViolation so that ConstraintViolations with paths that don't map to any editors are st... (issue1727807)

2012-06-12 Thread t . broyer
Almost OK! http://gwt-code-reviews.appspot.com/1727807/diff/7/user/src/com/google/gwt/editor/client/impl/SimpleViolation.java File user/src/com/google/gwt/editor/client/impl/SimpleViolation.java (right):

Re: [gwt-contrib] Packaging issue: org.json and RequestFactory

2012-06-12 Thread Thomas Broyer
On Wednesday, June 6, 2012 8:38:04 AM UTC+2, James Nelson wrote: I wouldn't be opposed to having differing rules for the GWT SDK package downloadable at code.google.com and the Maven artifacts. AFAIK, the original idea of bundling them into gwt-user.jar (and gwt-dev.jar) was to make

[gwt-contrib] Re: Add null check to ValueListBox.updateListBox (issue1619803)

2012-06-12 Thread stephen . haberman
What are your thoughts on this getting into 2.5 vs. 2.5.1? Well, let me get back up to speed on it, but I think waiting until 2.5.1 should be fine. http://gwt-code-reviews.appspot.com/1619803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Serialization of Final Fields in RPC (issue1380807)

2012-06-12 Thread stephen . haberman
zhuyi, do you have time to look at Scott and Rajeev's feedback? If not, let me know and I can take a crack at it sometime in the next few days. http://gwt-code-reviews.appspot.com/1380807/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Serialization of Final Fields in RPC (issue1380807)

2012-06-12 Thread Yi Zhu
Hi Stephen, I am very busy with my current project. Sorry I do not think I have time to work on it right now. Thanks! Yi On Tue, Jun 12, 2012 at 8:24 AM, stephen.haber...@gmail.com wrote: zhuyi, do you have time to look at Scott and Rajeev's feedback? If not, let me know and I can take a

[gwt-contrib] Re: Use Node.contains in IE9/Webkit for isOrHasChild (issue1725808)

2012-06-12 Thread jlabanca
It was failing on IE9. The Trident implementation has a similar workaround because contains() doesn't work for a non-Element node (ex. the Document). I wonder if the same workaround is still necessary for IE9. http://gwt-code-reviews.appspot.com/1725808/ --

[gwt-contrib] Re: Fix SimpleViolation so that ConstraintViolations with paths that don't map to any editors are st... (issue1727807)

2012-06-12 Thread skybrian
http://gwt-code-reviews.appspot.com/1727807/diff/7/user/src/com/google/gwt/editor/client/impl/SimpleViolation.java File user/src/com/google/gwt/editor/client/impl/SimpleViolation.java (right):

[gwt-contrib] Re: ValidationTool doesn't flag abstract classes as non-default-instantiable (issue1729805)

2012-06-12 Thread skybrian
LGTM https://gwt-code-reviews.appspot.com/1729805/diff/1/user/test/com/google/web/bindery/requestfactory/apt/EntityProxyCheckDomainMapping.java File user/test/com/google/web/bindery/requestfactory/apt/EntityProxyCheckDomainMapping.java (right):

[gwt-contrib] Re: Add new CSS FunctionValue type as a first-class representation of value functions, hook it up in... (issue1735804)

2012-06-12 Thread skybrian
http://gwt-code-reviews.appspot.com/1735804/diff/1/user/src/com/google/gwt/resources/css/SubstitutionReplacer.java File user/src/com/google/gwt/resources/css/SubstitutionReplacer.java (right):

[gwt-contrib] Re: Use Node.contains in IE9/Webkit for isOrHasChild (issue1725808)

2012-06-12 Thread stephen . haberman
I wonder if the same workaround is still necessary for IE9. You were right, I got some IE8/IE9 virtual machines installed, reproduced the failure, and then fixed it by reusing the DOMImplTrident code. http://gwt-code-reviews.appspot.com/1725808/ --

[gwt-contrib] Re: Use Node.contains in IE9/Webkit for isOrHasChild (issue1725808)

2012-06-12 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1725808/diff/7002/user/src/com/google/gwt/dom/client/DOMImplTrident.java File user/src/com/google/gwt/dom/client/DOMImplTrident.java (right):

[gwt-contrib] Elemental + build scripts initial import. (issue1728806)

2012-06-12 Thread cromwellian
Reviewers: skybrian, Description: Elemental + build scripts initial import. Review by: skybr...@google.com Please review this at http://gwt-code-reviews.appspot.com/1728806/ Affected files: A elemental/META-INF/MANIFEST.MF A elemental/README A elemental/STOP.EXPERIMENTAL A

[gwt-contrib] Re: Extracted constant strings to the constructor, that allow translation to be provided from the ou... (issue1739803)

2012-06-12 Thread tuckerpmt
http://gwt-code-reviews.appspot.com/1739803/diff/1/user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java File user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java (right):