Well, there are 'server-side handlers' and there are client-side event 
handlers. Now client-side CAN be totally dealt with at the XSLT level (ie you 
can simply generate javascript as you with to your heart's content with XSLT 
any old way you want, you could even conceptually build a tag syntax for that 
along the lines of XSP. I have the feeling that XForms is partly doing 
that...

Then of course there is the server-side which is what we're talking about 
here. I only wanted to point out that you might not want to coopt the 
"javascripty" onClick, onSubmit etc style attribute names. 

On Wednesday 12 February 2003 06:18 am, Matt Sergeant wrote:
> The new PerForm code at http://axkit.org/download/beta/PerForm.pm-1.7
> allows you to specify the methods to be called to validate your form
> fields. This is a big step forward as you can specify methods outside of
> your XSP page, or specify the same methods for a number of different form
> elements. But I'd like some feedback as to the design of the new
> attributes, specifically:
>
> What should the attributes be called for specifying the callbacks?
>
> Currently these are onvalidate, onload and onsubmit. These are case
> sensitive. I wasn't sure if onSubmit or on_submit would be better.
> Alternatively perhaps different names altogether would be better - I
> believe for example that ASP.NET uses onClick for when a button is
> clicked, but i only glanced through the ASP.net store in the shop the
> other day, so I can't be certain.
>
> Also let me know now if there's stuff you'd like to see go into PerForm. I
> may be hacking a bit with it in the next week or so, so now is the time to
> ask for features.

-- 
Tod Harter
Giant Electronic Brain

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to