On 9/25/06, emily chen <[EMAIL PROTECTED]> wrote:

Hi Craig,

   I added the following code to init() function:
           TestVC testVC = (TestVC) getBean("TestVC");
          request.setAttribute("TestVC", testVC);

  and I found the sub TestVC -- Page1VC is added to HTTPSevlertRequest
object. in my web application, TestVC works as super ViewController of the
whole webapp.


The problem here is that TestVC should *not* implement ViewController (or
extend AbstractViewController), because you are not letting Shale use it as
a view controller itself.  Take away that declaration and you'll be fine.

Craig

Reply via email to