Hi Aaron, Thanks for your reply. I am actually seeing the same "auto-discovered Formatter" in my logs. It's just not picking it up when the JSP is rendered.
Adding auto-discovered Formatter [class com.yff.web.ext.ProductGroupFormatter] for [class com.yff.db.model.ProductGroup] (from type parameter) Adding auto-discovered TypeConverter [class com.yff.web.ext.ProductGroupConverter] for [class com.yff.db.model.ProductGroup] (from type parameter) I'll consider posting source if I have no luck over the next couple of days. Thanks, Wade. > Date: Tue, 23 Dec 2008 16:42:37 -0700 > From: Aaron Porter <[email protected]> > Subject: Re: [Stripes-users] Trouble With Type Converters ---> Model > Class > To: Stripes Users List <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Wade, > Stripes is finding your formatter but unless you omitted some lines from > the log it looks like it isn't associating the formatter with your > class. In the log you posted from the book's example it says "Adding > auto-discovered Formatter" but that is missing in your log output. > > Are you using the Stripes 1.5 jar file or did you build your own from > source? The line number from your log doesn't match up with the Stripes > source. > > I don't see anything obvious wrong with your code but your formatter is > definitely not being used. I'm not sure what to suggest beyond making > your source available somewhere to test with. > > Aaron >
------------------------------------------------------------------------------
_______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
