Re: Adding a javascript event handler to a widget

Kamal Gill wrote:

> Hi Dorneles,
> 
> Wonderful--thanks for your efforts.  I submitted the feature request to 
> sf.net with the summary "Request ability to generate XHTML attributes in 
> widgets".
> 
>  - Kamal
> 

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.

:)

--

-- 
__________________________________________________________________

  Geir Bækholt    ·    Interaction Engineer   ·    Plone Solutions

  Consulting · Training · Development ·  http://plonesolutions.com
__________________________________________________________________

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

Gmane