WO 5.4 and Stateless components

From: Alex Cone (ab..odefab.com)
Date: Thu Apr 24 2008 - 17:53:20 EDT

  • Next message: Chuck Hill: "Re: WO 5.4 and Stateless components"

    Hi!

    I just converted a project to WO 5.4 and I'm seeing very odd behavior/
    errors with my stateless components. Basically...

    a) the application seems to be trying to synchronize bindings,
    leading to:

    This WOComponent does not have an instance variable of the name foo or
    _foo, nor a method of the name setFoo or _setFoo' object
    '<com.webobjects.appserver.WOComponent name: FooStateless
    subcomponents: null >' key 'foo'>

    (The component inherits from a generic stateless component that
    returns isStaeless is true, synchronizesVariablesWithBindings is false.)

    b) the actual code for the component seems to be being ignored (though
    there is no error message like one usually gets when the java class
    cannot be found and we fall back to a generic WOComponent). If I
    break in my class's constructor the breakpoint is never hit.

    The second problem would probably account for the first problem. The
    component in question is in a framework project in my Eclipse
    workspace...

    abc

    __alex cone
             ceo c o d e f a b llc
             ab..odefab.com
             212.465.8484 x101
             http://www.codefab.com

    If you are not living on the edge, you are taking up too much space.



    This archive was generated by hypermail 2.0.0 : Thu Apr 24 2008 - 17:54:30 EDT