Re: WO 5.4 and Stateless components

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Apr 24 2008 - 18:14:36 EDT

  • Next message: Guido Neitzer: "SQL generation"

    On Apr 24, 2008, at 2:53 PM, Alex Cone wrote:

    > 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...

    Not much to add. It sounds like it is not finding the class file.
    I'd crank up the NSLog levels and check the app logs. Triple check
    the classpath.

    Chuck

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Thu Apr 24 2008 - 18:15:24 EDT