The question is why does it have to go through the Browser object at all if all you want to do is modify the bookmarks? Just because Browser has a reference to BookmarkManager doesn't mean the only way external code can interact with BookmarkManager is through Browser.
On Tue, Feb 17, 2009 at 5:27 PM, Henry <[email protected]> wrote: > > On Feb 17, 2:22 pm, Brian Kotek <[email protected]> wrote: > > First, if the client code needs to do all these things to bookmarks, why > > can't it just interact with BookmarkManager directoy? Why does it have to > go > > through the Browser object? > > I guess u meant interact with BookmarkManager "directly"? > > Wouldn't that be Solution1? > > var bookmarkManager = Browser.getBookmarkManager(); > > Then the View can call all public methods of BookmarkManager without > going through Browser... > > > Regards, > Henry Ho > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
