Manfred, Sure - I think that should be easy to do.
In addition I suspect that the Implementation could just check whether Javascript is enabled, and serve the Javascript components if it is (With Perhaps some Javascript version support checking). I've tried to mirror the JSF Spec as much as possible in the code base, so that developing with the framework becomes easy for JSF developers. I also wrote the JSUnit tests so that deducing the ViewHandler approach should be as simple as possible, and there is documentation in the src/maven/apt/ folder. So the general Idea is that the Renderer for the JSF Components would just render the custom dojo.presentation tag...the ViewHandler supports custom namespaces... Then the ViewHandler compiles this tag on the client creating the visual representation of the component. The component can then pull additional content using XMLRequest... Components can also be created in Raw Javascript ...giving gui developers the option to develop web interfaces in a SWING or SWT like fashion. Matthias has the code now hopefully, so perhaps he can check it into Subversion for us. I already have a CLA on file for the directory project , and I think that covers all of apache. Cheers, - Ole --- Manfred Geiler <[EMAIL PROTECTED]> wrote: > Sounds interesting. > Do you think it's possible to integrate your > components so deeply into > the MyFaces framework, that a simple > "clientside=true" for a single > standard component or a "all_clientside=true" in the > web.xml brings > your components into the game? > That would be awesome. > > Dojo/Ajax/Web2.0 gurus, what do you think? > > Manfred > > > > On 11/24/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've created a framework for working > > with Javascript on the client side that uses > > components similar to those used in JSF. > > > > Initially I was just trying to fix a bug in Dojo, > but > > then I ended up writing a new client side view > > handler, etc. > > > > My original motivation can be found here. > > > > http://trac.dojotoolkit.org/ticket/1378 > > > > I would like to donate it to myfaces if there is > > interest? > > > > When I did the rewrite I wanted to Dojo Widgets to > > support converters, validators, listeners like JSF > > does so I built this into the ViewHandler... > > > > Anyways if anyone on the myfaces team wants a > look, > > I'll be happy to zip it up and mail it. > > > > Cheers, > > - Ole > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > Cheap talk? > > Check out Yahoo! Messenger's low PC-to-Phone call > rates. > > http://voice.yahoo.com > > > ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index
