11 Aug 15:44
Re: Adding a javascript event handler to a widget
Geir Bækholt · Plone Solutions <lists@...> writes: > >>...snip... > > I had a look at it. There is no quick and easy way to add this feature > in a general way the way widgets are handled today. - So it will not be > implemented before 1.3 at least. > > it would be possible to add a mapping so that you can add pre-defined > attributes to a widget. So if one went through all the widgets checking > what attributes there would be any use for, they could be added to the > widgets on a per-widget-basis.. > > - But most usecases for this could just as easily be handled with > javascript / css like today, now that all widgets have proper > identifiers and classes. > > :) > We have been following this thread and plan (because of another need) to produce a way of handling this directly in Archetypes as properties to be contributed back to the Archetypes project. Geir - can we interface with you on this? We think it could become a standard for a future Archetypes release. Their would be registered events in both the edit and view for both attributes and the classes/objects themselves. These events could then be assigned a property of the JavaScript function taht is desired (which could be contained in the helper.js) I presume the Archetypes Development list would be where we should work through questions, progress, and updates. We would prefer to work with someone else for commits onto SourceForge. Paul Boos Program Manager SAIC: From Science to Solutions ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Archetypes-users mailing list Archetypes-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/archetypes-users
RSS Feed