Maybe I'm missing something, but you can define a parameter as optional and give it a default value. Why not declare "listener" as optional and default it to the listener in your root page class?

I realize this doesn't make your toolbar class 100% reusable across all projects, unless you document it as "calls listener listenToTheMusic(allTheTime...), unless overridden by a listener=... parameter".

 ...Richard


On Nov 2, 2005, at 9:30, Patrick Casey wrote:


        My latest "I want" is a bit different from my earlier "I wants":

        I want to reduce the number of little pieces parts I have to change
to alter the product. Lets say, for example, I want to add a new toolbar
button to one of my forms:


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to