Creating a custom converter tag

2007-06-19 Thread kindsol
I want to create a custom converter as it's own tag (e.g. not using f:converter tag. Is there any documentation online or elsewhere that you can point me to? thanks in advance! -Sol

Re: Creating a custom converter tag

2007-06-19 Thread Bryan Basham
Hello kind sole ;-) I have just created a converter with a tag. Nice little exercise. My app has lots of names for Boolean values, such as yes / no and enabled / disabled and so on. I used to create a separate accessor method to convert from the Boolean to a String, but I wanted something

Re: Creating a custom converter tag

2007-06-19 Thread kindsol
Thanks for the reply, Brian. It looks like the MyFaces mailing list strips off attachments. Can you send me those files directly? Thank again! -Sol On Jun 19, 2007, at 12:34 PM, Bryan Basham wrote: Hello kind sole ;-) I have just created a converter with a tag. Nice little exercise.

Re: Creating a custom converter tag

2007-06-19 Thread kindsol
Right. Thanks for that. -Sol On Jun 19, 2007, at 1:30 PM, Mike Kienenberger wrote: You do realize that you just quoted the files that you claimed were stripped out of the message, don't you?

Re: Creating a custom converter tag

2007-06-19 Thread kindsol
Bryan, Can you send me what you are using for your .tld, taglib.xml, and faces-config.xml entries for this custom converter tag? I think those are the only three files required to register a custom tag -- no? Thanks :) -Sol On Jun 19, 2007, at 12:34 PM, Bryan Basham wrote: Hello kind

Re: Creating a custom converter tag

2007-06-19 Thread Mike Kienenberger
This is for a different converter, but here's what the taglib.xml and faces-config.xml file entries would look like: ==taglib.xml= tag tag-nameconvertNumberToBigDecimal/tag-name converter

Re: Creating a custom converter tag

2007-06-19 Thread Bryan Basham
kindsol wrote: Bryan, Can you send me what you are using for your .tld, taglib.xml, and faces-config.xml entries for this custom converter tag? I think those are the only three files required to register a custom tag -- no? Thanks :) -Sol Here is the entry for the TLD file: