Re: Client Side Javascript JSF
On 2/14/07, Hermod Opstvedt [EMAIL PROTECTED] wrote: Hi If it's part of MyFaces then I think we can also use it in Clay hence Shale. We already use some of the Ajax stuff there. That'll be true if it is a separate artifact ... Shale and Clay need to work with the RI too :-) Hermod Craig -Opprinnelig melding- Fra: Ole Ersoy [mailto:[EMAIL PROTECTED] Sendt: 14. februar 2007 21:29 Til: dev@shale.apache.org Emne: Client Side Javascript JSF Hi, I noticed (Through commons validator JIRAs) that Shale is using Javascript validation. I donated a Javascript Framework written on top of dojo to myfaces a while back, in case anyone is interested. It has the ability to hook javascript validators to client side javascript components, among other things. I wrote it so that it becomes possible to generate the server side and client side components/converters/validators/listeners from the same model. Here's a link to the myfaces donation: http://people.apache.org/~matzew/dojo.presentation.zip Here's the thread that describes it: http://www.mail-archive.com/dev@myfaces.apache.org/msg18916.html There's lots of test cases, and I tried to follow the JSF JSR as much as possible. Please let me know if you have any questions. Cheers, - Ole Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com
Re: Client Side Javascript JSF
The library is completely separate from myfaces as it was built. My original motivation can be seen here: http://trac.dojotoolkit.org/ticket/1378 So the page would first download the viewhandler, and use it to parse the tags. Components could also be added via pure javascript of coarse, if someone wanted to go that route. This would be similar to populating a UIViewRoot instance programmatically, rather than by tags. So now instead of a renderer rendering html markup directly, it renders a namespaced tag. The downloaded javascript ViewHandler then parses the tags turning them into components on the client side and hooking up listeners, renderers, converters, and validators contained by the tag. So now there is a mirror on the client of the UIViewRoot on the server. Cheers, - Ole --- Craig McClanahan [EMAIL PROTECTED] wrote: On 2/14/07, Hermod Opstvedt [EMAIL PROTECTED] wrote: Hi If it's part of MyFaces then I think we can also use it in Clay hence Shale. We already use some of the Ajax stuff there. That'll be true if it is a separate artifact ... Shale and Clay need to work with the RI too :-) Hermod Craig -Opprinnelig melding- Fra: Ole Ersoy [mailto:[EMAIL PROTECTED] Sendt: 14. februar 2007 21:29 Til: dev@shale.apache.org Emne: Client Side Javascript JSF Hi, I noticed (Through commons validator JIRAs) that Shale is using Javascript validation. I donated a Javascript Framework written on top of dojo to myfaces a while back, in case anyone is interested. It has the ability to hook javascript validators to client side javascript components, among other things. I wrote it so that it becomes possible to generate the server side and client side components/converters/validators/listeners from the same model. Here's a link to the myfaces donation: http://people.apache.org/~matzew/dojo.presentation.zip Here's the thread that describes it: http://www.mail-archive.com/dev@myfaces.apache.org/msg18916.html There's lots of test cases, and I tried to follow the JSF JSR as much as possible. Please let me know if you have any questions. Cheers, - Ole Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265
Re: Client Side Javascript JSF
On 2/14/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I noticed (Through commons validator JIRAs) that Shale is using Javascript validation. I donated a Javascript Framework written on top of dojo to myfaces a while back, in case anyone is interested. It has the ability to hook javascript validators to client side javascript components, among other things. I wrote it so that it becomes possible to generate the server side and client side components/converters/validators/listeners from the same model. Here's a link to the myfaces donation: http://people.apache.org/~matzew/dojo.presentation.zip Here's the thread that describes it: http://www.mail-archive.com/dev@myfaces.apache.org/msg18916.html There's lots of test cases, and I tried to follow the JSF JSR as much as possible. Please let me know if you have any questions. Thanks for the pointer! I will definitely be taking a look at this. Cheers, - Ole Craig Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com