From: Ian B. <ia...@co...> - 2003-05-09 21:22:38
|
On Fri, 2003-05-09 at 14:22, Luke Opperman wrote: > If anyone's interested, I've made modifications to FFK to support the > extraHTML argument from FFK 0.3, for adding attributes within an HTML > tag (we use it for javascript events and CSS classes primarily, for > instance). As I'm rethinking FFK (i.e., FormEncode), I've left out this hook (which wasn't in FFK originally either). So maybe I'll bring it up -- what should this really do? If it's for CSS classes and Javascript, then I think those hooks should be added directly (i.e., a class_ attribute, and onClick, etc., attributes). But maybe it's not practical to make that complete (OTOH, at some point you're going to have to create your own widget). The problem with extraHTML is also that it's not always clear where it goes -- compound widgets don't have a clear location. Ian |