Jonathan,

What do you think about using type enhancers as models in wicket?

Take practical example: string-to-string conversion for form fields in wicket. You need to create a new class to be able to convert from string to string, in forminput example it is UsPhoneNumber. And you need to modify your model to include this new field. To do so you have two options - extend your model or use type enhancer so you original class is intact. Is it appropriate use of such type enhancers? Or there is a better way to solve my problem?

Alex

On 3/29/06, Jonathan Locke <[EMAIL PROTECTED]> wrote:
For anyone who was following my idea about "mixed types" which Igor posted to the user list recently, I've changed the name of it to "type enhancers" and written a micro-whitepaper on it which you can read here.  If anyone has any comments, I'd be interested in your feedback.  Thanks!

Best,

    Jonathan


Reply via email to