Re: fail to parse gwt-user-2.3.0.jar!/com/google/gwt/user/UserAgent.gwt.xml error after upgrade to GWT 2.3.0

2011-05-07 Thread JosephLi
Want to also mentioned here that following changes are needed if one opt to fully migrate away from the old package to the new bindery package: web.xml requestFactory com.google.web.bindery.requestfactory.server.RequestFactoryServlet GWT's *.gwt.xml

Re: fail to parse gwt-user-2.3.0.jar!/com/google/gwt/user/UserAgent.gwt.xml error after upgrade to GWT 2.3.0

2011-05-07 Thread JosephLi
It worked!!! Thank you very much Raphael and David. I was looking at that exact thread before but wasn't careful enough to pickup the sources to include the source. Never know maven even has that. Thanks guys. Joseph -- You received this message because you are subscribed to the Google Groups

Re: fail to parse gwt-user-2.3.0.jar!/com/google/gwt/user/UserAgent.gwt.xml error after upgrade to GWT 2.3.0

2011-05-06 Thread JosephLi
hi all, I am still getting some weird error in my project even after: 1.) convert all references of --com.google.gwt.requestfactory.shared-- TO --com.google.web.bindery.requestfactory.shared--. 2.) convert all references of --com.google.gwt.requestfactory.client-- TO --com.google.web.bindery.reque

Re: fail to parse gwt-user-2.3.0.jar!/com/google/gwt/user/UserAgent.gwt.xml error after upgrade to GWT 2.3.0

2011-05-04 Thread JosephLi
I did, but still getting error. Flipping it back to GWT 2.2.0 and things went back to normal. Will try to search around codehaus then. 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

fail to parse gwt-user-2.3.0.jar!/com/google/gwt/user/UserAgent.gwt.xml error after upgrade to GWT 2.3.0

2011-05-04 Thread JosephLi
I am using a Roo+gwt generated project pom.xml. All I did was flip the GWT version from 2.2.0 to 2.3.0 and all hell breaks lose. Anyone getting similar error? [com.google.gwt.dev.util.xml.ReflectiveParser $Impl.parse(ReflectiveParser.java:355), com.google.gwt.dev.util.xml.ReflectiveParser$Impl.ac

Re: Can Editor/Driver framework be used in place of Colum/EditTextCell in Cell widgets?

2011-04-05 Thread JosephLi
Thank you Sowdri, Looking at the issue opened and the notes associated with it. It might not solve the things that I want to do entirely. Having the EditTextCell workable seems to be part of the solution. Another part would require gutting the CellTable to work with the editor driver correctly, si

Re: Is com.google.gwt.view.client.Range restricted to client side usage only?

2011-04-04 Thread JosephLi
Thank you for the reply Thomas, No, I didn't create a valueProxy for that Range class. Thinking that I probably don't need one since the param is going one direction from the client back to the server as parameter only and not included in any return object. I probably go for ur suggestions to crea

Is com.google.gwt.view.client.Range restricted to client side usage only?

2011-04-03 Thread JosephLi
This is probably a silly question. I tried using Range in one of the finder method for a domain class that retrieve info via RequestFactory +RequestContext framework. The finder would compile and work without problem if the range given is listed as two separate int. However, it would fail on startu

Can Editor/Driver framework be used in place of Colum/EditTextCell in Cell widgets?

2011-04-02 Thread JosephLi
While testing own CellTable widget in my pet project, and painfully going thru initializing the Column with EditTextCell together with hand coded getters and updaters. I can't help but thinking it would be really nice if I can just drop the editor & driver framework directly to the cellTable, and w

Re: How to setup projects with a GWT fronted and Spring/JPA/Tomcat backend?

2011-03-10 Thread JosephLi
hi Adib, u might want to take a look at Spring Roo. The scaffolding might not be very extensible... but the resulting pom.xml and the project setup resulted from the simple gwt setup command is priceless imho. And it really help to have something working so u can put a break point on the app to s

Re: javax.naming.InitialContext is not supported by Google App Engine's Java runtime environment

2011-03-09 Thread JosephLi
A limitation of GAE, bottom of the page indicated JNDI lookup is not supported: http://code.google.com/appengine/docs/java/config/webxml.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-

Re: How to solve this design problem, when using RequestFactory ? (how to enforce client and server to use same interface)

2011-03-08 Thread JosephLi
hi Thomas, Any plans on getting similar checks that performed by RequestFactoryInterfaceValidator to the Eclipse plugin so it will show it immediately there is an error and possibly offered a suggestion right there thru Ctrl-1? Thanks, Joseph -- You received this message because you are subscr

Re: Can anyone share code that adds keyboard navigation to the popup calendar picker?

2011-03-04 Thread JosephLi
+1 on this. -- 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...@googlegroups.com. For more

Re: RequestFactory and fat client

2011-03-04 Thread JosephLi
Good to know client side bean validation is a work in progress, that explains why it isn't working yet currently. Thanks David, Joseph -- 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

Re: DateBox can't be used with ValueBoxEditorDecorator

2011-03-04 Thread JosephLi
Colin, Thanks for your reply. I understand from the source that the ValueBox and the DateBox are from two totally separate branches so it might not be possible to make the existing DateBox fits into the ValueboxEditorDecorator bunch. But as a user, if Google is pushing the uiBinder, the requestFa

Re: DateBox can't be used with ValueBoxEditorDecorator

2011-03-04 Thread JosephLi
opened an issue in the tracker, figured the GWT team can close it if they have other plans: http://code.google.com/p/google-web-toolkit/issues/detail?id=6107 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send emai

DateBox can't be used with ValueBoxEditorDecorator

2011-03-03 Thread JosephLi
Trying to use DateBox with ValueBoxEditorDecorator in uiBinder thinking I could take advantage of the error reporting. But unfortunately they can't be used together and at runtime it gives the following error when I bring up the form: [ERROR] [sandbox] - Line 50: The method setValueBox(Val

Re: anyway to create proxy classes with fields having values from the real entity class automatically?

2011-03-02 Thread JosephLi
I found this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/aa022f56d9c837db/65c27dbba8927ab9?lnk=gst&q=Proxy+default+values#65c27dbba8927ab9 The solution requires a trip back to the server to create the object with initialization then pass it back to the client thr

anyway to create proxy classes with fields having values from the real entity class automatically?

2011-03-02 Thread JosephLi
Entity proxies created via requestContext.create(...) does not have the correct default value defined in the real entity class, anyone how to easily get around that without manually setting it before passing it to the driver.edit(...)? Thanks, Joseph -- You received this message because you are

Re: GWT Spring Hibernate MySql Maven

2011-02-28 Thread JosephLi
It might be an overkill, but the Spring Roo + GWT integration has a nice Maven build that is quite handy. Just follow some tutorial to setup a Roo project with GWT. Then wipe the generated code out and u will have yourself a fully cooked Maven build with AspectJ, Spring, Hibernate and Gin setup. J

Re: RequestFactory triggered lazy fetch outside a transactional finder corrupts level 2 cache in DataNucleus (or potentially to other ORM as well?)

2011-02-22 Thread JosephLi
Update: re-enabling the level 2 cache and force loading the relationship within the transactional finder method doesn't solve the problem. So back to the initial solution to disable the level 2 cache. Would appreciate if anyone have any insight on the problem. Thanks, Joseph -- You received th

RequestFactory triggered lazy fetch outside a transactional finder corrupts level 2 cache in DataNucleus (or potentially to other ORM as well?)

2011-02-22 Thread JosephLi
I have the following two simple classes: @Entity class Employee { DateRange effectiveDateRange; . } @Embeddable @EmbeddedOnly class DateRange { Date startDate; Date endDate; } The first time the app start up and went thru a finder method on the Employee class, t

anyone having problem with Editor's driver returning duplicates of the fields included via getPath() method?

2011-02-21 Thread JosephLi
For some reason I am getting duplicate values from myEditorDriver.getPath(). It would list most of the fields twice. I say "most" fields because I am having problem trying to see why the sub-editor is not picking up the fields in the embeddable object and it happens that the field that holds the em

Re: UiBinder + HTMLPanel + css = Loss of hair???

2011-02-18 Thread JosephLi
hi Pete, I am not an html / css, but from what I read, u might want to switch to using css' margin-left and margin-right properties for better layout control. Joseph On Feb 18, 10:43 pm, pete wrote: > Hallo, > > I have a weird problem, in my UiBinder template (suppose it's the > template for

Re: is RequestFactory and/or the Editor framework rendering the JPA optimistic locking useless?

2011-02-18 Thread JosephLi
Thanks Thomas for taking the time to open a ticket and responded so quickly. Thanks again. Joseph On Feb 18, 7:32 pm, Thomas Broyer wrote: > Had the very same thoughts, so I opened an > issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=6046 > > I can only tell you that it *was

is RequestFactory and/or the Editor framework rendering the JPA optimistic locking useless?

2011-02-18 Thread JosephLi
I am thinking more likely the RequestFactory is rendering optimistic locking useless. The project is created with Roo with DataNucleus & GWT. I wiped out all the generated stuff out and use the resulting Maven build as a starting point. I have been able to get a simple entity going and have a simp

Re: Any working Editor framework example planned?

2011-02-12 Thread JosephLi
Thanks Thomas. Now I know what I will be majoring in if I got time for another degree, under water basket weaving sounds like fun. Joseph On Feb 12, 4:10 pm, Thomas Broyer wrote: > Have a look at the DynaTableRf sample. -- You received this message because you are subscribed to the Google Gr

Any working Editor framework example planned?

2011-02-12 Thread JosephLi
To GWT team, downloaded 2.2.0 and read the devguide,but it would be nice to have some working example to play with to see how it all works. Thanks, Joseph -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send emai

Re: Did the Google Team forgot to announce GWT 2.2?

2011-02-12 Thread JosephLi
t when > > you download the sdk > > > On Feb 11, 10:12 pm, JosephLi wrote: > > > > To my surprise I refreshed the dev guide page and it says GWT 2.2, I > > > thought my eyes was playing tricks on me after a long day's work. > > > Refreshed it again an

Did the Google Team forgot to announce GWT 2.2?

2011-02-11 Thread JosephLi
To my surprise I refreshed the dev guide page and it says GWT 2.2, I thought my eyes was playing tricks on me after a long day's work. Refreshed it again and indeed it says 2.2. And the SDK download link gets me the new version as well. Good job GWT Team and thanks for the frequent release. Thanks

Re: Is GWT2.1 + Roo 1.1.1 production ready?

2011-01-16 Thread JosephLi
hi Joao, You might want to take a look at the questions posts in the Roo forum (http://forum.springsource.org/forumdisplay.php?f=67) to decide for yourself. But form my limited experience with it so far on my testing project, I would not want to plan on using Roo+GWT on real projects yet. Joseph

Re: UiBinder, designer, spring roo which one

2011-01-14 Thread JosephLi
I would say better not go the Roo+GWT route for any real project unless u have time to burn and like a challenge. Roo is at version 1.1.1, but I would say their GWT integration is still in beta at best. U can get a bare bone GWT site running in no time with scaffolding but to start customizing is t

Re: How to make additional finder methods available from the generated Request?

2010-12-08 Thread JosephLi
inder available through requestFactory.request? Thanks in advance, Joseph On Dec 9, 2:07 am, JosephLi wrote: > I have been trying to hack around to customize a GWT + Roo test > project and so far from my very primitive customized gui, I can call > the simple count, findById methods without

How to make additional finder methods available from the generated Request?

2010-12-08 Thread JosephLi
I have been trying to hack around to customize a GWT + Roo test project and so far from my very primitive customized gui, I can call the simple count, findById methods without problem. But I hit a road block when I try to implement some simple search function by addition a finder to the domain clas

Re: MVP *without* UiBinder

2010-12-02 Thread JosephLi
Thank you Konstantin, The open with "Windows Builder Editor" did the trick. I can now edit the gui graphically and easily work with event handlers without jumping between two files. Thanks, Joseph On Dec 2, 8:22 am, Konstantin Scheglov wrote: >   Hi, I'm author of GWT Designer. ;-) > > > ** no

Re: MVP *without* UiBinder

2010-12-01 Thread JosephLi
But know this, if you choose to build your Ui in > Java without any Ui designer, it'll be a lot mor cumbersome than using > UiBinder. > >   Cheers, > > > > > > > > > > On Wed, Dec 1, 2010 at 1:56 AM, JosephLi wrote: > > Also about the jav

Re: MVP *without* UiBinder

2010-11-30 Thread JosephLi
Also about the java editor highlighting the uifields in the editor indicating that they are not found in the associated ui.xml file. I verified that it only happens to projects created with Spring Roo. It is not a problem if the project is created thru Eclipse. Joseph -- You received this messag

Re: MVP *without* UiBinder

2010-11-30 Thread JosephLi
> > Well to me, it feels right. It feels web. Have you ever took a look into > MXML ? XAML ? Well, declarative Ui style is the modern way to write Ui and > with Gwt Designer getting better and better every day, there's no reason to > back off from learning how to use UiBinder. &

Re: MVP *without* UiBinder

2010-11-30 Thread JosephLi
Hi Jeff, Is there some special tools u are using to build utilize the UiBinder way to easily build gui? I tried it, but I also tried Google's latest offering on the Window's Builder, which in gives me the impression that it is way more efficient to build gui with. The tools directly support event

Contacts2 example's bug

2010-06-30 Thread JosephLi
If anyone encountered some weird behavior trying to download and run the Contacts2 example from (http://code.google.com/webtoolkit/articles/ mvp-architecture-2.html) and is having the following symptoms, I have the solutions for u: 1.) adding new contact sometimes causes other contacts to disappe

Re: Anyone finds Contacts2 confusing?

2010-06-29 Thread JosephLi
Thank you guys for all the insight. As Sean and Thomas pointed out, I do believe that being able to junit test the "P" is a good idea and thats what drawn me to look at the MVP-2. It was only after looking at the example and realized that it took so much effort to it and make me think it might be c

Anyone finds Contacts2 confusing?

2010-06-28 Thread JosephLi
hi all, I am trying to follow along whats in "http://code.google.com/ webtoolkit/articles/mvp-architecture-2.html" and I am just thinking that it requires too many classes and generics to construct a simple CRUD app for a single entity? I am posting this just to see if anyone feels the same towar

Re: compile problems with GWT 2.1

2010-06-28 Thread JosephLi
Not sure if my GWT Eclipse plugin is older version, but it seems to work for me on STS 2.3.3.M1. And I install the GWT plugin via "http:// dl.google.com/eclipse/plugin/3.5". I can create GWT project directly from STS and it runs without problem. I was able to follow and finish the StockWatcher tuto

Anybody find the Contacts2 example confusing and complicated?

2010-06-28 Thread JosephLi
hi all, I am trying to follow along the whats in "http://code.google.com/ webtoolkit/articles/mvp-architecture-2.html", however the code that I downloaded from that same page doesn't match what is being shown on the page. It contains the same set of class and the methods does the roughly the same

Re: problem running StockWatcherTest if the project is created directly from Eclipse without ant build?

2010-06-27 Thread JosephLi
I didn't find a solution to my problem. But after looking more into the tutorial and the MVP pattern that we should be using with GWT helps building plain Junit test cases, I don't think I be needing GWTTestCase in near future. Joseph On Jun 26, 1:44 pm, JosephLi wrote: > I se

problem running StockWatcherTest if the project is created directly from Eclipse without ant build?

2010-06-26 Thread JosephLi
I searched on the forum and I see people asking similar question but it was a while back using GWT1.6. I am now using gwt-2.1.0.M1 with STS. 2.3.3M1 and I am getting the following error when I tries to run the StockWatcherTest, I even tries to create the Foo sample apps from command line with -juni