Hiding subclass components

2011-11-03 Thread Allen Gilbert
Hello, I've defined an abstract subclass of WebPage (BasePage) that knows whether or not a user can access the content of any concrete page.  If a user does not have access, I don't want to block them from landing on the page; instead, I'd like to show some page-specific content instructing them

Re: Hiding subclass components

2011-11-03 Thread Igor Vaynberg
override add() and funnel everything into a non-transparent webmarkupcontainer. -igor On Thu, Nov 3, 2011 at 2:40 PM, Allen Gilbert allen.gilb...@doane.edu wrote: Hello, I've defined an abstract subclass of WebPage (BasePage) that knows whether or not a user can access the content of any

Re: Hiding subclass components

2011-11-03 Thread Igor Vaynberg
its not in 1.5 -igor On Thu, Nov 3, 2011 at 3:01 PM, Allen Gilbert allen.gilb...@doane.edu wrote: Override MarkupContainer.add()? It's final, so I can't... On Thu, Nov 3, 2011 at 4:46 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: override add() and funnel everything into a non-transparent