Using JSF validators within a custom tag
0 posts in topic
Flat View  Flat View

Posted By:   Bob_Hill
Posted On:   Thursday, June 4, 2009 10:15 AM

I have created a custom tag called tableTotal that takes two attributes, a collection and a property, and sums the values of the property fields.

The tag just outputs a double value with no formatting. I would like to use inside the tag to convert it to currency. I was hoping it would 'just work', but that is not the case.

Do I need to do something special in my Renderer to make this work? I am only using a Renderer and a UIComponentELTag, will I have to use an UIComponent (perhaps extending UIOutput) for this? Is it even reasonable to expect my custom tags to work with the built-in tags this way?

Thank You,

Bob Hill

About | Sitemap | Contact