Re: runtime UI

2010-12-29 Thread Ted Malaska
Hey Guys,

Here is the latest, I opened a night worth of the code to the open
comminity.  Here is the link.

http://code.google.com/p/gwt-binding-fly/

The code here is a GWT widget only example, even through the pattern works
fine for GXT also.  I haven't been working on it because I'm busy finishing
up an android game right now.

But my current prototype that I haven't published yet supports the
following.

1. Widget validation
2. Cross Widget valition
3. Dynamic conbo box that get there source from a list that the user creates
4. HTML print view
5. PDF print view
6. Client side and server side validation
7. CSV load




On Wed, Dec 29, 2010 at 10:30 AM, Chris Conroy con...@google.com wrote:

 Ted Malaska has a prototype project which may suit your needs. At this
 time, we're not looking to add something like this to GWT proper.

 See:
 https://groups.google.com/d/topic/google-web-toolkit-contributors/NFAXFQN_x-k/discussion

 On Wed, Dec 29, 2010 at 9:51 AM, Abdullah Shaikh 
 abdullah.shaik...@gmail.com wrote:

 Hi,

 What I want to do is have a xml file (not the ui binder xml file, as
 its compile time) which will define the UI, when the request comes, it
 will parse the xml file and create an object representation of the UI
 definition from the xml file and send the object back to the client,
 the client will then use the object to create the UI.

 I have done things till the stage it renders the UI but need to think
 how to do event handling, event bus, history etc.

 Is there any framework, which does these things and will help me in
 creating UI in runtime ?

 Any idea how to go about implementing this ?


 Thanks,
 Abdullah

 --
 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...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



hbm2ddl not working with POJO that implement IsSerializable

2010-10-05 Thread Ted Malaska
I've used GWT on about 10 projects now and it's been great.  This
project I tried doing things a little differently.  Using JPA
(Hibernate) and hbm2ddl.  Now I'm have a bunch of problems.

I think I solved all the problem except for hbm2ddl.  When I run it on
the POJOs I get a ClassNotFoundException.  If I remove IsSerializable
then hbm2ddl finds the POJOs.

Does anyone know a fix for this or do I have to drop hbm2ddl?

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: hbm2ddl not working with POJO that implement IsSerializable

2010-10-05 Thread Ted Malaska
I figured it out.

I'm using Maven and my GWT dependency looked like this

dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-user/artifactId
version${gwt.version}/version
scoperuntime/scope
/dependency

The org.codehaus.mojo.hibernate3-maven-plugin requires the dependency
scope to be in test.  So I removed the runtime scope and it worked.



On Oct 5, 10:14 pm, Ted Malaska ted.mala...@gmail.com wrote:
 I've used GWT on about 10 projects now and it's been great.  This
 project I tried doing things a little differently.  Using JPA
 (Hibernate) and hbm2ddl.  Now I'm have a bunch of problems.

 I think I solved all the problem except for hbm2ddl.  When I run it on
 the POJOs I get a ClassNotFoundException.  If I remove IsSerializable
 then hbm2ddl finds the POJOs.

 Does anyone know a fix for this or do I have to drop hbm2ddl?

 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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT client as Maven module in multi-module project

2010-09-08 Thread Ted Malaska
I have made a step by step walk through of how to make a multi maven
module project using gwt and gxt.

I use the event bus pattern to support two war modules.  One for off
line and one for on line.

I implement my custom widget in sub maven modules so they can be re
used through out my company.

http://travelingjavadeveloper.blogspot.com/2010/09/how-to-build-multi-maven-module-gwtgxt.html

Let me know if it is helpful

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to Guide: Multi Maven Module GWT/GXT Project using event-bus pattern

2010-09-08 Thread Ted Malaska
I'm trying to create a step by step guide on how to create a multi
module Maven project in Eclipse that supports the following.

1. Be able to use Maven and GWT together
2. Have custom high level widgets live in their own maven sub-module.
3. Have the widget be unaware of the back end.  That means they do no
RPC, REST, HTTP.  However they can communicate through an event-bus
pattern. Then listeners to the event bus can ether talk to the server
or mock objects
4. Be able to run and debug my widget modules in ether in online mode
(connected to a server) or offline mode (Browser only).
5. Use EXT widgets

Here is my first draft:
http://travelingjavadeveloper.blogspot.com/2010/09/how-to-build-multi-maven-module-gwtgxt.html

Please let me know what you think

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.