AW: CForms and Dojo
Well I can send you my Xslt, but its really pre-sub-alpha-0.0.0.0.1 Version ;-) But I am using dojo widgets in repeaters though and they work as they should. I can send you the file, but Id suggest using it as inspiration and not for production ;-) Currently I am working myself into the mysteries of Cocoon 2.2 and its build voodoo, so I havent had the time to make some real progress here. But I am optimistic, that I will get the hang of C2.2 pretty soon. Jeremy is currently working on client side validation and Dojo 1.1 unfortunately I havent had the time to make the changes needed for this. I promise I will do my best to do this next week. Chris Von: Robin Wyles [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 21. August 2008 11:08 An: dev@cocoon.apache.org Betreff: Re: CForms and Dojo Hi, Can anyone tell me if this work in progress is available anywhere? I can't seem to find it in trunk.. I am coming up against some bugs when using certain dojo within a repeater - would love to see if dojo 1.1 resolves these. Chris... is your forms XSL available anywhere too? Many thanks, Robin On 16 Jun 2008, at 08:00, Gabriel Gruber wrote: Hi Chris! Jeremy is actually integrating Dojo 1.1 into cforms. I think he is doing that in the 2.1.12dev branch and in trunk. It would be great, if you could join forces with jeremy to have dojo 1.1 integrated into the next cocoon release :-) greets, Gabriel __ Gabriel Gruber Senior Consultant +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Workflow EDV GmbH, Dannebergplatz 6/23, A-1030 Wien Christofer Dutz [EMAIL PROTECTED] 12.06.2008 09:54 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject CForms and Dojo Hi there, I am still using Cocoon 2.1.9 and was wandering if the version of dojo used for CForms in Ajax-Mode is used in 2.1.10 and 2.2? Since my current application is currently using a lot of Dojo 1.1 Stuff and I was sort of annoyed of the problem having to use dojo 0.4 and 1.1 together, I started creating my own forms-styling.xsl, which does the same as the original cocoon version, instead it uses dojo 1.1 with all its advanced features. It is currently working nicely. Does Cocoon in a version greater than 2.1.9 still use Dojo 0.4? If yes, it might be interesting for me to clean up my xslt and give it to the cocoon guys (It looks a lot nicer). While working on the Dojo 1.1 integration I found out that none of the validation-information is passed to the fi-stuff it would be great if this information was forwarded here, cause I could additionally use the Dojo client-side validation in addition to the server-side validation of CForms (I know this doesnt work for all validators) reducing some client-server-roundtrips. Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber Dipl. Inf. Christofer Dutz Karlstraße. 104, 64285 Darmstadt fon: 0 61 51 / 27315 - 61 fax: 0 61 51 / 27315 - 64 mobil: 0171 / 7 444 2 33 email: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.c-ware.de/ http://www.c-ware.de FA Darmstadt: 07 813 60581
Re: AW: CForms and Dojo
Many thanks for all your replies... seems there is some enthusiasm for this after all! Once Jeremy's work is accessible somewhere I'd be happy to help with any further work that needs to be done. Chris: I would love to see your xslt, just so I can see if my widget in a repeater woes are solved by dojo 1.1. Robin On 21 Aug 2008, at 11:32, Christofer Dutz wrote: Well I can send you my Xslt, but it’s really pre-sub- alpha-0.0.0.0.1 Version ;-) But I am using dojo widgets in repeaters though and they work as they should. I can send you the file, but I’d suggest using it as inspiration and not for production ;-) Currently I am working myself into the mysteries of Cocoon 2.2 and it’s build voodoo, so I haven’t had the time to make some real progress here. But I am optimistic, that I will get the hang of C2.2 pretty soon. Jeremy is currently working on client side validation and Dojo 1.1 … unfortunately I haven’t had the time to make the changes needed for this. I promise I will do my best to do this next week. Chris Von: Robin Wyles [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 21. August 2008 11:08 An: dev@cocoon.apache.org Betreff: Re: CForms and Dojo Hi, Can anyone tell me if this work in progress is available anywhere? I can't seem to find it in trunk.. I am coming up against some bugs when using certain dojo within a repeater - would love to see if dojo 1.1 resolves these. Chris... is your forms XSL available anywhere too? Many thanks, Robin On 16 Jun 2008, at 08:00, Gabriel Gruber wrote: Hi Chris! Jeremy is actually integrating Dojo 1.1 into cforms. I think he is doing that in the 2.1.12dev branch and in trunk. It would be great, if you could join forces with jeremy to have dojo 1.1 integrated into the next cocoon release :-) greets, Gabriel __ Gabriel Gruber Senior Consultant +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Workflow EDV GmbH, Dannebergplatz 6/23, A-1030 Wien Christofer Dutz [EMAIL PROTECTED] 12.06.2008 09:54 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject CForms and Dojo Hi there, I am still using Cocoon 2.1.9 and was wandering if the version of dojo used for CForms in Ajax-Mode is used in 2.1.10 and 2.2? Since my current application is currently using a lot of Dojo 1.1 Stuff and I was sort of annoyed of the problem having to use dojo 0.4 and 1.1 together, I started creating my own forms-styling.xsl, which does the same as the original cocoon version, instead it uses dojo 1.1 with all its advanced features. It is currently working nicely. Does Cocoon in a version greater than 2.1.9 still use Dojo 0.4? If yes, it might be interesting for me to clean up my xslt and give it to the cocoon guys (It looks a lot nicer). While working on the Dojo 1.1 integration I found out that none of the validation-information is passed to the fi-stuff … it would be great if this information was forwarded here, cause I could additionally use the Dojo client-side validation in addition to the server-side validation of CForms (I know this doesn’t work for all validators) reducing some client-server-roundtrips. Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber Dipl. Inf. Christofer Dutz Karlstraße. 104, 64285 Darmstadt fon: 0 61 51 / 27315 - 61 fax: 0 61 51 / 27315 - 64 mobil: 0171 / 7 444 2 33 email: [EMAIL PROTECTED] http://www.c-ware.de FA Darmstadt: 07 813 60581 smime.p7s Description: S/MIME cryptographic signature
Re: AW: CForms and Dojo
On 21 Aug 2008, at 11:42, Robin Wyles wrote: Many thanks for all your replies... seems there is some enthusiasm for this after all! Once Jeremy's work is accessible somewhere I'd be happy to help with any further work that needs to be done. Chris: I would love to see your xslt, just so I can see if my widget in a repeater woes are solved by dojo 1.1. The Repeater Widget in the new CForms has been completely re-written. Widgets in Repeaters work well (of course :) As a taster, here is some of the new functionality : Repeaters gracefully upgrade from their simplest 'static' form (controlled via action buttons) up to full-blown drag and drop solely via configuration in the Model and Template. Lazy-loading of code ensures that only the Libs required for what you need are loaded. Some of the features of DnD : Easy to control behaviour, enforced by the Model Select row(s) optionally without a visible select control Optional Select/Drag handles DnD single or multiple rows at a time Avatars of rows being dragged plus lots of visual feedback No longer any need for custom handlers in your form for DnD Control over allowing/enforcing copy or move within a Repeater or between Repeaters Control over what is allowed to be dragged from one Repeater to another Control copy/move, multi-select/deselect using typical meta-keys Extensive visual customisation via CSS etc. etc. NB. You should only need to edit the templates of existing projects' Repeaters if : a) you were using the old DnD Widgets (where you specified the Dojo Widget in your Template, nasty) b) you want to use the new behaviour I hope you will find the new Repeater to be a really powerful addition to your webapps and I hope it was worth the wait ;) regards Jeremy