[Opensource] overriding controllers - can't change initial state

Michael Rimov rimovm at centercomp.com
Thu Dec 5 11:24:28 PST 2002


At 03:25 PM 12/4/2002 -0600, you wrote:
>I just wrote my own registration controller. I was going to override 
>expresso's, but it doesn't seem to me that you can define a new initial state.

Hi Mike,

You should be able to.  Since initialization goes in the order of:

         Your class ->  call super() -> Back to your class

In your constructor, if you call setInitialState() AGAIN, it should 
override what was done in the base class.  Let me know if it is throwing an 
exception... it shouldn't.

HTH!
                                                 -Mike





More information about the Opensource mailing list