[Hippo-cms7-user] [HippoCMS-svn] [30595] hippo-cms7/addons/addon-channel-manager/trunk: CMS7-5495: added ' view' menu that shows all channels a document is part of.

Woonsan Ko w.ko at onehippo.com
Wed Oct 12 17:29:25 CEST 2011


Probably you guys were not aware that you were discussing in Dutch on a
public list. ;-)

On 10/12/2011 11:05 AM, Mathijs den Burger wrote:
> On Wed, Oct 12, 2011 at 3:59 PM, Frank van Lankvelt
> <f.vanlankvelt at onehippo.com <mailto:f.vanlankvelt at onehippo.com>> wrote:
> 
> 
>     > +        final Map<String, ChannelDocument> idToChannelMap = new
>     LinkedHashMap<String, ChannelDocument>();
>     > +        for (ChannelDocument channelDocument : channelDocuments) {
>     > +            // don't store the proxy object, but use a POJO copy
>     of the proxy instead
>     > +            ChannelDocument serializableCopy = new
>     ChannelDocument(channelDocument);
>     > +            idToChannelMap.put(serializableCopy.getChannelId(),
>     serializableCopy);
>     > +        }
>     > +
>     is dit nodig?  Ik zou verwachten dat je al een instantie hebt, niet
>     een proxy.
>     De service moet natuurlijk wel geproxied worden, maar beans niet.
> 
> 
> Hmm, goed punt. Heb het net even gecheckt in een debugger, maar de bean
> is inderdaad gewoon een bean (gelukkig :). Ga ik even fixen.
> 
> -M.
> 
> 
> 
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html


-- 
w.ko at onehippo.com     www.onehippo.com
Boston - 1 Broadway, Cambridge, MA 02142
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466



More information about the Hippo-cms7-user mailing list