It may be a Good Idea (tm) to setup a WebWork2-Optional project for these sorts of things.
I also have something that I would commit to it : Client Forms Library * object oriented client interface to the webwork forms on a page * object oriented validating javascript library * enhanced ww:ui JSP tags to support the client validators * enhanced vm templates for UI controls * enhanced Validator API to extend existing or create new validators to build client validators The overall effect is that the html form that is generated automatically validates the post before submission based on the validations that are mapped to the action that is being posted to. Also there is a standard, browsed independent api for interacting with the form and fields. Works Quite Well (tm) It is currently integrated into one of our apps, so I will attempt to separate it into its own project. Cheers, Cameron > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Matt Ho > Sent: Friday, 18 July 2003 10:26 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Webwork in Swing Application? > > > I'd love check out the code for this. This sounds like a > really good thing > to include as an optional package for webwork. > > M > > On Fri, 18 Jul 2003 08:34:43 +1000, Ben Alex > <[EMAIL PROTECTED]> wrote: > > > I've been working with Philipp Meier's WW2 Client > dispatcher and have > > enhanced it to include things like Javadocs, pluggable connection > > factories, HTTPS support, pluggable HTTPS certificate acceptance > > classes, logging, Properties-based configuration, automatic > IO failure > > retries, separate dispatcher and result servlets, client-side > > specification of destination Action via a String (ie not > requiring the > > Action be on the client anymore > > - > > although nothing stops this) and interception of setXXX and execute > > methods > > to populate the invocation. I'm about to add a notification model so > > send/receive progress can be monitored by external classes (eg GUI > > progress > > indicators). I'm happy to share the code with anyone interested. > > > > ----- Original Message ----- > > From: "Jason Carreira" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, July 18, 2003 1:11 AM > > Subject: RE: [OS-webwork] Webwork in Swing Application? > > > > > > Yes. I'm planning on implementing this. This is why I was so > > disappointed with the direction the Pico discussions went. > > > >> -----Original Message----- > >> From: Cameron Braid [mailto:[EMAIL PROTECTED] > >> Sent: Thursday, July 17, 2003 1:42 AM > >> To: [EMAIL PROTECTED] > >> Subject: RE: [OS-webwork] Webwork in Swing Application? > >> > >> > >> Are there plans to migrate this code into WebWork2 ? > >> > >> > -----Original Message----- > >> > From: [EMAIL PROTECTED] > >> > > [mailto:[EMAIL PROTECTED] On Behalf > >> > Of Rickard Öberg > >> > Sent: Thursday, 17 July 2003 3:30 AM > >> > To: [EMAIL PROTECTED] > >> > Subject: Re: [OS-webwork] Webwork in Swing Application? > >> > > >> > > >> > Joshua wrote: > >> > > >> > > I'm new to this project. Reading through the > documentation I came > >> > > across a statement that > >> > > WW, unlike Struts, is not based on the Servlet API and so > >> > can be used in > >> > > a java Swing > >> > > application. Assuming I have not misread the documentation > >> > statement, > >> > > can someone who > >> > > has actually done this give me a pointer on how to do it? > >> > > >> > Sure, I'm using it for a Swing-applet. Just register the > >> > server-side dispatcher in web.xml like so: <servlet> > >> > <servlet-name>dispatch</servlet-name> > >> > <servlet-class>webwork.dispatcher.ClientServletDispatcher</ser > >> vlet-class> > >> > </servlet> > >> > > >> > and use the ClientDispatcher in your Swing application > to execute > >> > actions. You create them and populate them (by calling setters) > >> > yourself. Giving it to the ClientDispatcher will send it to the > >> > server for execution, and then it will be sent back when > execute() > >> > is done so > >> > you can extract the result from it. > >> > > >> > That's pretty much all there is to it. Any questions? > >> > > >> > /Rickard > >> > > >> > -- > >> > Rickard Öberg > >> > [EMAIL PROTECTED] > >> > Senselogic > >> > > >> > Got blog? I do. http://dreambean.com > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.net email is sponsored by: VM Ware > >> > With VMware you can run multiple operating systems on a single > >> > machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > >> > machines at the same time. Free trial click > >> > here: http://www.vmware.com/wl/offer/345/0 > >> > _______________________________________________ > >> > Opensymphony-webwork mailing list > >> > [EMAIL PROTECTED] > >> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >> > > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: VM Ware > >> With VMware you can run multiple operating systems on a single > >> machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > >> machines at the > >> same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > >> _______________________________________________ > >> Opensymphony-webwork mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >> > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a > single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a > single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork