Hi Greg, Yes, it was very easy and straight forward to build Pivot 1.5. I have played with Label.TextBindMapping and am very happy about it. I also consulted this page and understand how it is easy to create a custom mapping and reuse it in wtkx: http://ixnay.biz/stock-tracker.data-binding.html Very nice.
apptaro On Mon, May 24, 2010 at 8:44 PM, Greg Brown <[email protected]> wrote: > 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 > >
