omega at palle.net
Mon May 8 15:44:50 CEST 2006
hms, its generated with svk push -P.
the method adds is $element->events(onchange => "alert('etc')").
to set attributes there is already support for I think, but this
gives you the benefit of not putting events not supported by an
element on that element.
On 8. mai. 2006, at 15.37, Carl Franks wrote:
> Thanks for the patch, but I haven't been able to apply it, I'm not
> sure why it's not working.
> If I try using my patch program, it chokes on line 321. If I try using
> TortoiseSVN, it complains about a missing "Index:" line.
> Anyway, I'd prefer just a generic method to add arbitrary attribute
> name=value pairs to elements.
> I don't know whether anyone else (sri?) has any preference.
> On 04/05/06, Andreas Marienborg <omega at palle.net> wrote:
>> The patch is against trunk at oook.de.
>> It adds an accessor to ::Elements and sub-classes called events().
>> In addition every class has the events it supports added to it, so
>> you cannot add events that does not exist for a particular element.
>> Any others are silently ignored for now.
>> Catalyst mailing list
>> Catalyst at lists.rawmode.org
> Catalyst mailing list
> Catalyst at lists.rawmode.org
More information about the Catalyst