Re: onkeyup support on html:form ...

2001-06-27 Thread Ted Husted

The tags for the actual HTML controls accept Javascript events. 

I don't believe you can attach an event to the HTML form itself. (We can
only do what the browser's and HTML support ;-)

The one and only 1.1 TODO list is on the site. 


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/


Charlesworth, Chico wrote:
 
 what i want to do is:
 html:form onkeyup=javascript:submit()
 ...
 /html:form
 
 does anyone know if this supported yet or is it on  the todo list?
 
 chico




RE: onkeyup support on html:form ...

2001-06-27 Thread Assenza, Chris

Just my $0.02 but for many applications built around the Struts framework
there will be specific controlled environments (and for many there won't be)
wherein the browser is a known variable.  While events like onkeyup are
supported on forms for IE4 and above only, it would be nice to have them
available as part of the form tag if the developer is unconcerned with a
cross-browser implementation. :) 

Chris

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 6:27 AM
To: [EMAIL PROTECTED]
Subject: Re: onkeyup support on html:form ...


The tags for the actual HTML controls accept Javascript events. 

I don't believe you can attach an event to the HTML form itself. (We can
only do what the browser's and HTML support ;-)

The one and only 1.1 TODO list is on the site. 


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/


Charlesworth, Chico wrote:
 
 what i want to do is:
 html:form onkeyup=javascript:submit()
 ...
 /html:form
 
 does anyone know if this supported yet or is it on  the todo list?
 
 chico




Re: onkeyup support on html:form ...

2001-06-27 Thread Ted Husted

For the HTML tags, one solution would be to add a standard options
parameter that would pass through the value uninterpreted. This would
keep us from having to worry about vendor-specific implementations. 

Assenza, Chris wrote:
 
 Just my $0.02 but for many applications built around the Struts framework
 there will be specific controlled environments (and for many there won't be)
 wherein the browser is a known variable.  While events like onkeyup are
 supported on forms for IE4 and above only, it would be nice to have them
 available as part of the form tag if the developer is unconcerned with a
 cross-browser implementation. :)
 
 Chris



RE: onkeyup support on html:form ...

2001-06-27 Thread Assenza, Chris

Excellent solution (which could, in the long run, be applicable in more
places then just html:form)!! :)

Chris

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 8:11 AM
To: [EMAIL PROTECTED]
Subject: Re: onkeyup support on html:form ...


For the HTML tags, one solution would be to add a standard options
parameter that would pass through the value uninterpreted. This would
keep us from having to worry about vendor-specific implementations. 

Assenza, Chris wrote:
 
 Just my $0.02 but for many applications built around the Struts framework
 there will be specific controlled environments (and for many there won't
be)
 wherein the browser is a known variable.  While events like onkeyup are
 supported on forms for IE4 and above only, it would be nice to have them
 available as part of the form tag if the developer is unconcerned with a
 cross-browser implementation. :)
 
 Chris