velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Clean wrappers?
Date Thu, 08 Aug 2002 18:48:55 GMT
What if instead of wrapping the objects, you have them implement
a simplified interface, and then only tell the designer about the

lloyd <> wrote:

>It's often recommended that the developer put a complex object in a 
>simplified wrapper and then hand the wrapper to the designer in the 
>What if your complex object has nested complex objects (a heterogenous 
>tree, for example), that are made available via iterators to the 
>designer?  Is there an easy way to provide a wrapper for these objects 
>as well, while still maintaining the clean iterator and reference syntax 
>in the template?
>Or am I stuck with either writing custom iterators for every exposed 
>collection in the complex object, or creating and returning "redundant" 
>copies of the existing collections containing the wrapped objects?
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience
of buying online with Shop@Netscape!

Get your own FREE, personal Netscape Mail account today at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message