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