Hmm... let me think about this after having a look at the code. That would be good to allow forms and form widgets to know how to communicate with each other. Currently, they are pretty dumb.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mathias Bogaert Sent: Tuesday, January 13, 2004 12:45 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] doubleSelect Aaron, Good catch. Probably a copy-n-paste error. I sent this template just to show a work in progress, to give Patrick an idea how it look and works. But you have a very valid point. We do need some sort of init check. Guys, how do you see this? A section within a .vm that is rendered only once, at the beginning of the form, regardless of howmany times a widget is used in the form. Here we can render reusable javascript functions and other things. Mathias ----- Original Message ----- From: "Aaron Held" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 13, 2004 9:27 PM Subject: Re: [OS-webwork] doubleSelect > I am just getting started w/ Webwork but I have used various formkits in > the past. Just out of curiosity there is a > </head> tag in the template. > > Does the system split up the template and put the javascript into the > HEAD and the rest into BODY where the script was called. That would be > nice. I usually have to work out some hacky javascript init handler to > scan for various init_xxx() functions and call them in turn. > > Thanks, > -Aaron Held > > > BOGAERT Mathias wrote: > > >Patrick, > > > >I've been working on doubleSelect today, and attached you find the template > >(it's rather complex), but it's not working yet. I'm having problems getting > >my second list values in a javascript array. > > > >I'm going to let it rest for now, and continue tomorrow. > > > >Cheers, > >Mathias > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork