Ok, I read in the radiomap.jsp template that the onchange attrib works off
of an onKeyUp, but elsewhere in the docs, it says that onChange happens when
the ui loses focus.
So, whether I'm right or wrong, I thought this was possible to exec a js
function as I did w/ onClick.
The RadioTag.java seems all in order so ... Obviously not it's intended
use. My bad.
----- Original Message -----
From: "G.L. Grobe" <[EMAIL PROTECTED]>
To: "Matt Baldree" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 9:40 AM
Subject: Re: [Webwork-user] onchange attributes
> This is what I've been trying along w/ various combo's ...
>
> <script language="JavaScript">
> function setFilter(view) {
> alert("radio was clicked")
> }
> </script>
> ...
> <ui:radio theme="acais" label="'List Types'" name="'classification'"
> list="@mapping/classifications" listKey="'key'" listValue="'value'"
> labelposition="'top'" onchange="setFilter(this.form)"/>
>
> ----- Original Message -----
> From: "Matt Baldree" <[EMAIL PROTECTED]>
> To: "G.L. Grobe" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, February 28, 2002 6:16 AM
> Subject: Re: [Webwork-user] onchange attributes
>
>
> > Can you provide some specific code snippets?
> >
> > ----- Original Message -----
> > From: "G.L. Grobe" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 27, 2002 10:16 PM
> > Subject: [Webwork-user] onchange attributes
> >
> >
> > > Instead of using my own template theme's as before, I'm trying to take
> > > advantage of the onchange attribute of the radiomap.jsp and
> > selectmap.jsp's
> > > after my regular monthly update of the latest CVS tree. However, they
> > don't
> > > seem to be working. If I manually put the attribute in, of course it
> works
> > > (as I did w/ my older templates).
> > >
> > > Can someone verify that these are working? I'm just adding a simple
> > > JavaScript function to each of these onchange attributes.
> > >
> > > I've also noticed recently that if I put a style attribute in the
> > > selectmap.jsp template, it seems like it's being filtered out (I view
> > source
> > > my browser page and the attrib is gone) whereas before I'd copy the
> > > selectmap.jsp template and made this as a theme modification, and it
> > worked
> > > fine. Any ideas?
> > >
> > > Any help much appreciated.
> > >
> > >
> > > _______________________________________________
> > > Webwork-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/webwork-user
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > Webwork-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/webwork-user
> >
>
>
> _______________________________________________
> Webwork-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webwork-user
>
_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user