I would definitely recommend using Pivot 1.5. You'll have to build it from 
source for now, but that isn't terribly difficult. Let us know if you have any 
questions.

Thanks for the info on JSF converters. Sounds like Pivot's converters are 
similar, though we currently don't provide any stock implementations. It would 
probably make sense to add some. Thanks!


On May 24, 2010, at 3:08 AM, Taro App wrote:

> Hi Greg,
> 
> Thank you for your answers. I was using Pivot 1.4, so I could not find
> those features you mentioned. If Pivot 1.5 is to be released soon, I
> will use it to create my prototype.
> 
> FYI, JSF formatting feature is called converters. Converters convert
> bound data to string representation on a page, and the other way
> around. Standard converters are provied out of the box, such as
> converters to format number or date. For example:
> 
> <h:inputText value="#{bean.dateData}"><f:convertDateTime
> pattern="yyyy-MM-dd"/></h:inputText>
> <h:inputText value="#{bean.numberData}"><f:convertNumber
> type="currency" currencySymbol="$"
> groupingUsed="true" maxFractionDigits="2"/></h:inputText>
> 
> You can also create custom converters. In my JSF application, I use
> several custom converters. For example,
> - Converter which does trim() or toUpperCase() on input string value
> - Converter which converts Boolean data to string Y/N
> - Converter which convert 16-digit credit card number to hyphenized format
> 
> apptaro

Reply via email to