The <param> tags should work, as Patrick made the UI tags have maps of params instead of hard-coded properties... Your templates can then get all of those values.
> -----Original Message----- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 5:52 PM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Type Converetrs and formatting > > > what about having a attribute in the jsp tags like unknown or > something > and then just use a tag like: > <ww:select name="Select State" unknown="onChange=\"doCheckState()\" > onFocus=\"doWhatever()\" "/> > its dirty looking but should do the trick or what about: > <ww:select name="foo"> <param name="onChange">doCheckState()</param> > </ww:select> > > Patrick Lightbody wrote: > > This of course wouldn't work for JSP tags, but I think it'd be > > possible in the velocity tags. Open a jira issue and we'll > get to it. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > On Behalf Of > > Jonas Eriksson > > Sent: Thursday, October 16, 2003 8:38 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [OS-webwork] Type Converetrs and formatting > > > > Is it possible to be able to forward all unknown attributes in the > > tags > > to the generated tag? > > > > For example: > > > > #tag(Select "name='sel'" "onchange='do something in js'" ...) > > > > would put the unknown attribute, onchange, in the generated tag: > > <select name="sel" onchange="do somehting in js" ...) > > > > If not possible right now, would it be in the future? > > > > Thanks! > > Jonas > > > > Jason Carreira wrote: > > > >>Patrick is refactoring the UI tags. lets wait till tomorrow > or so and > >>see if it's any different. > >> > >> > >> > >>-----Original Message----- > >>*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > >>*Sent:* Thursday, October 16, 2003 10:48 AM > >>*To:* [EMAIL PROTECTED] > >>*Subject:* RES: [OS-webwork] Type Converetrs and formatting > >> > >> > >> > >>Yeap: > >> > >> > >> > >>#tag(TextField "label=personal.birthDate" "value=personal.birthDate" > >>"value=personal.birthDate") > >> > >> > >> > >>I've put a breakpoint in mine and xwork's date converters, > and none of > > > > > >>them gets called, and this ends up in the presentation instead: > >> > >> > >> > >>Wed May 16 00:00:00 GMT-03:00 2001 > >> > >> > >> > >>Any ideas? Should I change the template to explicitly call the Type > >>Converter(s)? > >> > >> > >> > >>peace, > >> > >>-cv > >> > >> > >> > >> -----Mensagem original----- > >>*De:* Jason Carreira [mailto:[EMAIL PROTECTED] > >>*Enviada em:* quinta-feira, 16 de outubro de 2003 10:43 > >>*Para:* [EMAIL PROTECTED] > >>*Assunto:* RE: [OS-webwork] Type Converetrs and formatting > >> > >>How are you outputting the value to the page? Using the WW2 tags? > >> > >> > >> > >>-----Original Message----- > >>*From:* Anoop Ranganath [mailto:[EMAIL PROTECTED] > >>*Sent:* Thursday, October 16, 2003 9:42 AM > >>*To:* [EMAIL PROTECTED] > >>*Subject:* Re: [OS-webwork] Type Converetrs and formatting > >> > >> > >> > >>I'm having this same issue, so I'd like to know what I'm doing wrong > > > > also. > > > >> > >> > >>Anoop > >> > >> > >> > >>On Wednesday, October 15, 2003, at 05:43 PM, [EMAIL PROTECTED] > > > > wrote: > > > >> > >> > >> Hi y'all! :) > >> > >> > >> > >> Does it make sense that the type converters are not being called > > > > to > > > >> convert fields back into their String (presentation) format? I'm > >> trying to use a Date converter which respects the brazilian time > >> formats (dd/MM/yyyy), and while conversion from String to Date > > > > works > > > >> ok, the Date to String conversion is not being handled > by the type > >> converter itself (maybe the TextField tag is just > letting Velocity > >> call toString() whenever appropriate). How could I fix that? > >> > >> > >> > >> peace, > >> > >> -cv > >> > >> > >> > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. See > the people > > who have HELPED US provide better services: Click here: > > http://sourceforge.net/supporters.php > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > ------------------------------------------------------- > > This SF.net email sponsored by: Enterprise Linux Forum Conference & > > Expo The Event For Linux Datacenter Solutions & Strategies in The > > Enterprise Linux in the Boardroom; in the Front Office; & in the > > Server Room http://www.enterpriselinuxforum.com > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product > knowledge We want to know what you know. Tell us and you have > a chance to win $100 > http://www.zoomerang.com/survey.zgi?> HRPT1X3RYQNC5V4MLNSV3E54 > > > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork